brepjs 18.83.4 → 18.84.1

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 (91) hide show
  1. package/dist/2d/lib/definitions.d.ts +4 -1
  2. package/dist/2d.cjs +6 -6
  3. package/dist/2d.js +6 -6
  4. package/dist/{blueprint-B8qBtYPi.js → blueprint-BL2TdtBX.js} +5 -5
  5. package/dist/{blueprint-BbY5RgQ5.cjs → blueprint-KrNFTiyX.cjs} +5 -5
  6. package/dist/{blueprintFns-CpHkr0_e.js → blueprintFns-DCA97w4C.js} +2 -2
  7. package/dist/{blueprintFns-B1RbKo8t.cjs → blueprintFns-Dp0_BOuL.cjs} +2 -2
  8. package/dist/{blueprintSketcher-2YCz_yJD.cjs → blueprintSketcher-ChpPo7tq.cjs} +3 -3
  9. package/dist/{blueprintSketcher-B3NEgpV4.js → blueprintSketcher-CxFmYBvh.js} +3 -3
  10. package/dist/{boolean2D-PTxVG3Uc.js → boolean2D-CIohnI9l.js} +4 -4
  11. package/dist/{boolean2D-CjPwTVhG.cjs → boolean2D-RC6jXv4x.cjs} +4 -4
  12. package/dist/brepjs.cjs +25 -25
  13. package/dist/brepjs.js +25 -25
  14. package/dist/{cameraFns-nYbmENvw.js → cameraFns-BA7CVtWJ.js} +2 -2
  15. package/dist/{cameraFns-bjDJPmOS.cjs → cameraFns-IL7qYFaG.cjs} +2 -2
  16. package/dist/core/kernelBoundary.d.ts +12 -3
  17. package/dist/core/planeOps.d.ts +4 -1
  18. package/dist/core/shapeTypeCache.d.ts +8 -2
  19. package/dist/core/typeDiscriminants.d.ts +1 -0
  20. package/dist/core.cjs +1 -1
  21. package/dist/core.js +1 -1
  22. package/dist/{cornerFinder-CjVy6U82.js → cornerFinder-7M1wdtcY.js} +1 -1
  23. package/dist/{cornerFinder-B8elxmnw.cjs → cornerFinder-DKyR_u8g.cjs} +1 -1
  24. package/dist/{curveFns-Bvk5DVw_.cjs → curveFns-D3k8aHIE.cjs} +1 -1
  25. package/dist/{curveFns-BIQl4iLB.js → curveFns-DT1yMgBI.js} +1 -1
  26. package/dist/{drawFns-9cTIgqNj.cjs → drawFns-DWHuHfHQ.cjs} +12 -12
  27. package/dist/{drawFns-sRqFaa31.js → drawFns-DiiBS6r0.js} +12 -12
  28. package/dist/{faceFns-2bhJpSMB.js → faceFns-CmhEEB-L.js} +2 -2
  29. package/dist/{faceFns-vTqhxmcB.cjs → faceFns-DSdVqqVP.cjs} +2 -2
  30. package/dist/{healingFns-CDVwFu2k.cjs → healingFns-B1axWCr3.cjs} +5 -5
  31. package/dist/{healingFns-BmlUR01v.js → healingFns-Cxi24K_n.js} +5 -5
  32. package/dist/{helpers-D6ukO4SV.js → helpers-CKjmUSf0.js} +6 -6
  33. package/dist/{helpers-CHmo2ZG7.cjs → helpers-Cvrmxw4s.cjs} +6 -6
  34. package/dist/{importFns-D1kfM4rA.js → importFns-CDaNqu4H.js} +2 -2
  35. package/dist/{importFns-CIs4W-gk.cjs → importFns-D09lb1dB.cjs} +2 -2
  36. package/dist/io.cjs +2 -2
  37. package/dist/io.js +2 -2
  38. package/dist/kernel/brepkit/kernel2dOps.d.ts +1 -1
  39. package/dist/kernel/occtWasm/curveOps.d.ts +5 -0
  40. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  41. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +5 -5
  42. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  43. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +4 -0
  44. package/dist/{loftFns-DNw-fv6j.cjs → loftFns-C664R57e.cjs} +1 -1
  45. package/dist/{loftFns-CHs03MbK.js → loftFns-C8Ep9McS.js} +1 -1
  46. package/dist/{measureFns-6P_25eFL.cjs → measureFns-BtPAmRfH.cjs} +3 -3
  47. package/dist/{measureFns-CkGGGmto.js → measureFns-D0e8tGSP.js} +3 -3
  48. package/dist/measurement/measureCache.d.ts +1 -0
  49. package/dist/measurement.cjs +1 -1
  50. package/dist/measurement.js +1 -1
  51. package/dist/{meshFns-BbKHr7Sw.cjs → meshFns-7IXB_Bua.cjs} +3 -3
  52. package/dist/{meshFns-CkBq181n.js → meshFns-CtchqgDR.js} +3 -3
  53. package/dist/{occtWasmAdapter-DQ4QncJq.cjs → occtWasmAdapter-Bv2OTOX9.cjs} +37 -10
  54. package/dist/{occtWasmAdapter-B76LgEfN.js → occtWasmAdapter-D7mOxU0Q.js} +37 -10
  55. package/dist/operations/exporters.d.ts +1 -0
  56. package/dist/operations.cjs +2 -2
  57. package/dist/operations.js +2 -2
  58. package/dist/{primitiveFns-D-lMqIXD.cjs → primitiveFns-Bdqm8wjI.cjs} +4 -4
  59. package/dist/{primitiveFns-BEnhrLwJ.js → primitiveFns-D7R24hoz.js} +4 -4
  60. package/dist/projection.cjs +1 -1
  61. package/dist/projection.js +1 -1
  62. package/dist/query.cjs +2 -2
  63. package/dist/query.js +2 -2
  64. package/dist/{shapeFns-C0ye1jCN.js → shapeFns-B0lN3o3r.js} +2 -2
  65. package/dist/{shapeFns-BpVEDh-c.cjs → shapeFns-CeSEceUG.cjs} +2 -2
  66. package/dist/shapeRef.cjs +1 -1
  67. package/dist/shapeRef.js +1 -1
  68. package/dist/{shapeRefFns-CZbnUeFV.cjs → shapeRefFns-BsX2j-n3.cjs} +4 -4
  69. package/dist/{shapeRefFns-Bcgiuaof.js → shapeRefFns-C4JSc_jF.js} +4 -4
  70. package/dist/{shapeTypes-D-hZ4cF-.js → shapeTypes-BIcALNFv.js} +51 -5
  71. package/dist/{shapeTypes-D6LjwPZo.cjs → shapeTypes-DwNTiXjG.cjs} +51 -5
  72. package/dist/sketching.cjs +3 -3
  73. package/dist/sketching.js +3 -3
  74. package/dist/{solidBuilders-DCvBPoL2.cjs → solidBuilders-B_5FgvuK.cjs} +5 -5
  75. package/dist/{solidBuilders-WCtZo-7R.js → solidBuilders-Bb5_uC7F.js} +5 -5
  76. package/dist/{surfaceBuilders-KGtKEo_H.js → surfaceBuilders-BQx3TjMH.js} +2 -2
  77. package/dist/{surfaceBuilders-C3fFKidc.cjs → surfaceBuilders-DvpxHHIm.cjs} +2 -2
  78. package/dist/text.cjs +2 -2
  79. package/dist/text.js +2 -2
  80. package/dist/{textBlueprints-BJftbT2i.js → textBlueprints-BK3idmq5.js} +7 -7
  81. package/dist/{textBlueprints-BYriig4p.cjs → textBlueprints-BhxAXpVE.cjs} +7 -7
  82. package/dist/{textMetrics-CkBotEq0.js → textMetrics-DSYHxQ3W.js} +1 -1
  83. package/dist/{textMetrics-6op4Qu2I.cjs → textMetrics-SaXWFfLN.cjs} +1 -1
  84. package/dist/{threadFns-0T6pj-cl.js → threadFns-BWAL8cAZ.js} +6 -6
  85. package/dist/{threadFns-CnG_pnTj.cjs → threadFns-BsRDNoSm.cjs} +6 -6
  86. package/dist/topology.cjs +8 -8
  87. package/dist/topology.js +8 -8
  88. package/dist/{topologyQueryFns-Wc7It_Hq.js → topologyQueryFns-0BIOC7YH.js} +1 -1
  89. package/dist/{topologyQueryFns-D5qzuUHY.cjs → topologyQueryFns-a2i0YhGF.cjs} +1 -1
  90. package/dist/utils/vec2d.d.ts +4 -1
  91. package/package.json +3 -3
@@ -1,11 +1,11 @@
1
- import { Z as getKernel, _ as isSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, y as isWire } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, _ as isSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, y as isWire } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
- import { c as getFaces, i as getCachedIsValid, l as getOrCreateCache, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-Wc7It_Hq.js";
3
+ import { c as getFaces, i as getCachedIsValid, l as getOrCreateCache, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-0BIOC7YH.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
- import { v as downcast } from "./faceFns-2bhJpSMB.js";
6
- import { _ as propagateAllMetadata, g as collectInputFaceHashes } from "./shapeFns-C0ye1jCN.js";
5
+ import { v as downcast } from "./faceFns-CmhEEB-L.js";
6
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes } from "./shapeFns-B0lN3o3r.js";
7
7
  import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
8
- import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-WCtZo-7R.js";
8
+ import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-Bb5_uC7F.js";
9
9
  //#region src/topology/threeHelpers.ts
10
10
  /**
11
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,12 +1,12 @@
1
- import { Z as getKernel, p as isFace } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, p as isFace } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, T as isOk, b as err, h as bug, o as queryError } from "./errors-DNWJsfVU.js";
3
- import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Wc7It_Hq.js";
3
+ import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-0BIOC7YH.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-2bhJpSMB.js";
7
- import { a as isSameShape, n as getHashCode } from "./shapeFns-C0ye1jCN.js";
8
- import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-BIQl4iLB.js";
9
- import { n as measureArea } from "./measureFns-CkGGGmto.js";
6
+ import { l as normalAt, s as getSurfaceType } from "./faceFns-CmhEEB-L.js";
7
+ import { a as isSameShape, n as getHashCode } from "./shapeFns-B0lN3o3r.js";
8
+ import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-DT1yMgBI.js";
9
+ import { n as measureArea } from "./measureFns-D0e8tGSP.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-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.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-vTqhxmcB.cjs");
7
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
8
- const require_curveFns = require("./curveFns-Bvk5DVw_.cjs");
9
- const require_measureFns = require("./measureFns-6P_25eFL.cjs");
6
+ const require_faceFns = require("./faceFns-DSdVqqVP.cjs");
7
+ const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
8
+ const require_curveFns = require("./curveFns-D3k8aHIE.cjs");
9
+ const require_measureFns = require("./measureFns-BtPAmRfH.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 { Z as getKernel, t as castShape } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-BIcALNFv.js";
2
2
  import { n as wasmIndex, t as vec3At$1 } from "./vec3-Dpha8d5k.js";
3
3
  import { A as ok, b as err, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
4
4
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
5
- import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-B8qBtYPi.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-BL2TdtBX.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-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
5
- const require_blueprint = require("./blueprint-BbY5RgQ5.cjs");
5
+ const require_blueprint = require("./blueprint-KrNFTiyX.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-BbKHr7Sw.cjs");
3
- const require_importFns = require("./importFns-CIs4W-gk.cjs");
2
+ const require_meshFns = require("./meshFns-7IXB_Bua.cjs");
3
+ const require_importFns = require("./importFns-D09lb1dB.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-CkBq181n.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-D1kfM4rA.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CtchqgDR.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-CDaNqu4H.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -26,7 +26,7 @@ export declare function getCurve2dBounds(curve: Curve2dHandle): {
26
26
  };
27
27
  export declare function getCurve2dType(curve: Curve2dHandle): string;
28
28
  export declare function trimCurve2d(curve: Curve2dHandle, start: number, end: number): Curve2dHandle;
29
- export declare function reverseCurve2d(_curve: Curve2dHandle): void;
29
+ export declare function reverseCurve2d(curve: Curve2dHandle): void;
30
30
  export declare function copyCurve2d(curve: Curve2dHandle): Curve2dHandle;
31
31
  export declare function offsetCurve2d(curve: Curve2dHandle, offset: number): Curve2dHandle;
32
32
  export declare function translateCurve2d(curve: Curve2dHandle, dx: number, dy: number): Curve2dHandle;
@@ -20,4 +20,9 @@ export declare function approximatePoints(k: OcctKernelWasm, Module: OcctWasmMod
20
20
  degMax?: number;
21
21
  smoothing?: [number, number, number] | null;
22
22
  }): KernelShape;
23
+ export declare function curveDegreeElevate(k: OcctKernelWasm, edge: KernelShape, elevateBy: number): KernelShape;
24
+ export declare function curveKnotInsert(k: OcctKernelWasm, edge: KernelShape, knot: number, times: number): KernelShape;
25
+ export declare function curveKnotRemove(k: OcctKernelWasm, edge: KernelShape, knot: number, tolerance: number): KernelShape;
26
+ export declare function curveSplit(k: OcctKernelWasm, edge: KernelShape, param: number): [KernelShape, KernelShape];
27
+ export declare function getBezierPenultimatePole(k: OcctKernelWasm, edge: KernelShape): [number, number, number] | null;
23
28
  export declare function getNurbsCurveData(k: OcctKernelWasm, edge: KernelShape): NurbsCurveData | null;
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_occtWasmAdapter = require("../../occtWasmAdapter-DQ4QncJq.cjs");
2
+ const require_occtWasmAdapter = require("../../occtWasmAdapter-Bv2OTOX9.cjs");
3
3
  exports.OcctWasmAdapter = require_occtWasmAdapter.OcctWasmAdapter;
@@ -293,11 +293,11 @@ export declare class OcctWasmAdapter implements KernelAdapter {
293
293
  degMax?: number;
294
294
  smoothing?: [number, number, number] | null;
295
295
  }): KernelShape;
296
- curveDegreeElevate(_edge: KernelShape, _elevateBy: number): KernelShape;
297
- curveKnotInsert(_edge: KernelShape, _knot: number, _times: number): KernelShape;
298
- curveKnotRemove(_edge: KernelShape, _knot: number, _tolerance: number): KernelShape;
299
- curveSplit(_edge: KernelShape, _param: number): [KernelShape, KernelShape];
300
- getBezierPenultimatePole(_edge: KernelShape): [number, number, number] | null;
296
+ curveDegreeElevate(edge: KernelShape, elevateBy: number): KernelShape;
297
+ curveKnotInsert(edge: KernelShape, knot: number, times: number): KernelShape;
298
+ curveKnotRemove(edge: KernelShape, knot: number, tolerance: number): KernelShape;
299
+ curveSplit(edge: KernelShape, param: number): [KernelShape, KernelShape];
300
+ getBezierPenultimatePole(edge: KernelShape): [number, number, number] | null;
301
301
  createCurveAdaptor(_shape: KernelShape): KernelType;
302
302
  vertexPosition(vertex: KernelShape): [number, number, number];
303
303
  surfaceType(face: KernelShape): SurfaceType;
@@ -1,2 +1,2 @@
1
- import { t as OcctWasmAdapter } from "../../occtWasmAdapter-B76LgEfN.js";
1
+ import { t as OcctWasmAdapter } from "../../occtWasmAdapter-D7mOxU0Q.js";
2
2
  export { OcctWasmAdapter };
@@ -231,6 +231,10 @@ export interface OcctKernelWasm {
231
231
  approximatePoints(flatPoints: EmVectorDouble, tolerance: number): number;
232
232
  projectEdges(shapeId: number, ox: number, oy: number, oz: number, dx: number, dy: number, dz: number, xx: number, xy: number, xz: number, hasXAxis: boolean): EmProjectionData;
233
233
  getNurbsCurveData(edgeId: number): EmNurbsCurveData;
234
+ curveDegreeElevate(edgeId: number, elevateBy: number): number;
235
+ curveKnotInsert(edgeId: number, knot: number, times: number): number;
236
+ curveKnotRemove(edgeId: number, knot: number, tolerance: number): number;
237
+ curveSplit(edgeId: number, param: number): EmVectorUint32;
234
238
  liftCurve2dToPlane(flatPoints2d: EmVectorDouble, planeOx: number, planeOy: number, planeOz: number, planeZx: number, planeZy: number, planeZz: number, planeXx: number, planeXy: number, planeXz: number): number;
235
239
  xcafNewDocument(): number;
236
240
  xcafClose(docId: number): void;
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_types = require("./types-KjA8tY4Y.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
@@ -1,4 +1,4 @@
1
- import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { c as vecLength, d as vecNormalize, t as vecAdd } from "./vecOps-SKPRvPH-.js";
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
4
- const require_faceFns = require("./faceFns-vTqhxmcB.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
4
+ const require_faceFns = require("./faceFns-DSdVqqVP.cjs");
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
- import { Z as getKernel } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { w as kernelCallRaw } from "./topologyQueryFns-Wc7It_Hq.js";
4
- import { m as uvBounds } from "./faceFns-2bhJpSMB.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-0BIOC7YH.js";
4
+ import { m as uvBounds } from "./faceFns-CmhEEB-L.js";
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -9,4 +9,5 @@ export interface MeasurementValueMap {
9
9
  export type MeasurementKey = keyof MeasurementValueMap;
10
10
  export declare function getCachedMeasurement<K extends MeasurementKey>(shape: object, key: K): MeasurementValueMap[K] | undefined;
11
11
  export declare function setCachedMeasurement<K extends MeasurementKey>(shape: object, key: K, value: MeasurementValueMap[K]): void;
12
+ /** @testOnly Exercised by tests/measureCache.test.ts. */
12
13
  export declare function clearMeasurementCache(shape?: object): void;
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-6P_25eFL.cjs");
2
+ const require_measureFns = require("./measureFns-BtPAmRfH.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-CkGGGmto.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-D0e8tGSP.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
4
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
4
+ const require_shapeFns = require("./shapeFns-CeSEceUG.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 { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-DNWJsfVU.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-Wc7It_Hq.js";
4
- import { O as getFaceOrigins } from "./shapeFns-C0ye1jCN.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-0BIOC7YH.js";
4
+ import { O as getFaceOrigins } from "./shapeFns-B0lN3o3r.js";
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1681,6 +1681,33 @@ function approximatePoints(k, Module, points, options) {
1681
1681
  vec.delete();
1682
1682
  }
1683
1683
  }
1684
+ function curveDegreeElevate(k, edge, elevateBy) {
1685
+ return handle("edge", k.curveDegreeElevate(unwrap(edge), elevateBy));
1686
+ }
1687
+ function curveKnotInsert(k, edge, knot, times) {
1688
+ return handle("edge", k.curveKnotInsert(unwrap(edge), knot, times));
1689
+ }
1690
+ function curveKnotRemove(k, edge, knot, tolerance) {
1691
+ return handle("edge", k.curveKnotRemove(unwrap(edge), knot, tolerance));
1692
+ }
1693
+ function curveSplit(k, edge, param) {
1694
+ const vec = k.curveSplit(unwrap(edge), param);
1695
+ try {
1696
+ return [handle("edge", vec.get(0)), handle("edge", vec.get(1))];
1697
+ } finally {
1698
+ vec.delete();
1699
+ }
1700
+ }
1701
+ function getBezierPenultimatePole(k, edge) {
1702
+ const data = getNurbsCurveData(k, edge);
1703
+ if (!data || data.poles.length < 2) return null;
1704
+ const pole = data.poles[data.poles.length - 2];
1705
+ return pole ? [
1706
+ pole[0],
1707
+ pole[1],
1708
+ pole[2]
1709
+ ] : null;
1710
+ }
1684
1711
  function getNurbsCurveData(k, edge) {
1685
1712
  try {
1686
1713
  const data = k.getNurbsCurveData(unwrap(edge));
@@ -4906,20 +4933,20 @@ var OcctWasmAdapter = class OcctWasmAdapter {
4906
4933
  approximatePoints(points, options) {
4907
4934
  return approximatePoints(this.k, this.Module, points, options);
4908
4935
  }
4909
- curveDegreeElevate(_edge, _elevateBy) {
4910
- notImplemented("curveDegreeElevate");
4936
+ curveDegreeElevate(edge, elevateBy) {
4937
+ return curveDegreeElevate(this.k, edge, elevateBy);
4911
4938
  }
4912
- curveKnotInsert(_edge, _knot, _times) {
4913
- notImplemented("curveKnotInsert");
4939
+ curveKnotInsert(edge, knot, times) {
4940
+ return curveKnotInsert(this.k, edge, knot, times);
4914
4941
  }
4915
- curveKnotRemove(_edge, _knot, _tolerance) {
4916
- notImplemented("curveKnotRemove");
4942
+ curveKnotRemove(edge, knot, tolerance) {
4943
+ return curveKnotRemove(this.k, edge, knot, tolerance);
4917
4944
  }
4918
- curveSplit(_edge, _param) {
4919
- notImplemented("curveSplit");
4945
+ curveSplit(edge, param) {
4946
+ return curveSplit(this.k, edge, param);
4920
4947
  }
4921
- getBezierPenultimatePole(_edge) {
4922
- notImplemented("getBezierPenultimatePole");
4948
+ getBezierPenultimatePole(edge) {
4949
+ return getBezierPenultimatePole(this.k, edge);
4923
4950
  }
4924
4951
  createCurveAdaptor(_shape) {
4925
4952
  notImplemented("createCurveAdaptor");
@@ -1681,6 +1681,33 @@ function approximatePoints(k, Module, points, options) {
1681
1681
  vec.delete();
1682
1682
  }
1683
1683
  }
1684
+ function curveDegreeElevate(k, edge, elevateBy) {
1685
+ return handle("edge", k.curveDegreeElevate(unwrap(edge), elevateBy));
1686
+ }
1687
+ function curveKnotInsert(k, edge, knot, times) {
1688
+ return handle("edge", k.curveKnotInsert(unwrap(edge), knot, times));
1689
+ }
1690
+ function curveKnotRemove(k, edge, knot, tolerance) {
1691
+ return handle("edge", k.curveKnotRemove(unwrap(edge), knot, tolerance));
1692
+ }
1693
+ function curveSplit(k, edge, param) {
1694
+ const vec = k.curveSplit(unwrap(edge), param);
1695
+ try {
1696
+ return [handle("edge", vec.get(0)), handle("edge", vec.get(1))];
1697
+ } finally {
1698
+ vec.delete();
1699
+ }
1700
+ }
1701
+ function getBezierPenultimatePole(k, edge) {
1702
+ const data = getNurbsCurveData(k, edge);
1703
+ if (!data || data.poles.length < 2) return null;
1704
+ const pole = data.poles[data.poles.length - 2];
1705
+ return pole ? [
1706
+ pole[0],
1707
+ pole[1],
1708
+ pole[2]
1709
+ ] : null;
1710
+ }
1684
1711
  function getNurbsCurveData(k, edge) {
1685
1712
  try {
1686
1713
  const data = k.getNurbsCurveData(unwrap(edge));
@@ -4906,20 +4933,20 @@ var OcctWasmAdapter = class OcctWasmAdapter {
4906
4933
  approximatePoints(points, options) {
4907
4934
  return approximatePoints(this.k, this.Module, points, options);
4908
4935
  }
4909
- curveDegreeElevate(_edge, _elevateBy) {
4910
- notImplemented("curveDegreeElevate");
4936
+ curveDegreeElevate(edge, elevateBy) {
4937
+ return curveDegreeElevate(this.k, edge, elevateBy);
4911
4938
  }
4912
- curveKnotInsert(_edge, _knot, _times) {
4913
- notImplemented("curveKnotInsert");
4939
+ curveKnotInsert(edge, knot, times) {
4940
+ return curveKnotInsert(this.k, edge, knot, times);
4914
4941
  }
4915
- curveKnotRemove(_edge, _knot, _tolerance) {
4916
- notImplemented("curveKnotRemove");
4942
+ curveKnotRemove(edge, knot, tolerance) {
4943
+ return curveKnotRemove(this.k, edge, knot, tolerance);
4917
4944
  }
4918
- curveSplit(_edge, _param) {
4919
- notImplemented("curveSplit");
4945
+ curveSplit(edge, param) {
4946
+ return curveSplit(this.k, edge, param);
4920
4947
  }
4921
- getBezierPenultimatePole(_edge) {
4922
- notImplemented("getBezierPenultimatePole");
4948
+ getBezierPenultimatePole(edge) {
4949
+ return getBezierPenultimatePole(this.k, edge);
4923
4950
  }
4924
4951
  createCurveAdaptor(_shape) {
4925
4952
  notImplemented("createCurveAdaptor");
@@ -51,6 +51,7 @@ export declare function createAssembly(shapes?: ShapeOptions[]): AssemblyExporte
51
51
  * ```
52
52
  *
53
53
  * @see {@link exporterFns!exportAssemblySTEP | exportAssemblySTEP} for the functional API equivalent.
54
+ * @testOnly Exercised by tests/operations-exporters.test.ts.
54
55
  */
55
56
  export declare function exportSTEP(shapes?: ShapeOptions[], { unit, modelUnit }?: {
56
57
  unit?: SupportedUnit;
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-CnG_pnTj.cjs");
3
- const require_loftFns = require("./loftFns-DNw-fv6j.cjs");
2
+ const require_threadFns = require("./threadFns-BsRDNoSm.cjs");
3
+ const require_loftFns = require("./loftFns-C664R57e.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 findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ 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 exportAssemblySTEP, 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 createAssemblyNode } from "./threadFns-0T6pj-cl.js";
2
- import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-CHs03MbK.js";
1
+ import { A as setJointValue, B as findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ 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 exportAssemblySTEP, 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 createAssemblyNode } from "./threadFns-BWAL8cAZ.js";
2
+ import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-C8Ep9McS.js";
3
3
  export { addChild, addJoint, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, cylindricalJoint, exportAssemblySTEP, exportURDF, findNode, findStep, forwardKinematics, getShape as getHistoryShape, gridPattern, importURDF, inverseKinematics, jointTrajectory, jointTransform, jointsFromDH, linearPattern, mechanismDOF, modifyStep, planarJoint, prismaticJoint, registerOperation, registerShape, removeChild, replayFrom, replayHistory, revoluteJoint, setJointValue, setJointValues, sphericalJoint, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
5
- const require_surfaceBuilders = require("./surfaceBuilders-C3fFKidc.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DCvBPoL2.cjs");
4
+ const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
5
+ const require_surfaceBuilders = require("./surfaceBuilders-DvpxHHIm.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-B_5FgvuK.cjs");
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,9 +1,9 @@
1
- import { Z as getKernel, c as createSolid, x as isClosedWire } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, c as createSolid, x as isClosedWire } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, b as err, d as validationError, v as andThen } from "./errors-DNWJsfVU.js";
3
3
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
4
- import { h as translate } from "./shapeFns-C0ye1jCN.js";
5
- import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-KGtKEo_H.js";
6
- import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-WCtZo-7R.js";
4
+ import { h as translate } from "./shapeFns-B0lN3o3r.js";
5
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-BQx3TjMH.js";
6
+ import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-Bb5_uC7F.js";
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-bjDJPmOS.cjs");
2
+ const require_cameraFns = require("./cameraFns-IL7qYFaG.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-nYbmENvw.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-BA7CVtWJ.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-CHmo2ZG7.cjs");
3
- const require_cornerFinder = require("./cornerFinder-B8elxmnw.cjs");
2
+ const require_helpers = require("./helpers-Cvrmxw4s.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-DKyR_u8g.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-D6ukO4SV.js";
2
- import { t as cornerFinder } from "./cornerFinder-CjVy6U82.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-CKjmUSf0.js";
2
+ import { t as cornerFinder } from "./cornerFinder-7M1wdtcY.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-BIcALNFv.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-Wc7It_Hq.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-0BIOC7YH.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-CZbnUeFV.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-BsX2j-n3.cjs");
3
3
  exports.assignRoles = require_shapeRefFns.assignRoles;
4
4
  exports.captureHint = require_shapeRefFns.captureHint;
5
5
  exports.createRef = require_shapeRefFns.createRef;
package/dist/shapeRef.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-Bcgiuaof.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-C4JSc_jF.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,8 +1,8 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
3
- const require_faceFns = require("./faceFns-vTqhxmcB.cjs");
4
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
5
- const require_measureFns = require("./measureFns-6P_25eFL.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
3
+ const require_faceFns = require("./faceFns-DSdVqqVP.cjs");
4
+ const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
5
+ const require_measureFns = require("./measureFns-BtPAmRfH.cjs");
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,8 +1,8 @@
1
1
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
2
- import { c as getFaces } from "./topologyQueryFns-Wc7It_Hq.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-2bhJpSMB.js";
4
- import { n as getHashCode } from "./shapeFns-C0ye1jCN.js";
5
- import { n as measureArea } from "./measureFns-CkGGGmto.js";
2
+ import { c as getFaces } from "./topologyQueryFns-0BIOC7YH.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-CmhEEB-L.js";
4
+ import { n as getHashCode } from "./shapeFns-B0lN3o3r.js";
5
+ import { n as measureArea } from "./measureFns-D0e8tGSP.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,