brepjs 18.124.7 → 18.124.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 (82) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-NawsKHyd.cjs → adjacencyFns-BhdfZany.cjs} +2 -2
  4. package/dist/{adjacencyFns-CCD4FvHs.js → adjacencyFns-CwcdjOsT.js} +2 -2
  5. package/dist/{blueprint-DKLrSIsp.cjs → blueprint-BgbVmx4L.cjs} +5 -5
  6. package/dist/{blueprint-BZ8Vb4d3.js → blueprint-DRvc1LOz.js} +5 -5
  7. package/dist/{blueprintFns-LYMVKRNs.js → blueprintFns-COSD5yZH.js} +2 -2
  8. package/dist/{blueprintFns-CrUjNge9.cjs → blueprintFns-oatmkSjh.cjs} +2 -2
  9. package/dist/{blueprintSketcher-e0ubOsCh.cjs → blueprintSketcher-B5UqD0FO.cjs} +3 -3
  10. package/dist/{blueprintSketcher-CVEdoiWs.js → blueprintSketcher-yZiAeqft.js} +3 -3
  11. package/dist/{boolean2D-DmkJ7G8y.js → boolean2D-BuM5xJSa.js} +4 -4
  12. package/dist/{boolean2D-Cs_PzKTh.cjs → boolean2D-p7RMNFtG.cjs} +4 -4
  13. package/dist/brepjs.cjs +27 -27
  14. package/dist/brepjs.js +27 -27
  15. package/dist/{cameraFns-DTedF4Ma.js → cameraFns-VVI0cWLa.js} +3 -3
  16. package/dist/{cameraFns-BA43wHLH.cjs → cameraFns-i1otOZ0V.cjs} +3 -3
  17. package/dist/core.cjs +2 -2
  18. package/dist/core.js +2 -2
  19. package/dist/{cornerFinder-DgFZ5ayq.js → cornerFinder-CiHpo7kU.js} +1 -1
  20. package/dist/{cornerFinder-DS7uxsvK.cjs → cornerFinder-DIe6pMPU.cjs} +1 -1
  21. package/dist/{curveFns-BqBJDjtV.js → curveFns-Bh_PHl9N.js} +1 -1
  22. package/dist/{curveFns-DkavlOSs.cjs → curveFns-jmKL1KZp.cjs} +1 -1
  23. package/dist/{drawFns-CsWQC4vj.cjs → drawFns-CQYR1jpa.cjs} +12 -12
  24. package/dist/{drawFns-B_EGaGUU.js → drawFns-DNekh4DS.js} +12 -12
  25. package/dist/{faceFns-B6rtTNW_.cjs → faceFns-C0A8O-2a.cjs} +2 -2
  26. package/dist/{faceFns-D2e-1Tci.js → faceFns-CaBQNffu.js} +2 -2
  27. package/dist/{healingFns-BZx60AfH.cjs → healingFns-CfSU0G7V.cjs} +4 -4
  28. package/dist/{healingFns-CpcVcbht.js → healingFns-Digw1d6D.js} +4 -4
  29. package/dist/{helpers-DR3sq2z4.js → helpers-BiqV-wPK.js} +6 -6
  30. package/dist/{helpers-w76tSTdd.cjs → helpers-DLZUxawd.cjs} +6 -6
  31. package/dist/{importFns-BGfKMoQ0.js → importFns-BId6d2pt.js} +2 -2
  32. package/dist/{importFns-DrOPj8QK.cjs → importFns-ncp_0vEl.cjs} +2 -2
  33. package/dist/io.cjs +2 -2
  34. package/dist/io.js +2 -2
  35. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +0 -2
  36. package/dist/{loftFns-CBSLPUvg.js → loftFns-m7LoJWE2.js} +1 -1
  37. package/dist/{loftFns-DP5mwrHb.cjs → loftFns-u-yPHpJ9.cjs} +1 -1
  38. package/dist/{measureFns-D-OijqnF.js → measureFns-9-1Ng0wR.js} +3 -3
  39. package/dist/{measureFns-C99o9O7m.cjs → measureFns-CaEuNAZO.cjs} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-DrxspJUY.cjs → meshFns-CB7HsxzB.cjs} +3 -3
  43. package/dist/{meshFns-CtHYyk8d.js → meshFns-CpfeEN1b.js} +3 -3
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{originTrackingFns-C88JSdTb.cjs → originTrackingFns-CKKmLIUH.cjs} +2 -2
  47. package/dist/{originTrackingFns-aQ8u75sW.js → originTrackingFns-JxAlPJXX.js} +2 -2
  48. package/dist/{primitiveFns-D3Jsp4ms.js → primitiveFns-5E__ejiB.js} +4 -4
  49. package/dist/{primitiveFns-SIdu2Avf.cjs → primitiveFns-CBxF87wn.cjs} +4 -4
  50. package/dist/projection.cjs +1 -1
  51. package/dist/projection.js +1 -1
  52. package/dist/query.cjs +2 -2
  53. package/dist/query.js +2 -2
  54. package/dist/{refResolveFns-hZJRHI_y.js → refResolveFns-DcyIQSDi.js} +6 -6
  55. package/dist/{refResolveFns-Iv9Kaupd.cjs → refResolveFns-c7RWIsZy.cjs} +6 -6
  56. package/dist/{shapeFns-C-1qjspC.cjs → shapeFns-DDTLk0mJ.cjs} +2 -2
  57. package/dist/{shapeFns-DGhyMPzL.js → shapeFns-DyDRpo6K.js} +2 -2
  58. package/dist/shapeRef.cjs +1 -1
  59. package/dist/shapeRef.js +1 -1
  60. package/dist/{shapeTypes-QyoO_sE0.cjs → shapeTypes-DVExh1xP.cjs} +43 -7
  61. package/dist/{shapeTypes-DiwqWNY3.js → shapeTypes-pxoxsXIo.js} +43 -7
  62. package/dist/sketching.cjs +3 -3
  63. package/dist/sketching.js +3 -3
  64. package/dist/{solidBuilders-BSd9X9QM.js → solidBuilders-BSIOdrR5.js} +5 -5
  65. package/dist/{solidBuilders-DUMmz0y8.cjs → solidBuilders-BWLoWRk1.cjs} +5 -5
  66. package/dist/{surfaceBuilders-DedBcEMy.js → surfaceBuilders-B7WlmoVr.js} +3 -3
  67. package/dist/{surfaceBuilders-F7G0uhEg.cjs → surfaceBuilders-DUTDN2Ay.cjs} +3 -3
  68. package/dist/text.cjs +2 -2
  69. package/dist/text.js +2 -2
  70. package/dist/{textBlueprints-Dak5cCbO.js → textBlueprints-C1aMaWLc.js} +7 -7
  71. package/dist/{textBlueprints-DETfhGzM.cjs → textBlueprints-Cv-lkXnr.cjs} +7 -7
  72. package/dist/{textMetrics-C8MYDIF6.js → textMetrics-DH3YPwVC.js} +1 -1
  73. package/dist/{textMetrics-Ds73FV7f.cjs → textMetrics-DQauYgh5.cjs} +1 -1
  74. package/dist/{threadFns-Dp9qv7jB.js → threadFns-BWbibv4L.js} +7 -7
  75. package/dist/{threadFns-BpfZ9m0u.cjs → threadFns-DunLPqCK.cjs} +7 -7
  76. package/dist/topology.cjs +9 -9
  77. package/dist/topology.js +9 -9
  78. package/dist/{topologyQueryFns-Dl16dHSd.cjs → topologyQueryFns-BtLGfXgL.cjs} +1 -1
  79. package/dist/{topologyQueryFns-Dbugjs3F.js → topologyQueryFns-CwYkfE3v.js} +1 -1
  80. package/dist/{validityTypes-Bs4GSkay.js → validityTypes-Bl3adWZb.js} +1 -1
  81. package/dist/{validityTypes-CPCCW3e3.cjs → validityTypes-C2nklkrH.cjs} +1 -1
  82. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { K as getKernel, y as isFace } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, y as isFace } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, g as err, o as queryError, x as isOk } from "./errors-MHLiNE-C.js";
3
- import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-CwYkfE3v.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-D2e-1Tci.js";
7
- import { a as isSameShape, n as getHashCode } from "./shapeFns-DGhyMPzL.js";
8
- import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-BqBJDjtV.js";
9
- import { n as measureArea } from "./measureFns-D-OijqnF.js";
6
+ import { l as normalAt, s as getSurfaceType } from "./faceFns-CaBQNffu.js";
7
+ import { a as isSameShape, n as getHashCode } from "./shapeFns-DyDRpo6K.js";
8
+ import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-Bh_PHl9N.js";
9
+ import { n as measureArea } from "./measureFns-9-1Ng0wR.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,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.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-B6rtTNW_.cjs");
7
- const require_shapeFns = require("./shapeFns-C-1qjspC.cjs");
8
- const require_curveFns = require("./curveFns-DkavlOSs.cjs");
9
- const require_measureFns = require("./measureFns-C99o9O7m.cjs");
6
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
7
+ const require_shapeFns = require("./shapeFns-DDTLk0mJ.cjs");
8
+ const require_curveFns = require("./curveFns-jmKL1KZp.cjs");
9
+ const require_measureFns = require("./measureFns-CaEuNAZO.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,8 +1,8 @@
1
- import { K as getKernel, n as castResultShape } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, n as castResultShape } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { i as wasmIndex, r as vec3At$1 } from "./bug-BdOHwn_e.js";
3
3
  import { E as ok, g as err, r as ioError, t as BrepErrorCode } from "./errors-MHLiNE-C.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-BZ8Vb4d3.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-DRvc1LOz.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-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_bug = require("./bug-O02CsAmt.cjs");
3
3
  const require_errors = require("./errors-RHkKO5bZ.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
5
- const require_blueprint = require("./blueprint-DKLrSIsp.cjs");
5
+ const require_blueprint = require("./blueprint-BgbVmx4L.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-DrxspJUY.cjs");
3
- const require_importFns = require("./importFns-DrOPj8QK.cjs");
2
+ const require_meshFns = require("./meshFns-CB7HsxzB.cjs");
3
+ const require_importFns = require("./importFns-ncp_0vEl.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-CtHYyk8d.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-BGfKMoQ0.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CpfeEN1b.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-BId6d2pt.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -342,8 +342,6 @@ export interface BrepkitKernel {
342
342
  /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
343
343
  chamferAsymmetric?(solid: number, edgeHandles: Uint32Array | number[], d1: number, d2: number): number;
344
344
  /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
345
- compoundFuse?(solidIds: Uint32Array | number[]): number;
346
- /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
347
345
  copyEdge?(edge: number): number;
348
346
  /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
349
347
  transformEdge?(edge: number, matrix: Float64Array | number[]): void;
@@ -1,4 +1,4 @@
1
- import { K as getKernel, T as isWire, W as _usingCtx, h as disposeResultShape, n as castResultShape, x as isShape3D } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, T as isWire, W as _usingCtx, h as disposeResultShape, n as castResultShape, x as isShape3D } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { c as vecLength, t as vecAdd } from "./vecOps-SKPRvPH-.js";
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
3
  const require_types = require("./types-KjA8tY4Y.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
@@ -1,7 +1,7 @@
1
- import { K as getKernel } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
3
- import { T as kernelCallRaw } from "./topologyQueryFns-Dbugjs3F.js";
4
- import { m as uvBounds } from "./faceFns-D2e-1Tci.js";
3
+ import { T as kernelCallRaw } from "./topologyQueryFns-CwYkfE3v.js";
4
+ import { m as uvBounds } from "./faceFns-CaBQNffu.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-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
4
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
4
+ const require_faceFns = require("./faceFns-C0A8O-2a.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-C99o9O7m.cjs");
2
+ const require_measureFns = require("./measureFns-CaEuNAZO.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-D-OijqnF.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-9-1Ng0wR.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
4
- const require_originTrackingFns = require("./originTrackingFns-C88JSdTb.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
4
+ const require_originTrackingFns = require("./originTrackingFns-CKKmLIUH.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,7 +1,7 @@
1
- import { K as getKernel, lt as qualityDeflection } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, lt as qualityDeflection } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, g as err, r as ioError } from "./errors-MHLiNE-C.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-Dbugjs3F.js";
4
- import { t as getFaceOrigins } from "./originTrackingFns-aQ8u75sW.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-CwYkfE3v.js";
4
+ import { t as getFaceOrigins } from "./originTrackingFns-JxAlPJXX.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,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-BpfZ9m0u.cjs");
3
- const require_loftFns = require("./loftFns-DP5mwrHb.cjs");
2
+ const require_threadFns = require("./threadFns-DunLPqCK.cjs");
3
+ const require_loftFns = require("./loftFns-u-yPHpJ9.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-Dp9qv7jB.js";
2
- import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-CBSLPUvg.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-BWbibv4L.js";
2
+ import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-m7LoJWE2.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,5 +1,5 @@
1
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
4
  //#region src/topology/metadata/originTrackingFns.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { K as getKernel } from "./shapeTypes-DiwqWNY3.js";
2
- import { S as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-Dbugjs3F.js";
1
+ import { K as getKernel } from "./shapeTypes-pxoxsXIo.js";
2
+ import { S as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-CwYkfE3v.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
4
4
  //#region src/topology/metadata/originTrackingFns.ts
5
5
  /**
@@ -1,9 +1,9 @@
1
- import { K as getKernel, W as _usingCtx, d as createSolid, n as castResultShape } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, W as _usingCtx, d as createSolid, n as castResultShape } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, d as validationError, g as err, m as andThen, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
3
- import { n as isClosedWire } from "./validityTypes-Bs4GSkay.js";
3
+ import { n as isClosedWire } from "./validityTypes-Bl3adWZb.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
- import { C as propagateAllMetadata, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, 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, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-BSd9X9QM.js";
6
- 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-DedBcEMy.js";
5
+ import { C as propagateAllMetadata, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, 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, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-BSIOdrR5.js";
6
+ 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-B7WlmoVr.js";
7
7
  //#region src/topology/transformFns.ts
8
8
  /**
9
9
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_validityTypes = require("./validityTypes-CPCCW3e3.cjs");
3
+ const require_validityTypes = require("./validityTypes-C2nklkrH.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
- const require_solidBuilders = require("./solidBuilders-DUMmz0y8.cjs");
6
- const require_surfaceBuilders = require("./surfaceBuilders-F7G0uhEg.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-BWLoWRk1.cjs");
6
+ const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
7
7
  //#region src/topology/transformFns.ts
8
8
  /**
9
9
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-BA43wHLH.cjs");
2
+ const require_cameraFns = require("./cameraFns-i1otOZ0V.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-DTedF4Ma.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-VVI0cWLa.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-w76tSTdd.cjs");
3
- const require_cornerFinder = require("./cornerFinder-DS7uxsvK.cjs");
2
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-DIe6pMPU.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-DR3sq2z4.js";
2
- import { t as cornerFinder } from "./cornerFinder-DgFZ5ayq.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BiqV-wPK.js";
2
+ import { t as cornerFinder } from "./cornerFinder-CiHpo7kU.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,9 +1,9 @@
1
- import { K as getKernel, g as disposeTransientSubShape, o as castShapeWithKnownType } from "./shapeTypes-DiwqWNY3.js";
2
- import { C as vertexPosition, c as getFaces } from "./topologyQueryFns-Dbugjs3F.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-D2e-1Tci.js";
4
- import { n as getHashCode } from "./shapeFns-DGhyMPzL.js";
5
- import { n as measureArea, s as measureLength } from "./measureFns-D-OijqnF.js";
6
- import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-CCD4FvHs.js";
1
+ import { K as getKernel, g as disposeTransientSubShape, o as castShapeWithKnownType } from "./shapeTypes-pxoxsXIo.js";
2
+ import { C as vertexPosition, c as getFaces } from "./topologyQueryFns-CwYkfE3v.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-CaBQNffu.js";
4
+ import { n as getHashCode } from "./shapeFns-DyDRpo6K.js";
5
+ import { n as measureArea, s as measureLength } from "./measureFns-9-1Ng0wR.js";
6
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-CwcdjOsT.js";
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
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
3
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
4
- const require_shapeFns = require("./shapeFns-C-1qjspC.cjs");
5
- const require_measureFns = require("./measureFns-C99o9O7m.cjs");
6
- const require_adjacencyFns = require("./adjacencyFns-NawsKHyd.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
3
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
4
+ const require_shapeFns = require("./shapeFns-DDTLk0mJ.cjs");
5
+ const require_measureFns = require("./measureFns-CaEuNAZO.cjs");
6
+ const require_adjacencyFns = require("./adjacencyFns-BhdfZany.cjs");
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-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/shapeFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { K as getKernel } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { t as BrepErrorCode } from "./errors-MHLiNE-C.js";
3
- import { T as kernelCallRaw, w as kernelCall } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { T as kernelCallRaw, w as kernelCall } from "./topologyQueryFns-CwYkfE3v.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  //#region 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-Iv9Kaupd.cjs");
2
+ const require_refResolveFns = require("./refResolveFns-c7RWIsZy.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-hZJRHI_y.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-DcyIQSDi.js";
2
2
  export { assignRoles, captureHint, createDerivedFaceRef, createEdgeRef, createRef, createVertexRef, defaultScorer, isDerivedFaceRef, isEdgeRef, isFaceRef, isLineageRef, isVertexRef, resolveDerivedFaceRef, resolveEdgeRef, resolveLineageRef, resolveRef, resolveRefIn, resolveRefParams, resolveVertexRef, updateRoles };
@@ -6601,10 +6601,37 @@ function kernelBoolean(bk, op, a, b, options) {
6601
6601
  }
6602
6602
  return bk[op](a, b);
6603
6603
  }
6604
+ /**
6605
+ * A compound base routes through the kernel's n-way `fuseAll` / `compoundCut`,
6606
+ * neither of which takes the post-boolean `simplify` flag the two-operand
6607
+ * `*WithOptions` entry points do. Say so rather than silently returning
6608
+ * unsimplified topology, the same way an old kernel reports it.
6609
+ */
6610
+ function warnCompoundBaseSimplify(options, op) {
6611
+ if (!options?.simplify) return;
6612
+ warnOnce(`boolean-simplify-compound-base-${op}`, `BooleanOptions.simplify is not applied when ${op} receives a compound base; ignored.`);
6613
+ }
6614
+ /**
6615
+ * Solid ids behind a shape: a solid contributes itself, a compound its children.
6616
+ * Throws with the method name for anything else, matching `unwrapSolidOrThrow`.
6617
+ */
6618
+ function solidIdsOf(bk, shape, methodName) {
6619
+ const h = shape;
6620
+ if (isBrepkitHandle(shape) && h.type === "compound") return toArray(bk.getCompoundSolids(h.id));
6621
+ return [unwrapSolidOrThrow(shape, methodName)];
6622
+ }
6604
6623
  function fuse(bk, shape, tool, _options) {
6605
6624
  if (_options && hasIgnoredBooleanOptions(_options)) warnOnce("boolean-options", "BooleanOptions (optimisation, strategy, fuzzyValue) not supported; ignored.");
6606
6625
  if (isEmptyCompound(bk, shape)) return tool;
6607
6626
  if (isEmptyCompound(bk, tool)) return shape;
6627
+ const baseHandle = shape;
6628
+ if (isBrepkitHandle(shape) && baseHandle.type === "compound") {
6629
+ warnCompoundBaseSimplify(_options, "fuse");
6630
+ const ids = solidIdsOf(bk, shape, "fuse");
6631
+ ids.push(...solidIdsOf(bk, tool, "fuse"));
6632
+ if (ids.length === 0) throw new Error("brepkit: fuse resolved to zero solid IDs");
6633
+ return solidHandle(bk.fuseAll(new Uint32Array(ids)));
6634
+ }
6608
6635
  const baseId = unwrapSolidOrThrow(shape, "fuse");
6609
6636
  const toolHandle = tool;
6610
6637
  if (toolHandle.type === "compound") {
@@ -6619,6 +6646,19 @@ function cut(bk, shape, tool, _options) {
6619
6646
  if (_options && hasIgnoredBooleanOptions(_options)) warnOnce("boolean-options", "BooleanOptions (optimisation, strategy, fuzzyValue) not supported; ignored.");
6620
6647
  if (isEmptyCompound(bk, shape)) return emptyCompound(bk);
6621
6648
  if (isEmptyCompound(bk, tool)) return shape;
6649
+ const cutBase = shape;
6650
+ if (isBrepkitHandle(shape) && cutBase.type === "compound") {
6651
+ warnCompoundBaseSimplify(_options, "cut");
6652
+ const toolIds = solidIdsOf(bk, tool, "cut");
6653
+ const survivors = [];
6654
+ for (const childId of toArray(bk.getCompoundSolids(cutBase.id))) try {
6655
+ survivors.push(bk.compoundCut(childId, new Uint32Array(toolIds)));
6656
+ } catch (e) {
6657
+ if (!isEmptyBooleanError(e)) throw e;
6658
+ }
6659
+ if (survivors.length === 0) return emptyCompound(bk);
6660
+ return compoundHandle(bk.makeCompound(survivors));
6661
+ }
6622
6662
  const baseId = unwrapSolidOrThrow(shape, "cut");
6623
6663
  const toolHandle = tool;
6624
6664
  if (toolHandle.type === "compound") {
@@ -6668,15 +6708,11 @@ function section(bk, shape, plane, _approximation) {
6668
6708
  function fuseAll(bk, shapes, options) {
6669
6709
  if (shapes.length === 0) throw new Error("brepkit: fuseAll requires at least one shape");
6670
6710
  if (shapes.length === 1) return require_bug.wasmIndex(shapes, 0);
6671
- if (bk.compoundFuse) {
6711
+ if (typeof bk.fuseAll === "function") {
6672
6712
  const solidIds = [];
6673
- for (const shape of shapes) {
6674
- const h = shape;
6675
- if (h.type === "compound") solidIds.push(...toArray(bk.getCompoundSolids(h.id)));
6676
- else solidIds.push(unwrapSolidOrThrow(shape, "fuseAll"));
6677
- }
6713
+ for (const shape of shapes) solidIds.push(...solidIdsOf(bk, shape, "fuseAll"));
6678
6714
  if (solidIds.length === 0) throw new Error("brepkit: fuseAll resolved to zero solid IDs");
6679
- return solidHandle(bk.compoundFuse(new Uint32Array(solidIds)));
6715
+ return solidHandle(bk.fuseAll(new Uint32Array(solidIds)));
6680
6716
  }
6681
6717
  let current = [...shapes];
6682
6718
  while (current.length > 1) {
@@ -6601,10 +6601,37 @@ function kernelBoolean(bk, op, a, b, options) {
6601
6601
  }
6602
6602
  return bk[op](a, b);
6603
6603
  }
6604
+ /**
6605
+ * A compound base routes through the kernel's n-way `fuseAll` / `compoundCut`,
6606
+ * neither of which takes the post-boolean `simplify` flag the two-operand
6607
+ * `*WithOptions` entry points do. Say so rather than silently returning
6608
+ * unsimplified topology, the same way an old kernel reports it.
6609
+ */
6610
+ function warnCompoundBaseSimplify(options, op) {
6611
+ if (!options?.simplify) return;
6612
+ warnOnce(`boolean-simplify-compound-base-${op}`, `BooleanOptions.simplify is not applied when ${op} receives a compound base; ignored.`);
6613
+ }
6614
+ /**
6615
+ * Solid ids behind a shape: a solid contributes itself, a compound its children.
6616
+ * Throws with the method name for anything else, matching `unwrapSolidOrThrow`.
6617
+ */
6618
+ function solidIdsOf(bk, shape, methodName) {
6619
+ const h = shape;
6620
+ if (isBrepkitHandle(shape) && h.type === "compound") return toArray(bk.getCompoundSolids(h.id));
6621
+ return [unwrapSolidOrThrow(shape, methodName)];
6622
+ }
6604
6623
  function fuse(bk, shape, tool, _options) {
6605
6624
  if (_options && hasIgnoredBooleanOptions(_options)) warnOnce("boolean-options", "BooleanOptions (optimisation, strategy, fuzzyValue) not supported; ignored.");
6606
6625
  if (isEmptyCompound(bk, shape)) return tool;
6607
6626
  if (isEmptyCompound(bk, tool)) return shape;
6627
+ const baseHandle = shape;
6628
+ if (isBrepkitHandle(shape) && baseHandle.type === "compound") {
6629
+ warnCompoundBaseSimplify(_options, "fuse");
6630
+ const ids = solidIdsOf(bk, shape, "fuse");
6631
+ ids.push(...solidIdsOf(bk, tool, "fuse"));
6632
+ if (ids.length === 0) throw new Error("brepkit: fuse resolved to zero solid IDs");
6633
+ return solidHandle(bk.fuseAll(new Uint32Array(ids)));
6634
+ }
6608
6635
  const baseId = unwrapSolidOrThrow(shape, "fuse");
6609
6636
  const toolHandle = tool;
6610
6637
  if (toolHandle.type === "compound") {
@@ -6619,6 +6646,19 @@ function cut(bk, shape, tool, _options) {
6619
6646
  if (_options && hasIgnoredBooleanOptions(_options)) warnOnce("boolean-options", "BooleanOptions (optimisation, strategy, fuzzyValue) not supported; ignored.");
6620
6647
  if (isEmptyCompound(bk, shape)) return emptyCompound(bk);
6621
6648
  if (isEmptyCompound(bk, tool)) return shape;
6649
+ const cutBase = shape;
6650
+ if (isBrepkitHandle(shape) && cutBase.type === "compound") {
6651
+ warnCompoundBaseSimplify(_options, "cut");
6652
+ const toolIds = solidIdsOf(bk, tool, "cut");
6653
+ const survivors = [];
6654
+ for (const childId of toArray(bk.getCompoundSolids(cutBase.id))) try {
6655
+ survivors.push(bk.compoundCut(childId, new Uint32Array(toolIds)));
6656
+ } catch (e) {
6657
+ if (!isEmptyBooleanError(e)) throw e;
6658
+ }
6659
+ if (survivors.length === 0) return emptyCompound(bk);
6660
+ return compoundHandle(bk.makeCompound(survivors));
6661
+ }
6622
6662
  const baseId = unwrapSolidOrThrow(shape, "cut");
6623
6663
  const toolHandle = tool;
6624
6664
  if (toolHandle.type === "compound") {
@@ -6668,15 +6708,11 @@ function section(bk, shape, plane, _approximation) {
6668
6708
  function fuseAll(bk, shapes, options) {
6669
6709
  if (shapes.length === 0) throw new Error("brepkit: fuseAll requires at least one shape");
6670
6710
  if (shapes.length === 1) return wasmIndex(shapes, 0);
6671
- if (bk.compoundFuse) {
6711
+ if (typeof bk.fuseAll === "function") {
6672
6712
  const solidIds = [];
6673
- for (const shape of shapes) {
6674
- const h = shape;
6675
- if (h.type === "compound") solidIds.push(...toArray(bk.getCompoundSolids(h.id)));
6676
- else solidIds.push(unwrapSolidOrThrow(shape, "fuseAll"));
6677
- }
6713
+ for (const shape of shapes) solidIds.push(...solidIdsOf(bk, shape, "fuseAll"));
6678
6714
  if (solidIds.length === 0) throw new Error("brepkit: fuseAll resolved to zero solid IDs");
6679
- return solidHandle(bk.compoundFuse(new Uint32Array(solidIds)));
6715
+ return solidHandle(bk.fuseAll(new Uint32Array(solidIds)));
6680
6716
  }
6681
6717
  let current = [...shapes];
6682
6718
  while (current.length > 1) {
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_blueprintSketcher = require("./blueprintSketcher-e0ubOsCh.cjs");
3
- const require_drawFns = require("./drawFns-CsWQC4vj.cjs");
4
- const require_textBlueprints = require("./textBlueprints-DETfhGzM.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
3
+ const require_drawFns = require("./drawFns-CQYR1jpa.cjs");
4
+ const require_textBlueprints = require("./textBlueprints-Cv-lkXnr.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-CVEdoiWs.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-B_EGaGUU.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-Dak5cCbO.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-yZiAeqft.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-DNekh4DS.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-C1aMaWLc.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 { C as isSolid, E as getShapeKind, K as getKernel, S as isShell, W as _usingCtx, d as createSolid, f as createVertex, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, s as createCompound, x as isShape3D } from "./shapeTypes-DiwqWNY3.js";
1
+ import { C as isSolid, E as getShapeKind, K as getKernel, S as isShell, W as _usingCtx, d as createSolid, f as createVertex, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, s as createCompound, x as isShape3D } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, P as unwrap, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, m as andThen, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
3
- import { S as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { S as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-CwYkfE3v.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  import { a as vecDot, g as vecSub, h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-CQahLrCx.js";
7
- import { _ as cast, y as downcast } from "./faceFns-D2e-1Tci.js";
8
- import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-aQ8u75sW.js";
7
+ import { _ as cast, y as downcast } from "./faceFns-CaBQNffu.js";
8
+ import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-JxAlPJXX.js";
9
9
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
10
- import { r as makeFace } from "./surfaceBuilders-DedBcEMy.js";
10
+ import { r as makeFace } from "./surfaceBuilders-B7WlmoVr.js";
11
11
  //#region src/topology/metadata/faceTagFns.ts
12
12
  var shapeTagStore = /* @__PURE__ */ new WeakMap();
13
13
  var tagMetadataStore = /* @__PURE__ */ new WeakMap();
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.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-VlFxtvzY.cjs");
7
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
8
- const require_originTrackingFns = require("./originTrackingFns-C88JSdTb.cjs");
7
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
8
+ const require_originTrackingFns = require("./originTrackingFns-CKKmLIUH.cjs");
9
9
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
10
- const require_surfaceBuilders = require("./surfaceBuilders-F7G0uhEg.cjs");
10
+ const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
11
11
  //#region src/topology/metadata/faceTagFns.ts
12
12
  var shapeTagStore = /* @__PURE__ */ new WeakMap();
13
13
  var tagMetadataStore = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire, y as isFace } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire, y as isFace } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-MHLiNE-C.js";
3
- import { a as isPlanarFace } from "./validityTypes-Bs4GSkay.js";
4
- import { _ as cast, u as outerWire } from "./faceFns-D2e-1Tci.js";
3
+ import { a as isPlanarFace } from "./validityTypes-Bl3adWZb.js";
4
+ import { _ as cast, u as outerWire } from "./faceFns-CaBQNffu.js";
5
5
  //#region 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-QyoO_sE0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
- const require_validityTypes = require("./validityTypes-CPCCW3e3.cjs");
4
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
3
+ const require_validityTypes = require("./validityTypes-C2nklkrH.cjs");
4
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
5
5
  //#region src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  function range(len) {