This is a library based on replicad.
This library contains a set of helpers to decorate faces of your models with different patterns:
- an inset (
addInset
) - a grid (
addGrid
) - a honeycomb (
addHoneycomb
) - a voronoi pattern (
addVoronoi
) - some text (
addText
) - or a SVG (
addSVG
)
You can play with the parameters of these function is the small webapp based on this library, BlingMyThing
This module can be used either as a library:
yarn add replicad-decorate
You can have a look at how it is used within BlingMyThing.
You can also import it within the replicad studio
import { addVoronoi } from "";
export function main() {
const baseShape = drawCircle(20).sketchOnPlane().extrude(52);
return addVoronoi(baseShape, { faceIndex: 1, depth: -2 });
}