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
package/dist/2d.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
3
3
  const require_errors = require("./errors-RHkKO5bZ.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
5
- const require_blueprintSketcher = require("./blueprintSketcher-e0ubOsCh.cjs");
6
- const require_blueprint = require("./blueprint-DKLrSIsp.cjs");
7
- const require_boolean2D = require("./boolean2D-Cs_PzKTh.cjs");
8
- const require_blueprintFns = require("./blueprintFns-CrUjNge9.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
5
+ const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
6
+ const require_blueprint = require("./blueprint-BgbVmx4L.cjs");
7
+ const require_boolean2D = require("./boolean2D-p7RMNFtG.cjs");
8
+ const require_blueprintFns = require("./blueprintFns-oatmkSjh.cjs");
9
9
  //#region src/core/curve2dHandle.ts
10
10
  /**
11
11
  * Wrap a raw kernel 2D curve handle with brand + disposal tracking.
package/dist/2d.js CHANGED
@@ -1,10 +1,10 @@
1
- import { P as createKernelHandle, c as createEdge, q as getKernel2D } from "./shapeTypes-DiwqWNY3.js";
1
+ import { P as createKernelHandle, c as createEdge, q as getKernel2D } 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 { a as Blueprints, i as CompoundBlueprint, r as organiseBlueprints } from "./blueprintSketcher-CVEdoiWs.js";
5
- import { _ as Curve2D, b as BoundingBox2d, t as Blueprint } from "./blueprint-BZ8Vb4d3.js";
6
- import { a as fuseBlueprints, c as roundedRectangleBlueprint, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-DmkJ7G8y.js";
7
- import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-LYMVKRNs.js";
3
+ import { T as kernelCallRaw } from "./topologyQueryFns-CwYkfE3v.js";
4
+ import { a as Blueprints, i as CompoundBlueprint, r as organiseBlueprints } from "./blueprintSketcher-yZiAeqft.js";
5
+ import { _ as Curve2D, b as BoundingBox2d, t as Blueprint } from "./blueprint-DRvc1LOz.js";
6
+ import { a as fuseBlueprints, c as roundedRectangleBlueprint, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-BuM5xJSa.js";
7
+ import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-COSD5yZH.js";
8
8
  //#region src/core/curve2dHandle.ts
9
9
  /**
10
10
  * Wrap a raw kernel 2D curve handle with brand + disposal tracking.
@@ -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_occtWasmAdapter = require("./occtWasmAdapter-DEpy64ji.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/adjacencyFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { G as getActiveKernelId, K as getKernel, r as castResultShapeWithKnownType, t as borrowShapeWithKnownType } from "./shapeTypes-DiwqWNY3.js";
1
+ import { G as getActiveKernelId, K as getKernel, r as castResultShapeWithKnownType, t as borrowShapeWithKnownType } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { O as isUnsupportedKernelOperationError } from "./occtWasmAdapter-BEe---7w.js";
3
- import { c as getFaces, f as getVertices, l as getOrCreateCache, s as getEdges } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { c as getFaces, f as getVertices, l as getOrCreateCache, s as getEdges } from "./topologyQueryFns-CwYkfE3v.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/adjacencyFns.ts
6
6
  /**
@@ -1,14 +1,14 @@
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_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_types = require("./types-KjA8tY4Y.cjs");
6
6
  const require_planeOps = require("./planeOps-VlFxtvzY.cjs");
7
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
8
- const require_curveFns = require("./curveFns-DkavlOSs.cjs");
7
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
8
+ const require_curveFns = require("./curveFns-jmKL1KZp.cjs");
9
9
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
10
- const require_surfaceBuilders = require("./surfaceBuilders-F7G0uhEg.cjs");
11
- const require_helpers = require("./helpers-w76tSTdd.cjs");
10
+ const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
11
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
12
12
  //#region src/2d/lib/definitions.ts
13
13
  /** Type guard that checks whether a value is a `Point2D`. */
14
14
  function isPoint2D(point) {
@@ -1,14 +1,14 @@
1
- import { K as getKernel, L as registerForCleanup, c as createEdge, p as createWire, q as getKernel2D, z as unregisterFromCleanup } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, L as registerForCleanup, c as createEdge, p as createWire, q as getKernel2D, z as unregisterFromCleanup } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { i as wasmIndex, n as bug } from "./bug-BdOHwn_e.js";
3
3
  import { E as ok, P as unwrap, d as validationError, g as err, n as computationError } from "./errors-MHLiNE-C.js";
4
4
  import { r as RAD2DEG, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  import { r as toVec3 } from "./types-D24Y27N0.js";
6
6
  import { r as makePlane } from "./planeOps-CQahLrCx.js";
7
- import { _ as cast, h as uvCoordinates, i as faceGeomType, m as uvBounds, r as faceCenter } from "./faceFns-D2e-1Tci.js";
8
- import { p as getOrientation } from "./curveFns-BqBJDjtV.js";
7
+ import { _ as cast, h as uvCoordinates, i as faceGeomType, m as uvBounds, r as faceCenter } from "./faceFns-CaBQNffu.js";
8
+ import { p as getOrientation } from "./curveFns-Bh_PHl9N.js";
9
9
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
10
- import { r as makeFace } from "./surfaceBuilders-DedBcEMy.js";
11
- import { _ as samePoint, b as subtract2d, c as add2d, f as distance2d, p as normalize2d$1, t as getSingleFace, v as scalarMultiply2d } from "./helpers-DR3sq2z4.js";
10
+ import { r as makeFace } from "./surfaceBuilders-B7WlmoVr.js";
11
+ import { _ as samePoint, b as subtract2d, c as add2d, f as distance2d, p as normalize2d$1, t as getSingleFace, v as scalarMultiply2d } from "./helpers-BiqV-wPK.js";
12
12
  //#region src/2d/lib/definitions.ts
13
13
  /** Type guard that checks whether a value is a `Point2D`. */
14
14
  function isPoint2D(point) {
@@ -1,6 +1,6 @@
1
1
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
2
- import { i as CompoundBlueprint } from "./blueprintSketcher-CVEdoiWs.js";
3
- import { t as Blueprint } from "./blueprint-BZ8Vb4d3.js";
2
+ import { i as CompoundBlueprint } from "./blueprintSketcher-yZiAeqft.js";
3
+ import { t as Blueprint } from "./blueprint-DRvc1LOz.js";
4
4
  //#region src/2d/lib/curve2dFns.ts
5
5
  /**
6
6
  * Return a reversed copy of the curve (non-mutating).
@@ -1,6 +1,6 @@
1
1
  const require_errors = require("./errors-RHkKO5bZ.cjs");
2
- const require_blueprintSketcher = require("./blueprintSketcher-e0ubOsCh.cjs");
3
- const require_blueprint = require("./blueprint-DKLrSIsp.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
3
+ const require_blueprint = require("./blueprint-BgbVmx4L.cjs");
4
4
  //#region src/2d/lib/curve2dFns.ts
5
5
  /**
6
6
  * Return a reversed copy of the curve (non-mutating).
@@ -1,10 +1,10 @@
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_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
6
- const require_helpers = require("./helpers-w76tSTdd.cjs");
7
- const require_blueprint = require("./blueprint-DKLrSIsp.cjs");
6
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
7
+ const require_blueprint = require("./blueprint-BgbVmx4L.cjs");
8
8
  //#region node_modules/flatqueue/index.js
9
9
  /**
10
10
  * @typedef {Float64ArrayConstructor | Float32ArrayConstructor |
@@ -1,10 +1,10 @@
1
- import { K as getKernel, q as getKernel2D } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, q as getKernel2D } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { i as wasmIndex, n as bug } from "./bug-BdOHwn_e.js";
3
3
  import { E as ok, P as unwrap, g as err, n as computationError, s as safeIndex, x as isOk } from "./errors-MHLiNE-C.js";
4
4
  import { r as RAD2DEG, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
6
- import { _ as samePoint, b as subtract2d, c as add2d, d as crossProduct2d, f as distance2d, g as rotate2d, h as polarToCartesian, m as polarAngle2d, u as cartesianToPolar, v as scalarMultiply2d } from "./helpers-DR3sq2z4.js";
7
- import { S as isPoint2D, _ as Curve2D, b as BoundingBox2d, c as make2dCircle, f as make2dSegmentCurve, h as approximateAsBSpline, m as make2dThreePointArc, n as asSVG, o as make2dArcFromCenter, p as make2dTangentArc, r as viewbox, s as make2dBezierCurve, t as Blueprint, u as make2dEllipseArc, y as normalize2d } from "./blueprint-BZ8Vb4d3.js";
6
+ import { _ as samePoint, b as subtract2d, c as add2d, d as crossProduct2d, f as distance2d, g as rotate2d, h as polarToCartesian, m as polarAngle2d, u as cartesianToPolar, v as scalarMultiply2d } from "./helpers-BiqV-wPK.js";
7
+ import { S as isPoint2D, _ as Curve2D, b as BoundingBox2d, c as make2dCircle, f as make2dSegmentCurve, h as approximateAsBSpline, m as make2dThreePointArc, n as asSVG, o as make2dArcFromCenter, p as make2dTangentArc, r as viewbox, s as make2dBezierCurve, t as Blueprint, u as make2dEllipseArc, y as normalize2d } from "./blueprint-DRvc1LOz.js";
8
8
  //#region node_modules/flatqueue/index.js
9
9
  /**
10
10
  * @typedef {Float64ArrayConstructor | Float32ArrayConstructor |
@@ -1,10 +1,10 @@
1
1
  import { i as wasmIndex, n as bug } from "./bug-BdOHwn_e.js";
2
2
  import { P as unwrap, s as safeIndex } from "./errors-MHLiNE-C.js";
3
3
  import { r as lastOrThrow } from "./arrayAccess-DrUGPADn.js";
4
- import { v as zip } from "./surfaceBuilders-DedBcEMy.js";
5
- import { a as Blueprints, i as CompoundBlueprint, l as intersectCurves, r as organiseBlueprints, t as BlueprintSketcher, u as Flatbush } from "./blueprintSketcher-CVEdoiWs.js";
6
- import { _ as samePoint$1, b as subtract2d, d as crossProduct2d, o as PRECISION_INTERSECTION } from "./helpers-DR3sq2z4.js";
7
- import { f as make2dSegmentCurve, t as Blueprint, x as removeDuplicatePoints } from "./blueprint-BZ8Vb4d3.js";
4
+ import { v as zip } from "./surfaceBuilders-B7WlmoVr.js";
5
+ import { a as Blueprints, i as CompoundBlueprint, l as intersectCurves, r as organiseBlueprints, t as BlueprintSketcher, u as Flatbush } from "./blueprintSketcher-yZiAeqft.js";
6
+ import { _ as samePoint$1, b as subtract2d, d as crossProduct2d, o as PRECISION_INTERSECTION } from "./helpers-BiqV-wPK.js";
7
+ import { f as make2dSegmentCurve, t as Blueprint, x as removeDuplicatePoints } from "./blueprint-DRvc1LOz.js";
8
8
  //#region src/2d/blueprints/cannedBlueprints.ts
9
9
  /**
10
10
  * Create a regular polygon blueprint inscribed in a circle of the given radius.
@@ -1,10 +1,10 @@
1
1
  const require_bug = require("./bug-O02CsAmt.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
3
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
4
- const require_surfaceBuilders = require("./surfaceBuilders-F7G0uhEg.cjs");
5
- const require_blueprintSketcher = require("./blueprintSketcher-e0ubOsCh.cjs");
6
- const require_helpers = require("./helpers-w76tSTdd.cjs");
7
- const require_blueprint = require("./blueprint-DKLrSIsp.cjs");
4
+ const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
5
+ const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
6
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
7
+ const require_blueprint = require("./blueprint-BgbVmx4L.cjs");
8
8
  //#region src/2d/blueprints/cannedBlueprints.ts
9
9
  /**
10
10
  * Create a regular polygon blueprint inscribed in a circle of the given radius.
package/dist/brepjs.cjs CHANGED
@@ -1,40 +1,40 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
3
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
3
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
4
4
  const require_occtWasmAdapter = require("./occtWasmAdapter-DEpy64ji.cjs");
5
5
  const require_bug = require("./bug-O02CsAmt.cjs");
6
6
  const require_errors = require("./errors-RHkKO5bZ.cjs");
7
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
8
- const require_validityTypes = require("./validityTypes-CPCCW3e3.cjs");
7
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
8
+ const require_validityTypes = require("./validityTypes-C2nklkrH.cjs");
9
9
  const require_constants = require("./constants-BOVyEYGH.cjs");
10
10
  const require_types = require("./types-KjA8tY4Y.cjs");
11
11
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
12
12
  const require_planeOps = require("./planeOps-VlFxtvzY.cjs");
13
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
14
- const require_originTrackingFns = require("./originTrackingFns-C88JSdTb.cjs");
15
- const require_solidBuilders = require("./solidBuilders-DUMmz0y8.cjs");
16
- const require_primitiveFns = require("./primitiveFns-SIdu2Avf.cjs");
17
- const require_shapeFns = require("./shapeFns-C-1qjspC.cjs");
18
- const require_curveFns = require("./curveFns-DkavlOSs.cjs");
19
- const require_meshFns = require("./meshFns-DrxspJUY.cjs");
13
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
14
+ const require_originTrackingFns = require("./originTrackingFns-CKKmLIUH.cjs");
15
+ const require_solidBuilders = require("./solidBuilders-BWLoWRk1.cjs");
16
+ const require_primitiveFns = require("./primitiveFns-CBxF87wn.cjs");
17
+ const require_shapeFns = require("./shapeFns-DDTLk0mJ.cjs");
18
+ const require_curveFns = require("./curveFns-jmKL1KZp.cjs");
19
+ const require_meshFns = require("./meshFns-CB7HsxzB.cjs");
20
20
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
21
- const require_surfaceBuilders = require("./surfaceBuilders-F7G0uhEg.cjs");
22
- const require_healingFns = require("./healingFns-BZx60AfH.cjs");
23
- const require_threadFns = require("./threadFns-BpfZ9m0u.cjs");
24
- const require_blueprintSketcher = require("./blueprintSketcher-e0ubOsCh.cjs");
25
- const require_helpers = require("./helpers-w76tSTdd.cjs");
26
- const require_drawFns = require("./drawFns-CsWQC4vj.cjs");
27
- const require_measureFns = require("./measureFns-C99o9O7m.cjs");
28
- const require_cornerFinder = require("./cornerFinder-DS7uxsvK.cjs");
29
- const require_boolean2D = require("./boolean2D-Cs_PzKTh.cjs");
30
- const require_blueprintFns = require("./blueprintFns-CrUjNge9.cjs");
31
- const require_importFns = require("./importFns-DrOPj8QK.cjs");
32
- const require_loftFns = require("./loftFns-DP5mwrHb.cjs");
33
- const require_textBlueprints = require("./textBlueprints-DETfhGzM.cjs");
34
- const require_cameraFns = require("./cameraFns-BA43wHLH.cjs");
35
- const require_textMetrics = require("./textMetrics-Ds73FV7f.cjs");
36
- const require_adjacencyFns = require("./adjacencyFns-NawsKHyd.cjs");
37
- const require_refResolveFns = require("./refResolveFns-Iv9Kaupd.cjs");
21
+ const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
22
+ const require_healingFns = require("./healingFns-CfSU0G7V.cjs");
23
+ const require_threadFns = require("./threadFns-DunLPqCK.cjs");
24
+ const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
25
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
26
+ const require_drawFns = require("./drawFns-CQYR1jpa.cjs");
27
+ const require_measureFns = require("./measureFns-CaEuNAZO.cjs");
28
+ const require_cornerFinder = require("./cornerFinder-DIe6pMPU.cjs");
29
+ const require_boolean2D = require("./boolean2D-p7RMNFtG.cjs");
30
+ const require_blueprintFns = require("./blueprintFns-oatmkSjh.cjs");
31
+ const require_importFns = require("./importFns-ncp_0vEl.cjs");
32
+ const require_loftFns = require("./loftFns-u-yPHpJ9.cjs");
33
+ const require_textBlueprints = require("./textBlueprints-Cv-lkXnr.cjs");
34
+ const require_cameraFns = require("./cameraFns-i1otOZ0V.cjs");
35
+ const require_textMetrics = require("./textMetrics-DQauYgh5.cjs");
36
+ const require_adjacencyFns = require("./adjacencyFns-BhdfZany.cjs");
37
+ const require_refResolveFns = require("./refResolveFns-c7RWIsZy.cjs");
38
38
  const require_workerPool = require("./workerPool-D30NsiIW.cjs");
39
39
  //#region src/kernel/types.ts
40
40
  /** Check if the kernel supports hidden-line-removal projection. */
package/dist/brepjs.js CHANGED
@@ -1,38 +1,38 @@
1
- import { $ as prewarm, A as is2D, B as withArenaCheckpoint, C as isSolid, E as getShapeKind, F as getDisposalStats, G as getActiveKernelId, H as withScopeResult, I as isLive, J as getKernelCapabilities, K as getKernel, M as DisposalScope, N as createHandle, O as as2D, P as createKernelHandle, Q as initFromOC, R as resetDisposalStats, S as isShell, T as isWire, U as withScopeResultAsync, V as withScope, W as _usingCtx, X as init, Y as getKernelTier, Z as initFromManifold, _ as isCompound, a as castShape3D, at as BrepkitAdapter, b as isShape1D, c as createEdge, ct as currentQuality, d as createSolid, et as registerKernel, f as createVertex, h as disposeResultShape, i as castShape, it as withTier, j as is3D, k as as3D, l as createFace, lt as qualityDeflection, n as castResultShape, nt as withKernel, ot as getPerformanceStats, p as createWire, rt as withQuality, s as createCompound, st as resetPerformanceStats, tt as registerKernelTier, u as createShell, v as isEdge, w as isVertex, x as isShape3D, y as isFace } from "./shapeTypes-DiwqWNY3.js";
1
+ import { $ as prewarm, A as is2D, B as withArenaCheckpoint, C as isSolid, E as getShapeKind, F as getDisposalStats, G as getActiveKernelId, H as withScopeResult, I as isLive, J as getKernelCapabilities, K as getKernel, M as DisposalScope, N as createHandle, O as as2D, P as createKernelHandle, Q as initFromOC, R as resetDisposalStats, S as isShell, T as isWire, U as withScopeResultAsync, V as withScope, W as _usingCtx, X as init, Y as getKernelTier, Z as initFromManifold, _ as isCompound, a as castShape3D, at as BrepkitAdapter, b as isShape1D, c as createEdge, ct as currentQuality, d as createSolid, et as registerKernel, f as createVertex, h as disposeResultShape, i as castShape, it as withTier, j as is3D, k as as3D, l as createFace, lt as qualityDeflection, n as castResultShape, nt as withKernel, ot as getPerformanceStats, p as createWire, rt as withQuality, s as createCompound, st as resetPerformanceStats, tt as registerKernelTier, u as createShell, v as isEdge, w as isVertex, x as isShape3D, y as isFace } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { A as EXACT_BREP_CAPABILITIES, k as DEFAULT_CAPABILITIES, t as OcctWasmAdapter } from "./occtWasmAdapter-BEe---7w.js";
3
3
  import { i as wasmIndex, n as bug, t as BrepBugError } from "./bug-BdOHwn_e.js";
4
4
  import { A as tap, C as mapBoth, D as or, E as ok, F as unwrapErr, I as unwrapOr, L as unwrapOrElse, M as tryCatch, N as tryCatchAsync, O as orElse, P as unwrap, R as zip, S as map, T as match, _ as flatMap, a as moduleInitError, b as isErr, c as sketcherStateError, d as validationError, f as OK, g as err, h as collect, i as kernelError, j as tapErr, k as pipeline, l as typeCastError, m as andThen, n as computationError, o as queryError, p as all, r as ioError, t as BrepErrorCode, u as unsupportedError, v as flatten, w as mapErr, x as isOk, y as fromNullable } from "./errors-MHLiNE-C.js";
5
- import { C as vertexPosition, E as kernelCallScoped, T as kernelCallRaw, _ as iterFaces, a as getCachedSurfaceType, b as iterVertices, c as getFaces, d as getSolids, f as getVertices, g as iterEdges, h as iterCompSolids, m as invalidateShapeCache, n as getBounds, o as getCompSolids, p as getWires, s as getEdges, t as describe$1, u as getShells, v as iterShells, w as kernelCall, x as iterWires, y as iterSolids } from "./topologyQueryFns-Dbugjs3F.js";
6
- import { a as isPlanarFace, c as manifoldShell, d as planarWire, f as validSolid, i as isOrientedFace, l as orientedFace, n as isClosedWire, o as isPlanarWire, r as isManifoldShell, s as isValidSolid, t as closedWire, u as planarFace } from "./validityTypes-Bs4GSkay.js";
5
+ import { C as vertexPosition, E as kernelCallScoped, T as kernelCallRaw, _ as iterFaces, a as getCachedSurfaceType, b as iterVertices, c as getFaces, d as getSolids, f as getVertices, g as iterEdges, h as iterCompSolids, m as invalidateShapeCache, n as getBounds, o as getCompSolids, p as getWires, s as getEdges, t as describe$1, u as getShells, v as iterShells, w as kernelCall, x as iterWires, y as iterSolids } from "./topologyQueryFns-CwYkfE3v.js";
6
+ import { a as isPlanarFace, c as manifoldShell, d as planarWire, f as validSolid, i as isOrientedFace, l as orientedFace, n as isClosedWire, o as isPlanarWire, r as isManifoldShell, s as isValidSolid, t as closedWire, u as planarFace } from "./validityTypes-Bl3adWZb.js";
7
7
  import { n as HASH_CODE_MAX, r as RAD2DEG, t as DEG2RAD } from "./constants-ITRzCnCp.js";
8
8
  import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-D24Y27N0.js";
9
9
  import { a as vecDot, c as vecLength, d as vecNormalize, f as vecProjectToPlane, g as vecSub, h as vecScale, i as vecDistance, l as vecLengthSq, m as vecRotate, n as vecAngle, o as vecEquals, p as vecRepr, r as vecCross, s as vecIsZero, t as vecAdd, u as vecNegate } from "./vecOps-SKPRvPH-.js";
10
10
  import { i as pivotPlane, n as createPlane, o as resolvePlane, r as makePlane, s as translatePlane, t as createNamedPlane } from "./planeOps-CQahLrCx.js";
11
- import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, p as removeHolesFromFace, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-D2e-1Tci.js";
12
- import { i as setShapeOrigin, t as getFaceOrigins } from "./originTrackingFns-aQ8u75sW.js";
13
- import { A as findFacesByTag, D as colorShape, E as colorFaces, M as getTagMetadata, N as setTagMetadata, O as getFaceColor, P as tagFaces, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, _ as section$1, b as split$1, d as booleanPipeline, f as cut$2, g as intersect$2, h as fuseAll$2, j as getFaceTags, k as getShapeColor, m as fuse$2, p as cutAll$2, r as makeCylinder, t as makeCompound, v as sectionToFace$1, y as slice$1 } from "./solidBuilders-BSd9X9QM.js";
14
- import { A as locate$1, C as threePointArc, D as wireLoop, E as wire, F as transformCopy$1, I as translate$2, M as resize, N as rotate$2, O as applyMatrix$1, P as scale$3, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere$1, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, j as mirror$2, k as composeTransforms, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus$1, x as subFace, y as solid } from "./primitiveFns-D3Jsp4ms.js";
15
- import { a as isSameShape, i as isEqualShape, n as getHashCode, o as simplify$1, r as isEmpty$2, s as toBREP$1, t as clone$1 } from "./shapeFns-DGhyMPzL.js";
16
- import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-BqBJDjtV.js";
17
- import { a as meshEdges$1, c as meshMultiLOD, d as createMeshCache, i as mesh$1, l as buildMeshCacheKey, n as exportSTEP, o as meshLODs, r as exportSTL, s as meshLODsProgressive, t as exportIGES, u as clearMeshCache } from "./meshFns-CtHYyk8d.js";
11
+ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, p as removeHolesFromFace, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-CaBQNffu.js";
12
+ import { i as setShapeOrigin, t as getFaceOrigins } from "./originTrackingFns-JxAlPJXX.js";
13
+ import { A as findFacesByTag, D as colorShape, E as colorFaces, M as getTagMetadata, N as setTagMetadata, O as getFaceColor, P as tagFaces, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, _ as section$1, b as split$1, d as booleanPipeline, f as cut$2, g as intersect$2, h as fuseAll$2, j as getFaceTags, k as getShapeColor, m as fuse$2, p as cutAll$2, r as makeCylinder, t as makeCompound, v as sectionToFace$1, y as slice$1 } from "./solidBuilders-BSIOdrR5.js";
14
+ import { A as locate$1, C as threePointArc, D as wireLoop, E as wire, F as transformCopy$1, I as translate$2, M as resize, N as rotate$2, O as applyMatrix$1, P as scale$3, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere$1, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, j as mirror$2, k as composeTransforms, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus$1, x as subFace, y as solid } from "./primitiveFns-5E__ejiB.js";
15
+ import { a as isSameShape, i as isEqualShape, n as getHashCode, o as simplify$1, r as isEmpty$2, s as toBREP$1, t as clone$1 } from "./shapeFns-DyDRpo6K.js";
16
+ import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-Bh_PHl9N.js";
17
+ import { a as meshEdges$1, c as meshMultiLOD, d as createMeshCache, i as mesh$1, l as buildMeshCacheKey, n as exportSTEP, o as meshLODs, r as exportSTL, s as meshLODsProgressive, t as exportIGES, u as clearMeshCache } from "./meshFns-CpfeEN1b.js";
18
18
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
19
- import { _ as makeThreePointArc, d as makeCircle, h as makeLine, l as makeBSplineInterpolation, n as fill, r as makeFace, s as assembleWire } from "./surfaceBuilders-DedBcEMy.js";
20
- import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, M as toLODGeometryData, N as toLODGeometryLevels, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, c as isValid$1, d as draft$1, f as fillet$1, g as variableFillet, h as thicken$1, i as heal$1, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, m as shell$1, n as fixSelfIntersection, o as healSolid, p as offset$1, r as fixShape, s as healWire, t as autoHeal, u as chamfer$1, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-CpcVcbht.js";
21
- import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as quatMultiply, G as circularPattern, H as removeChild, I as quatRotate, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, N as quatFromAxisAngle, O as prismaticJoint, P as quatFromTo, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, a as deserializeHistory, 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, p as serializeHistory, 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";
22
- import { n as BaseSketcher2d, r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-CVEdoiWs.js";
23
- import { a as createTypedFinder, i as wireFinder, n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DR3sq2z4.js";
24
- import { A as sketchEllipse, 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, _ 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";
25
- import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, i as measureCurvatureAtMid, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, r as measureCurvatureAt, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-D-OijqnF.js";
26
- import { t as cornerFinder } from "./cornerFinder-DgFZ5ayq.js";
27
- import { a as fuseBlueprints, c as roundedRectangleBlueprint, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-DmkJ7G8y.js";
28
- import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, n as createCompoundBlueprint, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-LYMVKRNs.js";
29
- 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";
30
- import { a as multiSectionSweep, c as twistExtrude, i as guidedSweep, n as loftAll, o as supportExtrude, r as complexExtrude, s as sweep$1, t as loft$1 } from "./loftFns-CBSLPUvg.js";
31
- import { a as Sketch, b as extrudeAll, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, n as getFont, o as compoundSketchExtrude, p as sketchRevolve, r as loadFont, s as compoundSketchFace, t as textBlueprints, u as sketchExtrude, v as CompoundSketch, x as revolve$1, y as extrude$1 } from "./textBlueprints-Dak5cCbO.js";
32
- import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-DTedF4Ma.js";
33
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-C8MYDIF6.js";
34
- import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CCD4FvHs.js";
35
- 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";
19
+ import { _ as makeThreePointArc, d as makeCircle, h as makeLine, l as makeBSplineInterpolation, n as fill, r as makeFace, s as assembleWire } from "./surfaceBuilders-B7WlmoVr.js";
20
+ import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, M as toLODGeometryData, N as toLODGeometryLevels, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, c as isValid$1, d as draft$1, f as fillet$1, g as variableFillet, h as thicken$1, i as heal$1, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, m as shell$1, n as fixSelfIntersection, o as healSolid, p as offset$1, r as fixShape, s as healWire, t as autoHeal, u as chamfer$1, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-Digw1d6D.js";
21
+ import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as quatMultiply, G as circularPattern, H as removeChild, I as quatRotate, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, N as quatFromAxisAngle, O as prismaticJoint, P as quatFromTo, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, a as deserializeHistory, 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, p as serializeHistory, 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";
22
+ import { n as BaseSketcher2d, r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-yZiAeqft.js";
23
+ import { a as createTypedFinder, i as wireFinder, n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BiqV-wPK.js";
24
+ import { A as sketchEllipse, 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, _ 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";
25
+ import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, i as measureCurvatureAtMid, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, r as measureCurvatureAt, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-9-1Ng0wR.js";
26
+ import { t as cornerFinder } from "./cornerFinder-CiHpo7kU.js";
27
+ import { a as fuseBlueprints, c as roundedRectangleBlueprint, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-BuM5xJSa.js";
28
+ import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, n as createCompoundBlueprint, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-COSD5yZH.js";
29
+ 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";
30
+ import { a as multiSectionSweep, c as twistExtrude, i as guidedSweep, n as loftAll, o as supportExtrude, r as complexExtrude, s as sweep$1, t as loft$1 } from "./loftFns-m7LoJWE2.js";
31
+ import { a as Sketch, b as extrudeAll, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, n as getFont, o as compoundSketchExtrude, p as sketchRevolve, r as loadFont, s as compoundSketchFace, t as textBlueprints, u as sketchExtrude, v as CompoundSketch, x as revolve$1, y as extrude$1 } from "./textBlueprints-C1aMaWLc.js";
32
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-VVI0cWLa.js";
33
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DH3YPwVC.js";
34
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CwcdjOsT.js";
35
+ 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";
36
36
  import { _ as isSuccessResponse, a as createWorkerClient, c as enqueueTask, d as rejectAll, f as isBatchRequest, g as isOperationRequest, h as isInitRequest, i as registerHandler, l as isEmpty$1, m as isErrorResponse, n as createOperationRegistry, o as createTaskQueue, p as isDisposeRequest, r as createWorkerHandler, s as dequeueTask, t as createWorkerPool, u as pendingCount } from "./workerPool-XcYX2UZ0.js";
37
37
  //#region \0rolldown/runtime.js
38
38
  var __defProp = Object.defineProperty;
@@ -1,8 +1,8 @@
1
- import { K as getKernel, W as _usingCtx, n as castResultShape } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, W as _usingCtx, n as castResultShape } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, P as unwrap, d as validationError, g as err } from "./errors-MHLiNE-C.js";
3
- import { s as getEdges } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { s as getEdges } from "./topologyQueryFns-CwYkfE3v.js";
4
4
  import { c as vecLength, d as vecNormalize, g as vecSub, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
- import { t as clone } from "./shapeFns-DGhyMPzL.js";
5
+ import { t as clone } from "./shapeFns-DyDRpo6K.js";
6
6
  //#region src/projection/projectionPlanes.ts
7
7
  /** Lookup table mapping each {@link ProjectionPlane} to its camera configuration. */
8
8
  var PROJECTION_PLANES = {
@@ -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_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_vecOps = require("./vecOps-CCnJt-yH.cjs");
5
- const require_shapeFns = require("./shapeFns-C-1qjspC.cjs");
5
+ const require_shapeFns = require("./shapeFns-DDTLk0mJ.cjs");
6
6
  //#region src/projection/projectionPlanes.ts
7
7
  /** Lookup table mapping each {@link ProjectionPlane} to its camera configuration. */
8
8
  var PROJECTION_PLANES = {
package/dist/core.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeTypes = require("./shapeTypes-QyoO_sE0.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
3
3
  const require_bug = require("./bug-O02CsAmt.cjs");
4
4
  const require_errors = require("./errors-RHkKO5bZ.cjs");
5
- const require_validityTypes = require("./validityTypes-CPCCW3e3.cjs");
5
+ const require_validityTypes = require("./validityTypes-C2nklkrH.cjs");
6
6
  const require_constants = require("./constants-BOVyEYGH.cjs");
7
7
  const require_types = require("./types-KjA8tY4Y.cjs");
8
8
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
package/dist/core.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as is2D, C as isSolid, E as getShapeKind, H as withScopeResult, I as isLive, M as DisposalScope, N as createHandle, P as createKernelHandle, S as isShell, T as isWire, U as withScopeResultAsync, V as withScope, _ as isCompound, b as isShape1D, i as castShape, j as is3D, v as isEdge, w as isVertex, x as isShape3D, y as isFace } from "./shapeTypes-DiwqWNY3.js";
1
+ import { A as is2D, C as isSolid, E as getShapeKind, H as withScopeResult, I as isLive, M as DisposalScope, N as createHandle, P as createKernelHandle, S as isShell, T as isWire, U as withScopeResultAsync, V as withScope, _ as isCompound, b as isShape1D, i as castShape, j as is3D, v as isEdge, w as isVertex, x as isShape3D, y as isFace } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { n as bug, t as BrepBugError } from "./bug-BdOHwn_e.js";
3
3
  import { E as ok, F as unwrapErr, I as unwrapOr, L as unwrapOrElse, M as tryCatch, N as tryCatchAsync, P as unwrap, S as map, T as match, _ as flatMap, a as moduleInitError, b as isErr, c as sketcherStateError, d as validationError, f as OK, g as err, h as collect, i as kernelError, l as typeCastError, m as andThen, n as computationError, o as queryError, r as ioError, u as unsupportedError, w as mapErr, x as isOk } from "./errors-MHLiNE-C.js";
4
- import { c as manifoldShell, f as validSolid, i as isOrientedFace, l as orientedFace, n as isClosedWire, r as isManifoldShell, s as isValidSolid, t as closedWire } from "./validityTypes-Bs4GSkay.js";
4
+ import { c as manifoldShell, f as validSolid, i as isOrientedFace, l as orientedFace, n as isClosedWire, r as isManifoldShell, s as isValidSolid, t as closedWire } from "./validityTypes-Bl3adWZb.js";
5
5
  import { n as HASH_CODE_MAX, r as RAD2DEG, t as DEG2RAD } from "./constants-ITRzCnCp.js";
6
6
  import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-D24Y27N0.js";
7
7
  import { a as vecDot, c as vecLength, d as vecNormalize, f as vecProjectToPlane, g as vecSub, h as vecScale, i as vecDistance, l as vecLengthSq, m as vecRotate, n as vecAngle, o as vecEquals, p as vecRepr, r as vecCross, s as vecIsZero, t as vecAdd, u as vecNegate } from "./vecOps-SKPRvPH-.js";
@@ -1,6 +1,6 @@
1
1
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
2
2
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
3
- import { _ as samePoint, f as distance2d, l as angle2d } from "./helpers-DR3sq2z4.js";
3
+ import { _ as samePoint, f as distance2d, l as angle2d } from "./helpers-BiqV-wPK.js";
4
4
  //#region src/query/cornerFinder.ts
5
5
  var PI_2 = 2 * Math.PI;
6
6
  function positiveHalfAngle(angle) {
@@ -1,6 +1,6 @@
1
1
  const require_constants = require("./constants-BOVyEYGH.cjs");
2
2
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
3
- const require_helpers = require("./helpers-w76tSTdd.cjs");
3
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
4
4
  //#region src/query/cornerFinder.ts
5
5
  var PI_2 = 2 * Math.PI;
6
6
  function positiveHalfAngle(angle) {
@@ -1,4 +1,4 @@
1
- import { K as getKernel, T as isWire, h as disposeResultShape, n as castResultShape, v as isEdge } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, T as isWire, h as disposeResultShape, n as castResultShape, v as isEdge } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, g as err, l as typeCastError } from "./errors-MHLiNE-C.js";
3
3
  //#region src/topology/curveFns.ts
4
4
  /**
@@ -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
  //#region src/topology/curveFns.ts
4
4
  /**
@@ -1,22 +1,22 @@
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
- const require_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
5
5
  const require_constants = require("./constants-BOVyEYGH.cjs");
6
6
  const require_types = require("./types-KjA8tY4Y.cjs");
7
7
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
8
8
  const require_planeOps = require("./planeOps-VlFxtvzY.cjs");
9
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
10
- const require_curveFns = require("./curveFns-DkavlOSs.cjs");
9
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
10
+ const require_curveFns = require("./curveFns-jmKL1KZp.cjs");
11
11
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
12
- const require_surfaceBuilders = require("./surfaceBuilders-F7G0uhEg.cjs");
13
- const require_blueprintSketcher = require("./blueprintSketcher-e0ubOsCh.cjs");
14
- const require_helpers = require("./helpers-w76tSTdd.cjs");
15
- const require_blueprint = require("./blueprint-DKLrSIsp.cjs");
16
- const require_cornerFinder = require("./cornerFinder-DS7uxsvK.cjs");
17
- const require_boolean2D = require("./boolean2D-Cs_PzKTh.cjs");
18
- const require_textBlueprints = require("./textBlueprints-DETfhGzM.cjs");
19
- const require_cameraFns = require("./cameraFns-BA43wHLH.cjs");
12
+ const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
13
+ const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
14
+ const require_helpers = require("./helpers-DLZUxawd.cjs");
15
+ const require_blueprint = require("./blueprint-BgbVmx4L.cjs");
16
+ const require_cornerFinder = require("./cornerFinder-DIe6pMPU.cjs");
17
+ const require_boolean2D = require("./boolean2D-p7RMNFtG.cjs");
18
+ const require_textBlueprints = require("./textBlueprints-Cv-lkXnr.cjs");
19
+ const require_cameraFns = require("./cameraFns-i1otOZ0V.cjs");
20
20
  //#region src/2d/lib/stitching.ts
21
21
  /**
22
22
  * Group a flat list of curves into connected chains by matching endpoints.
@@ -1,22 +1,22 @@
1
- import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { i as wasmIndex, n as bug } from "./bug-BdOHwn_e.js";
3
3
  import { P as unwrap, s as safeIndex } from "./errors-MHLiNE-C.js";
4
- import { s as getEdges } from "./topologyQueryFns-Dbugjs3F.js";
4
+ import { s as getEdges } from "./topologyQueryFns-CwYkfE3v.js";
5
5
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
6
6
  import { r as toVec3 } from "./types-D24Y27N0.js";
7
7
  import { d as vecNormalize, g as vecSub, h as vecScale, m as vecRotate, r as vecCross } from "./vecOps-SKPRvPH-.js";
8
8
  import { a as planeToWorld, o as resolvePlane } from "./planeOps-CQahLrCx.js";
9
- import { d as pointOnSurface, l as normalAt, m as uvBounds, r as faceCenter, u as outerWire, v as copyShape, y as downcast } from "./faceFns-D2e-1Tci.js";
10
- import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-BqBJDjtV.js";
9
+ import { d as pointOnSurface, l as normalAt, m as uvBounds, r as faceCenter, u as outerWire, v as copyShape, y as downcast } from "./faceFns-CaBQNffu.js";
10
+ import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-Bh_PHl9N.js";
11
11
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
12
- import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-DedBcEMy.js";
13
- import { a as Blueprints, c as make2dOffset, i as CompoundBlueprint, l as intersectCurves, n as BaseSketcher2d, o as chamferCurves, s as filletCurves, u as Flatbush } from "./blueprintSketcher-CVEdoiWs.js";
14
- import { _ as samePoint$1, b as subtract2d, c as add2d, s as PRECISION_OFFSET, y as squareDistance2d } from "./helpers-DR3sq2z4.js";
15
- import { _ as Curve2D, a as edgeToCurve, b as BoundingBox2d, c as make2dCircle, d as make2dInerpolatedBSplineCurve, f as make2dSegmentCurve, g as approximateAsSvgCompatibleCurve, i as curvesAsEdgesOnPlane, l as make2dEllipse, o as make2dArcFromCenter, t as Blueprint, v as deserializeCurve2D } from "./blueprint-BZ8Vb4d3.js";
16
- import { t as cornerFinder } from "./cornerFinder-DgFZ5ayq.js";
17
- import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-DmkJ7G8y.js";
18
- import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-Dak5cCbO.js";
19
- import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-DTedF4Ma.js";
12
+ import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-B7WlmoVr.js";
13
+ import { a as Blueprints, c as make2dOffset, i as CompoundBlueprint, l as intersectCurves, n as BaseSketcher2d, o as chamferCurves, s as filletCurves, u as Flatbush } from "./blueprintSketcher-yZiAeqft.js";
14
+ import { _ as samePoint$1, b as subtract2d, c as add2d, s as PRECISION_OFFSET, y as squareDistance2d } from "./helpers-BiqV-wPK.js";
15
+ import { _ as Curve2D, a as edgeToCurve, b as BoundingBox2d, c as make2dCircle, d as make2dInerpolatedBSplineCurve, f as make2dSegmentCurve, g as approximateAsSvgCompatibleCurve, i as curvesAsEdgesOnPlane, l as make2dEllipse, o as make2dArcFromCenter, t as Blueprint, v as deserializeCurve2D } from "./blueprint-DRvc1LOz.js";
16
+ import { t as cornerFinder } from "./cornerFinder-CiHpo7kU.js";
17
+ import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-BuM5xJSa.js";
18
+ import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-C1aMaWLc.js";
19
+ import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-VVI0cWLa.js";
20
20
  //#region src/2d/lib/stitching.ts
21
21
  /**
22
22
  * Group a flat list of curves into connected chains by matching endpoints.
@@ -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_types = require("./types-KjA8tY4Y.cjs");
5
5
  //#region src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -1,6 +1,6 @@
1
- import { K as getKernel, i as castShape } from "./shapeTypes-DiwqWNY3.js";
1
+ import { K as getKernel, i as castShape } from "./shapeTypes-pxoxsXIo.js";
2
2
  import { E as ok, P as unwrap, g as err, l as typeCastError } from "./errors-MHLiNE-C.js";
3
- import { a as getCachedSurfaceType } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { a as getCachedSurfaceType } from "./topologyQueryFns-CwYkfE3v.js";
4
4
  import { r as toVec3 } from "./types-D24Y27N0.js";
5
5
  //#region src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -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_topologyQueryFns = require("./topologyQueryFns-Dl16dHSd.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
- const require_faceFns = require("./faceFns-B6rtTNW_.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DUMmz0y8.cjs");
5
+ const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-BWLoWRk1.cjs");
7
7
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
8
8
  //#region src/topology/threeHelpers.ts
9
9
  /**
@@ -1,9 +1,9 @@
1
- import { C as isSolid, E as getShapeKind, K as getKernel, T as isWire, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, x as isShape3D, y as isFace } from "./shapeTypes-DiwqWNY3.js";
1
+ import { C as isSolid, E as getShapeKind, K as getKernel, T as isWire, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, x as isShape3D, y as isFace } 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, x as isOk } from "./errors-MHLiNE-C.js";
3
- import { c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-Dbugjs3F.js";
3
+ import { c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-CwYkfE3v.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
- import { y as downcast } from "./faceFns-D2e-1Tci.js";
6
- import { C as propagateAllMetadata, f as cut, h as fuseAll, m as fuse, p as cutAll, x as collectInputFaceHashes } from "./solidBuilders-BSd9X9QM.js";
5
+ import { y as downcast } from "./faceFns-CaBQNffu.js";
6
+ import { C as propagateAllMetadata, f as cut, h as fuseAll, m as fuse, p as cutAll, x as collectInputFaceHashes } from "./solidBuilders-BSIOdrR5.js";
7
7
  import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
8
8
  //#region src/topology/threeHelpers.ts
9
9
  /**