brepjs 20.12.6 → 20.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/2d/blueprints/booleanHelpers.d.ts +0 -5
  2. package/dist/2d/blueprints/intersectionSegments.d.ts +6 -5
  3. package/dist/2d.cjs +6 -6
  4. package/dist/2d.js +6 -6
  5. package/dist/{adjacencyFns-BFJfaUwX.cjs → adjacencyFns-BfgFo-Rh.cjs} +3 -3
  6. package/dist/{adjacencyFns--KmBIKYJ.js → adjacencyFns-Bl109A3Z.js} +3 -3
  7. package/dist/{blueprint-D83DDDPb.cjs → blueprint-DTDSztfd.cjs} +5 -5
  8. package/dist/{blueprint-BhIk9Pvm.js → blueprint-RqemOtg5.js} +5 -5
  9. package/dist/{blueprintFns-eULVgkq9.js → blueprintFns-B9_PhTr8.js} +2 -2
  10. package/dist/{blueprintFns-C4TQn-x_.cjs → blueprintFns-C7E5R89N.cjs} +2 -2
  11. package/dist/{blueprintSketcher-D_Faf0GO.js → blueprintSketcher-B15522Kr.js} +3 -3
  12. package/dist/{blueprintSketcher-Di376t-0.cjs → blueprintSketcher-Brj4lXjj.cjs} +3 -3
  13. package/dist/{boolean2D-CNZFI_y8.cjs → boolean2D-DZ8aJbI-.cjs} +42 -50
  14. package/dist/{boolean2D-DqpCF72W.js → boolean2D-_eiIiNw1.js} +42 -50
  15. package/dist/{solidBuilders-iS5DDwg8.cjs → booleanFns-D5nQ1nWS.cjs} +11 -217
  16. package/dist/{solidBuilders-DT1gpVWM.js → booleanFns-cNfXGqMX.js} +10 -156
  17. package/dist/brepjs.cjs +325 -168
  18. package/dist/brepjs.js +282 -125
  19. package/dist/{cameraFns-RqraCXIc.cjs → cameraFns-6Er2lhp5.cjs} +3 -3
  20. package/dist/{cameraFns-CrClIkmV.js → cameraFns-YhB7A_Zc.js} +3 -3
  21. package/dist/core.cjs +2 -2
  22. package/dist/core.js +2 -2
  23. package/dist/{cornerFinder-CdOe1Wrb.cjs → cornerFinder-D9Wx3DWu.cjs} +1 -1
  24. package/dist/{cornerFinder-BZuQkRp2.js → cornerFinder-G1WkSkVl.js} +1 -1
  25. package/dist/{curveFns-CyIvQNYT.cjs → curveFns-B5_N-gMj.cjs} +1 -1
  26. package/dist/{curveFns-BP3srCfK.js → curveFns-C4CqthJp.js} +1 -1
  27. package/dist/{drawFns-DxDwJ5zZ.js → drawFns-DU5fewKl.js} +12 -12
  28. package/dist/{drawFns-71cOhWD-.cjs → drawFns-UPbO2heB.cjs} +12 -12
  29. package/dist/{faceFns-iVPbTxki.js → faceFns-BgRNa5vx.js} +2 -2
  30. package/dist/{faceFns-B7MiDYj1.cjs → faceFns-C4NOGZBg.cjs} +2 -2
  31. package/dist/{healingFns-BhP8zfp1.js → healingFns-BzOo0yyz.js} +5 -5
  32. package/dist/{healingFns-DWljGTNR.cjs → healingFns-i5gV3BMG.cjs} +29 -29
  33. package/dist/{helpers-DKEVm6Hu.cjs → helpers-DJQeDf_5.cjs} +6 -6
  34. package/dist/{helpers-D2hANLRu.js → helpers-DPHQt2Kr.js} +6 -6
  35. package/dist/{importFns-KEPAgbjj.cjs → importFns-BiRpt227.cjs} +319 -14
  36. package/dist/{importFns-DUzIkns7.js → importFns-CwrJsNvg.js} +314 -15
  37. package/dist/io/igesSupport.d.ts +6 -0
  38. package/dist/io/importFns.d.ts +15 -5
  39. package/dist/io/ioUtils.d.ts +15 -3
  40. package/dist/io/meshNesting.d.ts +11 -0
  41. package/dist/io/threemfImportFns.d.ts +6 -3
  42. package/dist/io.cjs +2 -2
  43. package/dist/io.js +2 -2
  44. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  45. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  46. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +4 -2
  47. package/dist/{loftFns-D5AvfCGG.cjs → loftFns-DgkK4Kj_.cjs} +1 -1
  48. package/dist/{loftFns-D5NJpHLZ.js → loftFns-lwzTh1fI.js} +1 -1
  49. package/dist/{measureFns-CZHNWkiA.cjs → measureFns-D_RRjCZg.cjs} +3 -3
  50. package/dist/{measureFns-mxBdPiWa.js → measureFns-Q3K25IfN.js} +3 -3
  51. package/dist/measurement.cjs +2 -2
  52. package/dist/measurement.js +2 -2
  53. package/dist/{meshFns-DmjMzNbH.js → meshFns-BGoJU6_P.js} +20 -6
  54. package/dist/{meshFns-Czlt-GBJ.cjs → meshFns-Djbb4PUC.cjs} +25 -5
  55. package/dist/{occtWasmAdapter-B9d0Q0Vl.js → occtWasmAdapter-BCCwaYkq.js} +103 -40
  56. package/dist/{occtWasmAdapter-DVxLkjlJ.cjs → occtWasmAdapter-UcYZRi-w.cjs} +103 -40
  57. package/dist/operations.cjs +2 -2
  58. package/dist/operations.js +2 -2
  59. package/dist/{primitiveFns-BVeBEaa4.cjs → primitiveFns-CfSnex9P.cjs} +19 -18
  60. package/dist/{primitiveFns-DeNl60Rw.js → primitiveFns-D-aYcwt2.js} +5 -4
  61. package/dist/{principalBoxFns-3mW_hA6z.js → principalBoxFns-Dcp9gg5e.js} +3 -3
  62. package/dist/{principalBoxFns-CG6kG7vT.cjs → principalBoxFns-IY8FfPVj.cjs} +3 -3
  63. package/dist/projection.cjs +1 -1
  64. package/dist/projection.js +1 -1
  65. package/dist/query.cjs +2 -2
  66. package/dist/query.js +2 -2
  67. package/dist/{refResolveFns-DHx1Y3GG.js → refResolveFns-BPge7T5w.js} +6 -6
  68. package/dist/{refResolveFns-BAs4p9z7.cjs → refResolveFns-gZQ1o5XK.cjs} +6 -6
  69. package/dist/{shapeFns-C0w8vvfb.cjs → shapeFns-Bs92VrZh.cjs} +2 -2
  70. package/dist/{shapeFns-CgqKICF_.js → shapeFns-TWdr4Dv4.js} +2 -2
  71. package/dist/shapeRef.cjs +1 -1
  72. package/dist/shapeRef.js +1 -1
  73. package/dist/{shapeTypes-DwvQUp9M.js → shapeTypes-CIH-8d_a.js} +1 -1
  74. package/dist/{shapeTypes-Dc7j-MYg.cjs → shapeTypes-DmThK_oa.cjs} +1 -1
  75. package/dist/sketching.cjs +3 -3
  76. package/dist/sketching.js +3 -3
  77. package/dist/{originTrackingFns-CHymOLLm.cjs → solidBuilders-DGskMugU.cjs} +209 -2
  78. package/dist/{originTrackingFns-CBnyKLm7.js → solidBuilders-q_hwYsdo.js} +150 -3
  79. package/dist/{surfaceBuilders-CPLe0bbk.js → surfaceBuilders-DXo4N7wQ.js} +3 -3
  80. package/dist/{surfaceBuilders-BvwSgD3C.cjs → surfaceBuilders-DeSLKg73.cjs} +3 -3
  81. package/dist/text.cjs +2 -2
  82. package/dist/text.js +2 -2
  83. package/dist/{textBlueprints-BU0Rhk54.js → textBlueprints-BYWZho_c.js} +8 -7
  84. package/dist/{textBlueprints-CNPCPJix.cjs → textBlueprints-Dz6wNgve.cjs} +9 -8
  85. package/dist/{textMetrics-C71g4TmO.cjs → textMetrics-bKoFTj3m.cjs} +1 -1
  86. package/dist/{textMetrics-Df9aLYK2.js → textMetrics-k_rGqib2.js} +1 -1
  87. package/dist/{threadFns-DESH7lcs.js → threadFns-BeB8s0tA.js} +7 -7
  88. package/dist/{threadFns-CzXEnnmo.cjs → threadFns-CoGAFHHt.cjs} +9 -9
  89. package/dist/topology/meshFns.d.ts +3 -0
  90. package/dist/topology.cjs +11 -11
  91. package/dist/topology.js +9 -9
  92. package/dist/{topologyQueryFns-5Frx8Y-0.cjs → topologyQueryFns-CXbCFaU2.cjs} +1 -1
  93. package/dist/{topologyQueryFns-LXV1nTaS.js → topologyQueryFns-Cp0yekBh.js} +1 -1
  94. package/dist/{validityTypes-DM-Iwe8N.js → validityTypes-DlrWkrSR.js} +1 -1
  95. package/dist/{validityTypes-C6rROGTP.cjs → validityTypes-m6eLRTYE.cjs} +1 -1
  96. package/package.json +1 -1
package/dist/query.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-D2hANLRu.js";
2
- import { t as cornerFinder } from "./cornerFinder-BZuQkRp2.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DPHQt2Kr.js";
2
+ import { t as cornerFinder } from "./cornerFinder-G1WkSkVl.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,10 +1,10 @@
1
- import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-DwvQUp9M.js";
2
- import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-LXV1nTaS.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-iVPbTxki.js";
1
+ import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-CIH-8d_a.js";
2
+ import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-Cp0yekBh.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-BgRNa5vx.js";
4
4
  import { t as getFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
5
- import { n as getHashCode } from "./shapeFns-CgqKICF_.js";
6
- import { n as measureArea, s as measureLength } from "./measureFns-mxBdPiWa.js";
7
- import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns--KmBIKYJ.js";
5
+ import { n as getHashCode } from "./shapeFns-TWdr4Dv4.js";
6
+ import { n as measureArea, s as measureLength } from "./measureFns-Q3K25IfN.js";
7
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-Bl109A3Z.js";
8
8
  // src/topology/shapeRef/scoring.ts
9
9
  /**
10
10
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-Dc7j-MYg.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-5Frx8Y-0.cjs");
3
- const require_faceFns = require("./faceFns-B7MiDYj1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-CXbCFaU2.cjs");
3
+ const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
4
4
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
5
- const require_shapeFns = require("./shapeFns-C0w8vvfb.cjs");
6
- const require_measureFns = require("./measureFns-CZHNWkiA.cjs");
7
- const require_adjacencyFns = require("./adjacencyFns-BFJfaUwX.cjs");
5
+ const require_shapeFns = require("./shapeFns-Bs92VrZh.cjs");
6
+ const require_measureFns = require("./measureFns-D_RRjCZg.cjs");
7
+ const require_adjacencyFns = require("./adjacencyFns-BfgFo-Rh.cjs");
8
8
  // src/topology/shapeRef/scoring.ts
9
9
  /**
10
10
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-Dc7j-MYg.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-5Frx8Y-0.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-CXbCFaU2.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  // src/topology/shapeFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { q as getKernel } from "./shapeTypes-DwvQUp9M.js";
1
+ import { q as getKernel } from "./shapeTypes-CIH-8d_a.js";
2
2
  import { t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-LXV1nTaS.js";
3
+ import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-Cp0yekBh.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  // src/topology/shapeFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_refResolveFns = require("./refResolveFns-BAs4p9z7.cjs");
2
+ const require_refResolveFns = require("./refResolveFns-gZQ1o5XK.cjs");
3
3
  exports.assignRoles = require_refResolveFns.assignRoles;
4
4
  exports.captureHint = require_refResolveFns.captureHint;
5
5
  exports.createDerivedFaceRef = require_refResolveFns.createDerivedFaceRef;
package/dist/shapeRef.js CHANGED
@@ -1 +1 @@
1
- export { h as assignRoles, g as captureHint, l as createDerivedFaceRef, p as createEdgeRef, _ as createRef, d as createVertexRef, b as defaultScorer, t as isDerivedFaceRef, n as isEdgeRef, r as isFaceRef, i as isLineageRef, a as isVertexRef, u as resolveDerivedFaceRef, m as resolveEdgeRef, o as resolveLineageRef, v as resolveRef, s as resolveRefIn, c as resolveRefParams, f as resolveVertexRef, y as updateRoles } from "./refResolveFns-DHx1Y3GG.js";
1
+ export { h as assignRoles, g as captureHint, l as createDerivedFaceRef, p as createEdgeRef, _ as createRef, d as createVertexRef, b as defaultScorer, t as isDerivedFaceRef, n as isEdgeRef, r as isFaceRef, i as isLineageRef, a as isVertexRef, u as resolveDerivedFaceRef, m as resolveEdgeRef, o as resolveLineageRef, v as resolveRef, s as resolveRefIn, c as resolveRefParams, f as resolveVertexRef, y as updateRoles } from "./refResolveFns-BPge7T5w.js";
@@ -1,4 +1,4 @@
1
- import { A as UnsupportedKernelOperationError, C as reverseCurve2d$2, D as tangentCurve2d, E as serializeCurve2d$2, N as EXACT_BREP_CAPABILITIES, O as translateCurve2d$2, P as OCCT_CAPABILITIES, S as offsetCurve2d$2, T as scaleCurve2d$2, _ as makeCircle2d$2, a as buildAsciiSTL, b as mirrorAcrossAxis, c as createBBox2d, d as deserializeCurve2d$2, f as evaluateCurve2d$2, g as makeBezier2d$2, h as makeArc2dThreePoints, i as DEFAULT_STL_TOLERANCE, j as isUnsupportedKernelOperationError, k as quickHull, l as curveBounds, m as makeArc2dTangent, o as buildBinarySTL, p as intersectCurves2dFn, r as DEFAULT_STL_ANGULAR_TOLERANCE, s as addCurveToBBox, t as OcctWasmAdapter, u as curveTypeName, v as makeEllipse2d$2, w as rotateCurve2d$2, x as mirrorAtPoint, y as makeLine2d$2 } from "./occtWasmAdapter-B9d0Q0Vl.js";
1
+ import { A as UnsupportedKernelOperationError, C as reverseCurve2d$2, D as tangentCurve2d, E as serializeCurve2d$2, N as EXACT_BREP_CAPABILITIES, O as translateCurve2d$2, P as OCCT_CAPABILITIES, S as offsetCurve2d$2, T as scaleCurve2d$2, _ as makeCircle2d$2, a as buildAsciiSTL, b as mirrorAcrossAxis, c as createBBox2d, d as deserializeCurve2d$2, f as evaluateCurve2d$2, g as makeBezier2d$2, h as makeArc2dThreePoints, i as DEFAULT_STL_TOLERANCE, j as isUnsupportedKernelOperationError, k as quickHull, l as curveBounds, m as makeArc2dTangent, o as buildBinarySTL, p as intersectCurves2dFn, r as DEFAULT_STL_ANGULAR_TOLERANCE, s as addCurveToBBox, t as OcctWasmAdapter, u as curveTypeName, v as makeEllipse2d$2, w as rotateCurve2d$2, x as mirrorAtPoint, y as makeLine2d$2 } from "./occtWasmAdapter-BCCwaYkq.js";
2
2
  import { i as wasmIndex, r as vec3At } from "./bug-ClMTAJhe.js";
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_occtWasmAdapter = require("./occtWasmAdapter-DVxLkjlJ.cjs");
1
+ const require_occtWasmAdapter = require("./occtWasmAdapter-UcYZRi-w.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_blueprintSketcher = require("./blueprintSketcher-Di376t-0.cjs");
3
- const require_drawFns = require("./drawFns-71cOhWD-.cjs");
4
- const require_textBlueprints = require("./textBlueprints-CNPCPJix.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-Brj4lXjj.cjs");
3
+ const require_drawFns = require("./drawFns-UPbO2heB.cjs");
4
+ const require_textBlueprints = require("./textBlueprints-Dz6wNgve.cjs");
5
5
  // src/sketching.ts
6
6
  /**
7
7
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
package/dist/sketching.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-D_Faf0GO.js";
2
- import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-DxDwJ5zZ.js";
3
- import { a as Sketches, c as compoundSketchFace, d as sketchExtrude, f as sketchFace, g as sketchWires, h as sketchSweep, l as compoundSketchLoft, m as sketchRevolve, o as Sketch, p as sketchLoft, s as compoundSketchExtrude, u as compoundSketchRevolve, y as CompoundSketch } from "./textBlueprints-BU0Rhk54.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-B15522Kr.js";
2
+ import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-DU5fewKl.js";
3
+ import { a as Sketches, c as compoundSketchFace, d as sketchExtrude, f as sketchFace, g as sketchWires, h as sketchSweep, l as compoundSketchLoft, m as sketchRevolve, o as Sketch, p as sketchLoft, s as compoundSketchExtrude, u as compoundSketchRevolve, y as CompoundSketch } from "./textBlueprints-BYWZho_c.js";
4
4
  // src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,6 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-Dc7j-MYg.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-5Frx8Y-0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
2
+ const require_errors = require("./errors-O_blYTWT.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-CXbCFaU2.cjs");
3
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
+ const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
4
6
  // src/topology/metadata/originTrackingFns.ts
5
7
  /**
6
8
  * Face origin tracking — tag faces with integer origins and propagate
@@ -199,12 +201,211 @@ function propagateOriginsByHash(inputs, result) {
199
201
  cache.faceOrigins = resultMap;
200
202
  }
201
203
  }
204
+ // src/topology/shapeUtils.ts
205
+ /**
206
+ * Shape assembly utilities — welding and sewing operations.
207
+ */
208
+ /** Sew faces/shells into a single shape using the kernel's sewing algorithm. */
209
+ function weldShapes(facesOrShells) {
210
+ const sewn = require_shapeTypes.getKernel().sew(facesOrShells.map((s) => s.wrapped));
211
+ return require_shapeTypes.castResultShape(sewn);
212
+ }
213
+ /**
214
+ * Welds faces and shells into a single shell.
215
+ *
216
+ * @param facesOrShells - An array of faces and shells to be welded.
217
+ * @param ignoreType - If true, the function will not check if the result is a shell.
218
+ * @returns A shell that contains all the faces and shells.
219
+ */
220
+ function weldShellsAndFaces(facesOrShells, ignoreType = false) {
221
+ const shell = weldShapes(facesOrShells);
222
+ if (!ignoreType && !require_shapeTypes.isShell(shell)) return require_errors.err(require_errors.typeCastError("WELD_NOT_SHELL", "Could not make a shell from faces and shells"));
223
+ return require_errors.ok(shell);
224
+ }
225
+ // src/topology/solidBuilders.ts
226
+ /**
227
+ * Solid and primitive construction helpers — boxes, cylinders, spheres, cones,
228
+ * tori, ellipsoids, vertices, compounds, and offsets.
229
+ */
230
+ /**
231
+ * Creates a cylinder with the given radius and height.
232
+ *
233
+ * @category Solids
234
+ */
235
+ function makeCylinder(radius, height, location = [
236
+ 0,
237
+ 0,
238
+ 0
239
+ ], direction = [
240
+ 0,
241
+ 0,
242
+ 1
243
+ ]) {
244
+ return require_shapeTypes.createSolid(require_shapeTypes.getKernel().makeCylinder(radius, height, [...location], [...direction]));
245
+ }
246
+ /**
247
+ * Creates a sphere with the given radius.
248
+ *
249
+ * @category Solids
250
+ */
251
+ function makeSphere(radius) {
252
+ return require_shapeTypes.createSolid(require_shapeTypes.getKernel().makeSphere(radius));
253
+ }
254
+ /**
255
+ * Creates a cone (or frustum) with the given radii and height.
256
+ *
257
+ * @category Solids
258
+ */
259
+ function makeCone(radius1, radius2, height, location = [
260
+ 0,
261
+ 0,
262
+ 0
263
+ ], direction = [
264
+ 0,
265
+ 0,
266
+ 1
267
+ ]) {
268
+ return require_shapeTypes.createSolid(require_shapeTypes.getKernel().makeCone(radius1, radius2, height, [...location], [...direction]));
269
+ }
270
+ /**
271
+ * Creates a torus with the given major and minor radii.
272
+ *
273
+ * @category Solids
274
+ */
275
+ function makeTorus(majorRadius, minorRadius, location = [
276
+ 0,
277
+ 0,
278
+ 0
279
+ ], direction = [
280
+ 0,
281
+ 0,
282
+ 1
283
+ ]) {
284
+ return require_shapeTypes.createSolid(require_shapeTypes.getKernel().makeTorus(majorRadius, minorRadius, [...location], [...direction]));
285
+ }
286
+ /**
287
+ * Creates an ellipsoid with the given axis lengths.
288
+ *
289
+ * The algorithm creates a unit BSpline sphere surface, transforms its
290
+ * control-point poles with an affinity matrix to match the requested
291
+ * axis half-lengths, then sews the result into a solid.
292
+ *
293
+ * @category Solids
294
+ */
295
+ function makeEllipsoid(aLength, bLength, cLength) {
296
+ return require_shapeTypes.createSolid(require_shapeTypes.getKernel().makeEllipsoid(aLength, bLength, cLength));
297
+ }
298
+ /** Create a vertex at a 3D point. */
299
+ function makeVertex(point) {
300
+ return require_shapeTypes.createVertex(require_shapeTypes.getKernel().makeVertex(point[0], point[1], point[2]));
301
+ }
302
+ /**
303
+ * Create an offset shape from a face.
304
+ *
305
+ * @param offset - Signed offset distance (positive = outward).
306
+ * @param tolerance - Geometric tolerance for the offset algorithm.
307
+ * @returns An error if the result is not a valid 3D shape.
308
+ */
309
+ function makeOffset(face, offset, tolerance = 1e-6) {
310
+ const resultShape = require_shapeTypes.getKernel().offset(face.wrapped, offset, tolerance);
311
+ return require_errors.andThen(require_faceFns.downcast(resultShape), (downcasted) => require_errors.andThen(require_faceFns.cast(downcasted), (newShape) => {
312
+ if (!require_shapeTypes.isShape3D(newShape)) return require_errors.err(require_errors.typeCastError("OFFSET_NOT_3D", "Could not offset to a 3d shape"));
313
+ return require_errors.ok(newShape);
314
+ }));
315
+ }
316
+ /**
317
+ * Build a compound from multiple shapes.
318
+ *
319
+ * @param shapeArray - Shapes to group into a single compound.
320
+ * @returns A new Compound containing all input shapes.
321
+ */
322
+ function makeCompound(shapeArray) {
323
+ return require_shapeTypes.createCompound(require_shapeTypes.getKernel().makeCompound(shapeArray.map((s) => s.wrapped)));
324
+ }
325
+ /**
326
+ * Welds faces and shells into a single shell and then makes a solid.
327
+ *
328
+ * @param facesOrShells - An array of faces and shells to be welded.
329
+ * @returns A solid that contains all the faces and shells.
330
+ *
331
+ * @category Solids
332
+ */
333
+ function makeSolid(facesOrShells) {
334
+ try {
335
+ var _usingCtx$1 = require_shapeTypes._usingCtx();
336
+ const shell = _usingCtx$1.u(weldShapes(facesOrShells));
337
+ const solid = require_shapeTypes.castResultShape(require_shapeTypes.getKernel().solidFromShell(shell.wrapped));
338
+ if (!require_shapeTypes.isSolid(solid)) {
339
+ require_shapeTypes.disposeResultShape(solid);
340
+ return require_errors.err(require_errors.typeCastError("SOLID_BUILD_FAILED", "Could not make a solid of faces and shells"));
341
+ }
342
+ return require_errors.ok(solid);
343
+ } catch (_) {
344
+ _usingCtx$1.e = _;
345
+ } finally {
346
+ _usingCtx$1.d();
347
+ }
348
+ }
202
349
  Object.defineProperty(exports, "getFaceOrigins", {
203
350
  enumerable: true,
204
351
  get: function() {
205
352
  return getFaceOrigins;
206
353
  }
207
354
  });
355
+ Object.defineProperty(exports, "makeCompound", {
356
+ enumerable: true,
357
+ get: function() {
358
+ return makeCompound;
359
+ }
360
+ });
361
+ Object.defineProperty(exports, "makeCone", {
362
+ enumerable: true,
363
+ get: function() {
364
+ return makeCone;
365
+ }
366
+ });
367
+ Object.defineProperty(exports, "makeCylinder", {
368
+ enumerable: true,
369
+ get: function() {
370
+ return makeCylinder;
371
+ }
372
+ });
373
+ Object.defineProperty(exports, "makeEllipsoid", {
374
+ enumerable: true,
375
+ get: function() {
376
+ return makeEllipsoid;
377
+ }
378
+ });
379
+ Object.defineProperty(exports, "makeOffset", {
380
+ enumerable: true,
381
+ get: function() {
382
+ return makeOffset;
383
+ }
384
+ });
385
+ Object.defineProperty(exports, "makeSolid", {
386
+ enumerable: true,
387
+ get: function() {
388
+ return makeSolid;
389
+ }
390
+ });
391
+ Object.defineProperty(exports, "makeSphere", {
392
+ enumerable: true,
393
+ get: function() {
394
+ return makeSphere;
395
+ }
396
+ });
397
+ Object.defineProperty(exports, "makeTorus", {
398
+ enumerable: true,
399
+ get: function() {
400
+ return makeTorus;
401
+ }
402
+ });
403
+ Object.defineProperty(exports, "makeVertex", {
404
+ enumerable: true,
405
+ get: function() {
406
+ return makeVertex;
407
+ }
408
+ });
208
409
  Object.defineProperty(exports, "propagateOriginsByHash", {
209
410
  enumerable: true,
210
411
  get: function() {
@@ -223,3 +424,9 @@ Object.defineProperty(exports, "setShapeOrigin", {
223
424
  return setShapeOrigin;
224
425
  }
225
426
  });
427
+ Object.defineProperty(exports, "weldShellsAndFaces", {
428
+ enumerable: true,
429
+ get: function() {
430
+ return weldShellsAndFaces;
431
+ }
432
+ });
@@ -1,6 +1,8 @@
1
- import { q as getKernel } from "./shapeTypes-DwvQUp9M.js";
2
- import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-LXV1nTaS.js";
1
+ import { C as isSolid, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-CIH-8d_a.js";
2
+ import { E as ok, g as err, l as typeCastError, m as andThen } from "./errors-BTccWbtE.js";
3
+ import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-Cp0yekBh.js";
3
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
+ import { _ as cast, y as downcast } from "./faceFns-BgRNa5vx.js";
4
6
  // src/topology/metadata/originTrackingFns.ts
5
7
  /**
6
8
  * Face origin tracking — tag faces with integer origins and propagate
@@ -199,4 +201,149 @@ function propagateOriginsByHash(inputs, result) {
199
201
  cache.faceOrigins = resultMap;
200
202
  }
201
203
  }
202
- export { setShapeOrigin as i, propagateOriginsByHash as n, propagateOriginsFromEvolution as r, getFaceOrigins as t };
204
+ // src/topology/shapeUtils.ts
205
+ /**
206
+ * Shape assembly utilities — welding and sewing operations.
207
+ */
208
+ /** Sew faces/shells into a single shape using the kernel's sewing algorithm. */
209
+ function weldShapes(facesOrShells) {
210
+ const sewn = getKernel().sew(facesOrShells.map((s) => s.wrapped));
211
+ return castResultShape(sewn);
212
+ }
213
+ /**
214
+ * Welds faces and shells into a single shell.
215
+ *
216
+ * @param facesOrShells - An array of faces and shells to be welded.
217
+ * @param ignoreType - If true, the function will not check if the result is a shell.
218
+ * @returns A shell that contains all the faces and shells.
219
+ */
220
+ function weldShellsAndFaces(facesOrShells, ignoreType = false) {
221
+ const shell = weldShapes(facesOrShells);
222
+ if (!ignoreType && !isShell(shell)) return err(typeCastError("WELD_NOT_SHELL", "Could not make a shell from faces and shells"));
223
+ return ok(shell);
224
+ }
225
+ // src/topology/solidBuilders.ts
226
+ /**
227
+ * Solid and primitive construction helpers — boxes, cylinders, spheres, cones,
228
+ * tori, ellipsoids, vertices, compounds, and offsets.
229
+ */
230
+ /**
231
+ * Creates a cylinder with the given radius and height.
232
+ *
233
+ * @category Solids
234
+ */
235
+ function makeCylinder(radius, height, location = [
236
+ 0,
237
+ 0,
238
+ 0
239
+ ], direction = [
240
+ 0,
241
+ 0,
242
+ 1
243
+ ]) {
244
+ return createSolid(getKernel().makeCylinder(radius, height, [...location], [...direction]));
245
+ }
246
+ /**
247
+ * Creates a sphere with the given radius.
248
+ *
249
+ * @category Solids
250
+ */
251
+ function makeSphere(radius) {
252
+ return createSolid(getKernel().makeSphere(radius));
253
+ }
254
+ /**
255
+ * Creates a cone (or frustum) with the given radii and height.
256
+ *
257
+ * @category Solids
258
+ */
259
+ function makeCone(radius1, radius2, height, location = [
260
+ 0,
261
+ 0,
262
+ 0
263
+ ], direction = [
264
+ 0,
265
+ 0,
266
+ 1
267
+ ]) {
268
+ return createSolid(getKernel().makeCone(radius1, radius2, height, [...location], [...direction]));
269
+ }
270
+ /**
271
+ * Creates a torus with the given major and minor radii.
272
+ *
273
+ * @category Solids
274
+ */
275
+ function makeTorus(majorRadius, minorRadius, location = [
276
+ 0,
277
+ 0,
278
+ 0
279
+ ], direction = [
280
+ 0,
281
+ 0,
282
+ 1
283
+ ]) {
284
+ return createSolid(getKernel().makeTorus(majorRadius, minorRadius, [...location], [...direction]));
285
+ }
286
+ /**
287
+ * Creates an ellipsoid with the given axis lengths.
288
+ *
289
+ * The algorithm creates a unit BSpline sphere surface, transforms its
290
+ * control-point poles with an affinity matrix to match the requested
291
+ * axis half-lengths, then sews the result into a solid.
292
+ *
293
+ * @category Solids
294
+ */
295
+ function makeEllipsoid(aLength, bLength, cLength) {
296
+ return createSolid(getKernel().makeEllipsoid(aLength, bLength, cLength));
297
+ }
298
+ /** Create a vertex at a 3D point. */
299
+ function makeVertex(point) {
300
+ return createVertex(getKernel().makeVertex(point[0], point[1], point[2]));
301
+ }
302
+ /**
303
+ * Create an offset shape from a face.
304
+ *
305
+ * @param offset - Signed offset distance (positive = outward).
306
+ * @param tolerance - Geometric tolerance for the offset algorithm.
307
+ * @returns An error if the result is not a valid 3D shape.
308
+ */
309
+ function makeOffset(face, offset, tolerance = 1e-6) {
310
+ const resultShape = getKernel().offset(face.wrapped, offset, tolerance);
311
+ return andThen(downcast(resultShape), (downcasted) => andThen(cast(downcasted), (newShape) => {
312
+ if (!isShape3D(newShape)) return err(typeCastError("OFFSET_NOT_3D", "Could not offset to a 3d shape"));
313
+ return ok(newShape);
314
+ }));
315
+ }
316
+ /**
317
+ * Build a compound from multiple shapes.
318
+ *
319
+ * @param shapeArray - Shapes to group into a single compound.
320
+ * @returns A new Compound containing all input shapes.
321
+ */
322
+ function makeCompound(shapeArray) {
323
+ return createCompound(getKernel().makeCompound(shapeArray.map((s) => s.wrapped)));
324
+ }
325
+ /**
326
+ * Welds faces and shells into a single shell and then makes a solid.
327
+ *
328
+ * @param facesOrShells - An array of faces and shells to be welded.
329
+ * @returns A solid that contains all the faces and shells.
330
+ *
331
+ * @category Solids
332
+ */
333
+ function makeSolid(facesOrShells) {
334
+ try {
335
+ var _usingCtx$1 = _usingCtx();
336
+ const shell = _usingCtx$1.u(weldShapes(facesOrShells));
337
+ const solid = castResultShape(getKernel().solidFromShell(shell.wrapped));
338
+ if (!isSolid(solid)) {
339
+ disposeResultShape(solid);
340
+ return err(typeCastError("SOLID_BUILD_FAILED", "Could not make a solid of faces and shells"));
341
+ }
342
+ return ok(solid);
343
+ } catch (_) {
344
+ _usingCtx$1.e = _;
345
+ } finally {
346
+ _usingCtx$1.d();
347
+ }
348
+ }
349
+ export { makeOffset as a, makeTorus as c, getFaceOrigins as d, propagateOriginsByHash as f, makeEllipsoid as i, makeVertex as l, setShapeOrigin as m, makeCone as n, makeSolid as o, propagateOriginsFromEvolution as p, makeCylinder as r, makeSphere as s, makeCompound as t, weldShellsAndFaces as u };
@@ -1,7 +1,7 @@
1
- import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-DwvQUp9M.js";
1
+ import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-CIH-8d_a.js";
2
2
  import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-BTccWbtE.js";
3
- import { a as isPlanarFace } from "./validityTypes-DM-Iwe8N.js";
4
- import { _ as cast, u as outerWire } from "./faceFns-iVPbTxki.js";
3
+ import { a as isPlanarFace } from "./validityTypes-DlrWkrSR.js";
4
+ import { _ as cast, u as outerWire } from "./faceFns-BgRNa5vx.js";
5
5
  // src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  function range(len) {
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-Dc7j-MYg.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_validityTypes = require("./validityTypes-C6rROGTP.cjs");
4
- const require_faceFns = require("./faceFns-B7MiDYj1.cjs");
3
+ const require_validityTypes = require("./validityTypes-m6eLRTYE.cjs");
4
+ const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
5
5
  // src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  function range(len) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-CNPCPJix.cjs");
3
- const require_textMetrics = require("./textMetrics-C71g4TmO.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-Dz6wNgve.cjs");
3
+ const require_textMetrics = require("./textMetrics-bKoFTj3m.cjs");
4
4
  exports.fontMetrics = require_textMetrics.fontMetrics;
5
5
  exports.getFont = require_textBlueprints.getFont;
6
6
  exports.loadFont = require_textBlueprints.loadFont;
package/dist/text.js CHANGED
@@ -1,3 +1,3 @@
1
- import { i as setFallbackFont, n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BU0Rhk54.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-Df9aLYK2.js";
1
+ import { i as setFallbackFont, n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BYWZho_c.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-k_rGqib2.js";
3
3
  export { fontMetrics, getFont, loadFont, setFallbackFont, sketchText, textBlueprints, textMetrics };
@@ -1,18 +1,19 @@
1
- import { d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, q as getKernel, x as isShape3D } from "./shapeTypes-DwvQUp9M.js";
1
+ import { d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, q as getKernel, x as isShape3D } from "./shapeTypes-CIH-8d_a.js";
2
2
  import { n as bug } from "./bug-ClMTAJhe.js";
3
3
  import { E as ok, P as unwrap, d as validationError, g as err, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-BTccWbtE.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  import { r as toVec3 } from "./types-CKXsIm9-.js";
6
6
  import { c as vecLength, d as vecNormalize, h as vecScale, i as vecDistance, r as vecCross, t as vecAdd } from "./vecOps-S-m9H_fe.js";
7
7
  import { n as createPlane } from "./planeOps-D3yDuMux.js";
8
- import { v as copyShape } from "./faceFns-iVPbTxki.js";
9
- import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-DT1gpVWM.js";
8
+ import { v as copyShape } from "./faceFns-BgRNa5vx.js";
9
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-q_hwYsdo.js";
10
+ import { r as cutAll } from "./booleanFns-cNfXGqMX.js";
10
11
  import { i as setFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
11
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-BP3srCfK.js";
12
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-C4CqthJp.js";
12
13
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-BpgouNir.js";
13
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CPLe0bbk.js";
14
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-D_Faf0GO.js";
15
- import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-D5NJpHLZ.js";
14
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-DXo4N7wQ.js";
15
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-B15522Kr.js";
16
+ import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-lwzTh1fI.js";
16
17
  import opentype from "opentype.js";
17
18
  // src/topology/shapeRef/extrudeRoleFns.ts
18
19
  /** Match tolerance as a fraction of the extrusion's size. */
@@ -1,19 +1,20 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-BW-eSwOZ.cjs");
2
- const require_shapeTypes = require("./shapeTypes-Dc7j-MYg.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
3
3
  const require_bug = require("./bug-CBcpIPuf.cjs");
4
4
  const require_errors = require("./errors-O_blYTWT.cjs");
5
5
  const require_constants = require("./constants-oee0S_x6.cjs");
6
6
  const require_types = require("./types-CjF9Rofr.cjs");
7
7
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
8
8
  const require_planeOps = require("./planeOps-DZfLToKZ.cjs");
9
- const require_faceFns = require("./faceFns-B7MiDYj1.cjs");
10
- const require_solidBuilders = require("./solidBuilders-iS5DDwg8.cjs");
9
+ const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-DGskMugU.cjs");
11
+ const require_booleanFns = require("./booleanFns-D5nQ1nWS.cjs");
11
12
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
12
- const require_curveFns = require("./curveFns-CyIvQNYT.cjs");
13
+ const require_curveFns = require("./curveFns-B5_N-gMj.cjs");
13
14
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
14
- const require_surfaceBuilders = require("./surfaceBuilders-BvwSgD3C.cjs");
15
- const require_blueprintSketcher = require("./blueprintSketcher-Di376t-0.cjs");
16
- const require_loftFns = require("./loftFns-D5AvfCGG.cjs");
15
+ const require_surfaceBuilders = require("./surfaceBuilders-DeSLKg73.cjs");
16
+ const require_blueprintSketcher = require("./blueprintSketcher-Brj4lXjj.cjs");
17
+ const require_loftFns = require("./loftFns-DgkK4Kj_.cjs");
17
18
  let opentype_js = require("opentype.js");
18
19
  opentype_js = require_rolldown_runtime.__toESM(opentype_js, 1);
19
20
  // src/topology/shapeRef/extrudeRoleFns.ts
@@ -524,7 +525,7 @@ var holedSweptSolid = (sketches, solidGenerator) => {
524
525
  const holes = sketches.slice(1).map((s) => require_errors.unwrap(solidGenerator(s)));
525
526
  if (holes.length === 0) return outer;
526
527
  try {
527
- return require_errors.unwrap(require_solidBuilders.cutAll(outer, holes, { unsafe: true }));
528
+ return require_errors.unwrap(require_booleanFns.cutAll(outer, holes, { unsafe: true }));
528
529
  } finally {
529
530
  outer.delete();
530
531
  for (const h of holes) h.delete();
@@ -1,5 +1,5 @@
1
1
  const require_errors = require("./errors-O_blYTWT.cjs");
2
- const require_textBlueprints = require("./textBlueprints-CNPCPJix.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-Dz6wNgve.cjs");
3
3
  // src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,5 +1,5 @@
1
1
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-BTccWbtE.js";
2
- import { _ as wrapSketchData, a as Sketches, n as getFont, t as textBlueprints, y as CompoundSketch } from "./textBlueprints-BU0Rhk54.js";
2
+ import { _ as wrapSketchData, a as Sketches, n as getFont, t as textBlueprints, y as CompoundSketch } from "./textBlueprints-BYWZho_c.js";
3
3
  // src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.