replicad icon indicating copy to clipboard operation
replicad copied to clipboard

Intersecting text taking a while

Open r-bt opened this issue 7 months ago • 2 comments

Hi,

Firstly, thanks for the awesome library.

I am trying to extrude and intersect two pieces of text:

const { drawText } = replicad;

const main = () => {
  
  const john = drawText("JOHN", {
    startX: 0,
    startY: 0,
  })
    .sketchOnPlane("XZ")
    .extrude(50);

  const mary = drawText("MARY", {
    startX: 50,
    startY: 0,
  })
    .sketchOnPlane("YZ")
    .extrude(50);

  const combined = john.intersect(mary);

  return [
    combined
  ]

};

In the workbench, however, it takes a while to complete, around ~2-5 minutes which is longer than I expected such an operation to take.

r-bt avatar Jun 29 '24 15:06 r-bt