brepjs 18.82.1 → 18.82.3

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 (75) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-DYSvNd4o.js → blueprint-BBSt1k_F.js} +5 -5
  4. package/dist/{blueprint-nc1fOuKL.cjs → blueprint-BWb1b-R_.cjs} +5 -5
  5. package/dist/{blueprintFns-BCwcL8yU.js → blueprintFns-DWji-hqn.js} +2 -2
  6. package/dist/{blueprintFns-DfWBxCq0.cjs → blueprintFns-oFr-O71P.cjs} +2 -2
  7. package/dist/{blueprintSketcher-CAW_XLlt.js → blueprintSketcher-BJn6P9IX.js} +3 -3
  8. package/dist/{blueprintSketcher-B-3xs7WQ.cjs → blueprintSketcher-CMKW8gMH.cjs} +3 -3
  9. package/dist/{boolean2D-DNJmkzwX.js → boolean2D-DaOXyVXh.js} +4 -4
  10. package/dist/{boolean2D-KbMyZhkl.cjs → boolean2D-M3i4os2c.cjs} +4 -4
  11. package/dist/brepjs.cjs +24 -24
  12. package/dist/brepjs.js +24 -24
  13. package/dist/{cameraFns-DVHzAi9k.js → cameraFns-B3Wb4Br9.js} +2 -2
  14. package/dist/{cameraFns-B6TZAVBS.cjs → cameraFns-Drgka78Q.cjs} +2 -2
  15. package/dist/core.cjs +1 -1
  16. package/dist/core.js +1 -1
  17. package/dist/{cornerFinder-_Ob4SRyO.cjs → cornerFinder-CG2Pgp7d.cjs} +1 -1
  18. package/dist/{cornerFinder-CTjcdE3-.js → cornerFinder-Cc1KSYKs.js} +1 -1
  19. package/dist/{curveFns-DbD2YJ13.cjs → curveFns-BA5zsoce.cjs} +1 -1
  20. package/dist/{curveFns-sKYw6m8M.js → curveFns-XSz4F9j3.js} +1 -1
  21. package/dist/{drawFns-QFxOvbxQ.cjs → drawFns-t-ro78FP.cjs} +12 -12
  22. package/dist/{drawFns-CEPVoNO2.js → drawFns-tHcBGNpE.js} +12 -12
  23. package/dist/{faceFns-lCFbFZoJ.cjs → faceFns-6AarivqH.cjs} +2 -2
  24. package/dist/{faceFns-CGE7tH4w.js → faceFns-BO8IXhhf.js} +2 -2
  25. package/dist/{healingFns-DLgqleYe.js → healingFns-Ct_-O3yk.js} +5 -5
  26. package/dist/{healingFns-GDygrmEZ.cjs → healingFns-MxlhdTIc.cjs} +5 -5
  27. package/dist/{helpers-CgnVqLn7.cjs → helpers-B0uqRA6z.cjs} +6 -6
  28. package/dist/{helpers-CmB_i8jR.js → helpers-BGoSvX_s.js} +6 -6
  29. package/dist/{importFns-CCf9yq82.js → importFns-D8lE2Bou.js} +2 -2
  30. package/dist/{importFns-D95ntTc4.cjs → importFns-DA_iBX9K.cjs} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/{loftFns-BXoTCIjU.js → loftFns-BVbzy6gm.js} +1 -1
  34. package/dist/{loftFns-B1rnJSS9.cjs → loftFns-DxhcdpAu.cjs} +1 -1
  35. package/dist/{measureFns-DWuQ69pP.js → measureFns-Ck2YGGfE.js} +3 -3
  36. package/dist/{measureFns-BhqwziaR.cjs → measureFns-CynnLMdY.cjs} +3 -3
  37. package/dist/measurement.cjs +1 -1
  38. package/dist/measurement.js +1 -1
  39. package/dist/{meshFns-BpZaGQen.js → meshFns-CWwOpBlM.js} +3 -3
  40. package/dist/{meshFns-asBOhb1B.cjs → meshFns-YXFipjjx.cjs} +3 -3
  41. package/dist/operations.cjs +2 -2
  42. package/dist/operations.js +2 -2
  43. package/dist/{primitiveFns-BvhWliRA.js → primitiveFns-CjL5bygY.js} +5 -5
  44. package/dist/{primitiveFns-CtlwDr67.cjs → primitiveFns-LWkd7M2f.cjs} +5 -5
  45. package/dist/projection.cjs +1 -1
  46. package/dist/projection.js +1 -1
  47. package/dist/query.cjs +2 -2
  48. package/dist/query.js +2 -2
  49. package/dist/{shapeFns-BDE-a54O.js → shapeFns-B6UAiYAx.js} +2 -2
  50. package/dist/{shapeFns-B_jJcU_6.cjs → shapeFns-sF0x5Zhj.cjs} +2 -2
  51. package/dist/shapeRef.cjs +1 -1
  52. package/dist/shapeRef.js +1 -1
  53. package/dist/{shapeRefFns-BoVBUAL3.cjs → shapeRefFns-Botsp7SL.cjs} +4 -4
  54. package/dist/{shapeRefFns-CHzb4b94.js → shapeRefFns-DS9FldJc.js} +4 -4
  55. package/dist/{shapeTypes-D7OMlW79.cjs → shapeTypes-D1eUDuzl.cjs} +8 -1
  56. package/dist/{shapeTypes-CIyYAXl9.js → shapeTypes-D4Evnmz_.js} +8 -1
  57. package/dist/sketching.cjs +3 -3
  58. package/dist/sketching.js +3 -3
  59. package/dist/{solidBuilders-D10YA4nh.js → solidBuilders-CgPOdC3Q.js} +2 -2
  60. package/dist/{solidBuilders-CwM49RI7.cjs → solidBuilders-mxHbGDW6.cjs} +2 -2
  61. package/dist/{surfaceBuilders-D8mMa19A.js → surfaceBuilders-CLMyFimy.js} +2 -2
  62. package/dist/{surfaceBuilders-D_CoR7GM.cjs → surfaceBuilders-R4DKNFkI.cjs} +2 -2
  63. package/dist/text.cjs +2 -2
  64. package/dist/text.js +2 -2
  65. package/dist/{textBlueprints-BXMr-Bbx.js → textBlueprints-C03mB6SZ.js} +7 -7
  66. package/dist/{textBlueprints-B8qqMC0Q.cjs → textBlueprints-C2INf1kF.cjs} +7 -7
  67. package/dist/{textMetrics-CMDiXmaV.cjs → textMetrics-B1eg4u4V.cjs} +1 -1
  68. package/dist/{textMetrics-Duye7Kw_.js → textMetrics-DgGJ3bZP.js} +1 -1
  69. package/dist/{threadFns-BvoPZ4ei.cjs → threadFns-CX9l8sRv.cjs} +5 -5
  70. package/dist/{threadFns-D5dsDFQ5.js → threadFns-DqMbjyxZ.js} +5 -5
  71. package/dist/topology.cjs +7 -7
  72. package/dist/topology.js +7 -7
  73. package/dist/{topologyQueryFns-DIKovx5V.js → topologyQueryFns-5EeBz6_7.js} +1 -1
  74. package/dist/{topologyQueryFns-BQq-qkqb.cjs → topologyQueryFns-Nnu56Ke2.cjs} +1 -1
  75. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.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-nc1fOuKL.cjs");
5
+ const require_blueprint = require("./blueprint-BWb1b-R_.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-asBOhb1B.cjs");
3
- const require_importFns = require("./importFns-D95ntTc4.cjs");
2
+ const require_meshFns = require("./meshFns-YXFipjjx.cjs");
3
+ const require_importFns = require("./importFns-DA_iBX9K.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-BpZaGQen.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-CCf9yq82.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CWwOpBlM.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-D8lE2Bou.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -1,4 +1,4 @@
1
- import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-D4Evnmz_.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,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.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,7 +1,7 @@
1
- import { Z as getKernel } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel } from "./shapeTypes-D4Evnmz_.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-DIKovx5V.js";
4
- import { m as uvBounds } from "./faceFns-CGE7tH4w.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-5EeBz6_7.js";
4
+ import { m as uvBounds } from "./faceFns-BO8IXhhf.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-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BQq-qkqb.cjs");
4
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-Nnu56Ke2.cjs");
4
+ const require_faceFns = require("./faceFns-6AarivqH.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-BhqwziaR.cjs");
2
+ const require_measureFns = require("./measureFns-CynnLMdY.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-DWuQ69pP.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-Ck2YGGfE.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-D4Evnmz_.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-DIKovx5V.js";
4
- import { O as getFaceOrigins } from "./shapeFns-BDE-a54O.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-5EeBz6_7.js";
4
+ import { O as getFaceOrigins } from "./shapeFns-B6UAiYAx.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-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BQq-qkqb.cjs");
4
- const require_shapeFns = require("./shapeFns-B_jJcU_6.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-Nnu56Ke2.cjs");
4
+ const require_shapeFns = require("./shapeFns-sF0x5Zhj.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-BvoPZ4ei.cjs");
3
- const require_loftFns = require("./loftFns-B1rnJSS9.cjs");
2
+ const require_threadFns = require("./threadFns-CX9l8sRv.cjs");
3
+ const require_loftFns = require("./loftFns-DxhcdpAu.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 findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ 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 exportAssemblySTEP, 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 createAssemblyNode } from "./threadFns-D5dsDFQ5.js";
2
- import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-BXoTCIjU.js";
1
+ import { A as setJointValue, B as findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ 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 exportAssemblySTEP, 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 createAssemblyNode } from "./threadFns-DqMbjyxZ.js";
2
+ import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-BVbzy6gm.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,13 +1,13 @@
1
- import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, x as isClosedWire } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, x as isClosedWire } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, R as unwrap, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-DNWJsfVU.js";
3
- import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-DIKovx5V.js";
3
+ import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-5EeBz6_7.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  import { h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-DSjjtrjg.js";
7
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate, v as propagateMetadataByHash } from "./shapeFns-BDE-a54O.js";
7
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate, v as propagateMetadataByHash } from "./shapeFns-B6UAiYAx.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- 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-D8mMa19A.js";
10
- 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-D10YA4nh.js";
9
+ 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-CLMyFimy.js";
10
+ 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-CgPOdC3Q.js";
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BQq-qkqb.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-Nnu56Ke2.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
6
6
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
7
- const require_shapeFns = require("./shapeFns-B_jJcU_6.cjs");
7
+ const require_shapeFns = require("./shapeFns-sF0x5Zhj.cjs");
8
8
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
9
- const require_surfaceBuilders = require("./surfaceBuilders-D_CoR7GM.cjs");
10
- const require_solidBuilders = require("./solidBuilders-CwM49RI7.cjs");
9
+ const require_surfaceBuilders = require("./surfaceBuilders-R4DKNFkI.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-mxHbGDW6.cjs");
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-B6TZAVBS.cjs");
2
+ const require_cameraFns = require("./cameraFns-Drgka78Q.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-DVHzAi9k.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-B3Wb4Br9.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-CgnVqLn7.cjs");
3
- const require_cornerFinder = require("./cornerFinder-_Ob4SRyO.cjs");
2
+ const require_helpers = require("./helpers-B0uqRA6z.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-CG2Pgp7d.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-CmB_i8jR.js";
2
- import { t as cornerFinder } from "./cornerFinder-CTjcdE3-.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BGoSvX_s.js";
2
+ import { t as cornerFinder } from "./cornerFinder-Cc1KSYKs.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-DIKovx5V.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-5EeBz6_7.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-BQq-qkqb.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-Nnu56Ke2.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-BoVBUAL3.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-Botsp7SL.cjs");
3
3
  exports.assignRoles = require_shapeRefFns.assignRoles;
4
4
  exports.captureHint = require_shapeRefFns.captureHint;
5
5
  exports.createRef = require_shapeRefFns.createRef;
package/dist/shapeRef.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-CHzb4b94.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-DS9FldJc.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,8 +1,8 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-BQq-qkqb.cjs");
3
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
4
- const require_shapeFns = require("./shapeFns-B_jJcU_6.cjs");
5
- const require_measureFns = require("./measureFns-BhqwziaR.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-Nnu56Ke2.cjs");
3
+ const require_faceFns = require("./faceFns-6AarivqH.cjs");
4
+ const require_shapeFns = require("./shapeFns-sF0x5Zhj.cjs");
5
+ const require_measureFns = require("./measureFns-CynnLMdY.cjs");
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,8 +1,8 @@
1
1
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
2
- import { c as getFaces } from "./topologyQueryFns-DIKovx5V.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-CGE7tH4w.js";
4
- import { n as getHashCode } from "./shapeFns-BDE-a54O.js";
5
- import { n as measureArea } from "./measureFns-DWuQ69pP.js";
2
+ import { c as getFaces } from "./topologyQueryFns-5EeBz6_7.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-BO8IXhhf.js";
4
+ import { n as getHashCode } from "./shapeFns-B6UAiYAx.js";
5
+ import { n as measureArea } from "./measureFns-Ck2YGGfE.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1790,7 +1790,14 @@ function simplePipe$1(oc, profile, spine) {
1790
1790
  const solidProgress = new oc.Message_ProgressRange_1();
1791
1791
  solidMaker.Build(solidProgress);
1792
1792
  solidProgress.delete();
1793
- const result = solidMaker.IsDone() ? solidMaker.Solid() : pipeShape;
1793
+ let result = pipeShape;
1794
+ if (solidMaker.IsDone()) {
1795
+ const solid = solidMaker.Solid();
1796
+ const analyzer = new oc.BRepCheck_Analyzer(solid, true, false, false);
1797
+ if (analyzer.IsValid_2()) result = solid;
1798
+ else solid.delete();
1799
+ analyzer.delete();
1800
+ }
1794
1801
  shellDowncast.delete();
1795
1802
  solidMaker.delete();
1796
1803
  maker.delete();
@@ -1790,7 +1790,14 @@ function simplePipe$1(oc, profile, spine) {
1790
1790
  const solidProgress = new oc.Message_ProgressRange_1();
1791
1791
  solidMaker.Build(solidProgress);
1792
1792
  solidProgress.delete();
1793
- const result = solidMaker.IsDone() ? solidMaker.Solid() : pipeShape;
1793
+ let result = pipeShape;
1794
+ if (solidMaker.IsDone()) {
1795
+ const solid = solidMaker.Solid();
1796
+ const analyzer = new oc.BRepCheck_Analyzer(solid, true, false, false);
1797
+ if (analyzer.IsValid_2()) result = solid;
1798
+ else solid.delete();
1799
+ analyzer.delete();
1800
+ }
1794
1801
  shellDowncast.delete();
1795
1802
  solidMaker.delete();
1796
1803
  maker.delete();
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-B8qqMC0Q.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-B-3xs7WQ.cjs");
4
- const require_drawFns = require("./drawFns-QFxOvbxQ.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-C2INf1kF.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-CMKW8gMH.cjs");
4
+ const require_drawFns = require("./drawFns-t-ro78FP.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
- import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-CAW_XLlt.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-CEPVoNO2.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-BXMr-Bbx.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-BJn6P9IX.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-tHcBGNpE.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-C03mB6SZ.js";
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as cast, v as downcast } from "./faceFns-CGE7tH4w.js";
3
+ import { _ as cast, v as downcast } from "./faceFns-BO8IXhhf.js";
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
3
+ const require_faceFns = require("./faceFns-6AarivqH.cjs");
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as cast, u as outerWire } from "./faceFns-CGE7tH4w.js";
3
+ import { _ as cast, u as outerWire } from "./faceFns-BO8IXhhf.js";
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
3
+ const require_faceFns = require("./faceFns-6AarivqH.cjs");
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-B8qqMC0Q.cjs");
3
- const require_textMetrics = require("./textMetrics-CMDiXmaV.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-C2INf1kF.cjs");
3
+ const require_textMetrics = require("./textMetrics-B1eg4u4V.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-BXMr-Bbx.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-Duye7Kw_.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-C03mB6SZ.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DgGJ3bZP.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -1,15 +1,15 @@
1
- import { Z as getKernel, o as createFace, p as isFace, u as createWire } from "./shapeTypes-CIyYAXl9.js";
1
+ import { Z as getKernel, o as createFace, p as isFace, u as createWire } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, R as unwrap, T as isOk, b as err, h as bug, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  import { n as createPlane } from "./planeOps-DSjjtrjg.js";
6
- import { _ as cast, v as downcast } from "./faceFns-CGE7tH4w.js";
7
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-sKYw6m8M.js";
6
+ import { _ as cast, v as downcast } from "./faceFns-BO8IXhhf.js";
7
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-XSz4F9j3.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-D8mMa19A.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-CAW_XLlt.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-D10YA4nh.js";
12
- import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-BXoTCIjU.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CLMyFimy.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BJn6P9IX.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-CgPOdC3Q.js";
12
+ import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-BVbzy6gm.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/sketching/compoundSketch.ts
15
15
  /**
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
33
33
  const require_errors = require("./errors-CXJtc4I7.cjs");
34
34
  const require_types = require("./types-KjA8tY4Y.cjs");
35
35
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
36
36
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
37
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
38
- const require_curveFns = require("./curveFns-DbD2YJ13.cjs");
37
+ const require_faceFns = require("./faceFns-6AarivqH.cjs");
38
+ const require_curveFns = require("./curveFns-BA5zsoce.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-D_CoR7GM.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-B-3xs7WQ.cjs");
42
- const require_solidBuilders = require("./solidBuilders-CwM49RI7.cjs");
43
- const require_loftFns = require("./loftFns-B1rnJSS9.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-R4DKNFkI.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-CMKW8gMH.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-mxHbGDW6.cjs");
43
+ const require_loftFns = require("./loftFns-DxhcdpAu.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/sketching/compoundSketch.ts
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-B8qqMC0Q.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-C2INf1kF.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-BXMr-Bbx.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-C03mB6SZ.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
5
- const require_shapeFns = require("./shapeFns-B_jJcU_6.cjs");
6
- const require_primitiveFns = require("./primitiveFns-CtlwDr67.cjs");
7
- const require_loftFns = require("./loftFns-B1rnJSS9.cjs");
4
+ const require_faceFns = require("./faceFns-6AarivqH.cjs");
5
+ const require_shapeFns = require("./shapeFns-sF0x5Zhj.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-LWkd7M2f.cjs");
7
+ const require_loftFns = require("./loftFns-DxhcdpAu.cjs");
8
8
  //#region src/utils/uuid.ts
9
9
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
10
10
  function uuidv() {
@@ -1,10 +1,10 @@
1
- import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-CIyYAXl9.js";
1
+ import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, T as isOk, b as err, d as validationError, n as computationError, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { y as fromBREP } from "./faceFns-CGE7tH4w.js";
5
- import { s as toBREP } from "./shapeFns-BDE-a54O.js";
6
- import { E as wire, M as fuseAll, h as line } from "./primitiveFns-BvhWliRA.js";
7
- import { t as loft } from "./loftFns-BXoTCIjU.js";
4
+ import { y as fromBREP } from "./faceFns-BO8IXhhf.js";
5
+ import { s as toBREP } from "./shapeFns-B6UAiYAx.js";
6
+ import { E as wire, M as fuseAll, h as line } from "./primitiveFns-CjL5bygY.js";
7
+ import { t as loft } from "./loftFns-BVbzy6gm.js";
8
8
  //#region src/utils/uuid.ts
9
9
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
10
10
  function uuidv() {
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-BQq-qkqb.cjs");
3
- const require_faceFns = require("./faceFns-lCFbFZoJ.cjs");
4
- const require_shapeFns = require("./shapeFns-B_jJcU_6.cjs");
5
- const require_curveFns = require("./curveFns-DbD2YJ13.cjs");
6
- const require_meshFns = require("./meshFns-asBOhb1B.cjs");
7
- const require_primitiveFns = require("./primitiveFns-CtlwDr67.cjs");
8
- const require_healingFns = require("./healingFns-GDygrmEZ.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-Nnu56Ke2.cjs");
3
+ const require_faceFns = require("./faceFns-6AarivqH.cjs");
4
+ const require_shapeFns = require("./shapeFns-sF0x5Zhj.cjs");
5
+ const require_curveFns = require("./curveFns-BA5zsoce.cjs");
6
+ const require_meshFns = require("./meshFns-YXFipjjx.cjs");
7
+ const require_primitiveFns = require("./primitiveFns-LWkd7M2f.cjs");
8
+ const require_healingFns = require("./healingFns-MxlhdTIc.cjs");
9
9
  exports.addHoles = require_primitiveFns.addHoles;
10
10
  exports.adjacentFaces = require_healingFns.adjacentFaces;
11
11
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,8 +1,8 @@
1
- import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-DIKovx5V.js";
2
- import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-CGE7tH4w.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-BDE-a54O.js";
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-sKYw6m8M.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BpZaGQen.js";
6
- import { A as cutAll, C as threePointArc, D as wireLoop, E as wire, M as fuseAll, 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-BvhWliRA.js";
7
- import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, 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, z as toLineGeometryData } from "./healingFns-DLgqleYe.js";
1
+ import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-5EeBz6_7.js";
2
+ import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-BO8IXhhf.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-B6UAiYAx.js";
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-XSz4F9j3.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-CWwOpBlM.js";
6
+ import { A as cutAll, C as threePointArc, D as wireLoop, E as wire, M as fuseAll, 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-CjL5bygY.js";
7
+ import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, 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, z as toLineGeometryData } from "./healingFns-Ct_-O3yk.js";
8
8
  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 };
@@ -1,4 +1,4 @@
1
- import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-CIyYAXl9.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-D4Evnmz_.js";
2
2
  import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-DNWJsfVU.js";
3
3
  //#region src/core/kernelCall.ts
4
4
  function buildError(kind, code, message, cause, suggestion) {
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-D7OMlW79.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-D1eUDuzl.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/core/kernelCall.ts
4
4
  function buildError(kind, code, message, cause, suggestion) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.82.1",
3
+ "version": "18.82.3",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",