brepjs 18.124.0 → 18.124.1

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 (86) hide show
  1. package/dist/2d.cjs +10 -8
  2. package/dist/2d.js +10 -8
  3. package/dist/{adjacencyFns-BJ6jcQ-N.cjs → adjacencyFns-Dxx7ftVV.cjs} +3 -3
  4. package/dist/{adjacencyFns-CnehwLNj.js → adjacencyFns-Syimhi5A.js} +3 -3
  5. package/dist/{blueprint-BSfG0Uik.cjs → blueprint-BxwG1Gza.cjs} +14 -10
  6. package/dist/{blueprint-BGWbpQ-w.js → blueprint-DvJhiSQF.js} +16 -11
  7. package/dist/{blueprintFns-C0-nGqlW.cjs → blueprintFns-CURJa6gK.cjs} +2 -2
  8. package/dist/{blueprintFns-Bt1hKlL7.js → blueprintFns-CiOJiPIw.js} +2 -2
  9. package/dist/{blueprintSketcher-Bd5ZS9p6.cjs → blueprintSketcher-COLNJfbg.cjs} +19 -11
  10. package/dist/{blueprintSketcher-BTGRoQ_G.js → blueprintSketcher-CfgOzgxc.js} +19 -11
  11. package/dist/{boolean2D-Cr6oLsbf.cjs → boolean2D-BQqC_nps.cjs} +12 -8
  12. package/dist/{boolean2D-zZ9-qR5a.js → boolean2D-Cdh2qVf6.js} +14 -9
  13. package/dist/brepjs.cjs +121 -81
  14. package/dist/brepjs.js +132 -85
  15. package/dist/{cameraFns-j2I9G3L_.cjs → cameraFns-CFVDwvGj.cjs} +5 -4
  16. package/dist/{cameraFns-CGMawqfi.js → cameraFns-USpwGr6_.js} +5 -4
  17. package/dist/core.cjs +2 -2
  18. package/dist/core.js +2 -2
  19. package/dist/{cornerFinder-CaXBdZz9.js → cornerFinder-CIiXl5Kq.js} +1 -1
  20. package/dist/{cornerFinder-CPwSLgpM.cjs → cornerFinder-DyWf9i1I.cjs} +1 -1
  21. package/dist/{curveFns-BBLaLG1U.cjs → curveFns-CSY23hP9.cjs} +8 -5
  22. package/dist/{curveFns-BoHbhtqX.js → curveFns-F4E56Inv.js} +8 -5
  23. package/dist/{drawFns-BrRbAeYB.js → drawFns-BiTlyKMy.js} +59 -30
  24. package/dist/{drawFns-DOkSdo8E.cjs → drawFns-r8PNRpEn.cjs} +59 -30
  25. package/dist/{faceFns-UozswcwP.cjs → faceFns-D9LdZArB.cjs} +4 -3
  26. package/dist/{faceFns-Ce7Fq6j5.js → faceFns-Dy4lA0f_.js} +6 -4
  27. package/dist/{healingFns-Dn0EFSHm.js → healingFns-B6tDq40C.js} +38 -21
  28. package/dist/{healingFns-mKogaVOk.cjs → healingFns-jxoJQApv.cjs} +38 -21
  29. package/dist/{helpers-DuTAcGVX.cjs → helpers-CeX5zwCS.cjs} +6 -6
  30. package/dist/{helpers-CZsK8STz.js → helpers-ClZ_C5nP.js} +6 -6
  31. package/dist/{importFns-Ch2YwieP.cjs → importFns-CR3k4ct3.cjs} +5 -6
  32. package/dist/{importFns-CE4byS-8.js → importFns-DpbQ02xU.js} +5 -6
  33. package/dist/io.cjs +2 -2
  34. package/dist/io.js +2 -2
  35. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  36. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  37. package/dist/{loftFns-BYiUcAxk.cjs → loftFns-Bd6Qs7uB.cjs} +15 -9
  38. package/dist/{loftFns-DQVg8qxM.js → loftFns-sILTLlrA.js} +15 -9
  39. package/dist/{measureFns-BbLLBg5q.js → measureFns-B9CjOY97.js} +3 -3
  40. package/dist/{measureFns-Cao9gY1L.cjs → measureFns-D3wAgSGr.cjs} +3 -3
  41. package/dist/measurement.cjs +1 -1
  42. package/dist/measurement.js +1 -1
  43. package/dist/{meshFns-B6NveFwc.js → meshFns-BWgXP2-7.js} +3 -3
  44. package/dist/{meshFns-CnYIUU9b.cjs → meshFns-C5Mni6NE.cjs} +3 -3
  45. package/dist/{occtWasmAdapter-BQKQXF63.js → occtWasmAdapter-BEe---7w.js} +3 -1
  46. package/dist/{occtWasmAdapter-Aubfbks6.cjs → occtWasmAdapter-DEpy64ji.cjs} +3 -1
  47. package/dist/operations.cjs +2 -2
  48. package/dist/operations.js +2 -2
  49. package/dist/{originTrackingFns-uz38yuMp.cjs → originTrackingFns-BVmoGfxj.cjs} +2 -2
  50. package/dist/{originTrackingFns-DXcggmgf.js → originTrackingFns-CgXHRXve.js} +2 -2
  51. package/dist/{primitiveFns-DmEPf6av.cjs → primitiveFns-BI3xR_wX.cjs} +7 -5
  52. package/dist/{primitiveFns-CmmTWOkO.js → primitiveFns-CSOkiKA7.js} +7 -5
  53. package/dist/projection.cjs +1 -1
  54. package/dist/projection.js +1 -1
  55. package/dist/query.cjs +2 -2
  56. package/dist/query.js +2 -2
  57. package/dist/{refResolveFns-CnPEaqHw.cjs → refResolveFns-D_RnidoD.cjs} +10 -8
  58. package/dist/{refResolveFns-DqY7Cd00.js → refResolveFns-DxjdVw1p.js} +10 -8
  59. package/dist/{rolldown-runtime-DakpK96I.cjs → rolldown-runtime-C0BPl7ul.cjs} +1 -1
  60. package/dist/{shapeFns-BLZ1dDSz.cjs → shapeFns-XPAVA2ZZ.cjs} +2 -2
  61. package/dist/{shapeFns-mYczuWOy.js → shapeFns-lw5Mzj__.js} +2 -2
  62. package/dist/shapeRef.cjs +1 -1
  63. package/dist/shapeRef.js +1 -1
  64. package/dist/{shapeTypes-bHlssytH.js → shapeTypes-7_c5mEYb.js} +25 -17
  65. package/dist/{shapeTypes-DZKuRt24.cjs → shapeTypes-Dm6f4xsN.cjs} +9 -9
  66. package/dist/sketching.cjs +3 -3
  67. package/dist/sketching.js +3 -3
  68. package/dist/{solidBuilders-9s-j-ZiW.js → solidBuilders-Cyfx4vIB.js} +14 -9
  69. package/dist/{solidBuilders-5tA9O1SM.cjs → solidBuilders-D0dqmSE6.cjs} +14 -9
  70. package/dist/{surfaceBuilders-B7UnwkQz.js → surfaceBuilders-BCDBd5Ii.js} +7 -5
  71. package/dist/{surfaceBuilders-0x7j0ibk.cjs → surfaceBuilders-DEMrBvXW.cjs} +7 -5
  72. package/dist/text.cjs +2 -2
  73. package/dist/text.js +2 -2
  74. package/dist/{textBlueprints-BPbIpA4-.cjs → textBlueprints-B-7POKfB.cjs} +37 -22
  75. package/dist/{textBlueprints-DE3M-E9o.js → textBlueprints-DnCz3w4s.js} +36 -21
  76. package/dist/{textMetrics-rRuWxQG_.cjs → textMetrics-4a8KfRbQ.cjs} +3 -2
  77. package/dist/{textMetrics-D3Bly1w4.js → textMetrics-m_H1URz5.js} +3 -2
  78. package/dist/{threadFns-BAjFNk2_.js → threadFns-CJDOHziO.js} +17 -12
  79. package/dist/{threadFns-BMT6ziG_.cjs → threadFns-ZrJsQtPC.cjs} +17 -12
  80. package/dist/topology.cjs +9 -9
  81. package/dist/topology.js +9 -9
  82. package/dist/{topologyQueryFns-DVhWxBwT.js → topologyQueryFns-Bihcwoz0.js} +1 -1
  83. package/dist/{topologyQueryFns-DZUpJz2p.cjs → topologyQueryFns-RjAzu76K.cjs} +1 -1
  84. package/dist/{validityTypes-19mfqWVv.js → validityTypes-C1GMwI9t.js} +1 -1
  85. package/dist/{validityTypes-CCnRq3A9.cjs → validityTypes-DeiK-KFO.cjs} +1 -1
  86. package/package.json +5 -5
@@ -1,12 +1,12 @@
1
- import { K as getKernel, M as DisposalScope, P as createKernelHandle, W as _usingCtx, n as castResultShape, x as isShape3D } from "./shapeTypes-bHlssytH.js";
1
+ import { K as getKernel, M as DisposalScope, P as createKernelHandle, W as _usingCtx, n as castResultShape, x as isShape3D } from "./shapeTypes-7_c5mEYb.js";
2
2
  import { E as ok, d as validationError, g as err, n as computationError, r as ioError, t as BrepErrorCode, x as isOk } from "./errors-MHLiNE-C.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { b as fromBREP } from "./faceFns-Ce7Fq6j5.js";
5
- import { h as fuseAll } from "./solidBuilders-9s-j-ZiW.js";
6
- import { E as wire, h as line } from "./primitiveFns-CmmTWOkO.js";
7
- import { s as toBREP } from "./shapeFns-mYczuWOy.js";
8
- import { t as loft } from "./loftFns-DQVg8qxM.js";
9
- import { c as resolveRefParams } from "./refResolveFns-DqY7Cd00.js";
4
+ import { b as fromBREP } from "./faceFns-Dy4lA0f_.js";
5
+ import { h as fuseAll } from "./solidBuilders-Cyfx4vIB.js";
6
+ import { E as wire, h as line } from "./primitiveFns-CSOkiKA7.js";
7
+ import { s as toBREP } from "./shapeFns-lw5Mzj__.js";
8
+ import { t as loft } from "./loftFns-sILTLlrA.js";
9
+ import { c as resolveRefParams } from "./refResolveFns-DxjdVw1p.js";
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -45,7 +45,8 @@ function createAssembly(shapes = []) {
45
45
  ]
46
46
  };
47
47
  });
48
- return createKernelHandle(getKernel().createXCAFDocument(parts));
48
+ const doc = getKernel().createXCAFDocument(parts);
49
+ return createKernelHandle(doc);
49
50
  }
50
51
  //#endregion
51
52
  //#region src/operations/exporterFns.ts
@@ -193,7 +194,10 @@ function gridPattern(shape, directionX, directionY, countX, countY, spacingX, sp
193
194
  const kernel = getKernel();
194
195
  const dirX = vecNormalize(directionX);
195
196
  const dirY = vecNormalize(directionY);
196
- if (typeof kernel.gridPattern === "function") return ok(castResultShape(kernel.gridPattern(shape.wrapped, [...dirX], [...dirY], spacingX, spacingY, countX, countY)));
197
+ if (typeof kernel.gridPattern === "function") {
198
+ const compound = kernel.gridPattern(shape.wrapped, [...dirX], [...dirY], spacingX, spacingY, countX, countY);
199
+ return ok(castResultShape(compound));
200
+ }
197
201
  const rowResult = linearPattern(shape, directionX, countX, spacingX, options);
198
202
  if (!rowResult.ok) return rowResult;
199
203
  const row = rowResult.value;
@@ -331,13 +335,13 @@ function quatFromTo(from, to) {
331
335
  const a = normalize(from);
332
336
  const b = normalize(to);
333
337
  const d = dot(a, b);
334
- if (d >= .999999999) return [
338
+ if (d >= 1 - 1e-9) return [
335
339
  1,
336
340
  0,
337
341
  0,
338
342
  0
339
343
  ];
340
- if (d <= -.999999999) return quatFromAxisAngle(anyPerpendicular$1(a), Math.PI);
344
+ if (d <= -1 + 1e-9) return quatFromAxisAngle(anyPerpendicular$1(a), Math.PI);
341
345
  const c = cross$1(a, b);
342
346
  const len = Math.hypot(1 + d, c[0], c[1], c[2]) || 1;
343
347
  return [
@@ -1515,7 +1519,8 @@ function thread(options) {
1515
1519
  pt(apexU, 0),
1516
1520
  pt(baseU, a)
1517
1521
  ];
1518
- const w = wire(profile.map((p, k) => scope.register(line(p, profile[(k + 1) % profile.length]))));
1522
+ const edges = profile.map((p, k) => scope.register(line(p, profile[(k + 1) % profile.length])));
1523
+ const w = wire(edges);
1519
1524
  if (!isOk(w)) return w;
1520
1525
  sections.push(scope.register(w.value));
1521
1526
  }
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-DZKuRt24.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Dm6f4xsN.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-UozswcwP.cjs");
5
- const require_solidBuilders = require("./solidBuilders-5tA9O1SM.cjs");
6
- const require_primitiveFns = require("./primitiveFns-DmEPf6av.cjs");
7
- const require_shapeFns = require("./shapeFns-BLZ1dDSz.cjs");
8
- const require_loftFns = require("./loftFns-BYiUcAxk.cjs");
9
- const require_refResolveFns = require("./refResolveFns-CnPEaqHw.cjs");
4
+ const require_faceFns = require("./faceFns-D9LdZArB.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-D0dqmSE6.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-BI3xR_wX.cjs");
7
+ const require_shapeFns = require("./shapeFns-XPAVA2ZZ.cjs");
8
+ const require_loftFns = require("./loftFns-Bd6Qs7uB.cjs");
9
+ const require_refResolveFns = require("./refResolveFns-D_RnidoD.cjs");
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -45,7 +45,8 @@ function createAssembly(shapes = []) {
45
45
  ]
46
46
  };
47
47
  });
48
- return require_shapeTypes.createKernelHandle(require_shapeTypes.getKernel().createXCAFDocument(parts));
48
+ const doc = require_shapeTypes.getKernel().createXCAFDocument(parts);
49
+ return require_shapeTypes.createKernelHandle(doc);
49
50
  }
50
51
  //#endregion
51
52
  //#region src/operations/exporterFns.ts
@@ -193,7 +194,10 @@ function gridPattern(shape, directionX, directionY, countX, countY, spacingX, sp
193
194
  const kernel = require_shapeTypes.getKernel();
194
195
  const dirX = require_vecOps.vecNormalize(directionX);
195
196
  const dirY = require_vecOps.vecNormalize(directionY);
196
- if (typeof kernel.gridPattern === "function") return require_errors.ok(require_shapeTypes.castResultShape(kernel.gridPattern(shape.wrapped, [...dirX], [...dirY], spacingX, spacingY, countX, countY)));
197
+ if (typeof kernel.gridPattern === "function") {
198
+ const compound = kernel.gridPattern(shape.wrapped, [...dirX], [...dirY], spacingX, spacingY, countX, countY);
199
+ return require_errors.ok(require_shapeTypes.castResultShape(compound));
200
+ }
197
201
  const rowResult = linearPattern(shape, directionX, countX, spacingX, options);
198
202
  if (!rowResult.ok) return rowResult;
199
203
  const row = rowResult.value;
@@ -331,13 +335,13 @@ function quatFromTo(from, to) {
331
335
  const a = normalize(from);
332
336
  const b = normalize(to);
333
337
  const d = dot(a, b);
334
- if (d >= .999999999) return [
338
+ if (d >= 1 - 1e-9) return [
335
339
  1,
336
340
  0,
337
341
  0,
338
342
  0
339
343
  ];
340
- if (d <= -.999999999) return quatFromAxisAngle(anyPerpendicular$1(a), Math.PI);
344
+ if (d <= -1 + 1e-9) return quatFromAxisAngle(anyPerpendicular$1(a), Math.PI);
341
345
  const c = cross$1(a, b);
342
346
  const len = Math.hypot(1 + d, c[0], c[1], c[2]) || 1;
343
347
  return [
@@ -1515,7 +1519,8 @@ function thread(options) {
1515
1519
  pt(apexU, 0),
1516
1520
  pt(baseU, a)
1517
1521
  ];
1518
- const w = require_primitiveFns.wire(profile.map((p, k) => scope.register(require_primitiveFns.line(p, profile[(k + 1) % profile.length]))));
1522
+ const edges = profile.map((p, k) => scope.register(require_primitiveFns.line(p, profile[(k + 1) % profile.length])));
1523
+ const w = require_primitiveFns.wire(edges);
1519
1524
  if (!require_errors.isOk(w)) return w;
1520
1525
  sections.push(scope.register(w.value));
1521
1526
  }
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-DZUpJz2p.cjs");
3
- const require_faceFns = require("./faceFns-UozswcwP.cjs");
4
- const require_solidBuilders = require("./solidBuilders-5tA9O1SM.cjs");
5
- const require_primitiveFns = require("./primitiveFns-DmEPf6av.cjs");
6
- const require_shapeFns = require("./shapeFns-BLZ1dDSz.cjs");
7
- const require_curveFns = require("./curveFns-BBLaLG1U.cjs");
8
- const require_meshFns = require("./meshFns-CnYIUU9b.cjs");
9
- const require_healingFns = require("./healingFns-mKogaVOk.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-BJ6jcQ-N.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-RjAzu76K.cjs");
3
+ const require_faceFns = require("./faceFns-D9LdZArB.cjs");
4
+ const require_solidBuilders = require("./solidBuilders-D0dqmSE6.cjs");
5
+ const require_primitiveFns = require("./primitiveFns-BI3xR_wX.cjs");
6
+ const require_shapeFns = require("./shapeFns-XPAVA2ZZ.cjs");
7
+ const require_curveFns = require("./curveFns-CSY23hP9.cjs");
8
+ const require_meshFns = require("./meshFns-C5Mni6NE.cjs");
9
+ const require_healingFns = require("./healingFns-jxoJQApv.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-Dxx7ftVV.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 { C 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-DVhWxBwT.js";
2
- import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-Ce7Fq6j5.js";
3
- import { h as fuseAll, p as cutAll } from "./solidBuilders-9s-j-ZiW.js";
4
- 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-CmmTWOkO.js";
5
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-mYczuWOy.js";
6
- 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-BoHbhtqX.js";
7
- import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-B6NveFwc.js";
8
- 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-Dn0EFSHm.js";
9
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CnehwLNj.js";
1
+ import { C 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-Bihcwoz0.js";
2
+ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-Dy4lA0f_.js";
3
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-Cyfx4vIB.js";
4
+ 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-CSOkiKA7.js";
5
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-lw5Mzj__.js";
6
+ 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-F4E56Inv.js";
7
+ import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-BWgXP2-7.js";
8
+ 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-B6tDq40C.js";
9
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-Syimhi5A.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
- import { D as getOrQueryType, K as getKernel, M as DisposalScope, W as _usingCtx, n as castResultShape, r as castResultShapeWithKnownType } from "./shapeTypes-bHlssytH.js";
1
+ import { D as getOrQueryType, K as getKernel, M as DisposalScope, W as _usingCtx, n as castResultShape, r as castResultShapeWithKnownType } from "./shapeTypes-7_c5mEYb.js";
2
2
  import { E as ok, g as err } from "./errors-MHLiNE-C.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
4
4
  //#region src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-DZKuRt24.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Dm6f4xsN.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
4
  //#region src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- import { K as getKernel } from "./shapeTypes-bHlssytH.js";
1
+ import { K as getKernel } from "./shapeTypes-7_c5mEYb.js";
2
2
  import { E as ok, g as err } from "./errors-MHLiNE-C.js";
3
3
  //#region src/core/validityTypes.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-DZKuRt24.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Dm6f4xsN.cjs");
2
2
  const require_errors = require("./errors-RHkKO5bZ.cjs");
3
3
  //#region src/core/validityTypes.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.124.0",
3
+ "version": "18.124.1",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -261,7 +261,7 @@
261
261
  "@eslint/js": "10.0.1",
262
262
  "@size-limit/file": "12.1.0",
263
263
  "@types/opentype.js": "1.3.9",
264
- "@types/react": "19.2.17",
264
+ "@types/react": "19.2.18",
265
265
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
266
266
  "@vitest/coverage-v8": "4.1.10",
267
267
  "brepjs-opencascade": "*",
@@ -270,18 +270,18 @@
270
270
  "fast-check": "4.9.0",
271
271
  "husky": "9.1.7",
272
272
  "knip": "6.27.0",
273
- "lint-staged": "17.2.0",
273
+ "lint-staged": "17.3.0",
274
274
  "lz-string": "1.5.0",
275
275
  "occt-wasm": "4.2.0",
276
276
  "prettier": "3.9.6",
277
277
  "puppeteer": "25.4.0",
278
278
  "size-limit": "12.1.0",
279
279
  "sucrase": "3.35.1",
280
- "tsx": "4.23.1",
280
+ "tsx": "4.23.4",
281
281
  "typedoc": "0.28.20",
282
282
  "typescript": "6.0.3",
283
283
  "typescript-eslint": "8.65.0",
284
- "vite": "8.1.5",
284
+ "vite": "8.2.0",
285
285
  "vite-plugin-dts": "5.0.3",
286
286
  "vitest": "4.1.10"
287
287
  },