brepjs 18.118.2 → 18.118.4

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 (84) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-COWMJ1OX.cjs → adjacencyFns-CiDCunAU.cjs} +2 -2
  4. package/dist/{adjacencyFns-D026zKM3.js → adjacencyFns-CxepMm7H.js} +2 -2
  5. package/dist/{blueprint-BeCL-AAl.js → blueprint-BIf01dZl.js} +15 -10
  6. package/dist/{blueprint-xcDMSkia.cjs → blueprint-Bp_sSxx2.cjs} +17 -11
  7. package/dist/{blueprintFns-DIMiD67q.cjs → blueprintFns-Dc8amB5a.cjs} +2 -2
  8. package/dist/{blueprintFns-BkSFPipn.js → blueprintFns-Dl_drDhd.js} +2 -2
  9. package/dist/{blueprintSketcher-DKfkNg71.js → blueprintSketcher-D-xSC6Mp.js} +5 -4
  10. package/dist/{blueprintSketcher-DGcCDQq2.cjs → blueprintSketcher-XiLc6fJ4.cjs} +5 -4
  11. package/dist/{boolean2D-BCTOcf19.js → boolean2D-BNjpYyZl.js} +5 -5
  12. package/dist/{boolean2D-Dh4IPW_X.cjs → boolean2D-BfKG5Wio.cjs} +7 -6
  13. package/dist/brepjs.cjs +29 -29
  14. package/dist/brepjs.js +29 -29
  15. package/dist/{cameraFns-BAm-2Clq.cjs → cameraFns-ClE0QcuX.cjs} +2 -2
  16. package/dist/{cameraFns-CRln-7RT.js → cameraFns-DyMKpFHq.js} +2 -2
  17. package/dist/core/shapeTypes.d.ts +32 -0
  18. package/dist/core.cjs +1 -1
  19. package/dist/core.js +1 -1
  20. package/dist/{cornerFinder-DMJBP4I2.cjs → cornerFinder-CINnfCPc.cjs} +1 -1
  21. package/dist/{cornerFinder-Bu482P3S.js → cornerFinder-DFswCdwf.js} +1 -1
  22. package/dist/{curveFns-pGQFlJG-.js → curveFns-BYcTyyb7.js} +1 -1
  23. package/dist/{curveFns-CpaxYpa4.cjs → curveFns-YvH970hp.cjs} +1 -1
  24. package/dist/{drawFns-D-PqWuBQ.cjs → drawFns-CG3ksr6q.cjs} +14 -13
  25. package/dist/{drawFns-BAETgRWM.js → drawFns-DkhqDgS5.js} +14 -13
  26. package/dist/{faceFns-Bc6sBrBV.js → faceFns-CpOAl1K5.js} +2 -2
  27. package/dist/{faceFns-rbWcdpvj.cjs → faceFns-DnLXDWq2.cjs} +4 -3
  28. package/dist/{healingFns-DfshoSeQ.cjs → healingFns-BIcPeCM9.cjs} +16 -15
  29. package/dist/{healingFns-DHxzmeCt.js → healingFns-BP0xjoIs.js} +16 -15
  30. package/dist/{helpers-YD71h41H.js → helpers-BVkEnH5n.js} +6 -6
  31. package/dist/{helpers-CKbgoPDr.cjs → helpers-Beq_ugyN.cjs} +6 -6
  32. package/dist/{importFns-CQ16LqPQ.cjs → importFns-BZYgEOu-.cjs} +4 -4
  33. package/dist/{importFns-A437Sgj6.js → importFns-DPQmk2TS.js} +4 -4
  34. package/dist/io.cjs +2 -2
  35. package/dist/io.js +2 -2
  36. package/dist/kernel/occtWasm/booleanOps.d.ts +9 -1
  37. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  38. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  39. package/dist/kernel/types.d.ts +2 -4
  40. package/dist/{loftFns-BQktV4u4.cjs → loftFns-CZC_NH_h.cjs} +1 -1
  41. package/dist/{loftFns-CXc9tRv6.js → loftFns-NauDWzek.js} +1 -1
  42. package/dist/{measureFns-B_vJqwDc.js → measureFns-BLmLZr0K.js} +3 -3
  43. package/dist/{measureFns-I5KcAgSb.cjs → measureFns-C4BxD4kC.cjs} +3 -3
  44. package/dist/measurement.cjs +1 -1
  45. package/dist/measurement.js +1 -1
  46. package/dist/{meshFns-COdN1kVO.js → meshFns-BK5O_pJ9.js} +3 -3
  47. package/dist/{meshFns-fPnPGEPl.cjs → meshFns-BoF6g1go.cjs} +3 -3
  48. package/dist/{occtWasmAdapter-B2TEQOjs.cjs → occtWasmAdapter-Bj9dX3Lb.cjs} +45 -10
  49. package/dist/{occtWasmAdapter-CKwtxwNH.js → occtWasmAdapter-wBLknH8f.js} +45 -10
  50. package/dist/operations.cjs +2 -2
  51. package/dist/operations.js +2 -2
  52. package/dist/{primitiveFns-DxP7GVQh.js → primitiveFns-DJUXtN6W.js} +4 -4
  53. package/dist/{primitiveFns-Cohp602Q.cjs → primitiveFns-DOyyz54-.cjs} +4 -4
  54. package/dist/projection.cjs +1 -1
  55. package/dist/projection.js +1 -1
  56. package/dist/query.cjs +2 -2
  57. package/dist/query.js +2 -2
  58. package/dist/{refResolveFns-NGXXyTBa.js → refResolveFns-DL1zXF8u.js} +18 -11
  59. package/dist/{refResolveFns-Du0v4e3Y.cjs → refResolveFns-DbTYd_Nj.cjs} +18 -11
  60. package/dist/{shapeFns-DqGDtCsE.js → shapeFns-DED4C70_.js} +84 -23
  61. package/dist/{shapeFns-DvmBIZaX.cjs → shapeFns-DxAhtxFP.cjs} +84 -23
  62. package/dist/shapeRef.cjs +1 -1
  63. package/dist/shapeRef.js +1 -1
  64. package/dist/{shapeTypes-EI4Uxlsb.js → shapeTypes-BguzpBK0.js} +70 -22
  65. package/dist/{shapeTypes-BLREi6xB.cjs → shapeTypes-Ca76Bklg.cjs} +87 -21
  66. package/dist/sketching.cjs +3 -3
  67. package/dist/sketching.js +3 -3
  68. package/dist/{solidBuilders-Oq-hxTvJ.js → solidBuilders-_8mqPO7I.js} +6 -5
  69. package/dist/{solidBuilders-B6DBRdRc.cjs → solidBuilders-yyfZ2Q-7.cjs} +6 -5
  70. package/dist/{surfaceBuilders-C0pJwtCO.js → surfaceBuilders-CT__o6Be.js} +2 -2
  71. package/dist/{surfaceBuilders-C-UhFlpS.cjs → surfaceBuilders-De2XKidK.cjs} +2 -2
  72. package/dist/text.cjs +2 -2
  73. package/dist/text.js +2 -2
  74. package/dist/{textBlueprints-lSKzw-nT.cjs → textBlueprints-C17PPSzH.cjs} +9 -8
  75. package/dist/{textBlueprints-fBpuvT3m.js → textBlueprints-D9l3v-f3.js} +9 -8
  76. package/dist/{textMetrics-BkTdFBwC.cjs → textMetrics-BwQ7TD47.cjs} +1 -1
  77. package/dist/{textMetrics-CnrAQwLI.js → textMetrics-GSAxEtaJ.js} +1 -1
  78. package/dist/{threadFns-DJt3EStH.cjs → threadFns-Bu2c-lu_.cjs} +8 -8
  79. package/dist/{threadFns-Dlts4xFy.js → threadFns-DOqhI5OK.js} +8 -8
  80. package/dist/topology.cjs +9 -9
  81. package/dist/topology.js +9 -9
  82. package/dist/{topologyQueryFns-1PqfeHrV.cjs → topologyQueryFns-B1QAiZVI.cjs} +1 -1
  83. package/dist/{topologyQueryFns-BjgBf2t-.js → topologyQueryFns-Dl2F-2d9.js} +1 -1
  84. package/package.json +16 -15
@@ -1,15 +1,15 @@
1
- import { o as createFace, u as createWire } from "./shapeTypes-EI4Uxlsb.js";
1
+ import { d as createWire, s as createFace } from "./shapeTypes-BguzpBK0.js";
2
2
  import { A as ok, R as unwrap, 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 { v as downcast } from "./faceFns-Bc6sBrBV.js";
7
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-pGQFlJG-.js";
6
+ import { v as downcast } from "./faceFns-CpOAl1K5.js";
7
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-BYcTyyb7.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-C0pJwtCO.js";
10
- import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-Oq-hxTvJ.js";
11
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DKfkNg71.js";
12
- import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-CXc9tRv6.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CT__o6Be.js";
10
+ import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-_8mqPO7I.js";
11
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-D-xSC6Mp.js";
12
+ import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-NauDWzek.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/sketching/compoundSketch.ts
15
15
  /**
@@ -336,7 +336,8 @@ var Sketch = class Sketch {
336
336
  }
337
337
  /** Create an independent deep copy of this sketch. */
338
338
  clone() {
339
- const sketch = new Sketch(createWire(unwrap(downcast(this.wire.wrapped))), {
339
+ const cloned = createWire(unwrap(downcast(this.wire.wrapped)));
340
+ const sketch = new Sketch(cloned, {
340
341
  defaultOrigin: this.defaultOrigin,
341
342
  defaultDirection: this.defaultDirection
342
343
  });
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-lSKzw-nT.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-C17PPSzH.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-fBpuvT3m.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-D9l3v-f3.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,16 +1,16 @@
1
- const require_shapeTypes = require("./shapeTypes-BLREi6xB.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Ca76Bklg.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-rbWcdpvj.cjs");
5
- const require_shapeFns = require("./shapeFns-DvmBIZaX.cjs");
6
- const require_solidBuilders = require("./solidBuilders-B6DBRdRc.cjs");
7
- const require_loftFns = require("./loftFns-BQktV4u4.cjs");
8
- const require_refResolveFns = require("./refResolveFns-Du0v4e3Y.cjs");
9
- const require_primitiveFns = require("./primitiveFns-Cohp602Q.cjs");
4
+ const require_faceFns = require("./faceFns-DnLXDWq2.cjs");
5
+ const require_shapeFns = require("./shapeFns-DxAhtxFP.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-yyfZ2Q-7.cjs");
7
+ const require_loftFns = require("./loftFns-CZC_NH_h.cjs");
8
+ const require_refResolveFns = require("./refResolveFns-DbTYd_Nj.cjs");
9
+ const require_primitiveFns = require("./primitiveFns-DOyyz54-.cjs");
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
13
- return (String([1e7]) + String(-1e3) + String(-4e3) + String(-8e3) + String(-1e11)).replace(/[018]/g, (c) => (Number(c) ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> Number(c) / 4).toString(16));
13
+ return (String([1e7]) + String(-1e3) + String(-4e3) + String(-8e3) + String(-1e11)).replace(/[018]/g, (c) => (Number(c) ^ crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(1))[0] & 15 >> Number(c) / 4).toString(16));
14
14
  }
15
15
  //#endregion
16
16
  //#region src/operations/exporters.ts
@@ -1,16 +1,16 @@
1
- import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, h as isShape3D, t as castShape } from "./shapeTypes-EI4Uxlsb.js";
1
+ import { Q as _usingCtx, U as createKernelHandle, V as DisposalScope, et as getKernel, n as castShape, v as isShape3D } from "./shapeTypes-BguzpBK0.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-Bc6sBrBV.js";
5
- import { s as toBREP } from "./shapeFns-DqGDtCsE.js";
6
- import { h as fuseAll } from "./solidBuilders-Oq-hxTvJ.js";
7
- import { t as loft } from "./loftFns-CXc9tRv6.js";
8
- import { c as resolveRefParams } from "./refResolveFns-NGXXyTBa.js";
9
- import { E as wire, h as line } from "./primitiveFns-DxP7GVQh.js";
4
+ import { y as fromBREP } from "./faceFns-CpOAl1K5.js";
5
+ import { s as toBREP } from "./shapeFns-DED4C70_.js";
6
+ import { h as fuseAll } from "./solidBuilders-_8mqPO7I.js";
7
+ import { t as loft } from "./loftFns-NauDWzek.js";
8
+ import { c as resolveRefParams } from "./refResolveFns-DL1zXF8u.js";
9
+ import { E as wire, h as line } from "./primitiveFns-DJUXtN6W.js";
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
13
- return (String([1e7]) + String(-1e3) + String(-4e3) + String(-8e3) + String(-1e11)).replace(/[018]/g, (c) => (Number(c) ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> Number(c) / 4).toString(16));
13
+ return (String([1e7]) + String(-1e3) + String(-4e3) + String(-8e3) + String(-1e11)).replace(/[018]/g, (c) => (Number(c) ^ crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(1))[0] & 15 >> Number(c) / 4).toString(16));
14
14
  }
15
15
  //#endregion
16
16
  //#region src/operations/exporters.ts
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-1PqfeHrV.cjs");
3
- const require_faceFns = require("./faceFns-rbWcdpvj.cjs");
4
- const require_shapeFns = require("./shapeFns-DvmBIZaX.cjs");
5
- const require_curveFns = require("./curveFns-CpaxYpa4.cjs");
6
- const require_meshFns = require("./meshFns-fPnPGEPl.cjs");
7
- const require_solidBuilders = require("./solidBuilders-B6DBRdRc.cjs");
8
- const require_healingFns = require("./healingFns-DfshoSeQ.cjs");
9
- const require_adjacencyFns = require("./adjacencyFns-COWMJ1OX.cjs");
10
- const require_primitiveFns = require("./primitiveFns-Cohp602Q.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-B1QAiZVI.cjs");
3
+ const require_faceFns = require("./faceFns-DnLXDWq2.cjs");
4
+ const require_shapeFns = require("./shapeFns-DxAhtxFP.cjs");
5
+ const require_curveFns = require("./curveFns-YvH970hp.cjs");
6
+ const require_meshFns = require("./meshFns-BoF6g1go.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-yyfZ2Q-7.cjs");
8
+ const require_healingFns = require("./healingFns-BIcPeCM9.cjs");
9
+ const require_adjacencyFns = require("./adjacencyFns-CiDCunAU.cjs");
10
+ const require_primitiveFns = require("./primitiveFns-DOyyz54-.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
@@ -1,10 +1,10 @@
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-BjgBf2t-.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-Bc6sBrBV.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DqGDtCsE.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-pGQFlJG-.js";
5
- import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-COdN1kVO.js";
6
- import { h as fuseAll, p as cutAll } from "./solidBuilders-Oq-hxTvJ.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-DHxzmeCt.js";
8
- import { a as sharedEdges, c as wiresOfFace, n as edgesOfFace, o as verticesOfEdge, r as facesOfEdge, t as adjacentFaces } from "./adjacencyFns-D026zKM3.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-DxP7GVQh.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-Dl2F-2d9.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-CpOAl1K5.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DED4C70_.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-BYcTyyb7.js";
5
+ import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-BK5O_pJ9.js";
6
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-_8mqPO7I.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-BP0xjoIs.js";
8
+ import { a as sharedEdges, c as wiresOfFace, n as edgesOfFace, o as verticesOfEdge, r as facesOfEdge, t as adjacentFaces } from "./adjacencyFns-CxepMm7H.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-DJUXtN6W.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 };
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-BLREi6xB.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Ca76Bklg.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) {
@@ -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-EI4Uxlsb.js";
1
+ import { I as getOrQueryType, Q as _usingCtx, V as DisposalScope, et as getKernel, i as castShapeWithKnownType, n as castShape } from "./shapeTypes-BguzpBK0.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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.118.2",
3
+ "version": "18.118.4",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -253,32 +253,33 @@
253
253
  "prepare": "husky && bash scripts/ensure-wasm.sh"
254
254
  },
255
255
  "devDependencies": {
256
- "@commitlint/cli": "21.0.2",
257
- "@commitlint/config-conventional": "21.0.2",
256
+ "@commitlint/cli": "21.2.0",
257
+ "@commitlint/config-conventional": "21.2.0",
258
258
  "@eslint/js": "10.0.1",
259
259
  "@size-limit/file": "12.1.0",
260
260
  "@types/opentype.js": "1.3.9",
261
261
  "@types/react": "19.2.17",
262
- "@vitest/coverage-v8": "4.1.8",
262
+ "@vitest/coverage-v8": "4.1.9",
263
263
  "brepjs-opencascade": "*",
264
- "brepkit-wasm": "2.116.1",
265
- "eslint": "10.5.0",
264
+ "brepkit-wasm": "2.124.1",
265
+ "eslint": "10.6.0",
266
266
  "fast-check": "4.8.0",
267
267
  "husky": "9.1.7",
268
- "knip": "6.16.1",
269
- "lint-staged": "17.0.7",
268
+ "knip": "6.24.0",
269
+ "lint-staged": "17.0.8",
270
270
  "lz-string": "1.5.0",
271
- "occt-wasm": "3.6.0",
272
- "prettier": "3.8.4",
273
- "puppeteer": "25.1.0",
271
+ "occt-wasm": "3.6.1",
272
+ "prettier": "3.9.4",
273
+ "puppeteer": "25.3.0",
274
274
  "size-limit": "12.1.0",
275
275
  "sucrase": "3.35.1",
276
+ "tsx": "4.23.0",
276
277
  "typedoc": "0.28.19",
277
278
  "typescript": "6.0.3",
278
- "typescript-eslint": "8.61.0",
279
- "vite": "8.0.16",
280
- "vite-plugin-dts": "5.0.2",
281
- "vitest": "4.1.8"
279
+ "typescript-eslint": "8.62.1",
280
+ "vite": "8.1.3",
281
+ "vite-plugin-dts": "5.0.3",
282
+ "vitest": "4.1.9"
282
283
  },
283
284
  "peerDependencies": {
284
285
  "brepjs-manifold": "^0.1.0",