brepjs 18.118.7 → 18.118.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 (78) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-DGMGVQl7.js → adjacencyFns-BcEHCYK3.js} +2 -2
  4. package/dist/{adjacencyFns-BmnrcGXe.cjs → adjacencyFns-Crb9tLJd.cjs} +2 -2
  5. package/dist/{blueprint-Cq4SoX4f.js → blueprint-nrz4fL3I.js} +5 -5
  6. package/dist/{blueprint-8aYTu_pt.cjs → blueprint-qWwhQGSr.cjs} +5 -5
  7. package/dist/{blueprintFns-BFCNzqOo.js → blueprintFns-BaWyLnF-.js} +2 -2
  8. package/dist/{blueprintFns-DeFKRkeJ.cjs → blueprintFns-BhiWnHuR.cjs} +2 -2
  9. package/dist/{blueprintSketcher-BbT1WvI0.cjs → blueprintSketcher-D5AHgjkT.cjs} +3 -3
  10. package/dist/{blueprintSketcher-L_UQ6PjH.js → blueprintSketcher-cgkF6uCj.js} +3 -3
  11. package/dist/{boolean2D-gvWTFM1D.cjs → boolean2D-Bemx5WZV.cjs} +4 -4
  12. package/dist/{boolean2D-Bo8N_bkO.js → boolean2D-CSZIZMaq.js} +4 -4
  13. package/dist/brepjs.cjs +25 -25
  14. package/dist/brepjs.js +25 -25
  15. package/dist/{cameraFns-BgMZW_YF.cjs → cameraFns-taUY1CFZ.cjs} +2 -2
  16. package/dist/{cameraFns-CX0GX3TA.js → cameraFns-xD28Tsqu.js} +2 -2
  17. package/dist/core/shapeTypes.d.ts +9 -0
  18. package/dist/core.cjs +1 -1
  19. package/dist/core.js +1 -1
  20. package/dist/{cornerFinder-Dg00ADRE.cjs → cornerFinder-BDwDNTdN.cjs} +1 -1
  21. package/dist/{cornerFinder-ug3d1MIj.js → cornerFinder-DGI6Ud6N.js} +1 -1
  22. package/dist/{curveFns-Bbq8YwiP.cjs → curveFns-Bb3wuFj4.cjs} +1 -1
  23. package/dist/{curveFns-QU4XEJMN.js → curveFns-Y1TTdL_y.js} +1 -1
  24. package/dist/{drawFns-BaoKhtS2.cjs → drawFns-Bgug3W7c.cjs} +12 -12
  25. package/dist/{drawFns-t8qlCOhw.js → drawFns-BksvLjN1.js} +12 -12
  26. package/dist/{faceFns-DlUhG1i5.cjs → faceFns-BhBJ_Hsb.cjs} +2 -2
  27. package/dist/{faceFns-CnCX9BM_.js → faceFns-Bm3-D75M.js} +2 -2
  28. package/dist/{healingFns-DS2jVC-6.cjs → healingFns-DoJQUwBN.cjs} +5 -5
  29. package/dist/{healingFns-DWODzlw2.js → healingFns-g8JymEUi.js} +5 -5
  30. package/dist/{helpers-CXHMPCPr.cjs → helpers-DKfkqED3.cjs} +6 -6
  31. package/dist/{helpers-nTMuqwBX.js → helpers-DzOME9UE.js} +6 -6
  32. package/dist/{importFns-JVnMjbVT.js → importFns-BnQAQt7q.js} +2 -2
  33. package/dist/{importFns-Rtl8_piv.cjs → importFns-D8i8O8di.cjs} +2 -2
  34. package/dist/io.cjs +2 -2
  35. package/dist/io.js +2 -2
  36. package/dist/{loftFns-CYHPZMOq.cjs → loftFns-BJiGxTys.cjs} +1 -1
  37. package/dist/{loftFns-jXPjUwdV.js → loftFns-CK4PP1IR.js} +1 -1
  38. package/dist/{measureFns-DDlmrOwH.js → measureFns-1akKMnXO.js} +3 -3
  39. package/dist/{measureFns-BXpXVoE1.cjs → measureFns-DJ1SESSY.cjs} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-BcvYEb05.js → meshFns-Dt93gFGp.js} +3 -3
  43. package/dist/{meshFns-tNFtjrAg.cjs → meshFns-s-c0lABa.cjs} +3 -3
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{primitiveFns-CTCpyACp.cjs → primitiveFns-BDdThy3-.cjs} +4 -4
  47. package/dist/{primitiveFns-C1uYmrtf.js → primitiveFns-D-hFA6e9.js} +4 -4
  48. package/dist/projection.cjs +1 -1
  49. package/dist/projection.js +1 -1
  50. package/dist/query.cjs +2 -2
  51. package/dist/query.js +2 -2
  52. package/dist/{refResolveFns-BdEmu7yh.cjs → refResolveFns-CT1YEP-7.cjs} +6 -6
  53. package/dist/{refResolveFns-BT4g71BY.js → refResolveFns-xqQ8Z8vC.js} +6 -6
  54. package/dist/{shapeFns-7T0gykWr.cjs → shapeFns-1aqO2bz4.cjs} +2 -2
  55. package/dist/{shapeFns-B0tRZG0L.js → shapeFns-Dqlpy8wm.js} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeTypes-OqAALhek.cjs → shapeTypes-B8a39SS3.cjs} +24 -2
  59. package/dist/{shapeTypes-USExUZfW.js → shapeTypes-D8Fprilr.js} +19 -3
  60. package/dist/sketching.cjs +3 -3
  61. package/dist/sketching.js +3 -3
  62. package/dist/{solidBuilders-DGhhY8ct.js → solidBuilders-B_N5miaY.js} +5 -5
  63. package/dist/{solidBuilders-oBXWp32X.cjs → solidBuilders-CkkgC2se.cjs} +5 -5
  64. package/dist/{surfaceBuilders-BPTkEKy4.js → surfaceBuilders-B15_8txg.js} +2 -2
  65. package/dist/{surfaceBuilders-_pFeqIF8.cjs → surfaceBuilders-DUG4Y0qA.cjs} +2 -2
  66. package/dist/text.cjs +2 -2
  67. package/dist/text.js +2 -2
  68. package/dist/{textBlueprints-BKi0ghsT.cjs → textBlueprints-BXtV_DY6.cjs} +7 -7
  69. package/dist/{textBlueprints-lsM-HJ_1.js → textBlueprints-BYz-7-MZ.js} +7 -7
  70. package/dist/{textMetrics-66K6zyvX.cjs → textMetrics-DBdtpVNo.cjs} +1 -1
  71. package/dist/{textMetrics-C89j257P.js → textMetrics-yyHcpdUd.js} +1 -1
  72. package/dist/{threadFns-oZG40DKL.js → threadFns-BM-VHcSJ.js} +7 -7
  73. package/dist/{threadFns-CILCsLs1.cjs → threadFns-C_BapeNn.cjs} +7 -7
  74. package/dist/topology.cjs +9 -9
  75. package/dist/topology.js +9 -9
  76. package/dist/{topologyQueryFns-DK-ktEI-.cjs → topologyQueryFns-BJbOwoZm.cjs} +10 -10
  77. package/dist/{topologyQueryFns-Jg9SyAWe.js → topologyQueryFns-DfThB5LA.js} +10 -10
  78. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
6
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
7
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
8
- const require_curveFns = require("./curveFns-Bbq8YwiP.cjs");
9
- const require_measureFns = require("./measureFns-BXpXVoE1.cjs");
6
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
7
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
8
+ const require_curveFns = require("./curveFns-Bb3wuFj4.cjs");
9
+ const require_measureFns = require("./measureFns-DJ1SESSY.cjs");
10
10
  //#region src/utils/vec2d.ts
11
11
  /** Precision for curve intersection and parameter operations. */
12
12
  var PRECISION_INTERSECTION = 1e-9;
@@ -1,12 +1,12 @@
1
- import { _ as isFace, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, v as isFace } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, T as isOk, b as err, h as bug, o as queryError } from "./errors-DNWJsfVU.js";
3
- import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  import { a as vecDot, d as vecNormalize } from "./vecOps-SKPRvPH-.js";
6
- import { l as normalAt, s as getSurfaceType } from "./faceFns-CnCX9BM_.js";
7
- import { a as isSameShape, n as getHashCode } from "./shapeFns-B0tRZG0L.js";
8
- import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-QU4XEJMN.js";
9
- import { n as measureArea } from "./measureFns-DDlmrOwH.js";
6
+ import { l as normalAt, s as getSurfaceType } from "./faceFns-Bm3-D75M.js";
7
+ import { a as isSameShape, n as getHashCode } from "./shapeFns-Dqlpy8wm.js";
8
+ import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-Y1TTdL_y.js";
9
+ import { n as measureArea } from "./measureFns-1akKMnXO.js";
10
10
  //#region src/utils/vec2d.ts
11
11
  /** Precision for curve intersection and parameter operations. */
12
12
  var PRECISION_INTERSECTION = 1e-9;
@@ -1,8 +1,8 @@
1
- import { n as castShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, r as castShape } from "./shapeTypes-D8Fprilr.js";
2
2
  import { n as wasmIndex, t as vec3At$1 } from "./vec3-Dpha8d5k.js";
3
3
  import { A as ok, b as err, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
4
4
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
5
- import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-Cq4SoX4f.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-nrz4fL3I.js";
6
6
  //#region src/io/objExportFns.ts
7
7
  /** Read a vec3 from a typed array at the given vertex index. */
8
8
  function vec3At(arr, i) {
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
5
- const require_blueprint = require("./blueprint-8aYTu_pt.cjs");
5
+ const require_blueprint = require("./blueprint-qWwhQGSr.cjs");
6
6
  //#region src/io/objExportFns.ts
7
7
  /** Read a vec3 from a typed array at the given vertex index. */
8
8
  function vec3At(arr, i) {
package/dist/io.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_meshFns = require("./meshFns-tNFtjrAg.cjs");
3
- const require_importFns = require("./importFns-Rtl8_piv.cjs");
2
+ const require_meshFns = require("./meshFns-s-c0lABa.cjs");
3
+ const require_importFns = require("./importFns-D8i8O8di.cjs");
4
4
  exports.blueprintToDXF = require_importFns.blueprintToDXF;
5
5
  exports.exportDXF = require_importFns.exportDXF;
6
6
  exports.exportGlb = require_importFns.exportGlb;
package/dist/io.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-BcvYEb05.js";
2
- import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-JVnMjbVT.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-Dt93gFGp.js";
2
+ import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-BnQAQt7q.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_types = require("./types-KjA8tY4Y.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
@@ -1,4 +1,4 @@
1
- import { C as isWire, f as disposeDowncastSource, l as createSolid, p as disposeResultShape, t as castResultShape, tt as getKernel, y as isShape3D } from "./shapeTypes-USExUZfW.js";
1
+ import { b as isShape3D, m as disposeResultShape, nt as getKernel, p as disposeDowncastSource, t as castResultShape, u as createSolid, w as isWire } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { c as vecLength, d as vecNormalize, t as vecAdd } from "./vecOps-SKPRvPH-.js";
@@ -1,7 +1,7 @@
1
- import { tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { w as kernelCallRaw } from "./topologyQueryFns-Jg9SyAWe.js";
4
- import { m as uvBounds } from "./faceFns-CnCX9BM_.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-DfThB5LA.js";
4
+ import { m as uvBounds } from "./faceFns-Bm3-D75M.js";
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
4
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-BXpXVoE1.cjs");
2
+ const require_measureFns = require("./measureFns-DJ1SESSY.cjs");
3
3
  exports.createDistanceQuery = require_measureFns.createDistanceQuery;
4
4
  exports.measureArea = require_measureFns.measureArea;
5
5
  exports.measureDistance = require_measureFns.measureDistance;
@@ -1,2 +1,2 @@
1
- import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-DDlmrOwH.js";
1
+ import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-1akKMnXO.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- import { bt as qualityDeflection, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, xt as qualityDeflection } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-DNWJsfVU.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-Jg9SyAWe.js";
4
- import { j as getFaceOrigins } from "./shapeFns-B0tRZG0L.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-DfThB5LA.js";
4
+ import { j as getFaceOrigins } from "./shapeFns-Dqlpy8wm.js";
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
4
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-CILCsLs1.cjs");
3
- const require_loftFns = require("./loftFns-CYHPZMOq.cjs");
2
+ const require_threadFns = require("./threadFns-C_BapeNn.cjs");
3
+ const require_loftFns = require("./loftFns-BJiGxTys.cjs");
4
4
  exports.addChild = require_threadFns.addChild;
5
5
  exports.addJoint = require_threadFns.addJoint;
6
6
  exports.addStep = require_threadFns.addStep;
@@ -1,3 +1,3 @@
1
- import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as circularPattern, H as removeChild, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, O as prismaticJoint, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, q as linearPattern, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as countNodes } from "./threadFns-oZG40DKL.js";
2
- import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-jXPjUwdV.js";
1
+ import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as circularPattern, H as removeChild, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, O as prismaticJoint, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, q as linearPattern, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as countNodes } from "./threadFns-BM-VHcSJ.js";
2
+ import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-CK4PP1IR.js";
3
3
  export { addChild, addJoint, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, cylindricalJoint, exportAssemblySTEP, exportURDF, findNode, findStep, forwardKinematics, getShape as getHistoryShape, gridPattern, importURDF, inverseKinematics, jointTrajectory, jointTransform, jointsFromDH, linearPattern, mechanismDOF, modifyStep, planarJoint, prismaticJoint, registerOperation, registerShape, removeChild, replayFrom, replayHistory, revoluteJoint, setJointValue, setJointValues, sphericalJoint, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
5
- const require_surfaceBuilders = require("./surfaceBuilders-_pFeqIF8.cjs");
6
- const require_solidBuilders = require("./solidBuilders-oBXWp32X.cjs");
4
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
5
+ const require_surfaceBuilders = require("./surfaceBuilders-DUG4Y0qA.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-CkkgC2se.cjs");
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,9 +1,9 @@
1
- import { T as isClosedWire, l as createSolid, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { E as isClosedWire, nt as getKernel, u as createSolid } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, v as andThen } from "./errors-DNWJsfVU.js";
3
3
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
4
- import { g as translate } from "./shapeFns-B0tRZG0L.js";
5
- import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-BPTkEKy4.js";
6
- import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-DGhhY8ct.js";
4
+ import { g as translate } from "./shapeFns-Dqlpy8wm.js";
5
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-B15_8txg.js";
6
+ import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-B_N5miaY.js";
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-BgMZW_YF.cjs");
2
+ const require_cameraFns = require("./cameraFns-taUY1CFZ.cjs");
3
3
  exports.PROJECTION_PLANES = require_cameraFns.PROJECTION_PLANES;
4
4
  exports.cameraFromPlane = require_cameraFns.cameraFromPlane;
5
5
  exports.cameraLookAt = require_cameraFns.cameraLookAt;
@@ -1,2 +1,2 @@
1
- import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-CX0GX3TA.js";
1
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-xD28Tsqu.js";
2
2
  export { PROJECTION_PLANES, cameraFromPlane, cameraLookAt, createCamera, isProjectionPlane, makeProjectedEdges, projectEdges };
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-CXHMPCPr.cjs");
3
- const require_cornerFinder = require("./cornerFinder-Dg00ADRE.cjs");
2
+ const require_helpers = require("./helpers-DKfkqED3.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-BDwDNTdN.cjs");
4
4
  exports.cornerFinder = require_cornerFinder.cornerFinder;
5
5
  exports.edgeFinder = require_helpers.edgeFinder;
6
6
  exports.faceFinder = require_helpers.faceFinder;
package/dist/query.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-nTMuqwBX.js";
2
- import { t as cornerFinder } from "./cornerFinder-ug3d1MIj.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DzOME9UE.js";
2
+ import { t as cornerFinder } from "./cornerFinder-DGI6Ud6N.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
4
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
5
- const require_measureFns = require("./measureFns-BXpXVoE1.cjs");
6
- const require_adjacencyFns = require("./adjacencyFns-BmnrcGXe.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
3
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
4
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
5
+ const require_measureFns = require("./measureFns-DJ1SESSY.cjs");
6
+ const require_adjacencyFns = require("./adjacencyFns-Crb9tLJd.cjs");
7
7
  //#region src/topology/shapeRef/scoring.ts
8
8
  /**
9
9
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,9 +1,9 @@
1
- import { i as castShapeWithKnownType, m as disposeTransientSubShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
2
- import { S as vertexPosition, c as getFaces } from "./topologyQueryFns-Jg9SyAWe.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-CnCX9BM_.js";
4
- import { n as getHashCode } from "./shapeFns-B0tRZG0L.js";
5
- import { n as measureArea, s as measureLength } from "./measureFns-DDlmrOwH.js";
6
- import { a as sharedEdges, i as facesOfVertex, o as verticesOfEdge, r as facesOfEdge, s as verticesOfFace, t as adjacentFaces } from "./adjacencyFns-DGMGVQl7.js";
1
+ import { a as castShapeWithKnownType, h as disposeTransientSubShape, nt as getKernel } from "./shapeTypes-D8Fprilr.js";
2
+ import { S as vertexPosition, c as getFaces } from "./topologyQueryFns-DfThB5LA.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-Bm3-D75M.js";
4
+ import { n as getHashCode } from "./shapeFns-Dqlpy8wm.js";
5
+ import { n as measureArea, s as measureLength } from "./measureFns-1akKMnXO.js";
6
+ import { a as sharedEdges, i as facesOfVertex, o as verticesOfEdge, r as facesOfEdge, s as verticesOfFace, t as adjacentFaces } from "./adjacencyFns-BcEHCYK3.js";
7
7
  //#region src/topology/shapeRef/scoring.ts
8
8
  /**
9
9
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { t as castResultShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, t as castResultShape } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/metadata/originTrackingFns.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-BdEmu7yh.cjs");
2
+ const require_refResolveFns = require("./refResolveFns-CT1YEP-7.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,2 +1,2 @@
1
- import { _ as createRef, a as isVertexRef, b as defaultScorer, c as resolveRefParams, d as createVertexRef, f as resolveVertexRef, g as captureHint, h as assignRoles, i as isLineageRef, l as createDerivedFaceRef, m as resolveEdgeRef, n as isEdgeRef, o as resolveLineageRef, p as createEdgeRef, r as isFaceRef, s as resolveRefIn, t as isDerivedFaceRef, u as resolveDerivedFaceRef, v as resolveRef, y as updateRoles } from "./refResolveFns-BT4g71BY.js";
1
+ import { _ as createRef, a as isVertexRef, b as defaultScorer, c as resolveRefParams, d as createVertexRef, f as resolveVertexRef, g as captureHint, h as assignRoles, i as isLineageRef, l as createDerivedFaceRef, m as resolveEdgeRef, n as isEdgeRef, o as resolveLineageRef, p as createEdgeRef, r as isFaceRef, s as resolveRefIn, t as isDerivedFaceRef, u as resolveDerivedFaceRef, v as resolveRef, y as updateRoles } from "./refResolveFns-xqQ8Z8vC.js";
2
2
  export { assignRoles, captureHint, createDerivedFaceRef, createEdgeRef, createRef, createVertexRef, defaultScorer, isDerivedFaceRef, isEdgeRef, isFaceRef, isLineageRef, isVertexRef, resolveDerivedFaceRef, resolveEdgeRef, resolveLineageRef, resolveRef, resolveRefIn, resolveRefParams, resolveVertexRef, updateRoles };
@@ -15633,6 +15633,7 @@ var registry = new FinalizationRegistry((heldValue) => {
15633
15633
  });
15634
15634
  /** Create a disposable shape handle. */
15635
15635
  function createHandle(ocShape) {
15636
+ const kernel = getKernel();
15636
15637
  let disposed = false;
15637
15638
  const dispose = () => {
15638
15639
  if (!disposed) {
@@ -15640,7 +15641,7 @@ function createHandle(ocShape) {
15640
15641
  trackHandleDisposed();
15641
15642
  registry.unregister(handle);
15642
15643
  try {
15643
- ocShape.delete();
15644
+ kernel.dispose(ocShape);
15644
15645
  } catch {}
15645
15646
  }
15646
15647
  };
@@ -15660,7 +15661,9 @@ function createHandle(ocShape) {
15660
15661
  }
15661
15662
  };
15662
15663
  trackHandleCreated();
15663
- registry.register(handle, ocShape, handle);
15664
+ registry.register(handle, { delete: () => {
15665
+ kernel.dispose(ocShape);
15666
+ } }, handle);
15664
15667
  return handle;
15665
15668
  }
15666
15669
  /** Create a disposable handle for any kernel object. */
@@ -16154,6 +16157,19 @@ function castShapeWithKnownType(ocShape, knownType, dim) {
16154
16157
  if (knownType === "compsolid") return createCompSolid(dc);
16155
16158
  return createCompound(dc, dim);
16156
16159
  }
16160
+ /**
16161
+ * The result-owning counterpart to {@link castShapeWithKnownType}: casts a
16162
+ * freshly-iterated sub-shape and releases the orphaned pre-downcast handle.
16163
+ * Use for a raw sub-shape the caller owns outright — e.g. each element of
16164
+ * `iterShapes` — where only the branded downcast result is retained. Identity
16165
+ * downcast kernels (manifold/brepkit) skip the release via the guard in
16166
+ * {@link disposeDowncastSource}.
16167
+ */
16168
+ function castResultShapeWithKnownType(ocShape, knownType, dim) {
16169
+ const cast = castShapeWithKnownType(ocShape, knownType, dim);
16170
+ disposeDowncastSource(ocShape, cast);
16171
+ return cast;
16172
+ }
16157
16173
  //#endregion
16158
16174
  Object.defineProperty(exports, "BrepkitAdapter", {
16159
16175
  enumerable: true,
@@ -16191,6 +16207,12 @@ Object.defineProperty(exports, "castResultShape", {
16191
16207
  return castResultShape;
16192
16208
  }
16193
16209
  });
16210
+ Object.defineProperty(exports, "castResultShapeWithKnownType", {
16211
+ enumerable: true,
16212
+ get: function() {
16213
+ return castResultShapeWithKnownType;
16214
+ }
16215
+ });
16194
16216
  Object.defineProperty(exports, "castShape", {
16195
16217
  enumerable: true,
16196
16218
  get: function() {
@@ -15625,6 +15625,7 @@ var registry = new FinalizationRegistry((heldValue) => {
15625
15625
  });
15626
15626
  /** Create a disposable shape handle. */
15627
15627
  function createHandle(ocShape) {
15628
+ const kernel = getKernel();
15628
15629
  let disposed = false;
15629
15630
  const dispose = () => {
15630
15631
  if (!disposed) {
@@ -15632,7 +15633,7 @@ function createHandle(ocShape) {
15632
15633
  trackHandleDisposed();
15633
15634
  registry.unregister(handle);
15634
15635
  try {
15635
- ocShape.delete();
15636
+ kernel.dispose(ocShape);
15636
15637
  } catch {}
15637
15638
  }
15638
15639
  };
@@ -15652,7 +15653,9 @@ function createHandle(ocShape) {
15652
15653
  }
15653
15654
  };
15654
15655
  trackHandleCreated();
15655
- registry.register(handle, ocShape, handle);
15656
+ registry.register(handle, { delete: () => {
15657
+ kernel.dispose(ocShape);
15658
+ } }, handle);
15656
15659
  return handle;
15657
15660
  }
15658
15661
  /** Create a disposable handle for any kernel object. */
@@ -16146,5 +16149,18 @@ function castShapeWithKnownType(ocShape, knownType, dim) {
16146
16149
  if (knownType === "compsolid") return createCompSolid(dc);
16147
16150
  return createCompound(dc, dim);
16148
16151
  }
16152
+ /**
16153
+ * The result-owning counterpart to {@link castShapeWithKnownType}: casts a
16154
+ * freshly-iterated sub-shape and releases the orphaned pre-downcast handle.
16155
+ * Use for a raw sub-shape the caller owns outright — e.g. each element of
16156
+ * `iterShapes` — where only the branded downcast result is retained. Identity
16157
+ * downcast kernels (manifold/brepkit) skip the release via the guard in
16158
+ * {@link disposeDowncastSource}.
16159
+ */
16160
+ function castResultShapeWithKnownType(ocShape, knownType, dim) {
16161
+ const cast = castShapeWithKnownType(ocShape, knownType, dim);
16162
+ disposeDowncastSource(ocShape, cast);
16163
+ return cast;
16164
+ }
16149
16165
  //#endregion
16150
- export { _usingCtx as $, isValidSolid as A, is2D as B, isWire as C, isOrientedFace as D, isManifoldShell as E, validSolid as F, getDisposalStats as G, DisposalScope as H, getShapeKind as I, resetDisposalStats as J, isLive as K, getOrQueryType as L, orientedFace as M, planarFace as N, isPlanarFace as O, planarWire as P, withScopeResultAsync as Q, as2D as R, isVertex as S, isClosedWire as T, createHandle as U, is3D as V, createKernelHandle as W, withScope as X, unregisterFromCleanup as Y, withScopeResult as Z, isFace as _, getPerformanceStats as _t, createCompound as a, init as at, isShell as b, qualityDeflection as bt, createShell as c, prewarm as ct, createWire as d, withKernel as dt, getActiveKernelId as et, disposeDowncastSource as f, withQuality as ft, isEdge as g, BrepkitAdapter as gt, isCompound as h, supportsProjection as ht, castShapeWithKnownType as i, getKernelTier as it, manifoldShell as j, isPlanarWire as k, createSolid as l, registerKernel as lt, disposeTransientSubShape as m, supportsConstraintSketch as mt, castShape as n, getKernel2D as nt, createEdge as o, initFromManifold as ot, disposeResultShape as p, withTier as pt, registerForCleanup as q, castShape3D as r, getKernelCapabilities as rt, createFace as s, initFromOC as st, castResultShape as t, getKernel as tt, createVertex as u, registerKernelTier as ut, isShape1D as v, resetPerformanceStats as vt, closedWire as w, isSolid as x, isShape3D as y, currentQuality as yt, as3D as z };
16166
+ export { withScopeResultAsync as $, isPlanarWire as A, as3D as B, isVertex as C, isManifoldShell as D, isClosedWire as E, planarWire as F, createKernelHandle as G, is3D as H, validSolid as I, registerForCleanup as J, getDisposalStats as K, getShapeKind as L, manifoldShell as M, orientedFace as N, isOrientedFace as O, planarFace as P, withScopeResult as Q, getOrQueryType as R, isSolid as S, closedWire as T, DisposalScope as U, is2D as V, createHandle as W, unregisterFromCleanup as X, resetDisposalStats as Y, withScope as Z, isEdge as _, BrepkitAdapter as _t, castShapeWithKnownType as a, getKernelTier as at, isShape3D as b, currentQuality as bt, createFace as c, initFromOC as ct, createVertex as d, registerKernelTier as dt, _usingCtx as et, createWire as f, withKernel as ft, isCompound as g, supportsProjection as gt, disposeTransientSubShape as h, supportsConstraintSketch as ht, castShape3D as i, getKernelCapabilities as it, isValidSolid as j, isPlanarFace as k, createShell as l, prewarm as lt, disposeResultShape as m, withTier as mt, castResultShapeWithKnownType as n, getKernel as nt, createCompound as o, init as ot, disposeDowncastSource as p, withQuality as pt, isLive as q, castShape as r, getKernel2D as rt, createEdge as s, initFromManifold as st, castResultShape as t, getActiveKernelId as tt, createSolid as u, registerKernel as ut, isFace as v, getPerformanceStats as vt, isWire as w, isShell as x, qualityDeflection as xt, isShape1D as y, resetPerformanceStats as yt, as2D as z };
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-BKi0ghsT.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-BbT1WvI0.cjs");
4
- const require_drawFns = require("./drawFns-BaoKhtS2.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BXtV_DY6.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-D5AHgjkT.cjs");
4
+ const require_drawFns = require("./drawFns-Bgug3W7c.cjs");
5
5
  //#region 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-L_UQ6PjH.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-t8qlCOhw.js";
3
- import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-lsM-HJ_1.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-cgkF6uCj.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-BksvLjN1.js";
3
+ import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-BYz-7-MZ.js";
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,13 +1,13 @@
1
- import { I as getShapeKind, a as createCompound, b as isShell, f as disposeDowncastSource, l as createSolid, n as castShape, p as disposeResultShape, t as castResultShape, tt as getKernel, u as createVertex, x as isSolid, y as isShape3D } from "./shapeTypes-USExUZfW.js";
1
+ import { L as getShapeKind, S as isSolid, b as isShape3D, d as createVertex, m as disposeResultShape, nt as getKernel, o as createCompound, p as disposeDowncastSource, r as castShape, t as castResultShape, u as createSolid, x as isShell } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, R as unwrap, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-DNWJsfVU.js";
3
- import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  import { h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-DSjjtrjg.js";
7
- import { _ as cast, y as downcast } from "./faceFns-CnCX9BM_.js";
8
- import { _ as collectInputFaceHashes, b as propagateMetadataByHash, y as propagateAllMetadata } from "./shapeFns-B0tRZG0L.js";
7
+ import { _ as cast, y as downcast } from "./faceFns-Bm3-D75M.js";
8
+ import { _ as collectInputFaceHashes, b as propagateMetadataByHash, y as propagateAllMetadata } from "./shapeFns-Dqlpy8wm.js";
9
9
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
10
- import { r as makeFace } from "./surfaceBuilders-BPTkEKy4.js";
10
+ import { r as makeFace } from "./surfaceBuilders-B15_8txg.js";
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
6
6
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
7
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
8
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
7
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
8
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
9
9
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
10
- const require_surfaceBuilders = require("./surfaceBuilders-_pFeqIF8.cjs");
10
+ const require_surfaceBuilders = require("./surfaceBuilders-DUG4Y0qA.cjs");
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,6 +1,6 @@
1
- import { O as isPlanarFace, _ as isFace, d as createWire, o as createEdge, s as createFace, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { c as createFace, f as createWire, k as isPlanarFace, nt as getKernel, s as createEdge, v as isFace } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as cast, u as outerWire } from "./faceFns-CnCX9BM_.js";
3
+ import { _ as cast, u as outerWire } from "./faceFns-Bm3-D75M.js";
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
3
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  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-BKi0ghsT.cjs");
3
- const require_textMetrics = require("./textMetrics-66K6zyvX.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BXtV_DY6.cjs");
3
+ const require_textMetrics = require("./textMetrics-DBdtpVNo.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 { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-lsM-HJ_1.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-C89j257P.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BYz-7-MZ.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-yyHcpdUd.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
33
33
  const require_errors = require("./errors-CXJtc4I7.cjs");
34
34
  const require_types = require("./types-KjA8tY4Y.cjs");
35
35
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
36
36
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
37
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
38
- const require_curveFns = require("./curveFns-Bbq8YwiP.cjs");
37
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
38
+ const require_curveFns = require("./curveFns-Bb3wuFj4.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-_pFeqIF8.cjs");
41
- const require_solidBuilders = require("./solidBuilders-oBXWp32X.cjs");
42
- const require_blueprintSketcher = require("./blueprintSketcher-BbT1WvI0.cjs");
43
- const require_loftFns = require("./loftFns-CYHPZMOq.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-DUG4Y0qA.cjs");
41
+ const require_solidBuilders = require("./solidBuilders-CkkgC2se.cjs");
42
+ const require_blueprintSketcher = require("./blueprintSketcher-D5AHgjkT.cjs");
43
+ const require_loftFns = require("./loftFns-BJiGxTys.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/sketching/compoundSketch.ts
@@ -1,15 +1,15 @@
1
- import { d as createWire, s as createFace } from "./shapeTypes-USExUZfW.js";
1
+ import { c as createFace, f as createWire } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, R as unwrap, b as err, h as bug, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  import { n as createPlane } from "./planeOps-DSjjtrjg.js";
6
- import { v as copyShape } from "./faceFns-CnCX9BM_.js";
7
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-QU4XEJMN.js";
6
+ import { v as copyShape } from "./faceFns-Bm3-D75M.js";
7
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-Y1TTdL_y.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-BPTkEKy4.js";
10
- import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-DGhhY8ct.js";
11
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-L_UQ6PjH.js";
12
- import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-jXPjUwdV.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-B15_8txg.js";
10
+ import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-B_N5miaY.js";
11
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-cgkF6uCj.js";
12
+ import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-CK4PP1IR.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/sketching/compoundSketch.ts
15
15
  /**