0.1.0 • Published 1 year ago

replicad-shrink-wrap v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

replicad shrink wrap

This is a library based on replicad.

This library contains a set of helpers to shrink wrap a drawing. This corresponds to the hull operation in some CAD software.

As a library

This module can be used either as a library:

pnpm install replicad-shrink-wrap

Within the replicad studio

You can also import it within the replicad studio

import shrinkWrap from "https://cdn.jsdelivr.net/npm/replicad-shrink-wrap/dist/studio/replicad-shrink-wrap.js";

export default function main() {
  const baseShape = drawCircle(20).sketchOnPlane().extrude(52);
  return addVoronoi(baseShape, { faceIndex: 1, depth: -2 });
}
0.1.0

1 year ago