brepjs 18.118.30 → 18.118.31

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.
package/dist/brepjs.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-DKC3VIj5.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BqjL78Py.cjs");
3
3
  const require_shapeTypes = require("./shapeTypes-CSWNkVze.cjs");
4
4
  const require_occtWasmAdapter = require("./occtWasmAdapter-emUI0yql.cjs");
5
5
  const require_bug = require("./bug-O02CsAmt.cjs");
@@ -15,12 +15,12 @@ const require_curveFns = require("./curveFns-fJO3d-Hx.cjs");
15
15
  const require_meshFns = require("./meshFns-BlgjXe87.cjs");
16
16
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
17
17
  const require_surfaceBuilders = require("./surfaceBuilders-BmjMJAAq.cjs");
18
- const require_solidBuilders = require("./solidBuilders-BJ94_pNp.cjs");
19
- const require_healingFns = require("./healingFns-CRPfNXM_.cjs");
20
- const require_threadFns = require("./threadFns-DX3YsQaj.cjs");
18
+ const require_solidBuilders = require("./solidBuilders-BcEHc4TA.cjs");
19
+ const require_healingFns = require("./healingFns-Cu73AuMH.cjs");
20
+ const require_threadFns = require("./threadFns-DVs1fpAF.cjs");
21
21
  const require_blueprintSketcher = require("./blueprintSketcher-C45gRDpF.cjs");
22
22
  const require_helpers = require("./helpers-CDR7Sp-u.cjs");
23
- const require_drawFns = require("./drawFns-uewgB6Rf.cjs");
23
+ const require_drawFns = require("./drawFns-w4J5GGwf.cjs");
24
24
  const require_measureFns = require("./measureFns-CbJmQhR2.cjs");
25
25
  const require_cornerFinder = require("./cornerFinder-BZgMivAV.cjs");
26
26
  const require_boolean2D = require("./boolean2D-hs8bIs8J.cjs");
@@ -28,11 +28,11 @@ const require_blueprintFns = require("./blueprintFns-Co0S0Nor.cjs");
28
28
  const require_importFns = require("./importFns-e-oPPBZD.cjs");
29
29
  const require_loftFns = require("./loftFns-ETbdS4A5.cjs");
30
30
  const require_cameraFns = require("./cameraFns-J7qTT3Yh.cjs");
31
- const require_textMetrics = require("./textMetrics-CFWUMBxB.cjs");
31
+ const require_textMetrics = require("./textMetrics-CWBieBcs.cjs");
32
32
  const require_adjacencyFns = require("./adjacencyFns-BSvV5KIo.cjs");
33
33
  const require_refResolveFns = require("./refResolveFns-Czi9RcEf.cjs");
34
34
  const require_workerPool = require("./workerPool-D30NsiIW.cjs");
35
- const require_primitiveFns = require("./primitiveFns-Bh9mWBfs.cjs");
35
+ const require_primitiveFns = require("./primitiveFns-zva1hjBx.cjs");
36
36
  //#region src/topology/shapeBooleans.ts
37
37
  var BOPAlgo_GlueShift = 1;
38
38
  var BOPAlgo_GlueFull = 2;
package/dist/brepjs.js CHANGED
@@ -13,25 +13,25 @@ import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as get
13
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-BFjeEjYP.js";
14
14
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
15
15
  import { _ as makeThreePointArc, d as makeCircle, h as makeLine, l as makeBSplineInterpolation, n as fill, r as makeFace, s as assembleWire } from "./surfaceBuilders-9qZyEfFZ.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-D3LMIcIz.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-DWeLpQd1.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-CGBSDiMt.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-DOo2osOC.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-EoIgTx_x.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-aj-opG6P.js";
19
19
  import { n as BaseSketcher2d, r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-B9HRVab_.js";
20
20
  import { a as createTypedFinder, i as wireFinder, n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-iqCaToj9.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-CM6UoydM.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-BfnsQHTt.js";
22
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-B9PVxroM.js";
23
23
  import { t as cornerFinder } from "./cornerFinder-D_U4i1mP.js";
24
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-1oV4XUXs.js";
25
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-BtsYL5sX.js";
26
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-BdUizsYV.js";
27
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-DyH-4tYU.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-DBTQllob.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-CSCa8xco.js";
29
29
  import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-BPte0PuT.js";
30
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DpQdJjRp.js";
30
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-BMFYJrbQ.js";
31
31
  import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CmeUDX9T.js";
32
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-sh-VUGiS.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-BELDRuar.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-DwxLmGng.js";
35
35
  //#region \0rolldown/runtime.js
36
36
  var __defProp = Object.defineProperty;
37
37
  var __exportAll = (all, no_symbols) => {
@@ -15,7 +15,7 @@ import { _ as samePoint$1, b as subtract2d, c as PRECISION_OFFSET, l as add2d, y
15
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-Dt30dLQO.js";
16
16
  import { t as cornerFinder } from "./cornerFinder-D_U4i1mP.js";
17
17
  import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-1oV4XUXs.js";
18
- import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-DBTQllob.js";
18
+ import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-CSCa8xco.js";
19
19
  import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-BPte0PuT.js";
20
20
  //#region src/2d/lib/stitching.ts
21
21
  /**
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-DKC3VIj5.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-BqjL78Py.cjs");
2
2
  const require_shapeTypes = require("./shapeTypes-CSWNkVze.cjs");
3
3
  const require_bug = require("./bug-O02CsAmt.cjs");
4
4
  const require_errors = require("./errors-CJU8CHng.cjs");
@@ -5,7 +5,7 @@ const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_faceFns = require("./faceFns-C54Zlz7L.cjs");
6
6
  const require_shapeFns = require("./shapeFns-BRTngdGI.cjs");
7
7
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
8
- const require_solidBuilders = require("./solidBuilders-BJ94_pNp.cjs");
8
+ const require_solidBuilders = require("./solidBuilders-BcEHc4TA.cjs");
9
9
  //#region src/topology/threeHelpers.ts
10
10
  /**
11
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -5,7 +5,7 @@ import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  import { y as downcast } from "./faceFns-dy60vOjq.js";
6
6
  import { _ as collectInputFaceHashes, y as propagateAllMetadata } from "./shapeFns-W7yEWaBx.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-D3LMIcIz.js";
8
+ import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-DOo2osOC.js";
9
9
  //#region src/topology/threeHelpers.ts
10
10
  /**
11
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-DX3YsQaj.cjs");
2
+ const require_threadFns = require("./threadFns-DVs1fpAF.cjs");
3
3
  const require_loftFns = require("./loftFns-ETbdS4A5.cjs");
4
4
  exports.addChild = require_threadFns.addChild;
5
5
  exports.addJoint = require_threadFns.addJoint;
@@ -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-CGBSDiMt.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-aj-opG6P.js";
2
2
  import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-DyH-4tYU.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 };
@@ -3,7 +3,7 @@ import { O as ok, d as validationError, g as andThen, v as err } from "./errors-
3
3
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
4
4
  import { g as translate } from "./shapeFns-W7yEWaBx.js";
5
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-9qZyEfFZ.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-D3LMIcIz.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-DOo2osOC.js";
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -3,7 +3,7 @@ const require_errors = require("./errors-CJU8CHng.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
4
  const require_shapeFns = require("./shapeFns-BRTngdGI.cjs");
5
5
  const require_surfaceBuilders = require("./surfaceBuilders-BmjMJAAq.cjs");
6
- const require_solidBuilders = require("./solidBuilders-BJ94_pNp.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-BcEHc4TA.cjs");
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-DKC3VIj5.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BqjL78Py.cjs");
3
3
  const require_blueprintSketcher = require("./blueprintSketcher-C45gRDpF.cjs");
4
- const require_drawFns = require("./drawFns-uewgB6Rf.cjs");
4
+ const require_drawFns = require("./drawFns-w4J5GGwf.cjs");
5
5
  //#region src/sketching.ts
6
6
  /**
7
7
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
package/dist/sketching.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-B9HRVab_.js";
2
- import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-CM6UoydM.js";
3
- import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-DBTQllob.js";
2
+ import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-BfnsQHTt.js";
3
+ import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-CSCa8xco.js";
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -219,16 +219,47 @@ function cutAll(base, tools, { optimisation = "none", simplify = false, signal,
219
219
  return cutAllResult;
220
220
  }
221
221
  /**
222
+ * Choose the section face's in-plane half-extent and centre so it covers the
223
+ * whole shape. The rectangle is centred on the shape's bounding-box centre
224
+ * projected onto the cutting plane (dropping the normal component keeps the cut
225
+ * at the plane's position while covering an off-origin shape). The half-extent is
226
+ * the bbox diagonal — large enough for any plane orientation — so a big or
227
+ * off-origin shape is not silently clipped.
228
+ *
229
+ * When the caller passes an explicit `planeSize` they've taken manual control, so
230
+ * the historical plane-origin centring is preserved (only the auto path re-centres
231
+ * on the shape) to avoid silently changing behaviour for existing callers.
232
+ */
233
+ function resolveSectionPlacement(shape, plane, planeSize) {
234
+ if (planeSize !== void 0) return {
235
+ size: planeSize,
236
+ center: plane.origin
237
+ };
238
+ const { min, max } = require_shapeTypes.getKernel().boundingBox(shape.wrapped);
239
+ const bboxCenter = [
240
+ (min[0] + max[0]) / 2,
241
+ (min[1] + max[1]) / 2,
242
+ (min[2] + max[2]) / 2
243
+ ];
244
+ const normalOffset = require_vecOps.vecDot(require_vecOps.vecSub(bboxCenter, plane.origin), plane.zDir);
245
+ const center = require_vecOps.vecSub(bboxCenter, require_vecOps.vecScale(plane.zDir, normalOffset));
246
+ const diagonal = Math.hypot(max[0] - min[0], max[1] - min[1], max[2] - min[2]);
247
+ return {
248
+ size: Math.max(diagonal, 1),
249
+ center
250
+ };
251
+ }
252
+ /**
222
253
  * Build a large bounded planar face from a Plane definition.
223
- * The face extends +/-size along xDir and yDir from the origin.
254
+ * The face extends +/-size along xDir and yDir from `center` (a point on the plane).
224
255
  */
225
- function makeSectionFace(plane, size) {
256
+ function makeSectionFace(plane, size, center) {
226
257
  const kernel = require_shapeTypes.getKernel();
227
258
  const hx = require_vecOps.vecScale(plane.xDir, size);
228
259
  const hy = require_vecOps.vecScale(plane.yDir, size);
229
260
  const nhx = require_vecOps.vecScale(plane.xDir, -size);
230
261
  const nhy = require_vecOps.vecScale(plane.yDir, -size);
231
- const o = plane.origin;
262
+ const o = center;
232
263
  const c0 = [...require_vecOps.vecAdd(require_vecOps.vecAdd(o, nhx), nhy)];
233
264
  const c1 = [...require_vecOps.vecAdd(require_vecOps.vecAdd(o, hx), nhy)];
234
265
  const c2 = [...require_vecOps.vecAdd(require_vecOps.vecAdd(o, hx), hy)];
@@ -252,12 +283,15 @@ function makeSectionFace(plane, size) {
252
283
  * @param shape The shape to section (typically a solid or shell)
253
284
  * @param plane Plane definition — a named plane ("XY", "XZ", etc.) or a Plane object
254
285
  * @param options.approximation Whether to approximate the section curves (default true)
255
- * @param options.planeSize Half-size of the cutting plane (default 1e4)
286
+ * @param options.planeSize Half-size of the cutting plane. Defaults to the shape's
287
+ * bounding-box diagonal so large or off-origin shapes aren't clipped.
256
288
  * @returns The section result as a shape (typically containing wires/edges)
257
289
  */
258
- function section(shape, plane, { approximation = true, planeSize = 1e4 } = {}) {
290
+ function section(shape, plane, { approximation = true, planeSize } = {}) {
259
291
  if (require_shapeTypes.getKernel().isNull(shape.wrapped)) return require_errors.err(require_errors.validationError(require_errors.BrepErrorCode.NULL_SHAPE_INPUT, "section: shape is a null shape"));
260
- const sectionFace = makeSectionFace(typeof plane === "string" ? require_errors.unwrap(require_planeOps.resolvePlane(plane)) : plane, planeSize);
292
+ const resolvedPlane = typeof plane === "string" ? require_errors.unwrap(require_planeOps.resolvePlane(plane)) : plane;
293
+ const { size, center } = resolveSectionPlacement(shape, resolvedPlane, planeSize);
294
+ const sectionFace = makeSectionFace(resolvedPlane, size, center);
261
295
  try {
262
296
  return require_errors.ok(require_shapeTypes.castResultShape(require_shapeTypes.getKernel().section(shape.wrapped, sectionFace, approximation)));
263
297
  } catch (e) {
@@ -2,7 +2,7 @@ import { C as isSolid, R as getShapeKind, S as isShell, d as createSolid, f as c
2
2
  import { I as unwrap, O as ok, S as isErr, d as validationError, g as andThen, i as kernelError, l as typeCastError, t as BrepErrorCode, v as err } from "./errors-B3CDG537.js";
3
3
  import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-WsDCzw30.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
- import { h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
5
+ import { a as vecDot, g as vecSub, h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-Cp6GQ23-.js";
7
7
  import { _ as cast, y as downcast } from "./faceFns-dy60vOjq.js";
8
8
  import { _ as collectInputFaceHashes, b as propagateMetadataByHash, y as propagateAllMetadata } from "./shapeFns-W7yEWaBx.js";
@@ -219,16 +219,47 @@ function cutAll(base, tools, { optimisation = "none", simplify = false, signal,
219
219
  return cutAllResult;
220
220
  }
221
221
  /**
222
+ * Choose the section face's in-plane half-extent and centre so it covers the
223
+ * whole shape. The rectangle is centred on the shape's bounding-box centre
224
+ * projected onto the cutting plane (dropping the normal component keeps the cut
225
+ * at the plane's position while covering an off-origin shape). The half-extent is
226
+ * the bbox diagonal — large enough for any plane orientation — so a big or
227
+ * off-origin shape is not silently clipped.
228
+ *
229
+ * When the caller passes an explicit `planeSize` they've taken manual control, so
230
+ * the historical plane-origin centring is preserved (only the auto path re-centres
231
+ * on the shape) to avoid silently changing behaviour for existing callers.
232
+ */
233
+ function resolveSectionPlacement(shape, plane, planeSize) {
234
+ if (planeSize !== void 0) return {
235
+ size: planeSize,
236
+ center: plane.origin
237
+ };
238
+ const { min, max } = getKernel().boundingBox(shape.wrapped);
239
+ const bboxCenter = [
240
+ (min[0] + max[0]) / 2,
241
+ (min[1] + max[1]) / 2,
242
+ (min[2] + max[2]) / 2
243
+ ];
244
+ const normalOffset = vecDot(vecSub(bboxCenter, plane.origin), plane.zDir);
245
+ const center = vecSub(bboxCenter, vecScale(plane.zDir, normalOffset));
246
+ const diagonal = Math.hypot(max[0] - min[0], max[1] - min[1], max[2] - min[2]);
247
+ return {
248
+ size: Math.max(diagonal, 1),
249
+ center
250
+ };
251
+ }
252
+ /**
222
253
  * Build a large bounded planar face from a Plane definition.
223
- * The face extends +/-size along xDir and yDir from the origin.
254
+ * The face extends +/-size along xDir and yDir from `center` (a point on the plane).
224
255
  */
225
- function makeSectionFace(plane, size) {
256
+ function makeSectionFace(plane, size, center) {
226
257
  const kernel = getKernel();
227
258
  const hx = vecScale(plane.xDir, size);
228
259
  const hy = vecScale(plane.yDir, size);
229
260
  const nhx = vecScale(plane.xDir, -size);
230
261
  const nhy = vecScale(plane.yDir, -size);
231
- const o = plane.origin;
262
+ const o = center;
232
263
  const c0 = [...vecAdd(vecAdd(o, nhx), nhy)];
233
264
  const c1 = [...vecAdd(vecAdd(o, hx), nhy)];
234
265
  const c2 = [...vecAdd(vecAdd(o, hx), hy)];
@@ -252,12 +283,15 @@ function makeSectionFace(plane, size) {
252
283
  * @param shape The shape to section (typically a solid or shell)
253
284
  * @param plane Plane definition — a named plane ("XY", "XZ", etc.) or a Plane object
254
285
  * @param options.approximation Whether to approximate the section curves (default true)
255
- * @param options.planeSize Half-size of the cutting plane (default 1e4)
286
+ * @param options.planeSize Half-size of the cutting plane. Defaults to the shape's
287
+ * bounding-box diagonal so large or off-origin shapes aren't clipped.
256
288
  * @returns The section result as a shape (typically containing wires/edges)
257
289
  */
258
- function section(shape, plane, { approximation = true, planeSize = 1e4 } = {}) {
290
+ function section(shape, plane, { approximation = true, planeSize } = {}) {
259
291
  if (getKernel().isNull(shape.wrapped)) return err(validationError(BrepErrorCode.NULL_SHAPE_INPUT, "section: shape is a null shape"));
260
- const sectionFace = makeSectionFace(typeof plane === "string" ? unwrap(resolvePlane(plane)) : plane, planeSize);
292
+ const resolvedPlane = typeof plane === "string" ? unwrap(resolvePlane(plane)) : plane;
293
+ const { size, center } = resolveSectionPlacement(shape, resolvedPlane, planeSize);
294
+ const sectionFace = makeSectionFace(resolvedPlane, size, center);
261
295
  try {
262
296
  return ok(castResultShape(getKernel().section(shape.wrapped, sectionFace, approximation)));
263
297
  } catch (e) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-DKC3VIj5.cjs");
3
- const require_textMetrics = require("./textMetrics-CFWUMBxB.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BqjL78Py.cjs");
3
+ const require_textMetrics = require("./textMetrics-CWBieBcs.cjs");
4
4
  exports.fontMetrics = require_textMetrics.fontMetrics;
5
5
  exports.getFont = require_textBlueprints.getFont;
6
6
  exports.loadFont = require_textBlueprints.loadFont;
package/dist/text.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-DBTQllob.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DpQdJjRp.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-CSCa8xco.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-BMFYJrbQ.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -39,7 +39,7 @@ const require_faceFns = require("./faceFns-C54Zlz7L.cjs");
39
39
  const require_curveFns = require("./curveFns-fJO3d-Hx.cjs");
40
40
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
41
41
  const require_surfaceBuilders = require("./surfaceBuilders-BmjMJAAq.cjs");
42
- const require_solidBuilders = require("./solidBuilders-BJ94_pNp.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-BcEHc4TA.cjs");
43
43
  const require_blueprintSketcher = require("./blueprintSketcher-C45gRDpF.cjs");
44
44
  const require_loftFns = require("./loftFns-ETbdS4A5.cjs");
45
45
  let opentype_js = require("opentype.js");
@@ -8,7 +8,7 @@ import { v as copyShape } from "./faceFns-dy60vOjq.js";
8
8
  import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-D3a4DlZj.js";
9
9
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
10
10
  import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-9qZyEfFZ.js";
11
- import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-D3LMIcIz.js";
11
+ import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-DOo2osOC.js";
12
12
  import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-B9HRVab_.js";
13
13
  import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-DyH-4tYU.js";
14
14
  import opentype from "opentype.js";
@@ -1,5 +1,5 @@
1
1
  import { O as ok, d as validationError, t as BrepErrorCode, v as err } from "./errors-B3CDG537.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-DBTQllob.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-CSCa8xco.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-DKC3VIj5.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-BqjL78Py.cjs");
2
2
  const require_errors = require("./errors-CJU8CHng.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
@@ -3,10 +3,10 @@ const require_errors = require("./errors-CJU8CHng.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
4
  const require_faceFns = require("./faceFns-C54Zlz7L.cjs");
5
5
  const require_shapeFns = require("./shapeFns-BRTngdGI.cjs");
6
- const require_solidBuilders = require("./solidBuilders-BJ94_pNp.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-BcEHc4TA.cjs");
7
7
  const require_loftFns = require("./loftFns-ETbdS4A5.cjs");
8
8
  const require_refResolveFns = require("./refResolveFns-Czi9RcEf.cjs");
9
- const require_primitiveFns = require("./primitiveFns-Bh9mWBfs.cjs");
9
+ const require_primitiveFns = require("./primitiveFns-zva1hjBx.cjs");
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -3,10 +3,10 @@ import { C as isOk, O as ok, d as validationError, n as computationError, r as i
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
4
  import { b as fromBREP } from "./faceFns-dy60vOjq.js";
5
5
  import { s as toBREP } from "./shapeFns-W7yEWaBx.js";
6
- import { h as fuseAll } from "./solidBuilders-D3LMIcIz.js";
6
+ import { h as fuseAll } from "./solidBuilders-DOo2osOC.js";
7
7
  import { t as loft } from "./loftFns-DyH-4tYU.js";
8
8
  import { c as resolveRefParams } from "./refResolveFns-sh-VUGiS.js";
9
- import { E as wire, h as line } from "./primitiveFns-BELDRuar.js";
9
+ import { E as wire, h as line } from "./primitiveFns-DwxLmGng.js";
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -100,7 +100,8 @@ export declare function cutAll(base: Shape3D, tools: Shape3D[], options: Boolean
100
100
  * @param shape The shape to section (typically a solid or shell)
101
101
  * @param plane Plane definition — a named plane ("XY", "XZ", etc.) or a Plane object
102
102
  * @param options.approximation Whether to approximate the section curves (default true)
103
- * @param options.planeSize Half-size of the cutting plane (default 1e4)
103
+ * @param options.planeSize Half-size of the cutting plane. Defaults to the shape's
104
+ * bounding-box diagonal so large or off-origin shapes aren't clipped.
104
105
  * @returns The section result as a shape (typically containing wires/edges)
105
106
  */
106
107
  export declare function section(shape: AnyShape<Dimension>, plane: PlaneInput, { approximation, planeSize }?: {
package/dist/topology.cjs CHANGED
@@ -4,10 +4,10 @@ const require_faceFns = require("./faceFns-C54Zlz7L.cjs");
4
4
  const require_shapeFns = require("./shapeFns-BRTngdGI.cjs");
5
5
  const require_curveFns = require("./curveFns-fJO3d-Hx.cjs");
6
6
  const require_meshFns = require("./meshFns-BlgjXe87.cjs");
7
- const require_solidBuilders = require("./solidBuilders-BJ94_pNp.cjs");
8
- const require_healingFns = require("./healingFns-CRPfNXM_.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-BcEHc4TA.cjs");
8
+ const require_healingFns = require("./healingFns-Cu73AuMH.cjs");
9
9
  const require_adjacencyFns = require("./adjacencyFns-BSvV5KIo.cjs");
10
- const require_primitiveFns = require("./primitiveFns-Bh9mWBfs.cjs");
10
+ const require_primitiveFns = require("./primitiveFns-zva1hjBx.cjs");
11
11
  exports.addHoles = require_primitiveFns.addHoles;
12
12
  exports.adjacentFaces = require_adjacencyFns.adjacentFaces;
13
13
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -3,8 +3,8 @@ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fr
3
3
  import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-W7yEWaBx.js";
4
4
  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-D3a4DlZj.js";
5
5
  import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-BFjeEjYP.js";
6
- import { h as fuseAll, p as cutAll } from "./solidBuilders-D3LMIcIz.js";
7
- import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-DWeLpQd1.js";
6
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-DOo2osOC.js";
7
+ import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-EoIgTx_x.js";
8
8
  import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CmeUDX9T.js";
9
- import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, 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, x as subFace, y as solid } from "./primitiveFns-BELDRuar.js";
9
+ import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, 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, x as subFace, y as solid } from "./primitiveFns-DwxLmGng.js";
10
10
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveAxis, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceAxis, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseAllBisect, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.118.30",
3
+ "version": "18.118.31",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",