brepjs 20.13.4 → 20.13.5

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 (86) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-DjblerpV.cjs → adjacencyFns-B1ZWTkxw.cjs} +2 -2
  4. package/dist/{adjacencyFns-Ce4lxSWp.js → adjacencyFns-XdjXKCXE.js} +2 -2
  5. package/dist/{blueprint-D4YxCDeX.cjs → blueprint-DzhzGFy2.cjs} +5 -5
  6. package/dist/{blueprint-CeIbNzdp.js → blueprint-WAucCqwY.js} +5 -5
  7. package/dist/{blueprintFns-DEeIBzwN.js → blueprintFns-C8gt4OYm.js} +2 -2
  8. package/dist/{blueprintFns-fc9ZUSqe.cjs → blueprintFns-DnzHyTjv.cjs} +2 -2
  9. package/dist/{blueprintSketcher-BQ6ApvaQ.js → blueprintSketcher-CeMrC8k-.js} +3 -3
  10. package/dist/{blueprintSketcher-DID7kq5g.cjs → blueprintSketcher-JoLn4vSB.cjs} +3 -3
  11. package/dist/{boolean2D-BsrkJbMe.cjs → boolean2D-Cwc_4mU8.cjs} +4 -4
  12. package/dist/{boolean2D-QMPt29HH.js → boolean2D-D8_6vKh_.js} +4 -4
  13. package/dist/{booleanFns-CQIepT9X.cjs → booleanFns-BhW5eybV.cjs} +5 -5
  14. package/dist/{booleanFns-BuxgJmu2.js → booleanFns-aGRfk4ud.js} +5 -5
  15. package/dist/brepjs.cjs +29 -29
  16. package/dist/brepjs.js +29 -29
  17. package/dist/{cameraFns-s8km1l0J.js → cameraFns-CBc6tpRl.js} +3 -3
  18. package/dist/{cameraFns-DL3zo3ol.cjs → cameraFns-DhgM5-Nl.cjs} +3 -3
  19. package/dist/core/disposal.d.ts +4 -1
  20. package/dist/core.cjs +2 -2
  21. package/dist/core.js +2 -2
  22. package/dist/{cornerFinder-D7P4vdaD.js → cornerFinder-ChkO3EOO.js} +1 -1
  23. package/dist/{cornerFinder-uPZDWiyt.cjs → cornerFinder-xI6O0ZCv.cjs} +1 -1
  24. package/dist/{curveFns-CQtl1RzI.js → curveFns-Cnh0Hljx.js} +1 -1
  25. package/dist/{curveFns-DkG5mlUj.cjs → curveFns-Dz36SOE6.cjs} +1 -1
  26. package/dist/{drawFns-CSYj0D8x.cjs → drawFns-BrRyiHKp.cjs} +12 -12
  27. package/dist/{drawFns-BKnz1pa1.js → drawFns-RuUOUlSC.js} +12 -12
  28. package/dist/{faceFns-C_iC_WkC.cjs → faceFns-DfEUZlnf.cjs} +2 -2
  29. package/dist/{faceFns-f8AWRrzK.js → faceFns-Dz3eRgNR.js} +2 -2
  30. package/dist/{healingFns-BRXArH8z.js → healingFns-CCRPtrvE.js} +6 -6
  31. package/dist/{healingFns-W4_K9hXo.cjs → healingFns-D7LTrPO8.cjs} +6 -6
  32. package/dist/{helpers-m-lbbfaz.cjs → helpers-C0MoldOO.cjs} +6 -6
  33. package/dist/{helpers-COdYBjWD.js → helpers-D3oo0Zfs.js} +6 -6
  34. package/dist/{importFns-D8U3wLhV.js → importFns-BVcmm3T0.js} +5 -5
  35. package/dist/{importFns-Kr02P3cy.cjs → importFns-Sp5phi5Y.cjs} +5 -5
  36. package/dist/io.cjs +2 -2
  37. package/dist/io.js +2 -2
  38. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +20 -18
  39. package/dist/kernel/brepkit/helpers.d.ts +25 -4
  40. package/dist/{loftFns-CVk6mzZj.cjs → loftFns-BoGWrMPg.cjs} +1 -1
  41. package/dist/{loftFns-MN9TgyG4.js → loftFns-oH6dldzO.js} +1 -1
  42. package/dist/{measureFns-9GzKgCdl.js → measureFns-6mHYvqUc.js} +3 -3
  43. package/dist/{measureFns-9aeYKFiR.cjs → measureFns-CmKNZ0gC.cjs} +3 -3
  44. package/dist/measurement.cjs +2 -2
  45. package/dist/measurement.js +2 -2
  46. package/dist/{meshFns-BwsjspzI.cjs → meshFns-BFgQZGty.cjs} +3 -3
  47. package/dist/{meshFns-un9EDg7X.js → meshFns-D29JHTr6.js} +3 -3
  48. package/dist/operations.cjs +2 -2
  49. package/dist/operations.js +2 -2
  50. package/dist/{primitiveFns-CIPm9vsq.cjs → primitiveFns-Dovused4.cjs} +5 -5
  51. package/dist/{primitiveFns-BICas2bb.js → primitiveFns-uywjJ06V.js} +5 -5
  52. package/dist/{principalBoxFns-DQytdykp.js → principalBoxFns-CTVc4f8W.js} +3 -3
  53. package/dist/{principalBoxFns-CQZRNYI3.cjs → principalBoxFns-KvlaTxMs.cjs} +3 -3
  54. package/dist/projection.cjs +1 -1
  55. package/dist/projection.js +1 -1
  56. package/dist/query.cjs +2 -2
  57. package/dist/query.js +2 -2
  58. package/dist/{refResolveFns-DNnNqpyn.cjs → refResolveFns-BFws5K2t.cjs} +6 -6
  59. package/dist/{refResolveFns-CpPBZkjT.js → refResolveFns-DZoPfglj.js} +6 -6
  60. package/dist/{shapeFns-Dr_0yhYg.cjs → shapeFns-C9P1KmqH.cjs} +2 -2
  61. package/dist/{shapeFns-D6-l0Nwn.js → shapeFns-CHsoXWeu.js} +2 -2
  62. package/dist/shapeRef.cjs +1 -1
  63. package/dist/shapeRef.js +1 -1
  64. package/dist/{shapeTypes-B23U9msC.cjs → shapeTypes-BK53GmLC.cjs} +265 -52
  65. package/dist/{shapeTypes-CSWkqhe9.js → shapeTypes-Ckz9bpYW.js} +265 -52
  66. package/dist/sketching.cjs +3 -3
  67. package/dist/sketching.js +3 -3
  68. package/dist/{solidBuilders-DIlNbnwK.cjs → solidBuilders-CETSjBW2.cjs} +3 -3
  69. package/dist/{solidBuilders-CQ1oQdBY.js → solidBuilders-DMfqtfIG.js} +3 -3
  70. package/dist/{surfaceBuilders-ZW6W8S1a.js → surfaceBuilders-BeHgAqDx.js} +3 -3
  71. package/dist/{surfaceBuilders-BV-QYvCL.cjs → surfaceBuilders-vKXtKSqY.cjs} +3 -3
  72. package/dist/text.cjs +2 -2
  73. package/dist/text.js +2 -2
  74. package/dist/{textBlueprints-CwsfEEBS.js → textBlueprints-CLwy1uWM.js} +8 -8
  75. package/dist/{textBlueprints-DYrv0GjE.cjs → textBlueprints-DSiQKpe8.cjs} +8 -8
  76. package/dist/{textMetrics-B_WRck8_.js → textMetrics-1e-VHhTX.js} +1 -1
  77. package/dist/{textMetrics-gC0qYCN1.cjs → textMetrics-CzSpui4K.cjs} +1 -1
  78. package/dist/{threadFns-srKixiXB.cjs → threadFns-BEopBSv3.cjs} +7 -7
  79. package/dist/{threadFns-D9m_ywSR.js → threadFns-DveRUJwK.js} +7 -7
  80. package/dist/topology.cjs +9 -9
  81. package/dist/topology.js +9 -9
  82. package/dist/{topologyQueryFns-DJJoFJPW.cjs → topologyQueryFns--p_-tywe.cjs} +1 -1
  83. package/dist/{topologyQueryFns-D8Du44mm.js → topologyQueryFns-SINsBrMe.js} +1 -1
  84. package/dist/{validityTypes-DSzSU07u.js → validityTypes-BCZ8XRzO.js} +1 -1
  85. package/dist/{validityTypes-BkX2hYwP.cjs → validityTypes-DPAkV5rC.cjs} +1 -1
  86. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
4
4
  const require_types = require("./types-CjF9Rofr.cjs");
5
5
  // src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -1,6 +1,6 @@
1
- import { O as getOrQueryType, i as castShape, q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { O as getOrQueryType, i as castShape, q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { E as ok, P as unwrap, g as err, l as typeCastError } from "./errors-BTccWbtE.js";
3
- import { a as getCachedSurfaceType } from "./topologyQueryFns-D8Du44mm.js";
3
+ import { a as getCachedSurfaceType } from "./topologyQueryFns-SINsBrMe.js";
4
4
  import { r as toVec3 } from "./types-CKXsIm9-.js";
5
5
  // src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -1,13 +1,13 @@
1
- import { C as isSolid, D as getShapeKind, T as isWire, Y as getKernelCapabilities, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType, x as isShape3D, y as isFace } from "./shapeTypes-CSWkqhe9.js";
1
+ import { C as isSolid, D as getShapeKind, T as isWire, Y as getKernelCapabilities, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType, x as isShape3D, y as isFace } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { j as isUnsupportedKernelOperationError, n as faultyEdgeIndexesOf } from "./occtWasmAdapter-CGsnjMOe.js";
3
3
  import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode, u as unsupportedError, x as isOk } from "./errors-BTccWbtE.js";
4
- import { C as subShapeHashes, O as getSuggestionForCode, c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-D8Du44mm.js";
4
+ import { C as subShapeHashes, O as getSuggestionForCode, c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-SINsBrMe.js";
5
5
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
6
- import { y as downcast } from "./faceFns-f8AWRrzK.js";
7
- import { a as fuse, f as collectInputFaceHashes, h as propagateMetadataByHash, i as cutAll, m as propagateAllMetadata, n as copyAsBooleanResult, o as fuseAll, r as cut } from "./booleanFns-BuxgJmu2.js";
8
- import { a as isSameShape } from "./shapeFns-D6-l0Nwn.js";
6
+ import { y as downcast } from "./faceFns-Dz3eRgNR.js";
7
+ import { a as fuse, f as collectInputFaceHashes, h as propagateMetadataByHash, i as cutAll, m as propagateAllMetadata, n as copyAsBooleanResult, o as fuseAll, r as cut } from "./booleanFns-aGRfk4ud.js";
8
+ import { a as isSameShape } from "./shapeFns-CHsoXWeu.js";
9
9
  import { t as firstOrThrow } from "./arrayAccess-BpgouNir.js";
10
- import { i as facesOfEdge } from "./adjacencyFns-Ce4lxSWp.js";
10
+ import { i as facesOfEdge } from "./adjacencyFns-XdjXKCXE.js";
11
11
  // src/topology/threeHelpers.ts
12
12
  /**
13
13
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_occtWasmAdapter = require("./occtWasmAdapter-4YnvqZOW.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
5
5
  const require_constants = require("./constants-oee0S_x6.cjs");
6
- const require_faceFns = require("./faceFns-C_iC_WkC.cjs");
7
- const require_booleanFns = require("./booleanFns-CQIepT9X.cjs");
8
- const require_shapeFns = require("./shapeFns-Dr_0yhYg.cjs");
6
+ const require_faceFns = require("./faceFns-DfEUZlnf.cjs");
7
+ const require_booleanFns = require("./booleanFns-BhW5eybV.cjs");
8
+ const require_shapeFns = require("./shapeFns-C9P1KmqH.cjs");
9
9
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-DjblerpV.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-B1ZWTkxw.cjs");
11
11
  // src/topology/threeHelpers.ts
12
12
  /**
13
13
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
- const require_faceFns = require("./faceFns-C_iC_WkC.cjs");
7
- const require_shapeFns = require("./shapeFns-Dr_0yhYg.cjs");
8
- const require_curveFns = require("./curveFns-DkG5mlUj.cjs");
9
- const require_measureFns = require("./measureFns-9aeYKFiR.cjs");
6
+ const require_faceFns = require("./faceFns-DfEUZlnf.cjs");
7
+ const require_shapeFns = require("./shapeFns-C9P1KmqH.cjs");
8
+ const require_curveFns = require("./curveFns-Dz36SOE6.cjs");
9
+ const require_measureFns = require("./measureFns-CmKNZ0gC.cjs");
10
10
  // src/utils/vec2d.ts
11
11
  /** Precision for curve intersection and parameter operations. */
12
12
  var PRECISION_INTERSECTION = 1e-9;
@@ -1,12 +1,12 @@
1
- import { q as getKernel, y as isFace } from "./shapeTypes-CSWkqhe9.js";
1
+ import { q as getKernel, y as isFace } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { E as ok, g as err, o as queryError, x as isOk } from "./errors-BTccWbtE.js";
3
- import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-D8Du44mm.js";
3
+ import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-SINsBrMe.js";
4
4
  import { t as DEG2RAD } from "./constants-iraOnb2p.js";
5
5
  import { a as vecDot, d as vecNormalize } from "./vecOps-S-m9H_fe.js";
6
- import { l as normalAt, s as getSurfaceType } from "./faceFns-f8AWRrzK.js";
7
- import { a as isSameShape, n as getHashCode } from "./shapeFns-D6-l0Nwn.js";
8
- import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-CQtl1RzI.js";
9
- import { r as measureArea } from "./measureFns-9GzKgCdl.js";
6
+ import { l as normalAt, s as getSurfaceType } from "./faceFns-Dz3eRgNR.js";
7
+ import { a as isSameShape, n as getHashCode } from "./shapeFns-CHsoXWeu.js";
8
+ import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-Cnh0Hljx.js";
9
+ import { r as measureArea } from "./measureFns-6mHYvqUc.js";
10
10
  // src/utils/vec2d.ts
11
11
  /** Precision for curve intersection and parameter operations. */
12
12
  var PRECISION_INTERSECTION = 1e-9;
@@ -1,12 +1,12 @@
1
- import { C as isSolid, G as _usingCtx, S as isShell, _ as isCompound, n as castResultShape, q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { C as isSolid, G as _usingCtx, S as isShell, _ as isCompound, n as castResultShape, q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { i as wasmIndex, r as vec3At$1 } from "./bug-ClMTAJhe.js";
3
3
  import { E as ok, g as err, r as ioError, t as BrepErrorCode } from "./errors-BTccWbtE.js";
4
- import { S as subShapeCount, c as getFaces, u as getShells } from "./topologyQueryFns-D8Du44mm.js";
4
+ import { S as subShapeCount, c as getFaces, u as getShells } from "./topologyQueryFns-SINsBrMe.js";
5
5
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
6
- import { t as makeCompound } from "./solidBuilders-CQ1oQdBY.js";
7
- import { u as igesUnsupportedError } from "./meshFns-un9EDg7X.js";
6
+ import { t as makeCompound } from "./solidBuilders-DMfqtfIG.js";
7
+ import { u as igesUnsupportedError } from "./meshFns-D29JHTr6.js";
8
8
  import { n as getAtOrThrow } from "./arrayAccess-BpgouNir.js";
9
- import { c as make2dBezierCurve, h as make2dThreePointArc, p as make2dSegmentCurve, t as Blueprint } from "./blueprint-CeIbNzdp.js";
9
+ import { c as make2dBezierCurve, h as make2dThreePointArc, p as make2dSegmentCurve, t as Blueprint } from "./blueprint-WAucCqwY.js";
10
10
  // src/io/objExportFns.ts
11
11
  /** Read a vec3 from a typed array at the given vertex index. */
12
12
  function vec3At(arr, i) {
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
5
5
  const require_constants = require("./constants-oee0S_x6.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DIlNbnwK.cjs");
7
- const require_meshFns = require("./meshFns-BwsjspzI.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-CETSjBW2.cjs");
7
+ const require_meshFns = require("./meshFns-BFgQZGty.cjs");
8
8
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
9
- const require_blueprint = require("./blueprint-D4YxCDeX.cjs");
9
+ const require_blueprint = require("./blueprint-DzhzGFy2.cjs");
10
10
  // src/io/objExportFns.ts
11
11
  /** Read a vec3 from a typed array at the given vertex index. */
12
12
  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-BwsjspzI.cjs");
3
- const require_importFns = require("./importFns-Kr02P3cy.cjs");
2
+ const require_meshFns = require("./meshFns-BFgQZGty.cjs");
3
+ const require_importFns = require("./importFns-Sp5phi5Y.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-un9EDg7X.js";
2
- import { a as exportSTEPConfigured, c as exportThreeMF, d as exportGlb, f as exportGltf, l as blueprintToDXF, n as importSTEP, o as importSVG, p as exportOBJ, r as importSTL, s as importSVGPathD, t as importIGES, u as exportDXF } from "./importFns-D8U3wLhV.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-D29JHTr6.js";
2
+ import { a as exportSTEPConfigured, c as exportThreeMF, d as exportGlb, f as exportGltf, l as blueprintToDXF, n as importSTEP, o as importSVG, p as exportOBJ, r as importSTL, s as importSVGPathD, t as importIGES, u as exportDXF } from "./importFns-BVcmm3T0.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -2,7 +2,7 @@
2
2
  * Type-safe interface for the brepkit WASM kernel (`BrepKernel`).
3
3
  *
4
4
  * AUTO-GENERATED by `npm run sync:brepkit-types`.
5
- * Synced against `brepkit-wasm@3.0.0`.
5
+ * Synced against `brepkit-wasm@4.6.7`.
6
6
  *
7
7
  * Methods not yet referenced in the adapter layer are tagged `@unwired`.
8
8
  *
@@ -82,19 +82,12 @@ export interface BrepkitKernel {
82
82
  addHolesToFace(face: number, holeWireHandles: Uint32Array | number[]): number;
83
83
  removeHolesFromFace(face: number): number;
84
84
  reverseShape(id: number): number;
85
+ /** @unwired */
85
86
  fuse(a: number, b: number): number;
87
+ /** @unwired */
86
88
  cut(a: number, b: number): number;
89
+ /** @unwired */
87
90
  intersect(a: number, b: number): number;
88
- /** brepkit-wasm >= 3.2: boolean with post-processing (simplify = unify co-surface fragments). */
89
- fuseWithOptions?(a: number, b: number, simplify: boolean): number;
90
- cutWithOptions?(a: number, b: number, simplify: boolean): number;
91
- intersectWithOptions?(a: number, b: number, simplify: boolean): number;
92
- /**
93
- * brepkit-wasm >= 3.2: process-wide count of booleans that used the mesh
94
- * (co-refinement) fallback. Snapshot around a chain; growth means at least
95
- * one approximate, possibly non-watertight result.
96
- */
97
- meshFallbackCount?(): number;
98
91
  compoundCut(target: number, toolIds: Uint32Array | number[]): number;
99
92
  convexHull(coords: Float64Array | number[]): number;
100
93
  section(solid: number, px: number, py: number, pz: number, nx: number, ny: number, nz: number): Uint32Array;
@@ -116,6 +109,7 @@ export interface BrepkitKernel {
116
109
  fillet(solid: number, edgeHandles: Uint32Array | number[], radius: number): number;
117
110
  /** @unwired */
118
111
  filletV2(solid: number, edgeHandles: Uint32Array | number[], radius: number): number;
112
+ /** @unwired */
119
113
  filletVariable(solid: number, json: string): number;
120
114
  chamfer(solid: number, edgeHandles: Uint32Array | number[], distance: number): number;
121
115
  chamferV2(solid: number, edgeHandles: Uint32Array | number[], d1: number, d2: number): number;
@@ -302,46 +296,54 @@ export interface BrepkitKernel {
302
296
  /** @unwired */
303
297
  convertToElementary(solid: number): number;
304
298
  copyFace(face: number): number;
299
+ cutWithOptions(a: number, b: number, simplify: boolean): number;
305
300
  /** @unwired */
306
301
  deserializeSolid(data: Uint8Array): number;
307
302
  /** @unwired */
308
303
  detectCoincidentFaces(a: number, b: number): string;
309
304
  /** @unwired */
310
305
  filletWithEvolution(solid: number, edgeHandles: Uint32Array | number[], radius: number): string;
311
- /** @unwired */
312
306
  fuseAll(solidHandles: Uint32Array | number[]): number;
307
+ fuseWithOptions(a: number, b: number, simplify: boolean): number;
313
308
  getNurbsCurveData(edge: number): string;
309
+ getNurbsSurfaceDataParity(face: number): string;
314
310
  /** @unwired */
315
311
  getNurbsSurfaceData(face: number): string;
316
- getNurbsSurfaceDataParity(face: number): string;
312
+ /** @unwired */
313
+ getSolidPieces(solid: number): Uint32Array;
317
314
  getSolidShells(solid: number): Uint32Array;
318
315
  /** @unwired */
319
316
  guidedSweep(face: number, spineDegree: number, spineKnots: Float64Array | number[], spineControlPoints: Float64Array | number[], spineWeights: Float64Array | number[], auxDegree: number, auxKnots: Float64Array | number[], auxControlPoints: Float64Array | number[], auxWeights: Float64Array | number[]): number;
320
- makeCircleEdge(cx: number, cy: number, cz: number, nx: number, ny: number, nz: number, radius: number): number;
317
+ intersectWithOptions(a: number, b: number, simplify: boolean): number;
321
318
  /** @unwired */
322
319
  makeCircleEdgeWithRef(cx: number, cy: number, cz: number, nx: number, ny: number, nz: number, radius: number, rx: number, ry: number, rz: number): number;
320
+ makeCircleEdge(cx: number, cy: number, cz: number, nx: number, ny: number, nz: number, radius: number): number;
323
321
  makeEllipseArc3d(startX: number, startY: number, startZ: number, endX: number, endY: number, endZ: number, centerX: number, centerY: number, centerZ: number, axisX: number, axisY: number, axisZ: number, refX: number, refY: number, refZ: number, semiMajor: number, semiMinor: number): number;
324
- makeEllipseEdge(cx: number, cy: number, cz: number, nx: number, ny: number, nz: number, semiMajor: number, semiMinor: number): number;
325
322
  makeEllipseEdgeWithRef(cx: number, cy: number, cz: number, nx: number, ny: number, nz: number, semiMajor: number, semiMinor: number, rx: number, ry: number, rz: number): number;
323
+ makeEllipseEdge(cx: number, cy: number, cz: number, nx: number, ny: number, nz: number, semiMajor: number, semiMinor: number): number;
326
324
  makePlanarFaceFromWire(wire: number): number;
327
325
  /** @unwired */
326
+ meshFallbackCount(): number;
327
+ /** @unwired */
328
328
  minkowskiSum(solidA: number, solidB: number): number;
329
329
  /** @unwired */
330
330
  multiSectionSweep(faceHandles: Uint32Array | number[], params: Float64Array | number[], spineDegree: number, spineKnots: Float64Array | number[], spineControlPoints: Float64Array | number[], spineWeights: Float64Array | number[], ruled: boolean): number;
331
331
  offsetWire2DWithJoin(wire: number, distance: number, joinType: string): number;
332
332
  projectEdges(solid: number, originX: number, originY: number, originZ: number, dirX: number, dirY: number, dirZ: number, xAxisX: number, xAxisY: number, xAxisZ: number, hiddenLines: boolean, deflection: number): string;
333
333
  /** @unwired */
334
+ projectSolidsEdges(solids: Uint32Array | number[], originX: number, originY: number, originZ: number, dirX: number, dirY: number, dirZ: number, xAxisX: number, xAxisY: number, xAxisZ: number, hiddenLines: boolean, deflection: number): string;
335
+ /** @unwired */
334
336
  serializeSolid(solid: number): Uint8Array;
335
337
  /** @unwired */
336
338
  sketchAddCircle(sketch: number, centerIdx: number, radius: number): number;
337
339
  /** @unwired */
338
340
  toBrepJson(solid: number): string;
339
341
  transformFace(face: number, matrix: Float64Array | number[]): void;
340
- /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
342
+ /** @future Not in brepkit-wasm 4.6.7. Referenced with feature detection in adapter. */
341
343
  copyEdge?(edge: number): number;
342
- /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
344
+ /** @future Not in brepkit-wasm 4.6.7. Referenced with feature detection in adapter. */
343
345
  transformEdge?(edge: number, matrix: Float64Array | number[]): void;
344
- /** @future Not in brepkit-wasm 3.0.0. Referenced with feature detection in adapter. */
346
+ /** @future Not in brepkit-wasm 4.6.7. Referenced with feature detection in adapter. */
345
347
  validateSolidDetails?(solid: number): string;
346
348
  /** Release the entire arena. */
347
349
  free(): void;
@@ -54,11 +54,25 @@ export declare function unwrapSolidsForExport(bk: BrepkitKernel, shape: KernelSh
54
54
  /** Euclidean distance between two 3D points. */
55
55
  export declare function dist3(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): number;
56
56
  type Point = [number, number, number];
57
+ interface ConicFrame {
58
+ readonly center: Point;
59
+ readonly u: Point;
60
+ readonly v: Point;
61
+ }
62
+ /**
63
+ * The frame of an analytic circle or ellipse edge, evaluated at t as
64
+ * center + U·cos t + V·sin t, recovered from its points at 0, π/2 and π.
65
+ * A NURBS edge that happens to be a circle reports CIRCLE too but runs over
66
+ * its knots, so it gets no frame; only an analytic edge has no NURBS data.
67
+ */
68
+ export declare function conicFrame(bk: BrepkitKernel, edgeId: number): ConicFrame | undefined;
69
+ export declare function edgeEnds(bk: BrepkitKernel, edgeId: number): [Point, Point];
57
70
  /**
58
- * The curve parameters an edge spans. brepkit reports a circle or ellipse edge's
59
- * domain as the whole [0, 2π] even for an arc; the arc runs counterclockwise
60
- * about the curve's axis from the angle of its start vertex to that of its end
61
- * vertex (brepkit's own `circle_param_range`), angles read off the curve's frame.
71
+ * The curve parameters an edge spans. brepkit before 4.5.10 reports a circle or
72
+ * ellipse edge's domain as the whole [0, 2π] even for an arc, so an arc's span
73
+ * is read off the curve's frame on every kernel: it runs counterclockwise about
74
+ * the curve's axis from the angle of its start vertex to that of its end vertex
75
+ * (brepkit's own `circle_param_range`).
62
76
  */
63
77
  export declare function edgeParamRange(bk: BrepkitKernel, edgeId: number): [number, number];
64
78
  /**
@@ -89,6 +103,13 @@ export declare const DEFAULT_SEGMENTS = 32;
89
103
  export declare function nextSyntheticId(): number;
90
104
  /** JS-side storage for compound children (wires, faces, edges). */
91
105
  export declare const syntheticCompounds: Map<number, BrepkitHandle[]>;
106
+ /** A solid's piece ids, from `split` the first time they are asked for. */
107
+ export declare function cachedSolidPieces(bk: BrepkitKernel, solidId: number, split: () => readonly number[]): readonly number[];
108
+ /**
109
+ * Forget one solid's pieces after the kernel changes it in place, or every
110
+ * solid's after the arena rolls back and its ids can name new entities.
111
+ */
112
+ export declare function forgetSolidPieces(bk: BrepkitKernel, solidId?: number): void;
92
113
  /** Emit a console.warn once per key per session. */
93
114
  export declare function warnOnce(key: string, message: string): void;
94
115
  /** Check if a BooleanOptions object sets an option brepkit still ignores. */
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_occtWasmAdapter = require("./occtWasmAdapter-4YnvqZOW.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
4
  const require_types = require("./types-CjF9Rofr.cjs");
@@ -1,4 +1,4 @@
1
- import { G as _usingCtx, T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CSWkqhe9.js";
1
+ import { G as _usingCtx, T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { j as isUnsupportedKernelOperationError } from "./occtWasmAdapter-CGsnjMOe.js";
3
3
  import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode, u as unsupportedError } from "./errors-BTccWbtE.js";
4
4
  import { r as toVec3 } from "./types-CKXsIm9-.js";
@@ -1,8 +1,8 @@
1
- import { q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { j as isUnsupportedKernelOperationError } from "./occtWasmAdapter-CGsnjMOe.js";
3
3
  import { E as ok, d as validationError, g as err, t as BrepErrorCode, u as unsupportedError } from "./errors-BTccWbtE.js";
4
- import { E as kernelCallRaw } from "./topologyQueryFns-D8Du44mm.js";
5
- import { m as uvBounds } from "./faceFns-f8AWRrzK.js";
4
+ import { E as kernelCallRaw } from "./topologyQueryFns-SINsBrMe.js";
5
+ import { m as uvBounds } from "./faceFns-Dz3eRgNR.js";
6
6
  // src/measurement/measureCache.ts
7
7
  var cache = /* @__PURE__ */ new WeakMap();
8
8
  function getCachedMeasurement(shape, key) {
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_occtWasmAdapter = require("./occtWasmAdapter-4YnvqZOW.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
5
- const require_faceFns = require("./faceFns-C_iC_WkC.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
5
+ const require_faceFns = require("./faceFns-DfEUZlnf.cjs");
6
6
  // src/measurement/measureCache.ts
7
7
  var cache = /* @__PURE__ */ new WeakMap();
8
8
  function getCachedMeasurement(shape, key) {
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-9aeYKFiR.cjs");
3
- const require_principalBoxFns = require("./principalBoxFns-CQZRNYI3.cjs");
2
+ const require_measureFns = require("./measureFns-CmKNZ0gC.cjs");
3
+ const require_principalBoxFns = require("./principalBoxFns-KvlaTxMs.cjs");
4
4
  exports.createDistanceQuery = require_measureFns.createDistanceQuery;
5
5
  exports.measureArea = require_measureFns.measureArea;
6
6
  exports.measureDistance = require_measureFns.measureDistance;
@@ -1,3 +1,3 @@
1
- import { c as measureLength, d as measureVolume, f as measureVolumeProps, l as measureLinearProps, o as measureDistance, r as measureArea, s as measureDistanceProps, t as createDistanceQuery, u as measureSurfaceProps } from "./measureFns-9GzKgCdl.js";
2
- import { t as principalBoundingBox } from "./principalBoxFns-DQytdykp.js";
1
+ import { c as measureLength, d as measureVolume, f as measureVolumeProps, l as measureLinearProps, o as measureDistance, r as measureArea, s as measureDistanceProps, t as createDistanceQuery, u as measureSurfaceProps } from "./measureFns-6mHYvqUc.js";
2
+ import { t as principalBoundingBox } from "./principalBoxFns-CTVc4f8W.js";
3
3
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps, principalBoundingBox };
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_occtWasmAdapter = require("./occtWasmAdapter-4YnvqZOW.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
5
- const require_solidBuilders = require("./solidBuilders-DIlNbnwK.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-CETSjBW2.cjs");
6
6
  // src/topology/meshCache.ts
7
7
  /**
8
8
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,8 +1,8 @@
1
- import { q as getKernel, ut as qualityDeflection } from "./shapeTypes-CSWkqhe9.js";
1
+ import { q as getKernel, ut as qualityDeflection } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { j as isUnsupportedKernelOperationError } from "./occtWasmAdapter-CGsnjMOe.js";
3
3
  import { E as ok, g as err, r as ioError, t as BrepErrorCode, u as unsupportedError } from "./errors-BTccWbtE.js";
4
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-D8Du44mm.js";
5
- import { d as getFaceOrigins } from "./solidBuilders-CQ1oQdBY.js";
4
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-SINsBrMe.js";
5
+ import { d as getFaceOrigins } from "./solidBuilders-DMfqtfIG.js";
6
6
  // src/topology/meshCache.ts
7
7
  /**
8
8
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-srKixiXB.cjs");
3
- const require_loftFns = require("./loftFns-CVk6mzZj.cjs");
2
+ const require_threadFns = require("./threadFns-BEopBSv3.cjs");
3
+ const require_loftFns = require("./loftFns-BoGWrMPg.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 walkAssembly, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as countNodes, H as circularPattern, I as createAssemblyNode, L as findNode, M as sphericalJoint, N as addChild, O as prismaticJoint, P as collectShapes, R as removeChild, S as addJoint, T as jointTransform, U as gridPattern, V as exportAssemblySTEP, W as linearPattern, Y as createAssembly, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, 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 updateNode } from "./threadFns-D9m_ywSR.js";
2
- import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-MN9TgyG4.js";
1
+ import { A as setJointValue, B as walkAssembly, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as countNodes, H as circularPattern, I as createAssemblyNode, L as findNode, M as sphericalJoint, N as addChild, O as prismaticJoint, P as collectShapes, R as removeChild, S as addJoint, T as jointTransform, U as gridPattern, V as exportAssemblySTEP, W as linearPattern, Y as createAssembly, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, 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 updateNode } from "./threadFns-DveRUJwK.js";
2
+ import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-oH6dldzO.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,11 +1,11 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_validityTypes = require("./validityTypes-BkX2hYwP.cjs");
3
+ const require_validityTypes = require("./validityTypes-DPAkV5rC.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DIlNbnwK.cjs");
7
- const require_booleanFns = require("./booleanFns-CQIepT9X.cjs");
8
- const require_surfaceBuilders = require("./surfaceBuilders-BV-QYvCL.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-CETSjBW2.cjs");
7
+ const require_booleanFns = require("./booleanFns-BhW5eybV.cjs");
8
+ const require_surfaceBuilders = require("./surfaceBuilders-vKXtKSqY.cjs");
9
9
  // src/topology/transformFns.ts
10
10
  /**
11
11
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,11 +1,11 @@
1
- import { E as GeometryCleanupError, G as _usingCtx, d as createSolid, n as castResultShape, q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { E as GeometryCleanupError, G as _usingCtx, d as createSolid, n as castResultShape, q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { E as ok, d as validationError, g as err, m as andThen, t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { n as isClosedWire } from "./validityTypes-DSzSU07u.js";
3
+ import { n as isClosedWire } from "./validityTypes-BCZ8XRzO.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-iraOnb2p.js";
5
5
  import { d as vecNormalize, h as vecScale } from "./vecOps-S-m9H_fe.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-CQ1oQdBY.js";
7
- import { f as collectInputFaceHashes, g as propagateMetadataThroughRelocation, h as propagateMetadataByHash, m as propagateAllMetadata, p as hasAnyMetadata } from "./booleanFns-BuxgJmu2.js";
8
- 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-ZW6W8S1a.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-DMfqtfIG.js";
7
+ import { f as collectInputFaceHashes, g as propagateMetadataThroughRelocation, h as propagateMetadataByHash, m as propagateAllMetadata, p as hasAnyMetadata } from "./booleanFns-aGRfk4ud.js";
8
+ 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-BeHgAqDx.js";
9
9
  // src/topology/transformFns.ts
10
10
  /**
11
11
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,9 +1,9 @@
1
- import { G as _usingCtx, n as castResultShape, q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { G as _usingCtx, n as castResultShape, q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { i as wasmIndex } from "./bug-ClMTAJhe.js";
3
3
  import { E as ok, d as validationError, g as err, t as BrepErrorCode, u as unsupportedError } from "./errors-BTccWbtE.js";
4
- import { E as kernelCallRaw } from "./topologyQueryFns-D8Du44mm.js";
4
+ import { E as kernelCallRaw } from "./topologyQueryFns-SINsBrMe.js";
5
5
  import { r as vecCross } from "./vecOps-S-m9H_fe.js";
6
- import { g as setCachedMeasurement, h as getCachedMeasurement, m as withSubShapes, p as withCompoundOf } from "./measureFns-9GzKgCdl.js";
6
+ import { g as setCachedMeasurement, h as getCachedMeasurement, m as withSubShapes, p as withCompoundOf } from "./measureFns-6mHYvqUc.js";
7
7
  // src/measurement/principalBoxFns.ts
8
8
  /**
9
9
  * Principal-axes bounding box: a solid's extent measured in the frame of its
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
- const require_measureFns = require("./measureFns-9aeYKFiR.cjs");
6
+ const require_measureFns = require("./measureFns-CmKNZ0gC.cjs");
7
7
  // src/measurement/principalBoxFns.ts
8
8
  /**
9
9
  * Principal-axes bounding box: a solid's extent measured in the frame of its
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-DL3zo3ol.cjs");
2
+ const require_cameraFns = require("./cameraFns-DhgM5-Nl.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 +1 @@
1
- export { o as PROJECTION_PLANES, t as cameraFromPlane, n as cameraLookAt, r as createCamera, s as isProjectionPlane, a as makeProjectedEdges, i as projectEdges } from "./cameraFns-s8km1l0J.js";
1
+ export { o as PROJECTION_PLANES, t as cameraFromPlane, n as cameraLookAt, r as createCamera, s as isProjectionPlane, a as makeProjectedEdges, i as projectEdges } from "./cameraFns-CBc6tpRl.js";
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-m-lbbfaz.cjs");
3
- const require_cornerFinder = require("./cornerFinder-uPZDWiyt.cjs");
2
+ const require_helpers = require("./helpers-C0MoldOO.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-xI6O0ZCv.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-COdYBjWD.js";
2
- import { t as cornerFinder } from "./cornerFinder-D7P4vdaD.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-D3oo0Zfs.js";
2
+ import { t as cornerFinder } from "./cornerFinder-ChkO3EOO.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
3
- const require_faceFns = require("./faceFns-C_iC_WkC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
3
+ const require_faceFns = require("./faceFns-DfEUZlnf.cjs");
4
4
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
5
- const require_shapeFns = require("./shapeFns-Dr_0yhYg.cjs");
6
- const require_measureFns = require("./measureFns-9aeYKFiR.cjs");
7
- const require_adjacencyFns = require("./adjacencyFns-DjblerpV.cjs");
5
+ const require_shapeFns = require("./shapeFns-C9P1KmqH.cjs");
6
+ const require_measureFns = require("./measureFns-CmKNZ0gC.cjs");
7
+ const require_adjacencyFns = require("./adjacencyFns-B1ZWTkxw.cjs");
8
8
  // src/topology/shapeRef/scoring.ts
9
9
  /**
10
10
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,10 +1,10 @@
1
- import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-CSWkqhe9.js";
2
- import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-D8Du44mm.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-f8AWRrzK.js";
1
+ import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
+ import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-SINsBrMe.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-Dz3eRgNR.js";
4
4
  import { t as getFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
5
- import { n as getHashCode } from "./shapeFns-D6-l0Nwn.js";
6
- import { c as measureLength, r as measureArea } from "./measureFns-9GzKgCdl.js";
7
- import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-Ce4lxSWp.js";
5
+ import { n as getHashCode } from "./shapeFns-CHsoXWeu.js";
6
+ import { c as measureLength, r as measureArea } from "./measureFns-6mHYvqUc.js";
7
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-XdjXKCXE.js";
8
8
  // src/topology/shapeRef/scoring.ts
9
9
  /**
10
10
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  // src/topology/shapeFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-D8Du44mm.js";
3
+ import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-SINsBrMe.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  // src/topology/shapeFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_refResolveFns = require("./refResolveFns-DNnNqpyn.cjs");
2
+ const require_refResolveFns = require("./refResolveFns-BFws5K2t.cjs");
3
3
  exports.assignRoles = require_refResolveFns.assignRoles;
4
4
  exports.captureHint = require_refResolveFns.captureHint;
5
5
  exports.createDerivedFaceRef = require_refResolveFns.createDerivedFaceRef;
package/dist/shapeRef.js CHANGED
@@ -1 +1 @@
1
- export { h as assignRoles, g as captureHint, l as createDerivedFaceRef, p as createEdgeRef, _ as createRef, d as createVertexRef, b as defaultScorer, t as isDerivedFaceRef, n as isEdgeRef, r as isFaceRef, i as isLineageRef, a as isVertexRef, u as resolveDerivedFaceRef, m as resolveEdgeRef, o as resolveLineageRef, v as resolveRef, s as resolveRefIn, c as resolveRefParams, f as resolveVertexRef, y as updateRoles } from "./refResolveFns-CpPBZkjT.js";
1
+ export { h as assignRoles, g as captureHint, l as createDerivedFaceRef, p as createEdgeRef, _ as createRef, d as createVertexRef, b as defaultScorer, t as isDerivedFaceRef, n as isEdgeRef, r as isFaceRef, i as isLineageRef, a as isVertexRef, u as resolveDerivedFaceRef, m as resolveEdgeRef, o as resolveLineageRef, v as resolveRef, s as resolveRefIn, c as resolveRefParams, f as resolveVertexRef, y as updateRoles } from "./refResolveFns-DZoPfglj.js";