brepjs 15.1.13 → 15.2.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 (70) hide show
  1. package/dist/2d/lib/curve2D.d.ts.map +1 -1
  2. package/dist/2d.cjs +5 -5
  3. package/dist/2d.js +5 -5
  4. package/dist/{blueprint-DpfTrOOt.cjs → blueprint-CVDdCwvY.cjs} +10 -8
  5. package/dist/{blueprint-CY11BkHM.js → blueprint-DiLT1cjs.js} +10 -8
  6. package/dist/{blueprintFns-C-XRp3LD.js → blueprintFns-1Ulj1yXX.js} +2 -2
  7. package/dist/{blueprintFns-DTGzK_O3.cjs → blueprintFns-VagQe-2I.cjs} +2 -2
  8. package/dist/{boolean2D-CNan_aDM.cjs → boolean2D-C_vue9r7.cjs} +7 -7
  9. package/dist/{boolean2D-Dj0eTZfG.js → boolean2D-_yG91bHX.js} +7 -7
  10. package/dist/{booleanFns-B86ltlZD.cjs → booleanFns-C7c98iPH.cjs} +4 -4
  11. package/dist/{booleanFns-CiiCf7YH.js → booleanFns-QZtMt5Aa.js} +4 -4
  12. package/dist/brepjs.cjs +20 -20
  13. package/dist/brepjs.js +20 -20
  14. package/dist/core.cjs +1 -1
  15. package/dist/core.js +1 -1
  16. package/dist/{cornerFinder-lO-ySgHJ.js → cornerFinder-CvF2SrsV.js} +1 -1
  17. package/dist/{cornerFinder-DNmYCgaQ.cjs → cornerFinder-DP1-TfDV.cjs} +1 -1
  18. package/dist/{curveFns-B_pwrAMv.cjs → curveFns-Bukd9jhv.cjs} +1 -1
  19. package/dist/{curveFns-Dv0wz8Zm.js → curveFns-Dn4gbNzG.js} +1 -1
  20. package/dist/{drawFns-CJxFWoi9.js → drawFns-BIFwKDPT.js} +10 -10
  21. package/dist/{drawFns-BNSmHZXu.cjs → drawFns-mX41AgJp.cjs} +10 -10
  22. package/dist/{extrudeFns-B9muBNIT.cjs → extrudeFns-B588lxcH.cjs} +1 -1
  23. package/dist/{extrudeFns-lgSsOjwq.js → extrudeFns-DjfHvYJe.js} +1 -1
  24. package/dist/{faceFns-DnIpKBex.cjs → faceFns-CKL9Us23.cjs} +1 -1
  25. package/dist/{faceFns-CauBoVg1.js → faceFns-DMFG-piP.js} +1 -1
  26. package/dist/{helpers-B_-mIteL.js → helpers-B2J4sg4l.js} +5 -5
  27. package/dist/{helpers-kil7evW4.cjs → helpers-B48K8Z6B.cjs} +5 -5
  28. package/dist/{historyFns-DYrliEQE.js → historyFns-BpfArwQu.js} +4 -4
  29. package/dist/{historyFns-D7UojEn3.cjs → historyFns-Bxg4_ieD.cjs} +4 -4
  30. package/dist/{importFns-CPzDHVKm.js → importFns-D6eumXiz.js} +2 -2
  31. package/dist/{importFns-Y4wgn0rJ.cjs → importFns-UkXALkBs.cjs} +2 -2
  32. package/dist/io.cjs +2 -2
  33. package/dist/io.js +2 -2
  34. package/dist/kernel/geometry2d.d.ts.map +1 -1
  35. package/dist/kernel/occt/defaultAdapter.d.ts.map +1 -1
  36. package/dist/kernel/occt/kernel2dOps.d.ts +61 -68
  37. package/dist/kernel/occt/kernel2dOps.d.ts.map +1 -1
  38. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  39. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  40. package/dist/{measureFns-Bt0Rd9q9.cjs → measureFns-C2SnZLhD.cjs} +2 -2
  41. package/dist/{measureFns-Bey2EmNQ.js → measureFns-Zc5RWsI4.js} +2 -2
  42. package/dist/measurement.cjs +1 -1
  43. package/dist/measurement.js +1 -1
  44. package/dist/{meshFns-Cxs6gU44.cjs → meshFns-CO9qVJ24.cjs} +2 -2
  45. package/dist/{meshFns-DO58R94T.js → meshFns-gTPomZkK.js} +2 -2
  46. package/dist/{occtWasmAdapter-BBr9e9ej.js → occtWasmAdapter-BRiWV_v0.js} +65 -14
  47. package/dist/{occtWasmAdapter-DcGOi3MQ.cjs → occtWasmAdapter-CPINzXxh.cjs} +65 -14
  48. package/dist/operations.cjs +2 -2
  49. package/dist/operations.js +2 -2
  50. package/dist/{primitiveFns-CWiHuJw9.cjs → primitiveFns-CriBoS7M.cjs} +5 -5
  51. package/dist/{primitiveFns-Rpdnd3FK.js → primitiveFns-CtWBTFPI.js} +5 -5
  52. package/dist/query.cjs +2 -2
  53. package/dist/query.js +2 -2
  54. package/dist/{shapeFns-CBRy0V_S.cjs → shapeFns-DkFzoJav.cjs} +2 -2
  55. package/dist/{shapeFns-4ySHDRyO.js → shapeFns-QGgHStIU.js} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeRefFns-D21Yl4Eu.js → shapeRefFns-Gv4-NGJD.js} +3 -3
  59. package/dist/{shapeRefFns-oAyQxHO1.cjs → shapeRefFns-t-5-Aqku.cjs} +3 -3
  60. package/dist/{shapeTypes-CaSWO-Hg.cjs → shapeTypes-Bfw136X-.cjs} +772 -589
  61. package/dist/{shapeTypes-BLV4Ktdb.js → shapeTypes-Ct7W6h2X.js} +768 -589
  62. package/dist/sketching.cjs +2 -2
  63. package/dist/sketching.js +2 -2
  64. package/dist/{solidBuilders-BexZFemn.js → solidBuilders-CQipZFOw.js} +2 -2
  65. package/dist/{solidBuilders-BZFaM6nk.cjs → solidBuilders-DI9d6ZIx.cjs} +2 -2
  66. package/dist/{surfaceBuilders-Bixz70pj.cjs → surfaceBuilders-DzTJA3fK.cjs} +2 -2
  67. package/dist/{surfaceBuilders-AnSYsNAb.js → surfaceBuilders-Im6Xef27.js} +2 -2
  68. package/dist/topology.cjs +6 -6
  69. package/dist/topology.js +6 -6
  70. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_drawFns = require("./drawFns-BNSmHZXu.cjs");
3
- const require_boolean2D = require("./boolean2D-CNan_aDM.cjs");
2
+ const require_drawFns = require("./drawFns-mX41AgJp.cjs");
3
+ const require_boolean2D = require("./boolean2D-C_vue9r7.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-Dj0eTZfG.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-CJxFWoi9.js";
1
+ import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-_yG91bHX.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-BIFwKDPT.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
- import { X as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-BLV4Ktdb.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-Ct7W6h2X.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-CauBoVg1.js";
3
+ import { M as cast, N as downcast } from "./faceFns-DMFG-piP.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-CaSWO-Hg.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Bfw136X-.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-DnIpKBex.cjs");
3
+ const require_faceFns = require("./faceFns-CKL9Us23.cjs");
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-CaSWO-Hg.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Bfw136X-.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-DnIpKBex.cjs");
3
+ const require_faceFns = require("./faceFns-CKL9Us23.cjs");
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
- import { X as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-BLV4Ktdb.js";
1
+ import { X as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-Ct7W6h2X.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-CauBoVg1.js";
3
+ import { M as cast, l as outerWire } from "./faceFns-DMFG-piP.js";
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-DnIpKBex.cjs");
3
- const require_shapeFns = require("./shapeFns-CBRy0V_S.cjs");
4
- const require_curveFns = require("./curveFns-B_pwrAMv.cjs");
5
- const require_meshFns = require("./meshFns-Cxs6gU44.cjs");
6
- const require_booleanFns = require("./booleanFns-B86ltlZD.cjs");
7
- const require_primitiveFns = require("./primitiveFns-CWiHuJw9.cjs");
2
+ const require_faceFns = require("./faceFns-CKL9Us23.cjs");
3
+ const require_shapeFns = require("./shapeFns-DkFzoJav.cjs");
4
+ const require_curveFns = require("./curveFns-Bukd9jhv.cjs");
5
+ const require_meshFns = require("./meshFns-CO9qVJ24.cjs");
6
+ const require_booleanFns = require("./booleanFns-C7c98iPH.cjs");
7
+ const require_primitiveFns = require("./primitiveFns-CriBoS7M.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-CauBoVg1.js";
2
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-4ySHDRyO.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-Dv0wz8Zm.js";
4
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-DO58R94T.js";
5
- import { a as fuseAll, r as cutAll } from "./booleanFns-CiiCf7YH.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-Rpdnd3FK.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-DMFG-piP.js";
2
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-QGgHStIU.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-Dn4gbNzG.js";
4
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-gTPomZkK.js";
5
+ import { a as fuseAll, r as cutAll } from "./booleanFns-QZtMt5Aa.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-CtWBTFPI.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.1.13",
3
+ "version": "15.2.1",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",