brepjs 14.6.6 → 14.6.8

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 (62) hide show
  1. package/dist/2d.cjs +5 -5
  2. package/dist/2d.js +5 -5
  3. package/dist/{blueprint-DFEgFJYq.js → blueprint-CXGeX_im.js} +5 -5
  4. package/dist/{blueprint-Dy7ARPXJ.cjs → blueprint-D6P4Ptwc.cjs} +5 -5
  5. package/dist/{blueprintFns-Dc000lbc.js → blueprintFns-C1Q9BZYN.js} +2 -2
  6. package/dist/{blueprintFns-H2WJG5n2.cjs → blueprintFns-CRi0AJY2.cjs} +2 -2
  7. package/dist/{boolean2D-Bw-6hKCf.js → boolean2D-COhGEabH.js} +7 -7
  8. package/dist/{boolean2D-Bsdb31mM.cjs → boolean2D-D9bNqIv5.cjs} +7 -7
  9. package/dist/{booleanFns-BLDTDLSF.cjs → booleanFns-Bu_HczH1.cjs} +3 -3
  10. package/dist/{booleanFns-D-U1zAnb.js → booleanFns-DlfB8aNN.js} +3 -3
  11. package/dist/brepjs.cjs +19 -19
  12. package/dist/brepjs.js +19 -19
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.js +1 -1
  15. package/dist/{cornerFinder-B6rKiYRI.js → cornerFinder-BqrHP-yL.js} +1 -1
  16. package/dist/{cornerFinder-TYHShzGu.cjs → cornerFinder-i4Y7Nrjy.cjs} +1 -1
  17. package/dist/{curveFns-DZQqrcS8.cjs → curveFns-D5afgr58.cjs} +1 -1
  18. package/dist/{curveFns-DLlD1hFL.js → curveFns-Dlg-98k2.js} +1 -1
  19. package/dist/{drawFns-CUqNgF0l.js → drawFns-DUF0fdFG.js} +11 -11
  20. package/dist/{drawFns-CvuNVDJc.cjs → drawFns-NPXo-y9x.cjs} +11 -11
  21. package/dist/{extrudeFns-C2dk_SwT.cjs → extrudeFns-Bs_h53zW.cjs} +1 -1
  22. package/dist/{extrudeFns-D83bFc01.js → extrudeFns-SjjVWl9I.js} +1 -1
  23. package/dist/{faceFns-DVeZQZfD.cjs → faceFns-CAAlPCSf.cjs} +1 -1
  24. package/dist/{faceFns-iqaDWGL2.js → faceFns-D0Sw7UAk.js} +1 -1
  25. package/dist/{helpers-HH_F9BEl.js → helpers-DKA--8Ok.js} +5 -5
  26. package/dist/{helpers-DcOHqOfT.cjs → helpers-IGblAcXr.cjs} +5 -5
  27. package/dist/{historyFns-By2rvfdT.cjs → historyFns-BLfgf9Ie.cjs} +4 -4
  28. package/dist/{historyFns-C5LVTRMt.js → historyFns-DeI_YWq7.js} +4 -4
  29. package/dist/{importFns-Cg8ra1G0.cjs → importFns-DYpRZApj.cjs} +2 -2
  30. package/dist/{importFns-CAjnoUsl.js → importFns-D_ilQOKc.js} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/kernel/occt/geometryQueryOps.d.ts.map +1 -1
  34. package/dist/{measureFns-C0ExdINB.js → measureFns-C5T3Vj5H.js} +2 -2
  35. package/dist/{measureFns-DSukVpI5.cjs → measureFns-e9ClVIDp.cjs} +2 -2
  36. package/dist/measurement.cjs +1 -1
  37. package/dist/measurement.js +1 -1
  38. package/dist/{meshFns-Ctb89ro_.js → meshFns-CwXSu86J.js} +2 -2
  39. package/dist/{meshFns-DFerbqRc.cjs → meshFns-D8ArzEky.cjs} +2 -2
  40. package/dist/operations.cjs +2 -2
  41. package/dist/operations.js +2 -2
  42. package/dist/{primitiveFns-C2_BM7PR.cjs → primitiveFns-DQA2aRlf.cjs} +5 -5
  43. package/dist/{primitiveFns-CRsRbHuo.js → primitiveFns-taa6wmE6.js} +5 -5
  44. package/dist/query.cjs +2 -2
  45. package/dist/query.js +2 -2
  46. package/dist/{shapeFns-BW0QajQq.js → shapeFns-Binnq64f.js} +2 -2
  47. package/dist/{shapeFns-DqOoRUkg.cjs → shapeFns-DGlBwOIn.cjs} +2 -2
  48. package/dist/shapeRef.cjs +1 -1
  49. package/dist/shapeRef.js +1 -1
  50. package/dist/{shapeRefFns-C3GwXcJ2.js → shapeRefFns-BHl0cJ03.js} +3 -3
  51. package/dist/{shapeRefFns-DbAIYWMa.cjs → shapeRefFns-BYsQFoKq.cjs} +3 -3
  52. package/dist/{shapeTypes-CvGzaTYd.js → shapeTypes-BoaNl7sv.js} +31 -37
  53. package/dist/{shapeTypes-h0bo6yCZ.cjs → shapeTypes-PA31vgl1.cjs} +31 -37
  54. package/dist/sketching.cjs +2 -2
  55. package/dist/sketching.js +2 -2
  56. package/dist/{solidBuilders-Cf9BpIew.js → solidBuilders-CxPr8uf3.js} +2 -2
  57. package/dist/{solidBuilders-Buy3oAve.cjs → solidBuilders-fwE4EhPH.cjs} +2 -2
  58. package/dist/{surfaceBuilders-XPdFhdcS.js → surfaceBuilders-CsgDDyaK.js} +2 -2
  59. package/dist/{surfaceBuilders-CSkzjM8v.cjs → surfaceBuilders-OZ75pZa7.cjs} +2 -2
  60. package/dist/topology.cjs +6 -6
  61. package/dist/topology.js +6 -6
  62. package/package.json +1 -1
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-Bw-6hKCf.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-CUqNgF0l.js";
1
+ import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-COhGEabH.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-DUF0fdFG.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 { Y as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-CvGzaTYd.js";
1
+ import { Y as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-BoaNl7sv.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-C-cgQA3w.js";
3
- import { _ as downcast, g as cast } from "./faceFns-iqaDWGL2.js";
3
+ import { _ as downcast, g as cast } from "./faceFns-D0Sw7UAk.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-h0bo6yCZ.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-PA31vgl1.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-DVeZQZfD.cjs");
3
+ const require_faceFns = require("./faceFns-CAAlPCSf.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 { Y as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CvGzaTYd.js";
1
+ import { Y as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-BoaNl7sv.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-C-cgQA3w.js";
3
- import { g as cast, l as outerWire } from "./faceFns-iqaDWGL2.js";
3
+ import { g as cast, l as outerWire } from "./faceFns-D0Sw7UAk.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-h0bo6yCZ.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-PA31vgl1.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-DVeZQZfD.cjs");
3
+ const require_faceFns = require("./faceFns-CAAlPCSf.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-DVeZQZfD.cjs");
3
- const require_shapeFns = require("./shapeFns-DqOoRUkg.cjs");
4
- const require_curveFns = require("./curveFns-DZQqrcS8.cjs");
5
- const require_meshFns = require("./meshFns-DFerbqRc.cjs");
6
- const require_booleanFns = require("./booleanFns-BLDTDLSF.cjs");
7
- const require_primitiveFns = require("./primitiveFns-C2_BM7PR.cjs");
2
+ const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
+ const require_shapeFns = require("./shapeFns-DGlBwOIn.cjs");
4
+ const require_curveFns = require("./curveFns-D5afgr58.cjs");
5
+ const require_meshFns = require("./meshFns-D8ArzEky.cjs");
6
+ const require_booleanFns = require("./booleanFns-Bu_HczH1.cjs");
7
+ const require_primitiveFns = require("./primitiveFns-DQA2aRlf.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 { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, 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, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-iqaDWGL2.js";
2
- import { B as iterVertices, F as getVertices, H as vertexPosition, I as getWires, L as invalidateShapeCache, M as getEdges, N as getFaces, R as iterEdges, V as iterWires, a as isSameShape, i as isEqualShape, j as getBounds, n as getHashCode, z as iterFaces } from "./shapeFns-BW0QajQq.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-DLlD1hFL.js";
4
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-Ctb89ro_.js";
5
- import { a as fuseAll, r as cutAll } from "./booleanFns-D-U1zAnb.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-CRsRbHuo.js";
1
+ import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, 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, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-D0Sw7UAk.js";
2
+ import { B as iterVertices, F as getVertices, H as vertexPosition, I as getWires, L as invalidateShapeCache, M as getEdges, N as getFaces, R as iterEdges, V as iterWires, a as isSameShape, i as isEqualShape, j as getBounds, n as getHashCode, z as iterFaces } from "./shapeFns-Binnq64f.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-Dlg-98k2.js";
4
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-CwXSu86J.js";
5
+ import { a as fuseAll, r as cutAll } from "./booleanFns-DlfB8aNN.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-taa6wmE6.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": "14.6.6",
3
+ "version": "14.6.8",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",