brepjs 15.7.0 → 16.0.0

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 (69) hide show
  1. package/dist/2d.cjs +5 -5
  2. package/dist/2d.js +5 -5
  3. package/dist/{blueprint-3XBTssPc.cjs → blueprint-D3OHmUKq.cjs} +5 -5
  4. package/dist/{blueprint-DqeC-acB.js → blueprint-DvED9rwq.js} +5 -5
  5. package/dist/{blueprintFns-jXtolMo7.js → blueprintFns-Cp93uqxQ.js} +2 -2
  6. package/dist/{blueprintFns-CNOU63gZ.cjs → blueprintFns-Qok7Q3Hl.cjs} +2 -2
  7. package/dist/{boolean2D-CeRIhAXX.js → boolean2D-Bzt9_N65.js} +7 -7
  8. package/dist/{boolean2D-2rdecZ1A.cjs → boolean2D-CSQDbVdw.cjs} +7 -7
  9. package/dist/{booleanFns-8dONQJt5.cjs → booleanFns-BYPZ71HI.cjs} +4 -4
  10. package/dist/{booleanFns-BZ_KZpuN.js → booleanFns-CHs5pfa5.js} +4 -4
  11. package/dist/brepjs.cjs +20 -20
  12. package/dist/brepjs.js +20 -20
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.js +1 -1
  15. package/dist/{cornerFinder-DP1U6fZc.cjs → cornerFinder-CXX9eFJP.cjs} +1 -1
  16. package/dist/{cornerFinder-BxRIeh-t.js → cornerFinder-Xipmh8GJ.js} +1 -1
  17. package/dist/{curveFns-C2jwKzBJ.cjs → curveFns-CYcOtGk1.cjs} +1 -1
  18. package/dist/{curveFns-o_Jd6i7d.js → curveFns-DdYnAYRc.js} +1 -1
  19. package/dist/{drawFns-D-hqEOc1.js → drawFns-C57u25JA.js} +10 -10
  20. package/dist/{drawFns-BQAwpmkj.cjs → drawFns-VUd3vlN8.cjs} +10 -10
  21. package/dist/{extrudeFns-WoDPtHmv.cjs → extrudeFns-B-My0FG_.cjs} +1 -1
  22. package/dist/{extrudeFns-CXpMBnzp.js → extrudeFns-CyJdzOh9.js} +1 -1
  23. package/dist/{faceFns-cp4SiaL4.js → faceFns-Bd_Rxi0i.js} +1 -1
  24. package/dist/{faceFns-Ca8NpGpl.cjs → faceFns-DUb1drNo.cjs} +1 -1
  25. package/dist/{helpers-BBRrANcN.cjs → helpers-BFceSqJT.cjs} +5 -5
  26. package/dist/{helpers-CxZf_dwL.js → helpers-BjAezes0.js} +5 -5
  27. package/dist/{historyFns-P0Qz1cHG.js → historyFns-DUoAao5A.js} +4 -4
  28. package/dist/{historyFns-B3XDc_Dv.cjs → historyFns-DlA4hmXQ.cjs} +4 -4
  29. package/dist/{importFns-BwLPwQJa.cjs → importFns-BFeTG4CK.cjs} +2 -2
  30. package/dist/{importFns-MU7KKQfS.js → importFns-CB87pmgW.js} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  34. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +2 -2
  35. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts.map +1 -1
  36. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  37. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +4 -3
  38. package/dist/kernel/occtWasm/occtWasmTypes.d.ts.map +1 -1
  39. package/dist/{measureFns-C4Sz6ipO.cjs → measureFns-BFFXNFGZ.cjs} +2 -2
  40. package/dist/{measureFns-JBLNKTIJ.js → measureFns-zfD4TZCP.js} +2 -2
  41. package/dist/measurement.cjs +1 -1
  42. package/dist/measurement.js +1 -1
  43. package/dist/{meshFns-DkHnM1gh.js → meshFns-DBuDtUPk.js} +2 -2
  44. package/dist/{meshFns-XruFyZRt.cjs → meshFns-DFUoQyPn.cjs} +2 -2
  45. package/dist/{occtWasmAdapter-INO58rMv.cjs → occtWasmAdapter-B2iK9ZtR.cjs} +15 -66
  46. package/dist/{occtWasmAdapter-D1R4T53M.js → occtWasmAdapter-skYyvZkQ.js} +15 -66
  47. package/dist/operations.cjs +2 -2
  48. package/dist/operations.js +2 -2
  49. package/dist/{primitiveFns-YtPznomZ.js → primitiveFns-CLGB5eH8.js} +5 -5
  50. package/dist/{primitiveFns-zFchJeMr.cjs → primitiveFns-CvONcifl.cjs} +5 -5
  51. package/dist/query.cjs +2 -2
  52. package/dist/query.js +2 -2
  53. package/dist/{shapeFns-B-5GJQa2.js → shapeFns-LuFDe1Zt.js} +2 -2
  54. package/dist/{shapeFns-Zy-R0zYY.cjs → shapeFns-_qjTVOOu.cjs} +2 -2
  55. package/dist/shapeRef.cjs +1 -1
  56. package/dist/shapeRef.js +1 -1
  57. package/dist/{shapeRefFns-DrAY5KBs.cjs → shapeRefFns-Bst2Q7hu.cjs} +3 -3
  58. package/dist/{shapeRefFns-B9HhTe9P.js → shapeRefFns-JAl-dXcQ.js} +3 -3
  59. package/dist/{shapeTypes-OUbr2wjt.cjs → shapeTypes-BCVe-1bC.cjs} +1 -1
  60. package/dist/{shapeTypes-Ceyxob9L.js → shapeTypes-BaqgkZCg.js} +1 -1
  61. package/dist/sketching.cjs +2 -2
  62. package/dist/sketching.js +2 -2
  63. package/dist/{solidBuilders-knaAeac0.cjs → solidBuilders-BEQIXFI7.cjs} +2 -2
  64. package/dist/{solidBuilders-CTJ65Kuv.js → solidBuilders-BkIjYbQk.js} +2 -2
  65. package/dist/{surfaceBuilders-CrbywKvd.js → surfaceBuilders-C5FAaH5y.js} +2 -2
  66. package/dist/{surfaceBuilders-CgZmPnEC.cjs → surfaceBuilders-DY4OJ3xC.cjs} +2 -2
  67. package/dist/topology.cjs +6 -6
  68. package/dist/topology.js +6 -6
  69. package/package.json +10 -10
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-BBRrANcN.cjs");
3
- const require_cornerFinder = require("./cornerFinder-DP1U6fZc.cjs");
2
+ const require_helpers = require("./helpers-BFceSqJT.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-CXX9eFJP.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-CxZf_dwL.js";
2
- import { t as cornerFinder } from "./cornerFinder-BxRIeh-t.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BjAezes0.js";
2
+ import { t as cornerFinder } from "./cornerFinder-Xipmh8GJ.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { X as getKernel, t as castShape } from "./shapeTypes-Ceyxob9L.js";
1
+ import { X as getKernel, t as castShape } from "./shapeTypes-BaqgkZCg.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DboJwVCf.js";
3
- import { R as kernelCall, S as getOrCreateCache, _ as getCacheEntry, x as getFaces, z as kernelCallRaw } from "./faceFns-cp4SiaL4.js";
3
+ import { R as kernelCall, S as getOrCreateCache, _ as getCacheEntry, x as getFaces, z as kernelCallRaw } from "./faceFns-Bd_Rxi0i.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-csSEYddm.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-OUbr2wjt.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BCVe-1bC.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-Ca8NpGpl.cjs");
3
+ const require_faceFns = require("./faceFns-DUb1drNo.cjs");
4
4
  const require_constants = require("./constants-BNP_xnBN.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-DrAY5KBs.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-Bst2Q7hu.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-B9HhTe9P.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-JAl-dXcQ.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,6 +1,6 @@
1
- const require_faceFns = require("./faceFns-Ca8NpGpl.cjs");
2
- const require_shapeFns = require("./shapeFns-Zy-R0zYY.cjs");
3
- const require_measureFns = require("./measureFns-C4Sz6ipO.cjs");
1
+ const require_faceFns = require("./faceFns-DUb1drNo.cjs");
2
+ const require_shapeFns = require("./shapeFns-_qjTVOOu.cjs");
3
+ const require_measureFns = require("./measureFns-BFFXNFGZ.cjs");
4
4
  //#region src/topology/shapeRef/scoring.ts
5
5
  /**
6
6
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- import { c as normalAt, n as faceCenter, r as faceGeomType, x as getFaces } from "./faceFns-cp4SiaL4.js";
2
- import { n as getHashCode } from "./shapeFns-B-5GJQa2.js";
3
- import { n as measureArea } from "./measureFns-JBLNKTIJ.js";
1
+ import { c as normalAt, n as faceCenter, r as faceGeomType, x as getFaces } from "./faceFns-Bd_Rxi0i.js";
2
+ import { n as getHashCode } from "./shapeFns-LuFDe1Zt.js";
3
+ import { n as measureArea } from "./measureFns-zfD4TZCP.js";
4
4
  //#region src/topology/shapeRef/scoring.ts
5
5
  /**
6
6
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,4 +1,4 @@
1
- const require_occtWasmAdapter = require("./occtWasmAdapter-INO58rMv.cjs");
1
+ const require_occtWasmAdapter = require("./occtWasmAdapter-B2iK9ZtR.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
3
  //#region src/kernel/kernel2dTypes.ts
4
4
  /** Check if the kernel supports 2D geometry operations. */
@@ -1,4 +1,4 @@
1
- import { _ as serializeCurve2d$2, a as curveTypeName, c as intersectCurves2dFn, d as makeEllipse2d$2, f as makeLine2d$2, g as scaleCurve2d$2, h as rotateCurve2d$2, i as curveBounds, l as makeBezier2d$2, m as mirrorAtPoint, n as addCurveToBBox, o as deserializeCurve2d$2, p as mirrorAcrossAxis, r as createBBox2d, s as evaluateCurve2d$2, u as makeCircle2d$2, v as tangentCurve2d, y as translateCurve2d$2 } from "./occtWasmAdapter-D1R4T53M.js";
1
+ import { _ as serializeCurve2d$2, a as curveTypeName, c as intersectCurves2dFn, d as makeEllipse2d$2, f as makeLine2d$2, g as scaleCurve2d$2, h as rotateCurve2d$2, i as curveBounds, l as makeBezier2d$2, m as mirrorAtPoint, n as addCurveToBBox, o as deserializeCurve2d$2, p as mirrorAcrossAxis, r as createBBox2d, s as evaluateCurve2d$2, u as makeCircle2d$2, v as tangentCurve2d, y as translateCurve2d$2 } from "./occtWasmAdapter-skYyvZkQ.js";
2
2
  import { A as ok, b as err } from "./errors-DboJwVCf.js";
3
3
  //#region src/kernel/kernel2dTypes.ts
4
4
  /** Check if the kernel supports 2D geometry operations. */
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_drawFns = require("./drawFns-BQAwpmkj.cjs");
3
- const require_boolean2D = require("./boolean2D-2rdecZ1A.cjs");
2
+ const require_drawFns = require("./drawFns-VUd3vlN8.cjs");
3
+ const require_boolean2D = require("./boolean2D-CSQDbVdw.cjs");
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
package/dist/sketching.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-CeRIhAXX.js";
2
- import { $ as sketchFaceOffset, A as DrawingPen, B as drawSingleCircle, F as drawParametricFunction, H as drawText, I as drawPointsInterpolation, L as drawPolysides, M as draw, N as drawCircle, P as drawEllipse, Q as sketchEllipse, R as drawRectangle, S as drawProjection, V as drawSingleEllipse, X as polysideInnerRadius, Y as makeBaseBox, Z as sketchCircle, _ as sketchLoft, a as drawingIntersect, at as Sketcher, b as sketchWires, c as rotateDrawing, d as compoundSketchExtrude, et as sketchHelix, f as compoundSketchFace, g as sketchFace, h as sketchExtrude, i as drawingFuse, it as sketchRoundedRectangle, j as deserializeDrawing, k as Drawing, l as scaleDrawing, m as compoundSketchRevolve, n as drawingCut, nt as sketchPolysides, o as drawingToSketchOnPlane, ot as Sketches, p as compoundSketchLoft, r as drawingFillet, rt as sketchRectangle, s as mirrorDrawing, st as CompoundSketch, t as drawingChamfer, tt as sketchParametricFunction, u as translateDrawing, v as sketchRevolve, x as drawFaceOutline, y as sketchSweep, z as drawRoundedRectangle } from "./drawFns-D-hqEOc1.js";
1
+ import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-Bzt9_N65.js";
2
+ import { $ as sketchFaceOffset, A as DrawingPen, B as drawSingleCircle, F as drawParametricFunction, H as drawText, I as drawPointsInterpolation, L as drawPolysides, M as draw, N as drawCircle, P as drawEllipse, Q as sketchEllipse, R as drawRectangle, S as drawProjection, V as drawSingleEllipse, X as polysideInnerRadius, Y as makeBaseBox, Z as sketchCircle, _ as sketchLoft, a as drawingIntersect, at as Sketcher, b as sketchWires, c as rotateDrawing, d as compoundSketchExtrude, et as sketchHelix, f as compoundSketchFace, g as sketchFace, h as sketchExtrude, i as drawingFuse, it as sketchRoundedRectangle, j as deserializeDrawing, k as Drawing, l as scaleDrawing, m as compoundSketchRevolve, n as drawingCut, nt as sketchPolysides, o as drawingToSketchOnPlane, ot as Sketches, p as compoundSketchLoft, r as drawingFillet, rt as sketchRectangle, s as mirrorDrawing, st as CompoundSketch, t as drawingChamfer, tt as sketchParametricFunction, u as translateDrawing, v as sketchRevolve, x as drawFaceOutline, y as sketchSweep, z as drawRoundedRectangle } from "./drawFns-C57u25JA.js";
3
3
  //#region src/sketching.ts
4
4
  /**
5
5
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-OUbr2wjt.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BCVe-1bC.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-Ca8NpGpl.cjs");
3
+ const require_faceFns = require("./faceFns-DUb1drNo.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 { X as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-Ceyxob9L.js";
1
+ import { X as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-BaqgkZCg.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-DboJwVCf.js";
3
- import { M as cast, N as downcast } from "./faceFns-cp4SiaL4.js";
3
+ import { M as cast, N as downcast } from "./faceFns-Bd_Rxi0i.js";
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- import { X as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-Ceyxob9L.js";
1
+ import { X as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-BaqgkZCg.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DboJwVCf.js";
3
- import { M as cast, l as outerWire } from "./faceFns-cp4SiaL4.js";
3
+ import { M as cast, l as outerWire } from "./faceFns-Bd_Rxi0i.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-OUbr2wjt.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BCVe-1bC.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-Ca8NpGpl.cjs");
3
+ const require_faceFns = require("./faceFns-DUb1drNo.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/topology.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_faceFns = require("./faceFns-Ca8NpGpl.cjs");
3
- const require_shapeFns = require("./shapeFns-Zy-R0zYY.cjs");
4
- const require_curveFns = require("./curveFns-C2jwKzBJ.cjs");
5
- const require_meshFns = require("./meshFns-XruFyZRt.cjs");
6
- const require_booleanFns = require("./booleanFns-8dONQJt5.cjs");
7
- const require_primitiveFns = require("./primitiveFns-zFchJeMr.cjs");
2
+ const require_faceFns = require("./faceFns-DUb1drNo.cjs");
3
+ const require_shapeFns = require("./shapeFns-_qjTVOOu.cjs");
4
+ const require_curveFns = require("./curveFns-CYcOtGk1.cjs");
5
+ const require_meshFns = require("./meshFns-DFUoQyPn.cjs");
6
+ const require_booleanFns = require("./booleanFns-BYPZ71HI.cjs");
7
+ const require_primitiveFns = require("./primitiveFns-CvONcifl.cjs");
8
8
  exports.addHoles = require_primitiveFns.addHoles;
9
9
  exports.adjacentFaces = require_primitiveFns.adjacentFaces;
10
10
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as vertexPosition, C as getVertices, D as iterFaces, E as iterEdges, F as isCompSolid, I as iterTopo, L as shapeType, M as cast, N as downcast, O as iterVertices, P as fromBREP, T as invalidateShapeCache, a as flipFaceOrientation, b as getEdges, c as normalAt, d as projectPointOnFace, g as getBounds, i as faceOrientation, j as asTopo, k as iterWires, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, w as getWires, x as getFaces } from "./faceFns-cp4SiaL4.js";
2
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-B-5GJQa2.js";
3
- import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-o_Jd6i7d.js";
4
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-DkHnM1gh.js";
5
- import { a as fuseAll, r as cutAll } from "./booleanFns-BZ_KZpuN.js";
6
- import { $ as getNurbsSurfaceData, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as getNurbsCurveData, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as wiresOfFace, b as sphere, c as cylinder, ct as toGroupedBufferGeometryData, d as ellipsoid, et as adjacentFaces, f as face, g as offsetFace, h as line, i as bsplineApprox, it as verticesOfEdge, k as fixSelfIntersection, l as ellipse, m as helix, n as bezier, nt as facesOfEdge, o as compound, ot as chamferDistAngle, p as filledFace, q as filletWithEvolution, r as box, rt as sharedEdges, s as cone, st as toBufferGeometryData, t as addHoles, tt as edgesOfFace, u as ellipseArc, ut as toLineGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-YtPznomZ.js";
1
+ import { A as vertexPosition, C as getVertices, D as iterFaces, E as iterEdges, F as isCompSolid, I as iterTopo, L as shapeType, M as cast, N as downcast, O as iterVertices, P as fromBREP, T as invalidateShapeCache, a as flipFaceOrientation, b as getEdges, c as normalAt, d as projectPointOnFace, g as getBounds, i as faceOrientation, j as asTopo, k as iterWires, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, w as getWires, x as getFaces } from "./faceFns-Bd_Rxi0i.js";
2
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-LuFDe1Zt.js";
3
+ import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-DdYnAYRc.js";
4
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-DBuDtUPk.js";
5
+ import { a as fuseAll, r as cutAll } from "./booleanFns-CHs5pfa5.js";
6
+ import { $ as getNurbsSurfaceData, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as getNurbsCurveData, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as wiresOfFace, b as sphere, c as cylinder, ct as toGroupedBufferGeometryData, d as ellipsoid, et as adjacentFaces, f as face, g as offsetFace, h as line, i as bsplineApprox, it as verticesOfEdge, k as fixSelfIntersection, l as ellipse, m as helix, n as bezier, nt as facesOfEdge, o as compound, ot as chamferDistAngle, p as filledFace, q as filletWithEvolution, r as box, rt as sharedEdges, s as cone, st as toBufferGeometryData, t as addHoles, tt as edgesOfFace, u as ellipseArc, ut as toLineGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-CLGB5eH8.js";
7
7
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "15.7.0",
3
+ "version": "16.0.0",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -212,33 +212,33 @@
212
212
  "prepare": "husky && bash scripts/ensure-wasm.sh"
213
213
  },
214
214
  "devDependencies": {
215
- "@commitlint/cli": "20.5.2",
216
- "@commitlint/config-conventional": "20.5.0",
215
+ "@commitlint/cli": "20.5.3",
216
+ "@commitlint/config-conventional": "20.5.3",
217
217
  "@eslint/js": "10.0.1",
218
218
  "@size-limit/file": "12.1.0",
219
219
  "@types/opentype.js": "1.3.9",
220
220
  "@vitest/coverage-v8": "4.1.5",
221
221
  "brepjs-opencascade": "*",
222
- "brepkit-wasm": "2.43.10",
223
- "eslint": "10.2.1",
222
+ "brepkit-wasm": "2.44.1",
223
+ "eslint": "10.3.0",
224
224
  "fast-check": "4.7.0",
225
225
  "husky": "9.1.7",
226
- "knip": "6.7.0",
226
+ "knip": "6.11.0",
227
227
  "lint-staged": "16.4.0",
228
- "occt-wasm": "1.5.0",
228
+ "occt-wasm": "2.0.0",
229
229
  "prettier": "3.8.3",
230
230
  "size-limit": "12.1.0",
231
231
  "typedoc": "0.28.19",
232
232
  "typescript": "6.0.3",
233
- "typescript-eslint": "8.59.0",
233
+ "typescript-eslint": "8.59.1",
234
234
  "vite": "8.0.10",
235
- "vite-plugin-dts": "4.5.4",
235
+ "vite-plugin-dts": "5.0.0",
236
236
  "vitest": "4.1.5"
237
237
  },
238
238
  "peerDependencies": {
239
239
  "brepjs-opencascade": "^0.5.1 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0",
240
240
  "brepkit-wasm": "^0.10.1 || ^1.0.0 || ^2.0.0",
241
- "occt-wasm": "^0.1.0 || ^1.0.0"
241
+ "occt-wasm": "^2.0.0"
242
242
  },
243
243
  "peerDependenciesMeta": {
244
244
  "brepjs-opencascade": {