brepjs 20.12.8 → 20.12.9

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 (93) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-Bl109A3Z.js → adjacencyFns-1Cmjb2ot.js} +3 -3
  4. package/dist/{adjacencyFns-BfgFo-Rh.cjs → adjacencyFns-CfhGIMeR.cjs} +3 -3
  5. package/dist/{blueprint-RqemOtg5.js → blueprint-BVcuEefs.js} +5 -5
  6. package/dist/{blueprint-DTDSztfd.cjs → blueprint-DbJVzU9F.cjs} +5 -5
  7. package/dist/{blueprintFns-C7E5R89N.cjs → blueprintFns-DePTHG1I.cjs} +2 -2
  8. package/dist/{blueprintFns-B9_PhTr8.js → blueprintFns-mD4pDyFP.js} +2 -2
  9. package/dist/{blueprintSketcher-Brj4lXjj.cjs → blueprintSketcher-B5CFmhjg.cjs} +3 -3
  10. package/dist/{blueprintSketcher-B15522Kr.js → blueprintSketcher-BrGmq-65.js} +3 -3
  11. package/dist/{boolean2D-_eiIiNw1.js → boolean2D-BrHrY60M.js} +4 -4
  12. package/dist/{boolean2D-DZ8aJbI-.cjs → boolean2D-CFKg1FJ_.cjs} +4 -4
  13. package/dist/{booleanFns-D5nQ1nWS.cjs → booleanFns-C640CeaY.cjs} +4 -4
  14. package/dist/{booleanFns-cNfXGqMX.js → booleanFns-CKDyqKz0.js} +4 -4
  15. package/dist/brepjs.cjs +30 -30
  16. package/dist/brepjs.js +30 -30
  17. package/dist/{cameraFns-YhB7A_Zc.js → cameraFns-DIbua1lC.js} +3 -3
  18. package/dist/{cameraFns-6Er2lhp5.cjs → cameraFns-hXUKJkLg.cjs} +3 -3
  19. package/dist/core.cjs +2 -2
  20. package/dist/core.js +2 -2
  21. package/dist/{cornerFinder-G1WkSkVl.js → cornerFinder-BYDkloVc.js} +1 -1
  22. package/dist/{cornerFinder-D9Wx3DWu.cjs → cornerFinder-ByBGU0r7.cjs} +1 -1
  23. package/dist/{curveFns-B5_N-gMj.cjs → curveFns-Cqgtmhr0.cjs} +1 -1
  24. package/dist/{curveFns-C4CqthJp.js → curveFns-DphpaoQ4.js} +1 -1
  25. package/dist/{drawFns-DU5fewKl.js → drawFns-Ch3ah8K9.js} +12 -12
  26. package/dist/{drawFns-UPbO2heB.cjs → drawFns-GwVZX47o.cjs} +12 -12
  27. package/dist/{faceFns-C4NOGZBg.cjs → faceFns-BDqVGEoB.cjs} +2 -2
  28. package/dist/{faceFns-BgRNa5vx.js → faceFns-D4cDeMRf.js} +2 -2
  29. package/dist/{healingFns-BzOo0yyz.js → healingFns--vBKh5pa.js} +5 -5
  30. package/dist/{healingFns-i5gV3BMG.cjs → healingFns-Fu7Xl8fu.cjs} +5 -5
  31. package/dist/{helpers-DPHQt2Kr.js → helpers-CroIo2SI.js} +6 -6
  32. package/dist/{helpers-DJQeDf_5.cjs → helpers-Wnq-YPWv.cjs} +6 -6
  33. package/dist/{importFns-CwrJsNvg.js → importFns-D5Bt_44J.js} +5 -5
  34. package/dist/{importFns-BiRpt227.cjs → importFns-tHr15Lhm.cjs} +5 -5
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/occtWasm/evolutionOps.d.ts +4 -3
  38. package/dist/kernel/occtWasm/helpers.d.ts +14 -3
  39. package/dist/kernel/occtWasm/ioOps.d.ts +13 -13
  40. package/dist/kernel/occtWasm/modifierOps.d.ts +5 -3
  41. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  42. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +1 -1
  43. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  44. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +33 -0
  45. package/dist/{loftFns-lwzTh1fI.js → loftFns-Bh_RuF7a.js} +1 -1
  46. package/dist/{loftFns-DgkK4Kj_.cjs → loftFns-T0GxcPlB.cjs} +1 -1
  47. package/dist/{measureFns-Q3K25IfN.js → measureFns-C3TZ5Fj9.js} +3 -3
  48. package/dist/{measureFns-D_RRjCZg.cjs → measureFns-DGm6ndQY.cjs} +3 -3
  49. package/dist/measurement.cjs +2 -2
  50. package/dist/measurement.js +2 -2
  51. package/dist/{meshFns-Djbb4PUC.cjs → meshFns-DDgZ3vpr.cjs} +4 -4
  52. package/dist/{meshFns-BGoJU6_P.js → meshFns-Go1XSyUh.js} +4 -4
  53. package/dist/{occtWasmAdapter-UcYZRi-w.cjs → occtWasmAdapter-CZPZnpCe.cjs} +290 -80
  54. package/dist/{occtWasmAdapter-BCCwaYkq.js → occtWasmAdapter-EM3EhKwk.js} +290 -80
  55. package/dist/operations.cjs +2 -2
  56. package/dist/operations.js +2 -2
  57. package/dist/{primitiveFns-D-aYcwt2.js → primitiveFns-CeRc4Sls.js} +5 -5
  58. package/dist/{primitiveFns-CfSnex9P.cjs → primitiveFns-Dg_XWYtp.cjs} +5 -5
  59. package/dist/{principalBoxFns-IY8FfPVj.cjs → principalBoxFns-B5zdek3y.cjs} +3 -3
  60. package/dist/{principalBoxFns-Dcp9gg5e.js → principalBoxFns-BuK-ueAB.js} +3 -3
  61. package/dist/projection.cjs +1 -1
  62. package/dist/projection.js +1 -1
  63. package/dist/query.cjs +2 -2
  64. package/dist/query.js +2 -2
  65. package/dist/{refResolveFns-gZQ1o5XK.cjs → refResolveFns-CFwsYCKA.cjs} +6 -6
  66. package/dist/{refResolveFns-BPge7T5w.js → refResolveFns-WRcvVhV-.js} +6 -6
  67. package/dist/{shapeFns-TWdr4Dv4.js → shapeFns-CYjU8PsF.js} +2 -2
  68. package/dist/{shapeFns-Bs92VrZh.cjs → shapeFns-DuxfaqTw.cjs} +2 -2
  69. package/dist/shapeRef.cjs +1 -1
  70. package/dist/shapeRef.js +1 -1
  71. package/dist/{shapeTypes-DmThK_oa.cjs → shapeTypes--7XBFlOD.cjs} +1 -1
  72. package/dist/{shapeTypes-CIH-8d_a.js → shapeTypes-DvzbSivn.js} +1 -1
  73. package/dist/sketching.cjs +3 -3
  74. package/dist/sketching.js +3 -3
  75. package/dist/{solidBuilders-q_hwYsdo.js → solidBuilders-BqSVC4cB.js} +3 -3
  76. package/dist/{solidBuilders-DGskMugU.cjs → solidBuilders-D0bIZX9K.cjs} +3 -3
  77. package/dist/{surfaceBuilders-DXo4N7wQ.js → surfaceBuilders--HOoTQad.js} +3 -3
  78. package/dist/{surfaceBuilders-DeSLKg73.cjs → surfaceBuilders-CPQHyL_5.cjs} +3 -3
  79. package/dist/text.cjs +2 -2
  80. package/dist/text.js +2 -2
  81. package/dist/{textBlueprints-Dz6wNgve.cjs → textBlueprints-B4HzJzZM.cjs} +8 -8
  82. package/dist/{textBlueprints-BYWZho_c.js → textBlueprints-plsbHqiI.js} +8 -8
  83. package/dist/{textMetrics-bKoFTj3m.cjs → textMetrics-CBwUIDI7.cjs} +1 -1
  84. package/dist/{textMetrics-k_rGqib2.js → textMetrics-IIS6DUTr.js} +1 -1
  85. package/dist/{threadFns-BeB8s0tA.js → threadFns-CmZFykpi.js} +7 -7
  86. package/dist/{threadFns-CoGAFHHt.cjs → threadFns-e8_26ZYw.cjs} +7 -7
  87. package/dist/topology.cjs +9 -9
  88. package/dist/topology.js +9 -9
  89. package/dist/{topologyQueryFns-Cp0yekBh.js → topologyQueryFns-BUzMuIs5.js} +1 -1
  90. package/dist/{topologyQueryFns-CXbCFaU2.cjs → topologyQueryFns-NszVx8a0.cjs} +1 -1
  91. package/dist/{validityTypes-DlrWkrSR.js → validityTypes-CdY06B8c.js} +1 -1
  92. package/dist/{validityTypes-m6eLRTYE.cjs → validityTypes-Ds4zNICF.cjs} +1 -1
  93. package/package.json +2 -2
@@ -1,10 +1,10 @@
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";
1
+ import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-DvzbSivn.js";
2
+ import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-BUzMuIs5.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-D4cDeMRf.js";
4
4
  import { t as getFaceRoles } from "./faceRoleFns-BPxzQF-n.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";
5
+ import { n as getHashCode } from "./shapeFns-CYjU8PsF.js";
6
+ import { n as measureArea, s as measureLength } from "./measureFns-C3TZ5Fj9.js";
7
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-1Cmjb2ot.js";
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
- import { q as getKernel } from "./shapeTypes-CIH-8d_a.js";
1
+ import { q as getKernel } from "./shapeTypes-DvzbSivn.js";
2
2
  import { t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-Cp0yekBh.js";
3
+ import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-BUzMuIs5.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  // src/topology/shapeFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-CXbCFaU2.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
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-gZQ1o5XK.cjs");
2
+ const require_refResolveFns = require("./refResolveFns-CFwsYCKA.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-BPge7T5w.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-WRcvVhV-.js";
@@ -1,4 +1,4 @@
1
- const require_occtWasmAdapter = require("./occtWasmAdapter-UcYZRi-w.cjs");
1
+ const require_occtWasmAdapter = require("./occtWasmAdapter-CZPZnpCe.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -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-BCCwaYkq.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-EM3EhKwk.js";
2
2
  import { i as wasmIndex, r as vec3At } from "./bug-ClMTAJhe.js";
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-Brj4lXjj.cjs");
3
- const require_drawFns = require("./drawFns-UPbO2heB.cjs");
4
- const require_textBlueprints = require("./textBlueprints-Dz6wNgve.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-B5CFmhjg.cjs");
3
+ const require_drawFns = require("./drawFns-GwVZX47o.cjs");
4
+ const require_textBlueprints = require("./textBlueprints-B4HzJzZM.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-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";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-BrGmq-65.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-Ch3ah8K9.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-plsbHqiI.js";
4
4
  // src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,8 +1,8 @@
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";
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-DvzbSivn.js";
2
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
+ import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-BUzMuIs5.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
- import { _ as cast, y as downcast } from "./faceFns-BgRNa5vx.js";
5
+ import { _ as cast, y as downcast } from "./faceFns-D4cDeMRf.js";
6
6
  // src/topology/metadata/originTrackingFns.ts
7
7
  /**
8
8
  * Face origin tracking — tag faces with integer origins and propagate
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-CXbCFaU2.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
- const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
5
+ const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
6
6
  // src/topology/metadata/originTrackingFns.ts
7
7
  /**
8
8
  * Face origin tracking — tag faces with integer origins and propagate
@@ -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-CIH-8d_a.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-DvzbSivn.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-DlrWkrSR.js";
4
- import { _ as cast, u as outerWire } from "./faceFns-BgRNa5vx.js";
3
+ import { a as isPlanarFace } from "./validityTypes-CdY06B8c.js";
4
+ import { _ as cast, u as outerWire } from "./faceFns-D4cDeMRf.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-DmThK_oa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_validityTypes = require("./validityTypes-m6eLRTYE.cjs");
4
- const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
3
+ const require_validityTypes = require("./validityTypes-Ds4zNICF.cjs");
4
+ const require_faceFns = require("./faceFns-BDqVGEoB.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-Dz6wNgve.cjs");
3
- const require_textMetrics = require("./textMetrics-bKoFTj3m.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-B4HzJzZM.cjs");
3
+ const require_textMetrics = require("./textMetrics-CBwUIDI7.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-BYWZho_c.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-k_rGqib2.js";
1
+ import { i as setFallbackFont, n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-plsbHqiI.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-IIS6DUTr.js";
3
3
  export { fontMetrics, getFont, loadFont, setFallbackFont, sketchText, textBlueprints, textMetrics };
@@ -1,20 +1,20 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-BW-eSwOZ.cjs");
2
- const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
2
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.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-C4NOGZBg.cjs");
10
- const require_solidBuilders = require("./solidBuilders-DGskMugU.cjs");
11
- const require_booleanFns = require("./booleanFns-D5nQ1nWS.cjs");
9
+ const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-D0bIZX9K.cjs");
11
+ const require_booleanFns = require("./booleanFns-C640CeaY.cjs");
12
12
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
13
- const require_curveFns = require("./curveFns-B5_N-gMj.cjs");
13
+ const require_curveFns = require("./curveFns-Cqgtmhr0.cjs");
14
14
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.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");
15
+ const require_surfaceBuilders = require("./surfaceBuilders-CPQHyL_5.cjs");
16
+ const require_blueprintSketcher = require("./blueprintSketcher-B5CFmhjg.cjs");
17
+ const require_loftFns = require("./loftFns-T0GxcPlB.cjs");
18
18
  let opentype_js = require("opentype.js");
19
19
  opentype_js = require_rolldown_runtime.__toESM(opentype_js, 1);
20
20
  // src/topology/shapeRef/extrudeRoleFns.ts
@@ -1,19 +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-CIH-8d_a.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-DvzbSivn.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-BgRNa5vx.js";
9
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-q_hwYsdo.js";
10
- import { r as cutAll } from "./booleanFns-cNfXGqMX.js";
8
+ import { v as copyShape } from "./faceFns-D4cDeMRf.js";
9
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-BqSVC4cB.js";
10
+ import { r as cutAll } from "./booleanFns-CKDyqKz0.js";
11
11
  import { i as setFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
12
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-C4CqthJp.js";
12
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-DphpaoQ4.js";
13
13
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-BpgouNir.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";
14
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders--HOoTQad.js";
15
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BrGmq-65.js";
16
+ import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-Bh_RuF7a.js";
17
17
  import opentype from "opentype.js";
18
18
  // src/topology/shapeRef/extrudeRoleFns.ts
19
19
  /** Match tolerance as a fraction of the extrusion's size. */
@@ -1,5 +1,5 @@
1
1
  const require_errors = require("./errors-O_blYTWT.cjs");
2
- const require_textBlueprints = require("./textBlueprints-Dz6wNgve.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-B4HzJzZM.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-BYWZho_c.js";
2
+ import { _ as wrapSketchData, a as Sketches, n as getFont, t as textBlueprints, y as CompoundSketch } from "./textBlueprints-plsbHqiI.js";
3
3
  // src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,12 +1,12 @@
1
- import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CIH-8d_a.js";
1
+ import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-DvzbSivn.js";
2
2
  import { E as ok, d as validationError, g as err, n as computationError, r as ioError, t as BrepErrorCode, x as isOk } from "./errors-BTccWbtE.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-S-m9H_fe.js";
4
- import { b as fromBREP } from "./faceFns-BgRNa5vx.js";
5
- import { a as fuseAll } from "./booleanFns-cNfXGqMX.js";
6
- import { E as wire, h as line } from "./primitiveFns-D-aYcwt2.js";
7
- import { s as toBREP, t as clone } from "./shapeFns-TWdr4Dv4.js";
8
- import { t as loft } from "./loftFns-lwzTh1fI.js";
9
- import { c as resolveRefParams } from "./refResolveFns-BPge7T5w.js";
4
+ import { b as fromBREP } from "./faceFns-D4cDeMRf.js";
5
+ import { a as fuseAll } from "./booleanFns-CKDyqKz0.js";
6
+ import { E as wire, h as line } from "./primitiveFns-CeRc4Sls.js";
7
+ import { s as toBREP, t as clone } from "./shapeFns-CYjU8PsF.js";
8
+ import { t as loft } from "./loftFns-Bh_RuF7a.js";
9
+ import { c as resolveRefParams } from "./refResolveFns-WRcvVhV-.js";
10
10
  // src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
4
- const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
5
- const require_booleanFns = require("./booleanFns-D5nQ1nWS.cjs");
6
- const require_primitiveFns = require("./primitiveFns-CfSnex9P.cjs");
7
- const require_shapeFns = require("./shapeFns-Bs92VrZh.cjs");
8
- const require_loftFns = require("./loftFns-DgkK4Kj_.cjs");
9
- const require_refResolveFns = require("./refResolveFns-gZQ1o5XK.cjs");
4
+ const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
5
+ const require_booleanFns = require("./booleanFns-C640CeaY.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-Dg_XWYtp.cjs");
7
+ const require_shapeFns = require("./shapeFns-DuxfaqTw.cjs");
8
+ const require_loftFns = require("./loftFns-T0GxcPlB.cjs");
9
+ const require_refResolveFns = require("./refResolveFns-CFwsYCKA.cjs");
10
10
  // src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-CXbCFaU2.cjs");
3
- const require_faceFns = require("./faceFns-C4NOGZBg.cjs");
4
- const require_booleanFns = require("./booleanFns-D5nQ1nWS.cjs");
5
- const require_primitiveFns = require("./primitiveFns-CfSnex9P.cjs");
6
- const require_shapeFns = require("./shapeFns-Bs92VrZh.cjs");
7
- const require_curveFns = require("./curveFns-B5_N-gMj.cjs");
8
- const require_meshFns = require("./meshFns-Djbb4PUC.cjs");
9
- const require_healingFns = require("./healingFns-i5gV3BMG.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-BfgFo-Rh.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
3
+ const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
4
+ const require_booleanFns = require("./booleanFns-C640CeaY.cjs");
5
+ const require_primitiveFns = require("./primitiveFns-Dg_XWYtp.cjs");
6
+ const require_shapeFns = require("./shapeFns-DuxfaqTw.cjs");
7
+ const require_curveFns = require("./curveFns-Cqgtmhr0.cjs");
8
+ const require_meshFns = require("./meshFns-DDgZ3vpr.cjs");
9
+ const require_healingFns = require("./healingFns-Fu7Xl8fu.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-CfhGIMeR.cjs");
11
11
  exports.addHoles = require_primitiveFns.addHoles;
12
12
  exports.adjacentFaces = require_adjacencyFns.adjacentFaces;
13
13
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,10 +1,10 @@
1
- import { _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, w as vertexPosition, x as iterWires } from "./topologyQueryFns-Cp0yekBh.js";
2
- import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-BgRNa5vx.js";
3
- import { a as fuseAll, r as cutAll } from "./booleanFns-cNfXGqMX.js";
4
- import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-D-aYcwt2.js";
5
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-TWdr4Dv4.js";
6
- import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-C4CqthJp.js";
7
- import { f as clearMeshCache, n as exportSTEP, p as createMeshCache, r as exportSTL, t as exportIGES } from "./meshFns-BGoJU6_P.js";
8
- import { A as variableFillet, F as toLineGeometryData, M as toGroupedBufferGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toBufferGeometryData, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-BzOo0yyz.js";
9
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-Bl109A3Z.js";
1
+ import { _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, w as vertexPosition, x as iterWires } from "./topologyQueryFns-BUzMuIs5.js";
2
+ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-D4cDeMRf.js";
3
+ import { a as fuseAll, r as cutAll } from "./booleanFns-CKDyqKz0.js";
4
+ import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-CeRc4Sls.js";
5
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-CYjU8PsF.js";
6
+ import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-DphpaoQ4.js";
7
+ import { f as clearMeshCache, n as exportSTEP, p as createMeshCache, r as exportSTL, t as exportIGES } from "./meshFns-Go1XSyUh.js";
8
+ import { A as variableFillet, F as toLineGeometryData, M as toGroupedBufferGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toBufferGeometryData, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns--vBKh5pa.js";
9
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-1Cmjb2ot.js";
10
10
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveAxis, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceAxis, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseAllBisect, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };
@@ -1,4 +1,4 @@
1
- import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-CIH-8d_a.js";
1
+ import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-DvzbSivn.js";
2
2
  import { E as ok, g as err } from "./errors-BTccWbtE.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
4
4
  // src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  const require_constants = require("./constants-oee0S_x6.cjs");
4
4
  // src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- import { q as getKernel } from "./shapeTypes-CIH-8d_a.js";
1
+ import { q as getKernel } from "./shapeTypes-DvzbSivn.js";
2
2
  import { E as ok, g as err } from "./errors-BTccWbtE.js";
3
3
  // src/core/validityTypes.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-DmThK_oa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  // src/core/validityTypes.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "20.12.8",
3
+ "version": "20.12.9",
4
4
  "description": "Exact B-Rep CAD in TypeScript on OpenCascade WebAssembly, with a pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -281,7 +281,7 @@
281
281
  "knip": "6.27.0",
282
282
  "lint-staged": "17.6.0",
283
283
  "lz-string": "1.5.0",
284
- "occt-wasm": "5.8.0",
284
+ "occt-wasm": "5.9.0",
285
285
  "prettier": "3.9.10",
286
286
  "puppeteer": "25.14.0",
287
287
  "size-limit": "14.2.0",