brepjs 15.1.13 → 15.2.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 (70) hide show
  1. package/dist/2d/lib/curve2D.d.ts.map +1 -1
  2. package/dist/2d.cjs +5 -5
  3. package/dist/2d.js +5 -5
  4. package/dist/{blueprint-DpfTrOOt.cjs → blueprint-CVDdCwvY.cjs} +10 -8
  5. package/dist/{blueprint-CY11BkHM.js → blueprint-DiLT1cjs.js} +10 -8
  6. package/dist/{blueprintFns-C-XRp3LD.js → blueprintFns-1Ulj1yXX.js} +2 -2
  7. package/dist/{blueprintFns-DTGzK_O3.cjs → blueprintFns-VagQe-2I.cjs} +2 -2
  8. package/dist/{boolean2D-CNan_aDM.cjs → boolean2D-C_vue9r7.cjs} +7 -7
  9. package/dist/{boolean2D-Dj0eTZfG.js → boolean2D-_yG91bHX.js} +7 -7
  10. package/dist/{booleanFns-B86ltlZD.cjs → booleanFns-C7c98iPH.cjs} +4 -4
  11. package/dist/{booleanFns-CiiCf7YH.js → booleanFns-QZtMt5Aa.js} +4 -4
  12. package/dist/brepjs.cjs +20 -20
  13. package/dist/brepjs.js +20 -20
  14. package/dist/core.cjs +1 -1
  15. package/dist/core.js +1 -1
  16. package/dist/{cornerFinder-lO-ySgHJ.js → cornerFinder-CvF2SrsV.js} +1 -1
  17. package/dist/{cornerFinder-DNmYCgaQ.cjs → cornerFinder-DP1-TfDV.cjs} +1 -1
  18. package/dist/{curveFns-B_pwrAMv.cjs → curveFns-Bukd9jhv.cjs} +1 -1
  19. package/dist/{curveFns-Dv0wz8Zm.js → curveFns-Dn4gbNzG.js} +1 -1
  20. package/dist/{drawFns-CJxFWoi9.js → drawFns-BIFwKDPT.js} +10 -10
  21. package/dist/{drawFns-BNSmHZXu.cjs → drawFns-mX41AgJp.cjs} +10 -10
  22. package/dist/{extrudeFns-B9muBNIT.cjs → extrudeFns-B588lxcH.cjs} +1 -1
  23. package/dist/{extrudeFns-lgSsOjwq.js → extrudeFns-DjfHvYJe.js} +1 -1
  24. package/dist/{faceFns-DnIpKBex.cjs → faceFns-CKL9Us23.cjs} +1 -1
  25. package/dist/{faceFns-CauBoVg1.js → faceFns-DMFG-piP.js} +1 -1
  26. package/dist/{helpers-B_-mIteL.js → helpers-B2J4sg4l.js} +5 -5
  27. package/dist/{helpers-kil7evW4.cjs → helpers-B48K8Z6B.cjs} +5 -5
  28. package/dist/{historyFns-DYrliEQE.js → historyFns-BpfArwQu.js} +4 -4
  29. package/dist/{historyFns-D7UojEn3.cjs → historyFns-Bxg4_ieD.cjs} +4 -4
  30. package/dist/{importFns-CPzDHVKm.js → importFns-D6eumXiz.js} +2 -2
  31. package/dist/{importFns-Y4wgn0rJ.cjs → importFns-UkXALkBs.cjs} +2 -2
  32. package/dist/io.cjs +2 -2
  33. package/dist/io.js +2 -2
  34. package/dist/kernel/geometry2d.d.ts.map +1 -1
  35. package/dist/kernel/occt/defaultAdapter.d.ts.map +1 -1
  36. package/dist/kernel/occt/kernel2dOps.d.ts +61 -68
  37. package/dist/kernel/occt/kernel2dOps.d.ts.map +1 -1
  38. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  39. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  40. package/dist/{measureFns-Bt0Rd9q9.cjs → measureFns-C2SnZLhD.cjs} +2 -2
  41. package/dist/{measureFns-Bey2EmNQ.js → measureFns-Zc5RWsI4.js} +2 -2
  42. package/dist/measurement.cjs +1 -1
  43. package/dist/measurement.js +1 -1
  44. package/dist/{meshFns-Cxs6gU44.cjs → meshFns-CO9qVJ24.cjs} +2 -2
  45. package/dist/{meshFns-DO58R94T.js → meshFns-gTPomZkK.js} +2 -2
  46. package/dist/{occtWasmAdapter-BBr9e9ej.js → occtWasmAdapter-BRiWV_v0.js} +65 -14
  47. package/dist/{occtWasmAdapter-DcGOi3MQ.cjs → occtWasmAdapter-CPINzXxh.cjs} +65 -14
  48. package/dist/operations.cjs +2 -2
  49. package/dist/operations.js +2 -2
  50. package/dist/{primitiveFns-CWiHuJw9.cjs → primitiveFns-CriBoS7M.cjs} +5 -5
  51. package/dist/{primitiveFns-Rpdnd3FK.js → primitiveFns-CtWBTFPI.js} +5 -5
  52. package/dist/query.cjs +2 -2
  53. package/dist/query.js +2 -2
  54. package/dist/{shapeFns-CBRy0V_S.cjs → shapeFns-DkFzoJav.cjs} +2 -2
  55. package/dist/{shapeFns-4ySHDRyO.js → shapeFns-QGgHStIU.js} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeRefFns-D21Yl4Eu.js → shapeRefFns-Gv4-NGJD.js} +3 -3
  59. package/dist/{shapeRefFns-oAyQxHO1.cjs → shapeRefFns-t-5-Aqku.cjs} +3 -3
  60. package/dist/{shapeTypes-CaSWO-Hg.cjs → shapeTypes-Bfw136X-.cjs} +772 -589
  61. package/dist/{shapeTypes-BLV4Ktdb.js → shapeTypes-Ct7W6h2X.js} +768 -589
  62. package/dist/sketching.cjs +2 -2
  63. package/dist/sketching.js +2 -2
  64. package/dist/{solidBuilders-BexZFemn.js → solidBuilders-CQipZFOw.js} +2 -2
  65. package/dist/{solidBuilders-BZFaM6nk.cjs → solidBuilders-DI9d6ZIx.cjs} +2 -2
  66. package/dist/{surfaceBuilders-Bixz70pj.cjs → surfaceBuilders-DzTJA3fK.cjs} +2 -2
  67. package/dist/{surfaceBuilders-AnSYsNAb.js → surfaceBuilders-Im6Xef27.js} +2 -2
  68. package/dist/topology.cjs +6 -6
  69. package/dist/topology.js +6 -6
  70. package/package.json +1 -1
@@ -534,25 +534,32 @@ function numericalIntersect(c1, c2, tolerance, isSelf = false) {
534
534
  });
535
535
  }
536
536
  const crossTol = Math.max(tolerance * 100, .5);
537
+ const seg2Bounds = new Float64Array(N * 6);
538
+ for (let j = 0; j < N; j++) {
539
+ const a = pts2[j], b = pts2[j + 1];
540
+ const off = j * 6;
541
+ seg2Bounds[off] = Math.min(a.x, b.x);
542
+ seg2Bounds[off + 1] = Math.max(a.x, b.x);
543
+ seg2Bounds[off + 2] = Math.min(a.y, b.y);
544
+ seg2Bounds[off + 3] = Math.max(a.y, b.y);
545
+ seg2Bounds[off + 4] = (a.t + b.t) / 2;
546
+ }
537
547
  const candidates = [];
548
+ const selfMinSep = (b1.last - b1.first) / 5;
538
549
  for (let i = 0; i < N; i++) {
539
550
  const p1a = pts1[i];
540
551
  const p1b = pts1[i + 1];
552
+ const x1min = Math.min(p1a.x, p1b.x) - crossTol;
553
+ const x1max = Math.max(p1a.x, p1b.x) + crossTol;
554
+ const y1min = Math.min(p1a.y, p1b.y) - crossTol;
555
+ const y1max = Math.max(p1a.y, p1b.y) + crossTol;
556
+ const t1mid = (p1a.t + p1b.t) / 2;
541
557
  for (let j = 0; j < N; j++) {
542
- const p2a = pts2[j];
543
- const p2b = pts2[j + 1];
544
- const x1min = Math.min(p1a.x, p1b.x) - crossTol;
545
- const x1max = Math.max(p1a.x, p1b.x) + crossTol;
546
- const y1min = Math.min(p1a.y, p1b.y) - crossTol;
547
- const y1max = Math.max(p1a.y, p1b.y) + crossTol;
548
- const x2min = Math.min(p2a.x, p2b.x);
549
- const x2max = Math.max(p2a.x, p2b.x);
550
- const y2min = Math.min(p2a.y, p2b.y);
551
- const y2max = Math.max(p2a.y, p2b.y);
552
- if (x1max < x2min || x2max < x1min || y1max < y2min || y2max < y1min) continue;
553
- const t1mid = (p1a.t + p1b.t) / 2;
554
- const t2mid = (p2a.t + p2b.t) / 2;
555
- if (isSelf && Math.abs(t1mid - t2mid) < (b1.last - b1.first) / 5) continue;
558
+ const off = j * 6;
559
+ if (x1max < seg2Bounds[off] || seg2Bounds[off + 1] < x1min) continue;
560
+ if (y1max < seg2Bounds[off + 2] || seg2Bounds[off + 3] < y1min) continue;
561
+ const t2mid = seg2Bounds[off + 4];
562
+ if (isSelf && Math.abs(t1mid - t2mid) < selfMinSep) continue;
556
563
  candidates.push({
557
564
  t1: t1mid,
558
565
  t2: t2mid
@@ -616,6 +623,50 @@ function createBBox2d() {
616
623
  };
617
624
  }
618
625
  function addCurveToBBox(bbox, c, _tol) {
626
+ const basis = c.__bk2d === "trimmed" ? c.basis : c;
627
+ if (basis.__bk2d === "line") {
628
+ const bounds = curveBounds(c);
629
+ if (!isFinite(bounds.first) || !isFinite(bounds.last)) return;
630
+ const [x0, y0] = evaluateCurve2d(c, bounds.first);
631
+ const [x1, y1] = evaluateCurve2d(c, bounds.last);
632
+ bbox.xMin = Math.min(bbox.xMin, x0, x1);
633
+ bbox.yMin = Math.min(bbox.yMin, y0, y1);
634
+ bbox.xMax = Math.max(bbox.xMax, x0, x1);
635
+ bbox.yMax = Math.max(bbox.yMax, y0, y1);
636
+ return;
637
+ }
638
+ if (basis.__bk2d === "circle") {
639
+ const bounds = curveBounds(c);
640
+ if (!isFinite(bounds.first) || !isFinite(bounds.last)) return;
641
+ const { cx, cy, radius, sense } = basis;
642
+ const [x0, y0] = evaluateCurve2d(c, bounds.first);
643
+ const [x1, y1] = evaluateCurve2d(c, bounds.last);
644
+ let xMin = Math.min(x0, x1), xMax = Math.max(x0, x1);
645
+ let yMin = Math.min(y0, y1), yMax = Math.max(y0, y1);
646
+ const tStart = c.__bk2d === "trimmed" ? c.tStart : bounds.first;
647
+ const tEnd = c.__bk2d === "trimmed" ? c.tEnd : bounds.last;
648
+ for (let k = 0; k < 4; k++) {
649
+ const angle = k * Math.PI / 2;
650
+ const t = sense ? angle : -angle;
651
+ for (let wrap = 0; wrap <= 1; wrap++) {
652
+ const tt = t + wrap * 2 * Math.PI;
653
+ if (tt >= tStart - 1e-10 && tt <= tEnd + 1e-10) {
654
+ const ex = cx + radius * Math.cos(angle);
655
+ const ey = cy + radius * Math.sin(angle);
656
+ xMin = Math.min(xMin, ex);
657
+ xMax = Math.max(xMax, ex);
658
+ yMin = Math.min(yMin, ey);
659
+ yMax = Math.max(yMax, ey);
660
+ break;
661
+ }
662
+ }
663
+ }
664
+ bbox.xMin = Math.min(bbox.xMin, xMin);
665
+ bbox.yMin = Math.min(bbox.yMin, yMin);
666
+ bbox.xMax = Math.max(bbox.xMax, xMax);
667
+ bbox.yMax = Math.max(bbox.yMax, yMax);
668
+ return;
669
+ }
619
670
  const bounds = curveBounds(c);
620
671
  if (!isFinite(bounds.first) || !isFinite(bounds.last)) return;
621
672
  const nSamples = 20;
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_historyFns = require("./historyFns-D7UojEn3.cjs");
3
- const require_extrudeFns = require("./extrudeFns-B9muBNIT.cjs");
2
+ const require_historyFns = require("./historyFns-Bxg4_ieD.cjs");
3
+ const require_extrudeFns = require("./extrudeFns-B588lxcH.cjs");
4
4
  exports.addChild = require_historyFns.addChild;
5
5
  exports.addStep = require_historyFns.addStep;
6
6
  exports.circularPattern = require_historyFns.circularPattern;
@@ -1,3 +1,3 @@
1
- import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-DYrliEQE.js";
2
- import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-lgSsOjwq.js";
1
+ import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-BpfArwQu.js";
2
+ import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-DjfHvYJe.js";
3
3
  export { addChild, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, exportAssemblySTEP, findNode, findStep, getShape as getHistoryShape, gridPattern, linearPattern, modifyStep, registerOperation, registerShape, removeChild, replayFrom, replayHistory, stepCount, stepsFrom, supportExtrude, sweep, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-CaSWO-Hg.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Bfw136X-.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-DnIpKBex.cjs");
3
+ const require_faceFns = require("./faceFns-CKL9Us23.cjs");
4
4
  const require_constants = require("./constants-BNP_xnBN.cjs");
5
- const require_shapeFns = require("./shapeFns-CBRy0V_S.cjs");
6
- const require_surfaceBuilders = require("./surfaceBuilders-Bixz70pj.cjs");
7
- const require_solidBuilders = require("./solidBuilders-BZFaM6nk.cjs");
5
+ const require_shapeFns = require("./shapeFns-DkFzoJav.cjs");
6
+ const require_surfaceBuilders = require("./surfaceBuilders-DzTJA3fK.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-DI9d6ZIx.cjs");
8
8
  //#region src/topology/threeHelpers.ts
9
9
  /**
10
10
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,10 +1,10 @@
1
- import { X as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-BLV4Ktdb.js";
1
+ import { X as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-Ct7W6h2X.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, v as andThen, w as isErr } from "./errors-DboJwVCf.js";
3
- import { N as downcast, S as getOrCreateCache, T as invalidateShapeCache, b as getEdges, v as getCachedIsValid, w as getWires, x as getFaces } from "./faceFns-CauBoVg1.js";
3
+ import { N as downcast, S as getOrCreateCache, T as invalidateShapeCache, b as getEdges, v as getCachedIsValid, w as getWires, x as getFaces } from "./faceFns-DMFG-piP.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-csSEYddm.js";
5
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-4ySHDRyO.js";
6
- import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-AnSYsNAb.js";
7
- 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-BexZFemn.js";
5
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-QGgHStIU.js";
6
+ import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-Im6Xef27.js";
7
+ 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-CQipZFOw.js";
8
8
  //#region src/topology/threeHelpers.ts
9
9
  /**
10
10
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-kil7evW4.cjs");
3
- const require_cornerFinder = require("./cornerFinder-DNmYCgaQ.cjs");
2
+ const require_helpers = require("./helpers-B48K8Z6B.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-DP1-TfDV.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-B_-mIteL.js";
2
- import { t as cornerFinder } from "./cornerFinder-lO-ySgHJ.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-B2J4sg4l.js";
2
+ import { t as cornerFinder } from "./cornerFinder-CvF2SrsV.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-CaSWO-Hg.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Bfw136X-.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-DnIpKBex.cjs");
3
+ const require_faceFns = require("./faceFns-CKL9Us23.cjs");
4
4
  const require_constants = require("./constants-BNP_xnBN.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { X as getKernel, t as castShape } from "./shapeTypes-BLV4Ktdb.js";
1
+ import { X as getKernel, t as castShape } from "./shapeTypes-Ct7W6h2X.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DboJwVCf.js";
3
- import { R as kernelCall, S as getOrCreateCache, _ as getCacheEntry, x as getFaces, z as kernelCallRaw } from "./faceFns-CauBoVg1.js";
3
+ import { R as kernelCall, S as getOrCreateCache, _ as getCacheEntry, x as getFaces, z as kernelCallRaw } from "./faceFns-DMFG-piP.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-csSEYddm.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-oAyQxHO1.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-t-5-Aqku.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-D21Yl4Eu.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-Gv4-NGJD.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,6 +1,6 @@
1
- import { c as normalAt, n as faceCenter, r as faceGeomType, x as getFaces } from "./faceFns-CauBoVg1.js";
2
- import { n as getHashCode } from "./shapeFns-4ySHDRyO.js";
3
- import { n as measureArea } from "./measureFns-Bey2EmNQ.js";
1
+ import { c as normalAt, n as faceCenter, r as faceGeomType, x as getFaces } from "./faceFns-DMFG-piP.js";
2
+ import { n as getHashCode } from "./shapeFns-QGgHStIU.js";
3
+ import { n as measureArea } from "./measureFns-Zc5RWsI4.js";
4
4
  //#region src/topology/shapeRef/scoring.ts
5
5
  /**
6
6
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- const require_faceFns = require("./faceFns-DnIpKBex.cjs");
2
- const require_shapeFns = require("./shapeFns-CBRy0V_S.cjs");
3
- const require_measureFns = require("./measureFns-Bt0Rd9q9.cjs");
1
+ const require_faceFns = require("./faceFns-CKL9Us23.cjs");
2
+ const require_shapeFns = require("./shapeFns-DkFzoJav.cjs");
3
+ const require_measureFns = require("./measureFns-C2SnZLhD.cjs");
4
4
  //#region src/topology/shapeRef/scoring.ts
5
5
  /**
6
6
  * Default face scorer combining surface type, normal alignment, centroid proximity,