brepjs 20.11.0 → 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 (91) 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 +397 -76
  14. package/dist/brepjs.js +397 -76
  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-D_tBVKl2.js → importFns-BExUbyad.js} +48 -11
  32. package/dist/{importFns-DI3Q8B0Q.cjs → importFns-Uz6iAurc.cjs} +48 -11
  33. package/dist/io/dxfExportFns.d.ts +2 -2
  34. package/dist/io/dxfImportFns.d.ts +4 -2
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/occtWasm/meshOps.d.ts +1 -1
  38. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  39. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  40. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +2 -1
  41. package/dist/{loftFns-DIsFP0VL.js → loftFns-B7rgdvke.js} +1 -1
  42. package/dist/{loftFns-tGsV_hHY.cjs → loftFns-nWtrZfoY.cjs} +1 -1
  43. package/dist/{measureFns-eCuwj0im.js → measureFns-AxoHtJ3J.js} +3 -3
  44. package/dist/{measureFns-BoNCUOKe.cjs → measureFns-eOGL04SI.cjs} +3 -3
  45. package/dist/measurement.cjs +2 -2
  46. package/dist/measurement.js +2 -2
  47. package/dist/{meshFns-0W1-80zv.cjs → meshFns-BhOC8SuD.cjs} +3 -3
  48. package/dist/{meshFns-B9jPfcB2.js → meshFns-C1nJQkWC.js} +3 -3
  49. package/dist/{occtWasmAdapter-CsDULjij.cjs → occtWasmAdapter-D1EXktNq.cjs} +5 -2
  50. package/dist/{occtWasmAdapter-ClvPe3OJ.js → occtWasmAdapter-RBm-JLoN.js} +5 -2
  51. package/dist/operations.cjs +2 -2
  52. package/dist/operations.js +2 -2
  53. package/dist/{originTrackingFns-BW2BaJW8.js → originTrackingFns-4z3sWvOD.js} +2 -2
  54. package/dist/{originTrackingFns-cEKFxtia.cjs → originTrackingFns-DRRVoZxG.cjs} +2 -2
  55. package/dist/{primitiveFns-BJ-ehvvd.cjs → primitiveFns-BdSDbmhs.cjs} +4 -4
  56. package/dist/{primitiveFns-BOZ7Kx0M.js → primitiveFns-D-5rBhH4.js} +4 -4
  57. package/dist/{principalBoxFns-B6PZwxDM.js → principalBoxFns-BeOAlafI.js} +3 -3
  58. package/dist/{principalBoxFns-B1j2sNAc.cjs → principalBoxFns-CY98NNKz.cjs} +3 -3
  59. package/dist/projection.cjs +1 -1
  60. package/dist/projection.js +1 -1
  61. package/dist/query.cjs +2 -2
  62. package/dist/query.js +2 -2
  63. package/dist/{refResolveFns-DvDeMCVU.cjs → refResolveFns--VMNo9vf.cjs} +6 -6
  64. package/dist/{refResolveFns-BxvibZPu.js → refResolveFns-DB8FIWrZ.js} +6 -6
  65. package/dist/{shapeFns-De7CbEeQ.js → shapeFns-BTfhLPET.js} +2 -2
  66. package/dist/{shapeFns-CJrIL2CG.cjs → shapeFns-CREKqmcG.cjs} +2 -2
  67. package/dist/shapeRef.cjs +1 -1
  68. package/dist/shapeRef.js +1 -1
  69. package/dist/{shapeTypes-BCy8JI0O.js → shapeTypes-Db3yAgTO.js} +1 -1
  70. package/dist/{shapeTypes-CNQn1x5H.cjs → shapeTypes-HDVHzNk1.cjs} +1 -1
  71. package/dist/sketching.cjs +3 -3
  72. package/dist/sketching.js +3 -3
  73. package/dist/{solidBuilders-BN1p303l.cjs → solidBuilders-BeanhIbq.cjs} +5 -5
  74. package/dist/{solidBuilders-YbLOfWIp.js → solidBuilders-CSg8AUaL.js} +5 -5
  75. package/dist/{surfaceBuilders-CaN-lye8.js → surfaceBuilders-4F0VrN1_.js} +3 -3
  76. package/dist/{surfaceBuilders-C5lz2TNF.cjs → surfaceBuilders-BdOO4OJU.cjs} +3 -3
  77. package/dist/text.cjs +2 -2
  78. package/dist/text.js +2 -2
  79. package/dist/{textBlueprints-jlqCGG4p.cjs → textBlueprints-0pLR2X5a.cjs} +7 -7
  80. package/dist/{textBlueprints-BlfIkOUx.js → textBlueprints-BpituhGG.js} +7 -7
  81. package/dist/{textMetrics-B2KxCoHk.cjs → textMetrics-BhIL6fpo.cjs} +1 -1
  82. package/dist/{textMetrics-BjhB4Zur.js → textMetrics-DmgaIDzF.js} +1 -1
  83. package/dist/{threadFns-DWMumhmK.js → threadFns-C54cXKrZ.js} +7 -7
  84. package/dist/{threadFns-DO9SkBPb.cjs → threadFns-LGRpYJea.cjs} +7 -7
  85. package/dist/topology.cjs +9 -9
  86. package/dist/topology.js +9 -9
  87. package/dist/{topologyQueryFns-BwhwOtxv.cjs → topologyQueryFns-BJ5U4AmO.cjs} +1 -1
  88. package/dist/{topologyQueryFns-Clkdolgd.js → topologyQueryFns-BYXQ2Kkn.js} +1 -1
  89. package/dist/{validityTypes-B_6gRPPO.cjs → validityTypes-C2l1ryPq.cjs} +1 -1
  90. package/dist/{validityTypes-txYFYYN6.js → validityTypes-ClsRW650.js} +1 -1
  91. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, v as isEdge } from "./shapeTypes-BCy8JI0O.js";
1
+ import { T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, v as isEdge } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, g as err, l as typeCastError } from "./errors-CUsZRWJ7.js";
3
3
  // src/topology/curveFns.ts
4
4
  /**
@@ -1,22 +1,22 @@
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_constants = require("./constants-oee0S_x6.cjs");
6
6
  const require_types = require("./types-CjF9Rofr.cjs");
7
7
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
8
8
  const require_planeOps = require("./planeOps-C7sRqzno.cjs");
9
- const require_faceFns = require("./faceFns-vVGf6osa.cjs");
10
- const require_curveFns = require("./curveFns-DUSOe8uJ.cjs");
9
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
10
+ const require_curveFns = require("./curveFns-BBx04S8G.cjs");
11
11
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
12
- const require_surfaceBuilders = require("./surfaceBuilders-C5lz2TNF.cjs");
13
- const require_blueprintSketcher = require("./blueprintSketcher-7v6ufdam.cjs");
14
- const require_helpers = require("./helpers-BIpWypkW.cjs");
15
- const require_blueprint = require("./blueprint-YK9OBMxh.cjs");
16
- const require_cornerFinder = require("./cornerFinder-DVHtBOzM.cjs");
17
- const require_boolean2D = require("./boolean2D-B21GheGE.cjs");
18
- const require_textBlueprints = require("./textBlueprints-jlqCGG4p.cjs");
19
- const require_cameraFns = require("./cameraFns-HpsMe1iL.cjs");
12
+ const require_surfaceBuilders = require("./surfaceBuilders-BdOO4OJU.cjs");
13
+ const require_blueprintSketcher = require("./blueprintSketcher-Cy1atQHR.cjs");
14
+ const require_helpers = require("./helpers-BjVuQMLI.cjs");
15
+ const require_blueprint = require("./blueprint-DxAD4jsT.cjs");
16
+ const require_cornerFinder = require("./cornerFinder-CrceCNPv.cjs");
17
+ const require_boolean2D = require("./boolean2D-DF0i9O9B.cjs");
18
+ const require_textBlueprints = require("./textBlueprints-0pLR2X5a.cjs");
19
+ const require_cameraFns = require("./cameraFns-nr0q89z5.cjs");
20
20
  // src/2d/lib/stitching.ts
21
21
  /**
22
22
  * Group a flat list of curves into connected chains by matching endpoints.
@@ -1,22 +1,22 @@
1
- import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel } from "./shapeTypes-BCy8JI0O.js";
1
+ import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { i as wasmIndex, n as bug } from "./bug-ClMTAJhe.js";
3
3
  import { P as unwrap, s as safeIndex } from "./errors-CUsZRWJ7.js";
4
- import { s as getEdges } from "./topologyQueryFns-Clkdolgd.js";
4
+ import { s as getEdges } from "./topologyQueryFns-BYXQ2Kkn.js";
5
5
  import { t as DEG2RAD } from "./constants-iraOnb2p.js";
6
6
  import { r as toVec3 } from "./types-CKXsIm9-.js";
7
7
  import { d as vecNormalize, g as vecSub, h as vecScale, m as vecRotate, r as vecCross } from "./vecOps-S-m9H_fe.js";
8
8
  import { a as planeToWorld, o as resolvePlane } from "./planeOps-DgG0vHN7.js";
9
- import { d as pointOnSurface, l as normalAt, m as uvBounds, r as faceCenter, u as outerWire, v as copyShape, y as downcast } from "./faceFns-DKEm5U-p.js";
10
- import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-BdmSrGqT.js";
9
+ import { d as pointOnSurface, l as normalAt, m as uvBounds, r as faceCenter, u as outerWire, v as copyShape, y as downcast } from "./faceFns-3VaHLMb8.js";
10
+ import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-DdG-DkSs.js";
11
11
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-BpgouNir.js";
12
- import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-CaN-lye8.js";
13
- import { a as Blueprints, c as make2dOffset, i as CompoundBlueprint, l as intersectCurves, n as BaseSketcher2d, o as chamferCurves, s as filletCurves, u as Flatbush } from "./blueprintSketcher-DcyidOGa.js";
14
- import { b as squareDistance2d, l as add2d, s as PRECISION_OFFSET, v as samePoint$1, x as subtract2d } from "./helpers-CcZp3tLI.js";
15
- import { _ as approximateAsSvgCompatibleCurve, a as edgeToCurve, f as make2dInerpolatedBSplineCurve, i as curvesAsEdgesOnPlane, l as make2dCircle, p as make2dSegmentCurve, s as make2dArcFromCenter, t as Blueprint, u as make2dEllipse, v as Curve2D, x as BoundingBox2d, y as deserializeCurve2D } from "./blueprint-B8tYa1RE.js";
16
- import { t as cornerFinder } from "./cornerFinder-DHg0ej_Q.js";
17
- import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-DYAua9O_.js";
18
- import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-BlfIkOUx.js";
19
- import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-CAjuoPKb.js";
12
+ import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-4F0VrN1_.js";
13
+ import { a as Blueprints, c as make2dOffset, i as CompoundBlueprint, l as intersectCurves, n as BaseSketcher2d, o as chamferCurves, s as filletCurves, u as Flatbush } from "./blueprintSketcher-BECQIPIt.js";
14
+ import { b as squareDistance2d, l as add2d, s as PRECISION_OFFSET, v as samePoint$1, x as subtract2d } from "./helpers-BhBnVALd.js";
15
+ import { _ as approximateAsSvgCompatibleCurve, a as edgeToCurve, f as make2dInerpolatedBSplineCurve, i as curvesAsEdgesOnPlane, l as make2dCircle, p as make2dSegmentCurve, s as make2dArcFromCenter, t as Blueprint, u as make2dEllipse, v as Curve2D, x as BoundingBox2d, y as deserializeCurve2D } from "./blueprint-CHmxRlJw.js";
16
+ import { t as cornerFinder } from "./cornerFinder-6S-UlbNA.js";
17
+ import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-Cf9l3KK0.js";
18
+ import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-BpituhGG.js";
19
+ import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-CkLHhFRs.js";
20
20
  // src/2d/lib/stitching.ts
21
21
  /**
22
22
  * Group a flat list of curves into connected chains by matching endpoints.
@@ -1,6 +1,6 @@
1
- import { i as castShape, q as getKernel } from "./shapeTypes-BCy8JI0O.js";
1
+ import { i as castShape, q as getKernel } from "./shapeTypes-Db3yAgTO.js";
2
2
  import { E as ok, P as unwrap, g as err, l as typeCastError } from "./errors-CUsZRWJ7.js";
3
- import { a as getCachedSurfaceType } from "./topologyQueryFns-Clkdolgd.js";
3
+ import { a as getCachedSurfaceType } from "./topologyQueryFns-BYXQ2Kkn.js";
4
4
  import { r as toVec3 } from "./types-CKXsIm9-.js";
5
5
  // src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -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_types = require("./types-CjF9Rofr.cjs");
5
5
  // src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-CNQn1x5H.cjs");
2
- const require_occtWasmAdapter = require("./occtWasmAdapter-CsDULjij.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-HDVHzNk1.cjs");
2
+ const require_occtWasmAdapter = require("./occtWasmAdapter-D1EXktNq.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_constants = require("./constants-oee0S_x6.cjs");
6
- const require_faceFns = require("./faceFns-vVGf6osa.cjs");
7
- const require_solidBuilders = require("./solidBuilders-BN1p303l.cjs");
6
+ const require_faceFns = require("./faceFns-DolWAvAu.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-BeanhIbq.cjs");
8
8
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
9
9
  // src/topology/threeHelpers.ts
10
10
  /**
@@ -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) {
@@ -507,6 +507,50 @@ function buildBinaryBuffer(mesh) {
507
507
  return buffer;
508
508
  }
509
509
  // src/io/dxfExportFns.ts
510
+ /** One entity's group-code lines in the ENTITIES section. */
511
+ function entityLines(entity, layer) {
512
+ if (entity.type === "LINE") {
513
+ const [x1, y1] = entity.start;
514
+ const [x2, y2] = entity.end;
515
+ return [
516
+ "0",
517
+ "LINE",
518
+ "8",
519
+ layer,
520
+ "10",
521
+ String(x1),
522
+ "20",
523
+ String(y1),
524
+ "30",
525
+ "0"
526
+ ].concat([
527
+ "11",
528
+ String(x2),
529
+ "21",
530
+ String(y2),
531
+ "31",
532
+ "0"
533
+ ]);
534
+ }
535
+ const out = [
536
+ "0",
537
+ "POLYLINE",
538
+ "8",
539
+ layer,
540
+ "66",
541
+ "1",
542
+ "10",
543
+ "0",
544
+ "20",
545
+ "0",
546
+ "30",
547
+ "0"
548
+ ];
549
+ out.push("70", entity.closed ? "1" : "0");
550
+ for (const [x, y] of entity.points) out.push("0", "VERTEX", "8", layer, "10", String(x), "20", String(y), "30", "0");
551
+ out.push("0", "SEQEND", "8", layer);
552
+ return out;
553
+ }
510
554
  /**
511
555
  * Export DXF entities to a DXF R12 ASCII string.
512
556
  *
@@ -541,14 +585,7 @@ function exportDXF(entities, options) {
541
585
  lines.push("0", "ENDTAB");
542
586
  lines.push("0", "ENDSEC");
543
587
  lines.push("0", "SECTION", "2", "ENTITIES");
544
- for (const entity of entities) {
545
- const entLayer = entity.layer ?? layer;
546
- if (entity.type === "LINE") lines.push("0", "LINE", "8", entLayer, "10", String(entity.start[0]), "20", String(entity.start[1]), "30", "0", "11", String(entity.end[0]), "21", String(entity.end[1]), "31", "0");
547
- else {
548
- lines.push("0", "LWPOLYLINE", "8", entLayer, "90", String(entity.points.length), "70", entity.closed ? "1" : "0");
549
- for (const pt of entity.points) lines.push("10", String(pt[0]), "20", String(pt[1]));
550
- }
551
- }
588
+ for (const entity of entities) for (const line of entityLines(entity, entity.layer ?? layer)) lines.push(line);
552
589
  lines.push("0", "ENDSEC");
553
590
  lines.push("0", "EOF");
554
591
  return lines.join("\n") + "\n";
@@ -557,7 +594,7 @@ function exportDXF(entities, options) {
557
594
  * Convert a Blueprint (or CompoundBlueprint/Blueprints) to a DXF string.
558
595
  *
559
596
  * Each straight segment becomes a LINE entity; arcs, ellipses, splines,
560
- * and other curves are approximated as LWPOLYLINE entities.
597
+ * and other curves are approximated as POLYLINE entities.
561
598
  *
562
599
  * @param drawing - A Blueprint, CompoundBlueprint, or Blueprints collection.
563
600
  * @param options - Layer name and curve approximation settings.
@@ -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) {
@@ -507,6 +507,50 @@ function buildBinaryBuffer(mesh) {
507
507
  return buffer;
508
508
  }
509
509
  // src/io/dxfExportFns.ts
510
+ /** One entity's group-code lines in the ENTITIES section. */
511
+ function entityLines(entity, layer) {
512
+ if (entity.type === "LINE") {
513
+ const [x1, y1] = entity.start;
514
+ const [x2, y2] = entity.end;
515
+ return [
516
+ "0",
517
+ "LINE",
518
+ "8",
519
+ layer,
520
+ "10",
521
+ String(x1),
522
+ "20",
523
+ String(y1),
524
+ "30",
525
+ "0"
526
+ ].concat([
527
+ "11",
528
+ String(x2),
529
+ "21",
530
+ String(y2),
531
+ "31",
532
+ "0"
533
+ ]);
534
+ }
535
+ const out = [
536
+ "0",
537
+ "POLYLINE",
538
+ "8",
539
+ layer,
540
+ "66",
541
+ "1",
542
+ "10",
543
+ "0",
544
+ "20",
545
+ "0",
546
+ "30",
547
+ "0"
548
+ ];
549
+ out.push("70", entity.closed ? "1" : "0");
550
+ for (const [x, y] of entity.points) out.push("0", "VERTEX", "8", layer, "10", String(x), "20", String(y), "30", "0");
551
+ out.push("0", "SEQEND", "8", layer);
552
+ return out;
553
+ }
510
554
  /**
511
555
  * Export DXF entities to a DXF R12 ASCII string.
512
556
  *
@@ -541,14 +585,7 @@ function exportDXF(entities, options) {
541
585
  lines.push("0", "ENDTAB");
542
586
  lines.push("0", "ENDSEC");
543
587
  lines.push("0", "SECTION", "2", "ENTITIES");
544
- for (const entity of entities) {
545
- const entLayer = entity.layer ?? layer;
546
- if (entity.type === "LINE") lines.push("0", "LINE", "8", entLayer, "10", String(entity.start[0]), "20", String(entity.start[1]), "30", "0", "11", String(entity.end[0]), "21", String(entity.end[1]), "31", "0");
547
- else {
548
- lines.push("0", "LWPOLYLINE", "8", entLayer, "90", String(entity.points.length), "70", entity.closed ? "1" : "0");
549
- for (const pt of entity.points) lines.push("10", String(pt[0]), "20", String(pt[1]));
550
- }
551
- }
588
+ for (const entity of entities) for (const line of entityLines(entity, entity.layer ?? layer)) lines.push(line);
552
589
  lines.push("0", "ENDSEC");
553
590
  lines.push("0", "EOF");
554
591
  return lines.join("\n") + "\n";
@@ -557,7 +594,7 @@ function exportDXF(entities, options) {
557
594
  * Convert a Blueprint (or CompoundBlueprint/Blueprints) to a DXF string.
558
595
  *
559
596
  * Each straight segment becomes a LINE entity; arcs, ellipses, splines,
560
- * and other curves are approximated as LWPOLYLINE entities.
597
+ * and other curves are approximated as POLYLINE entities.
561
598
  *
562
599
  * @param drawing - A Blueprint, CompoundBlueprint, or Blueprints collection.
563
600
  * @param options - Layer name and curve approximation settings.
@@ -6,7 +6,7 @@ import { default as Blueprints } from '../2d/blueprints/blueprints.js';
6
6
  * A single DXF entity (LINE or POLYLINE).
7
7
  *
8
8
  * LINE maps directly to a DXF LINE entity.
9
- * POLYLINE maps to an LWPOLYLINE with optional closure.
9
+ * POLYLINE maps to an R12 POLYLINE (its VERTEX entities and a SEQEND), optionally closed.
10
10
  */
11
11
  export type DXFEntity = {
12
12
  type: 'LINE';
@@ -51,7 +51,7 @@ export declare function exportDXF(entities: DXFEntity[], options?: DXFExportOpti
51
51
  * Convert a Blueprint (or CompoundBlueprint/Blueprints) to a DXF string.
52
52
  *
53
53
  * Each straight segment becomes a LINE entity; arcs, ellipses, splines,
54
- * and other curves are approximated as LWPOLYLINE entities.
54
+ * and other curves are approximated as POLYLINE entities.
55
55
  *
56
56
  * @param drawing - A Blueprint, CompoundBlueprint, or Blueprints collection.
57
57
  * @param options - Layer name and curve approximation settings.
@@ -6,8 +6,10 @@ export interface DXFImportOptions {
6
6
  /**
7
7
  * Import a DXF file from a Blob, returning kernel wires.
8
8
  *
9
- * Parses ASCII DXF LINE, CIRCLE, and ARC entities.
10
- * Edges are assembled into wires using `BRepBuilderAPI_MakeWire`.
9
+ * Parses ASCII DXF LINE, CIRCLE, ARC, LWPOLYLINE and R12 POLYLINE entities, polyline bulges
10
+ * included, in world coordinates (planar entities are mapped out of their object coordinate
11
+ * system). Polygon and polyface meshes are skipped. Edges that meet end to end become one wire,
12
+ * so disconnected outlines come back as separate wires.
11
13
  *
12
14
  * @param blob - A Blob containing ASCII DXF data.
13
15
  * @param options - Optional import settings (layer filter).
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-DI3Q8B0Q.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-D_tBVKl2.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.