brepjs 20.11.1 → 20.11.2

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 (89) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-CS62XPcQ.cjs → adjacencyFns-ChCZyiBA.cjs} +3 -3
  4. package/dist/{adjacencyFns-DG9R99LR.js → adjacencyFns-Cu9Zjjsv.js} +3 -3
  5. package/dist/{blueprint-B8tYa1RE.js → blueprint-CHmxRlJw.js} +5 -5
  6. package/dist/{blueprint-YK9OBMxh.cjs → blueprint-DxAD4jsT.cjs} +5 -5
  7. package/dist/{blueprintFns-DDiWI0Ol.cjs → blueprintFns-BxEYPNV5.cjs} +2 -2
  8. package/dist/{blueprintFns-C0x5vPm-.js → blueprintFns-CVjTOusS.js} +2 -2
  9. package/dist/{blueprintSketcher-DcyidOGa.js → blueprintSketcher-BECQIPIt.js} +3 -3
  10. package/dist/{blueprintSketcher-7v6ufdam.cjs → blueprintSketcher-Cy1atQHR.cjs} +3 -3
  11. package/dist/{boolean2D-DYAua9O_.js → boolean2D-Cf9l3KK0.js} +4 -4
  12. package/dist/{boolean2D-B21GheGE.cjs → boolean2D-DF0i9O9B.cjs} +4 -4
  13. package/dist/brepjs.cjs +30 -30
  14. package/dist/brepjs.js +30 -30
  15. package/dist/{cameraFns-CAjuoPKb.js → cameraFns-CkLHhFRs.js} +3 -3
  16. package/dist/{cameraFns-HpsMe1iL.cjs → cameraFns-nr0q89z5.cjs} +3 -3
  17. package/dist/core.cjs +2 -2
  18. package/dist/core.js +2 -2
  19. package/dist/{cornerFinder-DHg0ej_Q.js → cornerFinder-6S-UlbNA.js} +1 -1
  20. package/dist/{cornerFinder-DVHtBOzM.cjs → cornerFinder-CrceCNPv.cjs} +1 -1
  21. package/dist/{curveFns-DUSOe8uJ.cjs → curveFns-BBx04S8G.cjs} +1 -1
  22. package/dist/{curveFns-BdmSrGqT.js → curveFns-DdG-DkSs.js} +1 -1
  23. package/dist/{drawFns-Cy7P1Q-L.cjs → drawFns-COim8Ti4.cjs} +12 -12
  24. package/dist/{drawFns-X0cS9iAp.js → drawFns-Vb8LHeb-.js} +12 -12
  25. package/dist/{faceFns-DKEm5U-p.js → faceFns-3VaHLMb8.js} +2 -2
  26. package/dist/{faceFns-vVGf6osa.cjs → faceFns-DolWAvAu.cjs} +2 -2
  27. package/dist/{healingFns-CW0olP8u.cjs → healingFns-BZRF9VAs.cjs} +5 -5
  28. package/dist/{healingFns-C_3Zf9sr.js → healingFns-xog7HTv1.js} +5 -5
  29. package/dist/{helpers-CcZp3tLI.js → helpers-BhBnVALd.js} +6 -6
  30. package/dist/{helpers-BIpWypkW.cjs → helpers-BjVuQMLI.cjs} +6 -6
  31. package/dist/{importFns-Cfw7SIjn.js → importFns-BExUbyad.js} +2 -2
  32. package/dist/{importFns-D5wRI_Cc.cjs → importFns-Uz6iAurc.cjs} +2 -2
  33. package/dist/io.cjs +2 -2
  34. package/dist/io.js +2 -2
  35. package/dist/kernel/occtWasm/meshOps.d.ts +1 -1
  36. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  37. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  38. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +2 -1
  39. package/dist/{loftFns-DIsFP0VL.js → loftFns-B7rgdvke.js} +1 -1
  40. package/dist/{loftFns-tGsV_hHY.cjs → loftFns-nWtrZfoY.cjs} +1 -1
  41. package/dist/{measureFns-eCuwj0im.js → measureFns-AxoHtJ3J.js} +3 -3
  42. package/dist/{measureFns-BoNCUOKe.cjs → measureFns-eOGL04SI.cjs} +3 -3
  43. package/dist/measurement.cjs +2 -2
  44. package/dist/measurement.js +2 -2
  45. package/dist/{meshFns-0W1-80zv.cjs → meshFns-BhOC8SuD.cjs} +3 -3
  46. package/dist/{meshFns-B9jPfcB2.js → meshFns-C1nJQkWC.js} +3 -3
  47. package/dist/{occtWasmAdapter-CsDULjij.cjs → occtWasmAdapter-D1EXktNq.cjs} +5 -2
  48. package/dist/{occtWasmAdapter-ClvPe3OJ.js → occtWasmAdapter-RBm-JLoN.js} +5 -2
  49. package/dist/operations.cjs +2 -2
  50. package/dist/operations.js +2 -2
  51. package/dist/{originTrackingFns-BW2BaJW8.js → originTrackingFns-4z3sWvOD.js} +2 -2
  52. package/dist/{originTrackingFns-cEKFxtia.cjs → originTrackingFns-DRRVoZxG.cjs} +2 -2
  53. package/dist/{primitiveFns-BJ-ehvvd.cjs → primitiveFns-BdSDbmhs.cjs} +4 -4
  54. package/dist/{primitiveFns-BOZ7Kx0M.js → primitiveFns-D-5rBhH4.js} +4 -4
  55. package/dist/{principalBoxFns-B6PZwxDM.js → principalBoxFns-BeOAlafI.js} +3 -3
  56. package/dist/{principalBoxFns-B1j2sNAc.cjs → principalBoxFns-CY98NNKz.cjs} +3 -3
  57. package/dist/projection.cjs +1 -1
  58. package/dist/projection.js +1 -1
  59. package/dist/query.cjs +2 -2
  60. package/dist/query.js +2 -2
  61. package/dist/{refResolveFns-DvDeMCVU.cjs → refResolveFns--VMNo9vf.cjs} +6 -6
  62. package/dist/{refResolveFns-BxvibZPu.js → refResolveFns-DB8FIWrZ.js} +6 -6
  63. package/dist/{shapeFns-De7CbEeQ.js → shapeFns-BTfhLPET.js} +2 -2
  64. package/dist/{shapeFns-CJrIL2CG.cjs → shapeFns-CREKqmcG.cjs} +2 -2
  65. package/dist/shapeRef.cjs +1 -1
  66. package/dist/shapeRef.js +1 -1
  67. package/dist/{shapeTypes-BCy8JI0O.js → shapeTypes-Db3yAgTO.js} +1 -1
  68. package/dist/{shapeTypes-CNQn1x5H.cjs → shapeTypes-HDVHzNk1.cjs} +1 -1
  69. package/dist/sketching.cjs +3 -3
  70. package/dist/sketching.js +3 -3
  71. package/dist/{solidBuilders-BN1p303l.cjs → solidBuilders-BeanhIbq.cjs} +5 -5
  72. package/dist/{solidBuilders-YbLOfWIp.js → solidBuilders-CSg8AUaL.js} +5 -5
  73. package/dist/{surfaceBuilders-CaN-lye8.js → surfaceBuilders-4F0VrN1_.js} +3 -3
  74. package/dist/{surfaceBuilders-C5lz2TNF.cjs → surfaceBuilders-BdOO4OJU.cjs} +3 -3
  75. package/dist/text.cjs +2 -2
  76. package/dist/text.js +2 -2
  77. package/dist/{textBlueprints-jlqCGG4p.cjs → textBlueprints-0pLR2X5a.cjs} +7 -7
  78. package/dist/{textBlueprints-BlfIkOUx.js → textBlueprints-BpituhGG.js} +7 -7
  79. package/dist/{textMetrics-B2KxCoHk.cjs → textMetrics-BhIL6fpo.cjs} +1 -1
  80. package/dist/{textMetrics-BjhB4Zur.js → textMetrics-DmgaIDzF.js} +1 -1
  81. package/dist/{threadFns-DWMumhmK.js → threadFns-C54cXKrZ.js} +7 -7
  82. package/dist/{threadFns-DO9SkBPb.cjs → threadFns-LGRpYJea.cjs} +7 -7
  83. package/dist/topology.cjs +9 -9
  84. package/dist/topology.js +9 -9
  85. package/dist/{topologyQueryFns-BwhwOtxv.cjs → topologyQueryFns-BJ5U4AmO.cjs} +1 -1
  86. package/dist/{topologyQueryFns-Clkdolgd.js → topologyQueryFns-BYXQ2Kkn.js} +1 -1
  87. package/dist/{validityTypes-B_6gRPPO.cjs → validityTypes-C2l1ryPq.cjs} +1 -1
  88. package/dist/{validityTypes-txYFYYN6.js → validityTypes-ClsRW650.js} +1 -1
  89. package/package.json +1 -1
@@ -1,10 +1,10 @@
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-BCy8JI0O.js";
2
- import { k as isUnsupportedKernelOperationError, n as faultyEdgeIndexesOf } from "./occtWasmAdapter-ClvPe3OJ.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-Db3yAgTO.js";
2
+ import { k as isUnsupportedKernelOperationError, n as faultyEdgeIndexesOf } from "./occtWasmAdapter-RBm-JLoN.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-CUsZRWJ7.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-Clkdolgd.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-BYXQ2Kkn.js";
5
5
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
6
- import { y as downcast } from "./faceFns-DKEm5U-p.js";
7
- import { C as propagateAllMetadata, f as cut, h as fuseAll, m as fuse, p as cutAll, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-YbLOfWIp.js";
6
+ import { y as downcast } from "./faceFns-3VaHLMb8.js";
7
+ import { C as propagateAllMetadata, f as cut, h as fuseAll, m as fuse, p as cutAll, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-CSg8AUaL.js";
8
8
  import { t as firstOrThrow } from "./arrayAccess-BpgouNir.js";
9
9
  // src/topology/threeHelpers.ts
10
10
  /**
@@ -1,12 +1,12 @@
1
- import { q as getKernel, y as isFace } from "./shapeTypes-BCy8JI0O.js";
1
+ import { q as getKernel, y as isFace } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, g as err, o as queryError, x as isOk } from "./errors-CUsZRWJ7.js";
3
- import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Clkdolgd.js";
3
+ import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-BYXQ2Kkn.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-DKEm5U-p.js";
7
- import { a as isSameShape, n as getHashCode } from "./shapeFns-De7CbEeQ.js";
8
- import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-BdmSrGqT.js";
9
- import { n as measureArea } from "./measureFns-eCuwj0im.js";
6
+ import { l as normalAt, s as getSurfaceType } from "./faceFns-3VaHLMb8.js";
7
+ import { a as isSameShape, n as getHashCode } from "./shapeFns-BTfhLPET.js";
8
+ import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-DdG-DkSs.js";
9
+ import { n as measureArea } from "./measureFns-AxoHtJ3J.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
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.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-vVGf6osa.cjs");
7
- const require_shapeFns = require("./shapeFns-CJrIL2CG.cjs");
8
- const require_curveFns = require("./curveFns-DUSOe8uJ.cjs");
9
- const require_measureFns = require("./measureFns-BoNCUOKe.cjs");
6
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
7
+ const require_shapeFns = require("./shapeFns-CREKqmcG.cjs");
8
+ const require_curveFns = require("./curveFns-BBx04S8G.cjs");
9
+ const require_measureFns = require("./measureFns-eOGL04SI.cjs");
10
10
  // 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 { n as castResultShape, q as getKernel } from "./shapeTypes-BCy8JI0O.js";
1
+ import { n as castResultShape, q as getKernel } from "./shapeTypes-Db3yAgTO.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-CUsZRWJ7.js";
4
4
  import { n as getAtOrThrow } from "./arrayAccess-BpgouNir.js";
5
- import { c as make2dBezierCurve, h as make2dThreePointArc, p as make2dSegmentCurve, t as Blueprint } from "./blueprint-B8tYa1RE.js";
5
+ import { c as make2dBezierCurve, h as make2dThreePointArc, p as make2dSegmentCurve, t as Blueprint } from "./blueprint-CHmxRlJw.js";
6
6
  // 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-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  const require_errors = require("./errors-B9r_Dzs1.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
5
- const require_blueprint = require("./blueprint-YK9OBMxh.cjs");
5
+ const require_blueprint = require("./blueprint-DxAD4jsT.cjs");
6
6
  // 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-0W1-80zv.cjs");
3
- const require_importFns = require("./importFns-D5wRI_Cc.cjs");
2
+ const require_meshFns = require("./meshFns-BhOC8SuD.cjs");
3
+ const require_importFns = require("./importFns-Uz6iAurc.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-B9jPfcB2.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-Cfw7SIjn.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-C1nJQkWC.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-BExUbyad.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -1,6 +1,6 @@
1
1
  import { KernelEdgeMeshResult, KernelMeshResult, KernelShape, MeshOptions } from '../types.js';
2
2
  import { OcctKernelWasm, OcctWasmModule } from './occtWasmTypes.js';
3
3
  export declare function mesh(k: OcctKernelWasm, Module: OcctWasmModule, shape: KernelShape, options: MeshOptions): KernelMeshResult;
4
- export declare function meshEdges(k: OcctKernelWasm, Module: OcctWasmModule, shape: KernelShape, tolerance: number, _angularTolerance: number): KernelEdgeMeshResult;
4
+ export declare function meshEdges(k: OcctKernelWasm, Module: OcctWasmModule, shape: KernelShape, tolerance: number, angularTolerance: number): KernelEdgeMeshResult;
5
5
  export declare function hasTriangulation(k: OcctKernelWasm, shape: KernelShape): boolean;
6
6
  export declare function meshShape(k: OcctKernelWasm, shape: KernelShape, tolerance: number, angularTolerance: number): void;
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_occtWasmAdapter = require("../../occtWasmAdapter-CsDULjij.cjs");
2
+ const require_occtWasmAdapter = require("../../occtWasmAdapter-D1EXktNq.cjs");
3
3
  exports.OcctWasmAdapter = require_occtWasmAdapter.OcctWasmAdapter;
@@ -1 +1 @@
1
- export { t as OcctWasmAdapter } from "../../occtWasmAdapter-ClvPe3OJ.js";
1
+ export { t as OcctWasmAdapter } from "../../occtWasmAdapter-RBm-JLoN.js";
@@ -215,7 +215,8 @@ export interface OcctKernelWasm {
215
215
  iterShapes(id: number): EmVectorUint32;
216
216
  edgeToFaceMap(id: number, hashUpperBound: number): EmVectorInt;
217
217
  tessellate(id: number, linearDeflection: number, angularDeflection: number): EmMeshData;
218
- wireframe(id: number, deflection: number): EmEdgeData;
218
+ /** `source`: 0 samples each edge's curve, 1 reads the polygon the last mesh stored on it. */
219
+ wireframe(id: number, deflection: number, source: number): EmEdgeData;
219
220
  hasTriangulation(id: number): boolean;
220
221
  meshShape(id: number, linearDeflection: number, angularDeflection: number): EmMeshData;
221
222
  importStep(data: string): number;
@@ -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-BCy8JI0O.js";
1
+ import { G as _usingCtx, T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode } from "./errors-CUsZRWJ7.js";
3
3
  import { r as toVec3 } from "./types-CKXsIm9-.js";
4
4
  import { c as vecLength, t as vecAdd } from "./vecOps-S-m9H_fe.js";
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
3
  const require_types = require("./types-CjF9Rofr.cjs");
4
4
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
@@ -1,7 +1,7 @@
1
- import { q as getKernel } from "./shapeTypes-BCy8JI0O.js";
1
+ import { q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-CUsZRWJ7.js";
3
- import { E as kernelCallRaw } from "./topologyQueryFns-Clkdolgd.js";
4
- import { m as uvBounds } from "./faceFns-DKEm5U-p.js";
3
+ import { E as kernelCallRaw } from "./topologyQueryFns-BYXQ2Kkn.js";
4
+ import { m as uvBounds } from "./faceFns-3VaHLMb8.js";
5
5
  // src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
4
- const require_faceFns = require("./faceFns-vVGf6osa.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
4
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
5
5
  // src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-BoNCUOKe.cjs");
3
- const require_principalBoxFns = require("./principalBoxFns-B1j2sNAc.cjs");
2
+ const require_measureFns = require("./measureFns-eOGL04SI.cjs");
3
+ const require_principalBoxFns = require("./principalBoxFns-CY98NNKz.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 { 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-eCuwj0im.js";
2
- import { t as principalBoundingBox } from "./principalBoxFns-B6PZwxDM.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-AxoHtJ3J.js";
2
+ import { t as principalBoundingBox } from "./principalBoxFns-BeOAlafI.js";
3
3
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps, principalBoundingBox };
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
4
- const require_originTrackingFns = require("./originTrackingFns-cEKFxtia.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
4
+ const require_originTrackingFns = require("./originTrackingFns-DRRVoZxG.cjs");
5
5
  // 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 { q as getKernel, ut as qualityDeflection } from "./shapeTypes-BCy8JI0O.js";
1
+ import { q as getKernel, ut as qualityDeflection } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, g as err, r as ioError } from "./errors-CUsZRWJ7.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-Clkdolgd.js";
4
- import { t as getFaceOrigins } from "./originTrackingFns-BW2BaJW8.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-BYXQ2Kkn.js";
4
+ import { t as getFaceOrigins } from "./originTrackingFns-4z3sWvOD.js";
5
5
  // src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1891,8 +1891,11 @@ function pushPolylineSegments(heap, start, pointCount, out) {
1891
1891
  out.push(x0, y0, z0, x1, y1, z1);
1892
1892
  }
1893
1893
  }
1894
- function meshEdges(k, Module, shape, tolerance, _angularTolerance) {
1895
- const edgeData = k.wireframe(unwrap(shape), tolerance);
1894
+ var WIREFRAME_FROM_TRIANGULATION = 1;
1895
+ function meshEdges(k, Module, shape, tolerance, angularTolerance) {
1896
+ const id = unwrap(shape);
1897
+ if (!k.hasTriangulation(id)) meshShape(k, shape, tolerance, angularTolerance);
1898
+ const edgeData = k.wireframe(id, tolerance, WIREFRAME_FROM_TRIANGULATION);
1896
1899
  try {
1897
1900
  const heap = Module.HEAPF32;
1898
1901
  const ptr = edgeData.getPointsPtr() >> 2;
@@ -1891,8 +1891,11 @@ function pushPolylineSegments(heap, start, pointCount, out) {
1891
1891
  out.push(x0, y0, z0, x1, y1, z1);
1892
1892
  }
1893
1893
  }
1894
- function meshEdges(k, Module, shape, tolerance, _angularTolerance) {
1895
- const edgeData = k.wireframe(unwrap(shape), tolerance);
1894
+ var WIREFRAME_FROM_TRIANGULATION = 1;
1895
+ function meshEdges(k, Module, shape, tolerance, angularTolerance) {
1896
+ const id = unwrap(shape);
1897
+ if (!k.hasTriangulation(id)) meshShape(k, shape, tolerance, angularTolerance);
1898
+ const edgeData = k.wireframe(id, tolerance, WIREFRAME_FROM_TRIANGULATION);
1896
1899
  try {
1897
1900
  const heap = Module.HEAPF32;
1898
1901
  const ptr = edgeData.getPointsPtr() >> 2;
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-DO9SkBPb.cjs");
3
- const require_loftFns = require("./loftFns-tGsV_hHY.cjs");
2
+ const require_threadFns = require("./threadFns-LGRpYJea.cjs");
3
+ const require_loftFns = require("./loftFns-nWtrZfoY.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-DWMumhmK.js";
2
- import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-DIsFP0VL.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-C54cXKrZ.js";
2
+ import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-B7rgdvke.js";
3
3
  export { addChild, addJoint, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, cylindricalJoint, exportAssemblySTEP, exportURDF, findNode, findStep, forwardKinematics, getShape as getHistoryShape, gridPattern, importURDF, inverseKinematics, jointTrajectory, jointTransform, jointsFromDH, linearPattern, mechanismDOF, modifyStep, planarJoint, prismaticJoint, registerOperation, registerShape, removeChild, replayFrom, replayHistory, revoluteJoint, setJointValue, setJointValues, sphericalJoint, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,5 +1,5 @@
1
- import { q as getKernel } from "./shapeTypes-BCy8JI0O.js";
2
- import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-Clkdolgd.js";
1
+ import { q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
+ import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-BYXQ2Kkn.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
4
4
  // src/topology/metadata/originTrackingFns.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
3
3
  const require_constants = require("./constants-oee0S_x6.cjs");
4
4
  // src/topology/metadata/originTrackingFns.ts
5
5
  /**
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_validityTypes = require("./validityTypes-B_6gRPPO.cjs");
3
+ const require_validityTypes = require("./validityTypes-C2l1ryPq.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
- const require_solidBuilders = require("./solidBuilders-BN1p303l.cjs");
6
- const require_surfaceBuilders = require("./surfaceBuilders-C5lz2TNF.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-BeanhIbq.cjs");
6
+ const require_surfaceBuilders = require("./surfaceBuilders-BdOO4OJU.cjs");
7
7
  // src/topology/transformFns.ts
8
8
  /**
9
9
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,9 +1,9 @@
1
- import { E as GeometryCleanupError, G as _usingCtx, d as createSolid, n as castResultShape, q as getKernel } from "./shapeTypes-BCy8JI0O.js";
1
+ import { E as GeometryCleanupError, G as _usingCtx, d as createSolid, n as castResultShape, q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, d as validationError, g as err, m as andThen, t as BrepErrorCode } from "./errors-CUsZRWJ7.js";
3
- import { n as isClosedWire } from "./validityTypes-txYFYYN6.js";
3
+ import { n as isClosedWire } from "./validityTypes-ClsRW650.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-iraOnb2p.js";
5
- import { C as propagateAllMetadata, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-YbLOfWIp.js";
6
- import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-CaN-lye8.js";
5
+ import { C as propagateAllMetadata, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-CSg8AUaL.js";
6
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-4F0VrN1_.js";
7
7
  // src/topology/transformFns.ts
8
8
  /**
9
9
  * 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-BCy8JI0O.js";
1
+ import { G as _usingCtx, n as castResultShape, q as getKernel } from "./shapeTypes-Db3yAgTO.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-CUsZRWJ7.js";
4
- import { E as kernelCallRaw, S as subShapeCount } from "./topologyQueryFns-Clkdolgd.js";
4
+ import { E as kernelCallRaw, S as subShapeCount } from "./topologyQueryFns-BYXQ2Kkn.js";
5
5
  import { r as vecCross } from "./vecOps-S-m9H_fe.js";
6
- import { f as getCachedMeasurement, p as setCachedMeasurement } from "./measureFns-eCuwj0im.js";
6
+ import { f as getCachedMeasurement, p as setCachedMeasurement } from "./measureFns-AxoHtJ3J.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-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  const require_errors = require("./errors-B9r_Dzs1.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
- const require_measureFns = require("./measureFns-BoNCUOKe.cjs");
6
+ const require_measureFns = require("./measureFns-eOGL04SI.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-HpsMe1iL.cjs");
2
+ const require_cameraFns = require("./cameraFns-nr0q89z5.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-CAjuoPKb.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-CkLHhFRs.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-BIpWypkW.cjs");
3
- const require_cornerFinder = require("./cornerFinder-DVHtBOzM.cjs");
2
+ const require_helpers = require("./helpers-BjVuQMLI.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-CrceCNPv.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-CcZp3tLI.js";
2
- import { t as cornerFinder } from "./cornerFinder-DHg0ej_Q.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BhBnVALd.js";
2
+ import { t as cornerFinder } from "./cornerFinder-6S-UlbNA.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
3
- const require_faceFns = require("./faceFns-vVGf6osa.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
3
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
4
4
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
5
- const require_shapeFns = require("./shapeFns-CJrIL2CG.cjs");
6
- const require_measureFns = require("./measureFns-BoNCUOKe.cjs");
7
- const require_adjacencyFns = require("./adjacencyFns-CS62XPcQ.cjs");
5
+ const require_shapeFns = require("./shapeFns-CREKqmcG.cjs");
6
+ const require_measureFns = require("./measureFns-eOGL04SI.cjs");
7
+ const require_adjacencyFns = require("./adjacencyFns-ChCZyiBA.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-BCy8JI0O.js";
2
- import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-Clkdolgd.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-DKEm5U-p.js";
1
+ import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
+ import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-BYXQ2Kkn.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-3VaHLMb8.js";
4
4
  import { t as getFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
5
- import { n as getHashCode } from "./shapeFns-De7CbEeQ.js";
6
- import { n as measureArea, s as measureLength } from "./measureFns-eCuwj0im.js";
7
- import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-DG9R99LR.js";
5
+ import { n as getHashCode } from "./shapeFns-BTfhLPET.js";
6
+ import { n as measureArea, s as measureLength } from "./measureFns-AxoHtJ3J.js";
7
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-Cu9Zjjsv.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
- import { q as getKernel } from "./shapeTypes-BCy8JI0O.js";
1
+ import { q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { t as BrepErrorCode } from "./errors-CUsZRWJ7.js";
3
- import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-Clkdolgd.js";
3
+ import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-BYXQ2Kkn.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  // src/topology/shapeFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
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-DvDeMCVU.cjs");
2
+ const require_refResolveFns = require("./refResolveFns--VMNo9vf.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-BxvibZPu.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-DB8FIWrZ.js";
@@ -1,4 +1,4 @@
1
- import { C as scaleCurve2d$2, D as quickHull, E as translateCurve2d$2, M as OCCT_CAPABILITIES, O as UnsupportedKernelOperationError, S as rotateCurve2d$2, T as tangentCurve2d, _ as makeCircle2d$2, a as buildAsciiSTL, b as mirrorAcrossAxis, c as createBBox2d, d as deserializeCurve2d$2, f as evaluateCurve2d$2, g as makeBezier2d$2, h as makeArc2dThreePoints, i as DEFAULT_STL_TOLERANCE, j as EXACT_BREP_CAPABILITIES, k as isUnsupportedKernelOperationError, l as curveBounds, m as makeArc2dTangent, o as buildBinarySTL, p as intersectCurves2dFn, r as DEFAULT_STL_ANGULAR_TOLERANCE, s as addCurveToBBox, t as OcctWasmAdapter, u as curveTypeName, v as makeEllipse2d$2, w as serializeCurve2d$2, x as mirrorAtPoint, y as makeLine2d$2 } from "./occtWasmAdapter-ClvPe3OJ.js";
1
+ import { C as scaleCurve2d$2, D as quickHull, E as translateCurve2d$2, M as OCCT_CAPABILITIES, O as UnsupportedKernelOperationError, S as rotateCurve2d$2, T as tangentCurve2d, _ as makeCircle2d$2, a as buildAsciiSTL, b as mirrorAcrossAxis, c as createBBox2d, d as deserializeCurve2d$2, f as evaluateCurve2d$2, g as makeBezier2d$2, h as makeArc2dThreePoints, i as DEFAULT_STL_TOLERANCE, j as EXACT_BREP_CAPABILITIES, k as isUnsupportedKernelOperationError, l as curveBounds, m as makeArc2dTangent, o as buildBinarySTL, p as intersectCurves2dFn, r as DEFAULT_STL_ANGULAR_TOLERANCE, s as addCurveToBBox, t as OcctWasmAdapter, u as curveTypeName, v as makeEllipse2d$2, w as serializeCurve2d$2, x as mirrorAtPoint, y as makeLine2d$2 } from "./occtWasmAdapter-RBm-JLoN.js";
2
2
  import { i as wasmIndex, r as vec3At } from "./bug-ClMTAJhe.js";
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_occtWasmAdapter = require("./occtWasmAdapter-CsDULjij.cjs");
1
+ const require_occtWasmAdapter = require("./occtWasmAdapter-D1EXktNq.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_blueprintSketcher = require("./blueprintSketcher-7v6ufdam.cjs");
3
- const require_drawFns = require("./drawFns-Cy7P1Q-L.cjs");
4
- const require_textBlueprints = require("./textBlueprints-jlqCGG4p.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-Cy1atQHR.cjs");
3
+ const require_drawFns = require("./drawFns-COim8Ti4.cjs");
4
+ const require_textBlueprints = require("./textBlueprints-0pLR2X5a.cjs");
5
5
  // src/sketching.ts
6
6
  /**
7
7
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
package/dist/sketching.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-DcyidOGa.js";
2
- import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-X0cS9iAp.js";
3
- import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-BlfIkOUx.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-BECQIPIt.js";
2
+ import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-Vb8LHeb-.js";
3
+ import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-BpituhGG.js";
4
4
  // src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,14 +1,14 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BwhwOtxv.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJ5U4AmO.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
6
  const require_planeOps = require("./planeOps-C7sRqzno.cjs");
7
- const require_faceFns = require("./faceFns-vVGf6osa.cjs");
8
- const require_originTrackingFns = require("./originTrackingFns-cEKFxtia.cjs");
7
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
8
+ const require_originTrackingFns = require("./originTrackingFns-DRRVoZxG.cjs");
9
9
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
10
10
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
11
- const require_surfaceBuilders = require("./surfaceBuilders-C5lz2TNF.cjs");
11
+ const require_surfaceBuilders = require("./surfaceBuilders-BdOO4OJU.cjs");
12
12
  // src/topology/metadata/faceTagFns.ts
13
13
  var shapeTagStore = /* @__PURE__ */ new WeakMap();
14
14
  var tagMetadataStore = /* @__PURE__ */ new WeakMap();
@@ -1,14 +1,14 @@
1
- import { C as isSolid, D as getShapeKind, E as GeometryCleanupError, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-BCy8JI0O.js";
1
+ import { C as isSolid, D as getShapeKind, E as GeometryCleanupError, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, P as unwrap, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, m as andThen, t as BrepErrorCode } from "./errors-CUsZRWJ7.js";
3
- import { C as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Clkdolgd.js";
3
+ import { C as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-BYXQ2Kkn.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  import { a as vecDot, g as vecSub, h as vecScale, t as vecAdd } from "./vecOps-S-m9H_fe.js";
6
6
  import { o as resolvePlane } from "./planeOps-DgG0vHN7.js";
7
- import { _ as cast, y as downcast } from "./faceFns-DKEm5U-p.js";
8
- import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-BW2BaJW8.js";
7
+ import { _ as cast, y as downcast } from "./faceFns-3VaHLMb8.js";
8
+ import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-4z3sWvOD.js";
9
9
  import { n as hasFaceRoles, r as propagateFaceRolesFromEvolution } from "./faceRoleFns-BPxzQF-n.js";
10
10
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-BpgouNir.js";
11
- import { r as makeFace } from "./surfaceBuilders-CaN-lye8.js";
11
+ import { r as makeFace } from "./surfaceBuilders-4F0VrN1_.js";
12
12
  // src/topology/metadata/faceTagFns.ts
13
13
  var shapeTagStore = /* @__PURE__ */ new WeakMap();
14
14
  var tagMetadataStore = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-BCy8JI0O.js";
1
+ import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-CUsZRWJ7.js";
3
- import { a as isPlanarFace } from "./validityTypes-txYFYYN6.js";
4
- import { _ as cast, u as outerWire } from "./faceFns-DKEm5U-p.js";
3
+ import { a as isPlanarFace } from "./validityTypes-ClsRW650.js";
4
+ import { _ as cast, u as outerWire } from "./faceFns-3VaHLMb8.js";
5
5
  // src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  function range(len) {
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
2
  const require_errors = require("./errors-B9r_Dzs1.cjs");
3
- const require_validityTypes = require("./validityTypes-B_6gRPPO.cjs");
4
- const require_faceFns = require("./faceFns-vVGf6osa.cjs");
3
+ const require_validityTypes = require("./validityTypes-C2l1ryPq.cjs");
4
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
5
5
  // src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  function range(len) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-jlqCGG4p.cjs");
3
- const require_textMetrics = require("./textMetrics-B2KxCoHk.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-0pLR2X5a.cjs");
3
+ const require_textMetrics = require("./textMetrics-BhIL6fpo.cjs");
4
4
  exports.fontMetrics = require_textMetrics.fontMetrics;
5
5
  exports.getFont = require_textBlueprints.getFont;
6
6
  exports.loadFont = require_textBlueprints.loadFont;
package/dist/text.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BlfIkOUx.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-BjhB4Zur.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BpituhGG.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DmgaIDzF.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };