brepjs 18.118.7 → 18.118.9

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 (78) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-DGMGVQl7.js → adjacencyFns-CTNUxf0c.js} +74 -32
  4. package/dist/{adjacencyFns-BmnrcGXe.cjs → adjacencyFns-Wc3R-UZr.cjs} +74 -32
  5. package/dist/{blueprint-Cq4SoX4f.js → blueprint-nrz4fL3I.js} +5 -5
  6. package/dist/{blueprint-8aYTu_pt.cjs → blueprint-qWwhQGSr.cjs} +5 -5
  7. package/dist/{blueprintFns-BFCNzqOo.js → blueprintFns-BaWyLnF-.js} +2 -2
  8. package/dist/{blueprintFns-DeFKRkeJ.cjs → blueprintFns-BhiWnHuR.cjs} +2 -2
  9. package/dist/{blueprintSketcher-BbT1WvI0.cjs → blueprintSketcher-D5AHgjkT.cjs} +3 -3
  10. package/dist/{blueprintSketcher-L_UQ6PjH.js → blueprintSketcher-cgkF6uCj.js} +3 -3
  11. package/dist/{boolean2D-gvWTFM1D.cjs → boolean2D-Bemx5WZV.cjs} +4 -4
  12. package/dist/{boolean2D-Bo8N_bkO.js → boolean2D-CSZIZMaq.js} +4 -4
  13. package/dist/brepjs.cjs +25 -25
  14. package/dist/brepjs.js +25 -25
  15. package/dist/{cameraFns-BgMZW_YF.cjs → cameraFns-taUY1CFZ.cjs} +2 -2
  16. package/dist/{cameraFns-CX0GX3TA.js → cameraFns-xD28Tsqu.js} +2 -2
  17. package/dist/core/shapeTypes.d.ts +9 -0
  18. package/dist/core.cjs +1 -1
  19. package/dist/core.js +1 -1
  20. package/dist/{cornerFinder-Dg00ADRE.cjs → cornerFinder-BDwDNTdN.cjs} +1 -1
  21. package/dist/{cornerFinder-ug3d1MIj.js → cornerFinder-DGI6Ud6N.js} +1 -1
  22. package/dist/{curveFns-Bbq8YwiP.cjs → curveFns-Bb3wuFj4.cjs} +1 -1
  23. package/dist/{curveFns-QU4XEJMN.js → curveFns-Y1TTdL_y.js} +1 -1
  24. package/dist/{drawFns-BaoKhtS2.cjs → drawFns-Bgug3W7c.cjs} +12 -12
  25. package/dist/{drawFns-t8qlCOhw.js → drawFns-BksvLjN1.js} +12 -12
  26. package/dist/{faceFns-DlUhG1i5.cjs → faceFns-BhBJ_Hsb.cjs} +2 -2
  27. package/dist/{faceFns-CnCX9BM_.js → faceFns-Bm3-D75M.js} +2 -2
  28. package/dist/{healingFns-DS2jVC-6.cjs → healingFns-DoJQUwBN.cjs} +5 -5
  29. package/dist/{healingFns-DWODzlw2.js → healingFns-g8JymEUi.js} +5 -5
  30. package/dist/{helpers-CXHMPCPr.cjs → helpers-DKfkqED3.cjs} +6 -6
  31. package/dist/{helpers-nTMuqwBX.js → helpers-DzOME9UE.js} +6 -6
  32. package/dist/{importFns-JVnMjbVT.js → importFns-BnQAQt7q.js} +2 -2
  33. package/dist/{importFns-Rtl8_piv.cjs → importFns-D8i8O8di.cjs} +2 -2
  34. package/dist/io.cjs +2 -2
  35. package/dist/io.js +2 -2
  36. package/dist/{loftFns-CYHPZMOq.cjs → loftFns-BJiGxTys.cjs} +1 -1
  37. package/dist/{loftFns-jXPjUwdV.js → loftFns-CK4PP1IR.js} +1 -1
  38. package/dist/{measureFns-DDlmrOwH.js → measureFns-1akKMnXO.js} +3 -3
  39. package/dist/{measureFns-BXpXVoE1.cjs → measureFns-DJ1SESSY.cjs} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-BcvYEb05.js → meshFns-Dt93gFGp.js} +3 -3
  43. package/dist/{meshFns-tNFtjrAg.cjs → meshFns-s-c0lABa.cjs} +3 -3
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{primitiveFns-CTCpyACp.cjs → primitiveFns-BDdThy3-.cjs} +4 -4
  47. package/dist/{primitiveFns-C1uYmrtf.js → primitiveFns-D-hFA6e9.js} +4 -4
  48. package/dist/projection.cjs +1 -1
  49. package/dist/projection.js +1 -1
  50. package/dist/query.cjs +2 -2
  51. package/dist/query.js +2 -2
  52. package/dist/{refResolveFns-BdEmu7yh.cjs → refResolveFns-AbuzUhGC.cjs} +6 -6
  53. package/dist/{refResolveFns-BT4g71BY.js → refResolveFns-BNzUtX4y.js} +6 -6
  54. package/dist/{shapeFns-7T0gykWr.cjs → shapeFns-1aqO2bz4.cjs} +2 -2
  55. package/dist/{shapeFns-B0tRZG0L.js → shapeFns-Dqlpy8wm.js} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeTypes-OqAALhek.cjs → shapeTypes-B8a39SS3.cjs} +24 -2
  59. package/dist/{shapeTypes-USExUZfW.js → shapeTypes-D8Fprilr.js} +19 -3
  60. package/dist/sketching.cjs +3 -3
  61. package/dist/sketching.js +3 -3
  62. package/dist/{solidBuilders-DGhhY8ct.js → solidBuilders-B_N5miaY.js} +5 -5
  63. package/dist/{solidBuilders-oBXWp32X.cjs → solidBuilders-CkkgC2se.cjs} +5 -5
  64. package/dist/{surfaceBuilders-BPTkEKy4.js → surfaceBuilders-B15_8txg.js} +2 -2
  65. package/dist/{surfaceBuilders-_pFeqIF8.cjs → surfaceBuilders-DUG4Y0qA.cjs} +2 -2
  66. package/dist/text.cjs +2 -2
  67. package/dist/text.js +2 -2
  68. package/dist/{textBlueprints-BKi0ghsT.cjs → textBlueprints-BXtV_DY6.cjs} +7 -7
  69. package/dist/{textBlueprints-lsM-HJ_1.js → textBlueprints-BYz-7-MZ.js} +7 -7
  70. package/dist/{textMetrics-66K6zyvX.cjs → textMetrics-DBdtpVNo.cjs} +1 -1
  71. package/dist/{textMetrics-C89j257P.js → textMetrics-yyHcpdUd.js} +1 -1
  72. package/dist/{threadFns-oZG40DKL.js → threadFns-CMdXdlIH.js} +7 -7
  73. package/dist/{threadFns-CILCsLs1.cjs → threadFns-CWIlyEcP.cjs} +7 -7
  74. package/dist/topology.cjs +9 -9
  75. package/dist/topology.js +9 -9
  76. package/dist/{topologyQueryFns-DK-ktEI-.cjs → topologyQueryFns-BJbOwoZm.cjs} +10 -10
  77. package/dist/{topologyQueryFns-Jg9SyAWe.js → topologyQueryFns-DfThB5LA.js} +10 -10
  78. package/package.json +1 -1
package/dist/brepjs.js CHANGED
@@ -1,37 +1,37 @@
1
- import { $ as _usingCtx, A as isValidSolid, B as is2D, C as isWire, D as isOrientedFace, E as isManifoldShell, F as validSolid, G as getDisposalStats, H as DisposalScope, I as getShapeKind, J as resetDisposalStats, K as isLive, M as orientedFace, N as planarFace, O as isPlanarFace, P as planarWire, Q as withScopeResultAsync, R as as2D, S as isVertex, T as isClosedWire, U as createHandle, V as is3D, W as createKernelHandle, X as withScope, Z as withScopeResult, _ as isFace, _t as getPerformanceStats, a as createCompound, at as init, b as isShell, bt as qualityDeflection, c as createShell, ct as prewarm, d as createWire, dt as withKernel, et as getActiveKernelId, ft as withQuality, g as isEdge, gt as BrepkitAdapter, h as isCompound, ht as supportsProjection, it as getKernelTier, j as manifoldShell, k as isPlanarWire, l as createSolid, lt as registerKernel, mt as supportsConstraintSketch, n as castShape, o as createEdge, ot as initFromManifold, p as disposeResultShape, pt as withTier, r as castShape3D, rt as getKernelCapabilities, s as createFace, st as initFromOC, t as castResultShape, tt as getKernel, u as createVertex, ut as registerKernelTier, v as isShape1D, vt as resetPerformanceStats, w as closedWire, x as isSolid, y as isShape3D, yt as currentQuality, z as as3D } from "./shapeTypes-USExUZfW.js";
1
+ import { $ as withScopeResultAsync, A as isPlanarWire, B as as3D, C as isVertex, D as isManifoldShell, E as isClosedWire, F as planarWire, G as createKernelHandle, H as is3D, I as validSolid, K as getDisposalStats, L as getShapeKind, M as manifoldShell, N as orientedFace, O as isOrientedFace, P as planarFace, Q as withScopeResult, S as isSolid, T as closedWire, U as DisposalScope, V as is2D, W as createHandle, Y as resetDisposalStats, Z as withScope, _ as isEdge, _t as BrepkitAdapter, at as getKernelTier, b as isShape3D, bt as currentQuality, c as createFace, ct as initFromOC, d as createVertex, dt as registerKernelTier, et as _usingCtx, f as createWire, ft as withKernel, g as isCompound, gt as supportsProjection, ht as supportsConstraintSketch, i as castShape3D, it as getKernelCapabilities, j as isValidSolid, k as isPlanarFace, l as createShell, lt as prewarm, m as disposeResultShape, mt as withTier, nt as getKernel, o as createCompound, ot as init, pt as withQuality, q as isLive, r as castShape, s as createEdge, st as initFromManifold, t as castResultShape, tt as getActiveKernelId, u as createSolid, ut as registerKernel, v as isFace, vt as getPerformanceStats, w as isWire, x as isShell, xt as qualityDeflection, y as isShape1D, yt as resetPerformanceStats, z as as2D } from "./shapeTypes-D8Fprilr.js";
2
2
  import { D as DEFAULT_CAPABILITIES, O as EXACT_BREP_CAPABILITIES, t as OcctWasmAdapter } from "./occtWasmAdapter-nqo3wbVj.js";
3
3
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
4
4
  import { A as ok, B as unwrapOr, C as fromNullable, D as mapBoth, E as map, F as tapErr, H as zip, I as tryCatch, L as tryCatchAsync, M as orElse, N as pipeline, O as mapErr, P as tap, R as unwrap, S as flatten, T as isOk, V as unwrapOrElse, _ as all, a as moduleInitError, b as err, c as sketcherStateError, d as validationError, g as OK, h as bug, i as kernelError, j as or, k as match, l as typeCastError, m as BrepBugError, n as computationError, o as queryError, r as ioError, t as BrepErrorCode, u as unsupportedError, v as andThen, w as isErr, x as flatMap, y as collect, z as unwrapErr } from "./errors-DNWJsfVU.js";
5
- import { C as kernelCall, S as vertexPosition, T as kernelCallScoped, _ as iterFaces, a as getCachedSurfaceType, b as iterVertices, c as getFaces, d as getSolids, f as getVertices, g as iterEdges, h as iterCompSolids, m as invalidateShapeCache, n as getBounds, o as getCompSolids, p as getWires, s as getEdges, t as describe$1, u as getShells, v as iterShells, w as kernelCallRaw, x as iterWires, y as iterSolids } from "./topologyQueryFns-Jg9SyAWe.js";
5
+ import { C as kernelCall, S as vertexPosition, T as kernelCallScoped, _ as iterFaces, a as getCachedSurfaceType, b as iterVertices, c as getFaces, d as getSolids, f as getVertices, g as iterEdges, h as iterCompSolids, m as invalidateShapeCache, n as getBounds, o as getCompSolids, p as getWires, s as getEdges, t as describe$1, u as getShells, v as iterShells, w as kernelCallRaw, x as iterWires, y as iterSolids } from "./topologyQueryFns-DfThB5LA.js";
6
6
  import { n as HASH_CODE_MAX, r as RAD2DEG, t as DEG2RAD } from "./constants-ITRzCnCp.js";
7
7
  import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-D24Y27N0.js";
8
8
  import { a as vecDot, c as vecLength, d as vecNormalize, f as vecProjectToPlane, g as vecSub, h as vecScale, i as vecDistance, l as vecLengthSq, m as vecRotate, n as vecAngle, o as vecEquals, p as vecRepr, r as vecCross, s as vecIsZero, t as vecAdd, u as vecNegate } from "./vecOps-SKPRvPH-.js";
9
9
  import { i as pivotPlane, n as createPlane, o as resolvePlane, r as makePlane, s as translatePlane, t as createNamedPlane } from "./planeOps-DSjjtrjg.js";
10
- import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, p as removeHolesFromFace, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-CnCX9BM_.js";
11
- import { A as tagFaces, C as colorShape, D as getFaceTags, E as findFacesByTag, M as setShapeOrigin, O as getTagMetadata, S as colorFaces, T as getShapeColor, a as isSameShape, c as applyMatrix$1, d as mirror$2, f as resize, g as translate$2, h as transformCopy$1, i as isEqualShape, j as getFaceOrigins, k as setTagMetadata, l as composeTransforms, m as scale$3, n as getHashCode, o as simplify$1, p as rotate$2, r as isEmpty$2, s as toBREP$1, t as clone$1, u as locate$1, v as hasAnyMetadata, w as getFaceColor, x as propagateMetadataThroughRelocation } from "./shapeFns-B0tRZG0L.js";
12
- import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-QU4XEJMN.js";
13
- import { a as meshEdges$1, c as meshMultiLOD, d as createMeshCache, i as mesh$1, l as buildMeshCacheKey, n as exportSTEP, o as meshLODs, r as exportSTL, s as meshLODsProgressive, t as exportIGES, u as clearMeshCache } from "./meshFns-BcvYEb05.js";
10
+ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, p as removeHolesFromFace, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-Bm3-D75M.js";
11
+ import { A as tagFaces, C as colorShape, D as getFaceTags, E as findFacesByTag, M as setShapeOrigin, O as getTagMetadata, S as colorFaces, T as getShapeColor, a as isSameShape, c as applyMatrix$1, d as mirror$2, f as resize, g as translate$2, h as transformCopy$1, i as isEqualShape, j as getFaceOrigins, k as setTagMetadata, l as composeTransforms, m as scale$3, n as getHashCode, o as simplify$1, p as rotate$2, r as isEmpty$2, s as toBREP$1, t as clone$1, u as locate$1, v as hasAnyMetadata, w as getFaceColor, x as propagateMetadataThroughRelocation } from "./shapeFns-Dqlpy8wm.js";
12
+ import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-Y1TTdL_y.js";
13
+ import { a as meshEdges$1, c as meshMultiLOD, d as createMeshCache, i as mesh$1, l as buildMeshCacheKey, n as exportSTEP, o as meshLODs, r as exportSTL, s as meshLODsProgressive, t as exportIGES, u as clearMeshCache } from "./meshFns-Dt93gFGp.js";
14
14
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
15
- import { _ as makeThreePointArc, d as makeCircle, h as makeLine, l as makeBSplineInterpolation, n as fill, r as makeFace, s as assembleWire } from "./surfaceBuilders-BPTkEKy4.js";
16
- import { _ as section$1, b as split$1, d as booleanPipeline, f as cut$2, g as intersect$2, h as fuseAll$2, m as fuse$2, p as cutAll$2, r as makeCylinder, t as makeCompound, v as sectionToFace$1, y as slice$1 } from "./solidBuilders-DGhhY8ct.js";
17
- import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, M as toLODGeometryData, N as toLODGeometryLevels, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, c as isValid$1, d as draft$1, f as fillet$1, g as variableFillet, h as thicken$1, i as heal$1, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, m as shell$1, n as fixSelfIntersection, o as healSolid, p as offset$1, r as fixShape, s as healWire, t as autoHeal, u as chamfer$1, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-DWODzlw2.js";
18
- import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as quatMultiply, G as circularPattern, H as removeChild, I as quatRotate, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, N as quatFromAxisAngle, O as prismaticJoint, P as quatFromTo, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, a as deserializeHistory, 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, p as serializeHistory, q as linearPattern, 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 countNodes } from "./threadFns-oZG40DKL.js";
19
- import { n as BaseSketcher2d, r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-L_UQ6PjH.js";
20
- import { a as createTypedFinder, i as wireFinder, n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-nTMuqwBX.js";
21
- import { A as sketchEllipse, 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, _ 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-t8qlCOhw.js";
22
- import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, i as measureCurvatureAtMid, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, r as measureCurvatureAt, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-DDlmrOwH.js";
23
- import { t as cornerFinder } from "./cornerFinder-ug3d1MIj.js";
24
- import { a as fuseBlueprints, c as roundedRectangleBlueprint, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-Bo8N_bkO.js";
25
- import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, n as createCompoundBlueprint, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-BFCNzqOo.js";
26
- 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-JVnMjbVT.js";
27
- import { a as revolve$1, c as multiSectionSweep, d as twistExtrude, i as extrudeAll, l as supportExtrude, n as loftAll, o as complexExtrude, r as extrude$1, s as guidedSweep, t as loft$1, u as sweep$1 } from "./loftFns-jXPjUwdV.js";
28
- 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, n as getFont, o as compoundSketchExtrude, p as sketchRevolve, r as loadFont, s as compoundSketchFace, t as textBlueprints, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-lsM-HJ_1.js";
29
- import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-CX0GX3TA.js";
30
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-C89j257P.js";
31
- import { a as sharedEdges, c as wiresOfFace, i as facesOfVertex, n as edgesOfFace, o as verticesOfEdge, r as facesOfEdge, s as verticesOfFace, t as adjacentFaces } from "./adjacencyFns-DGMGVQl7.js";
32
- import { _ as createRef, a as isVertexRef, b as defaultScorer, c as resolveRefParams, d as createVertexRef, f as resolveVertexRef, g as captureHint, h as assignRoles, i as isLineageRef, l as createDerivedFaceRef, m as resolveEdgeRef, n as isEdgeRef, o as resolveLineageRef, p as createEdgeRef, r as isFaceRef, s as resolveRefIn, t as isDerivedFaceRef, u as resolveDerivedFaceRef, v as resolveRef, y as updateRoles } from "./refResolveFns-BT4g71BY.js";
15
+ import { _ as makeThreePointArc, d as makeCircle, h as makeLine, l as makeBSplineInterpolation, n as fill, r as makeFace, s as assembleWire } from "./surfaceBuilders-B15_8txg.js";
16
+ import { _ as section$1, b as split$1, d as booleanPipeline, f as cut$2, g as intersect$2, h as fuseAll$2, m as fuse$2, p as cutAll$2, r as makeCylinder, t as makeCompound, v as sectionToFace$1, y as slice$1 } from "./solidBuilders-B_N5miaY.js";
17
+ import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, M as toLODGeometryData, N as toLODGeometryLevels, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, c as isValid$1, d as draft$1, f as fillet$1, g as variableFillet, h as thicken$1, i as heal$1, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, m as shell$1, n as fixSelfIntersection, o as healSolid, p as offset$1, r as fixShape, s as healWire, t as autoHeal, u as chamfer$1, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-g8JymEUi.js";
18
+ import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as quatMultiply, G as circularPattern, H as removeChild, I as quatRotate, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, N as quatFromAxisAngle, O as prismaticJoint, P as quatFromTo, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, a as deserializeHistory, 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, p as serializeHistory, q as linearPattern, 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 countNodes } from "./threadFns-CMdXdlIH.js";
19
+ import { n as BaseSketcher2d, r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-cgkF6uCj.js";
20
+ import { a as createTypedFinder, i as wireFinder, n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DzOME9UE.js";
21
+ import { A as sketchEllipse, 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, _ 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-BksvLjN1.js";
22
+ import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, i as measureCurvatureAtMid, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, r as measureCurvatureAt, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-1akKMnXO.js";
23
+ import { t as cornerFinder } from "./cornerFinder-DGI6Ud6N.js";
24
+ import { a as fuseBlueprints, c as roundedRectangleBlueprint, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-CSZIZMaq.js";
25
+ import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, n as createCompoundBlueprint, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-BaWyLnF-.js";
26
+ 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-BnQAQt7q.js";
27
+ import { a as revolve$1, c as multiSectionSweep, d as twistExtrude, i as extrudeAll, l as supportExtrude, n as loftAll, o as complexExtrude, r as extrude$1, s as guidedSweep, t as loft$1, u as sweep$1 } from "./loftFns-CK4PP1IR.js";
28
+ 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, n as getFont, o as compoundSketchExtrude, p as sketchRevolve, r as loadFont, s as compoundSketchFace, t as textBlueprints, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-BYz-7-MZ.js";
29
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-xD28Tsqu.js";
30
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-yyHcpdUd.js";
31
+ import { a as sharedEdges, c as wiresOfFace, i as facesOfVertex, n as edgesOfFace, o as verticesOfEdge, r as facesOfEdge, s as verticesOfFace, t as adjacentFaces } from "./adjacencyFns-CTNUxf0c.js";
32
+ import { _ as createRef, a as isVertexRef, b as defaultScorer, c as resolveRefParams, d as createVertexRef, f as resolveVertexRef, g as captureHint, h as assignRoles, i as isLineageRef, l as createDerivedFaceRef, m as resolveEdgeRef, n as isEdgeRef, o as resolveLineageRef, p as createEdgeRef, r as isFaceRef, s as resolveRefIn, t as isDerivedFaceRef, u as resolveDerivedFaceRef, v as resolveRef, y as updateRoles } from "./refResolveFns-BNzUtX4y.js";
33
33
  import { _ as isSuccessResponse, a as createWorkerClient, c as enqueueTask, d as rejectAll, f as isBatchRequest, g as isOperationRequest, h as isInitRequest, i as registerHandler, l as isEmpty$1, m as isErrorResponse, n as createOperationRegistry, o as createTaskQueue, p as isDisposeRequest, r as createWorkerHandler, s as dequeueTask, t as createWorkerPool, u as pendingCount } from "./workerPool-XcYX2UZ0.js";
34
- import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere$1, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus$1, x as subFace, y as solid } from "./primitiveFns-C1uYmrtf.js";
34
+ import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere$1, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus$1, x as subFace, y as solid } from "./primitiveFns-D-hFA6e9.js";
35
35
  //#region \0rolldown/runtime.js
36
36
  var __defProp = Object.defineProperty;
37
37
  var __exportAll = (all, no_symbols) => {
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
5
5
  //#region src/projection/projectionPlanes.ts
6
6
  /** Lookup table mapping each {@link ProjectionPlane} to its camera configuration. */
@@ -1,6 +1,6 @@
1
- import { n as castShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, r as castShape } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError } from "./errors-DNWJsfVU.js";
3
- import { s as getEdges } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { s as getEdges } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { c as vecLength, d as vecNormalize, g as vecSub, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  //#region src/projection/projectionPlanes.ts
6
6
  /** Lookup table mapping each {@link ProjectionPlane} to its camera configuration. */
@@ -164,3 +164,12 @@ export declare function disposeResultShape(handle: ShapeHandle): void;
164
164
  * Used internally by topology extractors for bulk sub-shape iteration.
165
165
  */
166
166
  export declare function castShapeWithKnownType<D extends Dimension = '3D'>(ocShape: KernelShape, knownType: ShapeType, dim?: D): AnyShape<D>;
167
+ /**
168
+ * The result-owning counterpart to {@link castShapeWithKnownType}: casts a
169
+ * freshly-iterated sub-shape and releases the orphaned pre-downcast handle.
170
+ * Use for a raw sub-shape the caller owns outright — e.g. each element of
171
+ * `iterShapes` — where only the branded downcast result is retained. Identity
172
+ * downcast kernels (manifold/brepkit) skip the release via the guard in
173
+ * {@link disposeDowncastSource}.
174
+ */
175
+ export declare function castResultShapeWithKnownType<D extends Dimension = '3D'>(ocShape: KernelShape, knownType: ShapeType, dim?: D): AnyShape<D>;
package/dist/core.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_types = require("./types-KjA8tY4Y.cjs");
package/dist/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as isValidSolid, B as is2D, C as isWire, D as isOrientedFace, E as isManifoldShell, F as validSolid, H as DisposalScope, I as getShapeKind, K as isLive, M as orientedFace, Q as withScopeResultAsync, S as isVertex, T as isClosedWire, U as createHandle, V as is3D, W as createKernelHandle, X as withScope, Z as withScopeResult, _ as isFace, b as isShell, g as isEdge, h as isCompound, j as manifoldShell, n as castShape, v as isShape1D, w as closedWire, x as isSolid, y as isShape3D } from "./shapeTypes-USExUZfW.js";
1
+ import { $ as withScopeResultAsync, C as isVertex, D as isManifoldShell, E as isClosedWire, G as createKernelHandle, H as is3D, I as validSolid, L as getShapeKind, M as manifoldShell, N as orientedFace, O as isOrientedFace, Q as withScopeResult, S as isSolid, T as closedWire, U as DisposalScope, V as is2D, W as createHandle, Z as withScope, _ as isEdge, b as isShape3D, g as isCompound, j as isValidSolid, q as isLive, r as castShape, v as isFace, w as isWire, x as isShell, y as isShape1D } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, B as unwrapOr, E as map, I as tryCatch, L as tryCatchAsync, O as mapErr, R as unwrap, T as isOk, V as unwrapOrElse, a as moduleInitError, b as err, c as sketcherStateError, d as validationError, g as OK, h as bug, i as kernelError, k as match, l as typeCastError, m as BrepBugError, n as computationError, o as queryError, r as ioError, u as unsupportedError, v as andThen, w as isErr, x as flatMap, y as collect, z as unwrapErr } from "./errors-DNWJsfVU.js";
3
3
  import { n as HASH_CODE_MAX, r as RAD2DEG, t as DEG2RAD } from "./constants-ITRzCnCp.js";
4
4
  import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-D24Y27N0.js";
@@ -1,6 +1,6 @@
1
1
  const require_constants = require("./constants-BOVyEYGH.cjs");
2
2
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
3
- const require_helpers = require("./helpers-CXHMPCPr.cjs");
3
+ const require_helpers = require("./helpers-DKfkqED3.cjs");
4
4
  //#region src/query/cornerFinder.ts
5
5
  var PI_2 = 2 * Math.PI;
6
6
  function positiveHalfAngle(angle) {
@@ -1,6 +1,6 @@
1
1
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
2
2
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
3
- import { _ as samePoint, p as distance2d, u as angle2d } from "./helpers-nTMuqwBX.js";
3
+ import { _ as samePoint, p as distance2d, u as angle2d } from "./helpers-DzOME9UE.js";
4
4
  //#region src/query/cornerFinder.ts
5
5
  var PI_2 = 2 * Math.PI;
6
6
  function positiveHalfAngle(angle) {
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/topology/curveFns.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { C as isWire, g as isEdge, p as disposeResultShape, t as castResultShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { _ as isEdge, m as disposeResultShape, nt as getKernel, t as castResultShape, w as isWire } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, l as typeCastError } from "./errors-DNWJsfVU.js";
3
3
  //#region src/topology/curveFns.ts
4
4
  /**
@@ -1,22 +1,22 @@
1
- const require_textBlueprints = require("./textBlueprints-BKi0ghsT.cjs");
2
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-BXtV_DY6.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
3
3
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
4
4
  const require_errors = require("./errors-CXJtc4I7.cjs");
5
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
5
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
6
6
  const require_constants = require("./constants-BOVyEYGH.cjs");
7
7
  const require_types = require("./types-KjA8tY4Y.cjs");
8
8
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
9
9
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
10
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
11
- const require_curveFns = require("./curveFns-Bbq8YwiP.cjs");
10
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
11
+ const require_curveFns = require("./curveFns-Bb3wuFj4.cjs");
12
12
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
13
- const require_surfaceBuilders = require("./surfaceBuilders-_pFeqIF8.cjs");
14
- const require_blueprintSketcher = require("./blueprintSketcher-BbT1WvI0.cjs");
15
- const require_helpers = require("./helpers-CXHMPCPr.cjs");
16
- const require_blueprint = require("./blueprint-8aYTu_pt.cjs");
17
- const require_cornerFinder = require("./cornerFinder-Dg00ADRE.cjs");
18
- const require_boolean2D = require("./boolean2D-gvWTFM1D.cjs");
19
- const require_cameraFns = require("./cameraFns-BgMZW_YF.cjs");
13
+ const require_surfaceBuilders = require("./surfaceBuilders-DUG4Y0qA.cjs");
14
+ const require_blueprintSketcher = require("./blueprintSketcher-D5AHgjkT.cjs");
15
+ const require_helpers = require("./helpers-DKfkqED3.cjs");
16
+ const require_blueprint = require("./blueprint-qWwhQGSr.cjs");
17
+ const require_cornerFinder = require("./cornerFinder-BDwDNTdN.cjs");
18
+ const require_boolean2D = require("./boolean2D-Bemx5WZV.cjs");
19
+ const require_cameraFns = require("./cameraFns-taUY1CFZ.cjs");
20
20
  //#region 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 { $ as _usingCtx, H as DisposalScope, d as createWire, o as createEdge, s as createFace, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { U as DisposalScope, c as createFace, et as _usingCtx, f as createWire, nt as getKernel, s as createEdge } from "./shapeTypes-D8Fprilr.js";
2
2
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
3
3
  import { R as unwrap, h as bug, s as safeIndex } from "./errors-DNWJsfVU.js";
4
- import { s as getEdges } from "./topologyQueryFns-Jg9SyAWe.js";
4
+ import { s as getEdges } from "./topologyQueryFns-DfThB5LA.js";
5
5
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
6
6
  import { r as toVec3 } from "./types-D24Y27N0.js";
7
7
  import { d as vecNormalize, g as vecSub, h as vecScale, m as vecRotate, r as vecCross } from "./vecOps-SKPRvPH-.js";
8
8
  import { a as planeToWorld, o as resolvePlane } from "./planeOps-DSjjtrjg.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-CnCX9BM_.js";
10
- import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-QU4XEJMN.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-Bm3-D75M.js";
10
+ import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-Y1TTdL_y.js";
11
11
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
12
- import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-BPTkEKy4.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-L_UQ6PjH.js";
14
- import { _ as samePoint$1, b as subtract2d, c as PRECISION_OFFSET, l as add2d, y as squareDistance2d } from "./helpers-nTMuqwBX.js";
15
- import { _ as Curve2D, a as edgeToCurve, c as make2dCircle, d as make2dInerpolatedBSplineCurve, f as make2dSegmentCurve, g as approximateAsSvgCompatibleCurve, i as curvesAsEdgesOnPlane, l as make2dEllipse, o as make2dArcFromCenter, t as Blueprint, v as deserializeCurve2D, y as BoundingBox2d } from "./blueprint-Cq4SoX4f.js";
16
- import { t as cornerFinder } from "./cornerFinder-ug3d1MIj.js";
17
- import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-Bo8N_bkO.js";
18
- import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-lsM-HJ_1.js";
19
- import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-CX0GX3TA.js";
12
+ import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-B15_8txg.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-cgkF6uCj.js";
14
+ import { _ as samePoint$1, b as subtract2d, c as PRECISION_OFFSET, l as add2d, y as squareDistance2d } from "./helpers-DzOME9UE.js";
15
+ import { _ as Curve2D, a as edgeToCurve, c as make2dCircle, d as make2dInerpolatedBSplineCurve, f as make2dSegmentCurve, g as approximateAsSvgCompatibleCurve, i as curvesAsEdgesOnPlane, l as make2dEllipse, o as make2dArcFromCenter, t as Blueprint, v as deserializeCurve2D, y as BoundingBox2d } from "./blueprint-nrz4fL3I.js";
16
+ import { t as cornerFinder } from "./cornerFinder-DGI6Ud6N.js";
17
+ import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-CSZIZMaq.js";
18
+ import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-BYz-7-MZ.js";
19
+ import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-xD28Tsqu.js";
20
20
  //#region 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
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_types = require("./types-KjA8tY4Y.cjs");
5
5
  //#region src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -1,6 +1,6 @@
1
- import { n as castShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, r as castShape } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError } from "./errors-DNWJsfVU.js";
3
- import { a as getCachedSurfaceType } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { a as getCachedSurfaceType } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { r as toVec3 } from "./types-D24Y27N0.js";
5
5
  //#region src/topology/cast.ts
6
6
  var TOPO_ENUM = {
@@ -1,11 +1,11 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
6
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
5
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
6
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
7
7
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
8
- const require_solidBuilders = require("./solidBuilders-oBXWp32X.cjs");
8
+ const require_solidBuilders = require("./solidBuilders-CkkgC2se.cjs");
9
9
  //#region src/topology/threeHelpers.ts
10
10
  /**
11
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,11 +1,11 @@
1
- import { C as isWire, I as getShapeKind, _ as isFace, f as disposeDowncastSource, n as castShape, p as disposeResultShape, t as castResultShape, tt as getKernel, x as isSolid, y as isShape3D } from "./shapeTypes-USExUZfW.js";
1
+ import { L as getShapeKind, S as isSolid, b as isShape3D, m as disposeResultShape, nt as getKernel, p as disposeDowncastSource, r as castShape, t as castResultShape, v as isFace, w as isWire } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
- import { c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
- import { y as downcast } from "./faceFns-CnCX9BM_.js";
6
- import { _ as collectInputFaceHashes, y as propagateAllMetadata } from "./shapeFns-B0tRZG0L.js";
5
+ import { y as downcast } from "./faceFns-Bm3-D75M.js";
6
+ import { _ as collectInputFaceHashes, y as propagateAllMetadata } from "./shapeFns-Dqlpy8wm.js";
7
7
  import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
8
- import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-DGhhY8ct.js";
8
+ import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-B_N5miaY.js";
9
9
  //#region src/topology/threeHelpers.ts
10
10
  /**
11
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
6
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
7
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
8
- const require_curveFns = require("./curveFns-Bbq8YwiP.cjs");
9
- const require_measureFns = require("./measureFns-BXpXVoE1.cjs");
6
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
7
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
8
+ const require_curveFns = require("./curveFns-Bb3wuFj4.cjs");
9
+ const require_measureFns = require("./measureFns-DJ1SESSY.cjs");
10
10
  //#region src/utils/vec2d.ts
11
11
  /** Precision for curve intersection and parameter operations. */
12
12
  var PRECISION_INTERSECTION = 1e-9;
@@ -1,12 +1,12 @@
1
- import { _ as isFace, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, v as isFace } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, T as isOk, b as err, h as bug, o as queryError } from "./errors-DNWJsfVU.js";
3
- import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Jg9SyAWe.js";
3
+ import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-DfThB5LA.js";
4
4
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  import { a as vecDot, d as vecNormalize } from "./vecOps-SKPRvPH-.js";
6
- import { l as normalAt, s as getSurfaceType } from "./faceFns-CnCX9BM_.js";
7
- import { a as isSameShape, n as getHashCode } from "./shapeFns-B0tRZG0L.js";
8
- import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-QU4XEJMN.js";
9
- import { n as measureArea } from "./measureFns-DDlmrOwH.js";
6
+ import { l as normalAt, s as getSurfaceType } from "./faceFns-Bm3-D75M.js";
7
+ import { a as isSameShape, n as getHashCode } from "./shapeFns-Dqlpy8wm.js";
8
+ import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-Y1TTdL_y.js";
9
+ import { n as measureArea } from "./measureFns-1akKMnXO.js";
10
10
  //#region src/utils/vec2d.ts
11
11
  /** Precision for curve intersection and parameter operations. */
12
12
  var PRECISION_INTERSECTION = 1e-9;
@@ -1,8 +1,8 @@
1
- import { n as castShape, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, r as castShape } from "./shapeTypes-D8Fprilr.js";
2
2
  import { n as wasmIndex, t as vec3At$1 } from "./vec3-Dpha8d5k.js";
3
3
  import { A as ok, b as err, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
4
4
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
5
- import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-Cq4SoX4f.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-nrz4fL3I.js";
6
6
  //#region src/io/objExportFns.ts
7
7
  /** Read a vec3 from a typed array at the given vertex index. */
8
8
  function vec3At(arr, i) {
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
5
- const require_blueprint = require("./blueprint-8aYTu_pt.cjs");
5
+ const require_blueprint = require("./blueprint-qWwhQGSr.cjs");
6
6
  //#region src/io/objExportFns.ts
7
7
  /** Read a vec3 from a typed array at the given vertex index. */
8
8
  function vec3At(arr, i) {
package/dist/io.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_meshFns = require("./meshFns-tNFtjrAg.cjs");
3
- const require_importFns = require("./importFns-Rtl8_piv.cjs");
2
+ const require_meshFns = require("./meshFns-s-c0lABa.cjs");
3
+ const require_importFns = require("./importFns-D8i8O8di.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-BcvYEb05.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-JVnMjbVT.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-Dt93gFGp.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-BnQAQt7q.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_types = require("./types-KjA8tY4Y.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
@@ -1,4 +1,4 @@
1
- import { C as isWire, f as disposeDowncastSource, l as createSolid, p as disposeResultShape, t as castResultShape, tt as getKernel, y as isShape3D } from "./shapeTypes-USExUZfW.js";
1
+ import { b as isShape3D, m as disposeResultShape, nt as getKernel, p as disposeDowncastSource, t as castResultShape, u as createSolid, w as isWire } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { c as vecLength, d as vecNormalize, t as vecAdd } from "./vecOps-SKPRvPH-.js";
@@ -1,7 +1,7 @@
1
- import { tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { w as kernelCallRaw } from "./topologyQueryFns-Jg9SyAWe.js";
4
- import { m as uvBounds } from "./faceFns-CnCX9BM_.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-DfThB5LA.js";
4
+ import { m as uvBounds } from "./faceFns-Bm3-D75M.js";
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
4
- const require_faceFns = require("./faceFns-DlUhG1i5.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
+ const require_faceFns = require("./faceFns-BhBJ_Hsb.cjs");
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-BXpXVoE1.cjs");
2
+ const require_measureFns = require("./measureFns-DJ1SESSY.cjs");
3
3
  exports.createDistanceQuery = require_measureFns.createDistanceQuery;
4
4
  exports.measureArea = require_measureFns.measureArea;
5
5
  exports.measureDistance = require_measureFns.measureDistance;
@@ -1,2 +1,2 @@
1
- import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-DDlmrOwH.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-1akKMnXO.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- import { bt as qualityDeflection, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { nt as getKernel, xt as qualityDeflection } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-DNWJsfVU.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-Jg9SyAWe.js";
4
- import { j as getFaceOrigins } from "./shapeFns-B0tRZG0L.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-DfThB5LA.js";
4
+ import { j as getFaceOrigins } from "./shapeFns-Dqlpy8wm.js";
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-DK-ktEI-.cjs");
4
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BJbOwoZm.cjs");
4
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-CILCsLs1.cjs");
3
- const require_loftFns = require("./loftFns-CYHPZMOq.cjs");
2
+ const require_threadFns = require("./threadFns-CWIlyEcP.cjs");
3
+ const require_loftFns = require("./loftFns-BJiGxTys.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 createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as circularPattern, H as removeChild, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, O as prismaticJoint, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, 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, q as linearPattern, 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 countNodes } from "./threadFns-oZG40DKL.js";
2
- import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-jXPjUwdV.js";
1
+ import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as circularPattern, H as removeChild, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, O as prismaticJoint, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, 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, q as linearPattern, 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 countNodes } from "./threadFns-CMdXdlIH.js";
2
+ import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-CK4PP1IR.js";
3
3
  export { addChild, addJoint, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, cylindricalJoint, exportAssemblySTEP, exportURDF, findNode, findStep, forwardKinematics, getShape as getHistoryShape, gridPattern, importURDF, inverseKinematics, jointTrajectory, jointTransform, jointsFromDH, linearPattern, mechanismDOF, modifyStep, planarJoint, prismaticJoint, registerOperation, registerShape, removeChild, replayFrom, replayHistory, revoluteJoint, setJointValue, setJointValues, sphericalJoint, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-OqAALhek.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B8a39SS3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
- const require_shapeFns = require("./shapeFns-7T0gykWr.cjs");
5
- const require_surfaceBuilders = require("./surfaceBuilders-_pFeqIF8.cjs");
6
- const require_solidBuilders = require("./solidBuilders-oBXWp32X.cjs");
4
+ const require_shapeFns = require("./shapeFns-1aqO2bz4.cjs");
5
+ const require_surfaceBuilders = require("./surfaceBuilders-DUG4Y0qA.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-CkkgC2se.cjs");
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,9 +1,9 @@
1
- import { T as isClosedWire, l as createSolid, tt as getKernel } from "./shapeTypes-USExUZfW.js";
1
+ import { E as isClosedWire, nt as getKernel, u as createSolid } from "./shapeTypes-D8Fprilr.js";
2
2
  import { A as ok, b as err, d as validationError, v as andThen } from "./errors-DNWJsfVU.js";
3
3
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
4
- import { g as translate } from "./shapeFns-B0tRZG0L.js";
5
- import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-BPTkEKy4.js";
6
- import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-DGhhY8ct.js";
4
+ import { g as translate } from "./shapeFns-Dqlpy8wm.js";
5
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-B15_8txg.js";
6
+ import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-B_N5miaY.js";
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-BgMZW_YF.cjs");
2
+ const require_cameraFns = require("./cameraFns-taUY1CFZ.cjs");
3
3
  exports.PROJECTION_PLANES = require_cameraFns.PROJECTION_PLANES;
4
4
  exports.cameraFromPlane = require_cameraFns.cameraFromPlane;
5
5
  exports.cameraLookAt = require_cameraFns.cameraLookAt;
@@ -1,2 +1,2 @@
1
- import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-CX0GX3TA.js";
1
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-xD28Tsqu.js";
2
2
  export { PROJECTION_PLANES, cameraFromPlane, cameraLookAt, createCamera, isProjectionPlane, makeProjectedEdges, projectEdges };
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-CXHMPCPr.cjs");
3
- const require_cornerFinder = require("./cornerFinder-Dg00ADRE.cjs");
2
+ const require_helpers = require("./helpers-DKfkqED3.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-BDwDNTdN.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-nTMuqwBX.js";
2
- import { t as cornerFinder } from "./cornerFinder-ug3d1MIj.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DzOME9UE.js";
2
+ import { t as cornerFinder } from "./cornerFinder-DGI6Ud6N.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };