brepjs 18.27.0 → 18.28.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 (76) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-CQ04Ov5Z.js → blueprint-DCaLaW5V.js} +5 -5
  4. package/dist/{blueprint-BRsNfnfQ.cjs → blueprint-DgVV4JnR.cjs} +5 -5
  5. package/dist/{blueprintFns-C5DCLCtZ.cjs → blueprintFns-CaBBmBbd.cjs} +2 -2
  6. package/dist/{blueprintFns-DpPZNhFx.js → blueprintFns-DxDohOso.js} +2 -2
  7. package/dist/{blueprintSketcher-DaF5OR4M.cjs → blueprintSketcher-CVzRSGDr.cjs} +3 -3
  8. package/dist/{blueprintSketcher-OwXVDMOb.js → blueprintSketcher-DpZtLWPK.js} +3 -3
  9. package/dist/{boolean2D-gwOq0VXi.cjs → boolean2D-BT0oRETS.cjs} +4 -4
  10. package/dist/{boolean2D-BQKMy6dN.js → boolean2D-BdC7YBQP.js} +4 -4
  11. package/dist/{booleanFns-cmeKRsth.cjs → booleanFns-CsFsde9t.cjs} +4 -4
  12. package/dist/{booleanFns-CuXl5XQP.js → booleanFns-DQqY4Dss.js} +4 -4
  13. package/dist/brepjs.cjs +24 -24
  14. package/dist/brepjs.js +24 -24
  15. package/dist/{cameraFns-LurBny3f.cjs → cameraFns-Bj-i3990.cjs} +2 -2
  16. package/dist/{cameraFns-DC2ShyXC.js → cameraFns-CDB2SASG.js} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-CF8fVEx2.js → cornerFinder-B2gMJSrd.js} +1 -1
  20. package/dist/{cornerFinder-BjjFVnDq.cjs → cornerFinder-D6UY4k4j.cjs} +1 -1
  21. package/dist/{curveFns-BR8gQOAc.cjs → curveFns-Y73GytYk.cjs} +1 -1
  22. package/dist/{curveFns-Cimni2kq.js → curveFns-qm5yRPDB.js} +1 -1
  23. package/dist/{drawFns-btYAn61y.cjs → drawFns-9oTTEwVI.cjs} +12 -12
  24. package/dist/{drawFns-Bh1LGuSX.js → drawFns-DOe4jAxV.js} +12 -12
  25. package/dist/{extrudeFns-CLrrRprF.cjs → extrudeFns-D_nDWO4O.cjs} +1 -1
  26. package/dist/{extrudeFns-BmF17qhf.js → extrudeFns-DpPpBy40.js} +1 -1
  27. package/dist/{faceFns-BFEUkmn7.cjs → faceFns-B_wyCXSR.cjs} +2 -2
  28. package/dist/{faceFns-D9UAkqPb.js → faceFns-CEZFie5M.js} +2 -2
  29. package/dist/{helpers-BnF1MObz.cjs → helpers-BeAdQnoh.cjs} +6 -6
  30. package/dist/{helpers-DnrXynu0.js → helpers-CDzCYf6t.js} +6 -6
  31. package/dist/{historyFns-DGDKVD6-.js → historyFns-CiOuKAHR.js} +4 -4
  32. package/dist/{historyFns-BX9Bu5NT.cjs → historyFns-o5YPr6kB.cjs} +4 -4
  33. package/dist/{importFns-B9RUaVsc.js → importFns-DWXQjwcN.js} +2 -2
  34. package/dist/{importFns-BMN4KCmX.cjs → importFns-ySU9FOAT.cjs} +2 -2
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +15 -11
  38. package/dist/{measureFns-CaOR1TEA.cjs → measureFns-C7sDwFbi.cjs} +3 -3
  39. package/dist/{measureFns-CiCx5o_s.js → measureFns-CnNsxJ3r.js} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-CIdP0f35.cjs → meshFns-Bnzdb8Hi.cjs} +2 -2
  43. package/dist/{meshFns-k-gSXquL.js → meshFns-De5ytGeY.js} +2 -2
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{primitiveFns-OvPYb4CU.js → primitiveFns-BW2Z-ol6.js} +7 -7
  47. package/dist/{primitiveFns-Ds2LNkol.cjs → primitiveFns-DcGUodn_.cjs} +7 -7
  48. package/dist/projection.cjs +1 -1
  49. package/dist/projection.js +1 -1
  50. package/dist/query.cjs +2 -2
  51. package/dist/query.js +2 -2
  52. package/dist/{shapeFns-ByuSx62n.js → shapeFns-BSS9CJ76.js} +2 -2
  53. package/dist/{shapeFns-BD6oYLMM.cjs → shapeFns-DeIskguL.cjs} +2 -2
  54. package/dist/shapeRef.cjs +1 -1
  55. package/dist/shapeRef.js +1 -1
  56. package/dist/{shapeRefFns-CybMlSCu.cjs → shapeRefFns-C5Pf5Hq4.cjs} +4 -4
  57. package/dist/{shapeRefFns-Bv3Jj1vz.js → shapeRefFns-TS1Z4wYF.js} +4 -4
  58. package/dist/{shapeTypes-D6hfaPZq.cjs → shapeTypes-7h6IgcC-.cjs} +13 -13
  59. package/dist/{shapeTypes-BdIQ-d5X.js → shapeTypes-BNSmLg5K.js} +13 -13
  60. package/dist/sketching.cjs +3 -3
  61. package/dist/sketching.js +3 -3
  62. package/dist/{solidBuilders-TJZOIga_.js → solidBuilders-BVEXfPe5.js} +2 -2
  63. package/dist/{solidBuilders-DAHTAqeh.cjs → solidBuilders-DVsQV6gF.cjs} +2 -2
  64. package/dist/{surfaceBuilders-CzRFME5_.cjs → surfaceBuilders-DlSyRZE7.cjs} +2 -2
  65. package/dist/{surfaceBuilders-rNgtRqTR.js → surfaceBuilders-T8OQoZ1R.js} +2 -2
  66. package/dist/text.cjs +2 -2
  67. package/dist/text.js +2 -2
  68. package/dist/{textBlueprints-D7gWCZ88.cjs → textBlueprints-DMtErtGx.cjs} +7 -7
  69. package/dist/{textBlueprints-C9eKTxef.js → textBlueprints-f5p3Ltou.js} +7 -7
  70. package/dist/{textMetrics-B5SN90x5.cjs → textMetrics-BrvEBE7v.cjs} +1 -1
  71. package/dist/{textMetrics-0y73spLE.js → textMetrics-uXYdyNt0.js} +1 -1
  72. package/dist/topology.cjs +7 -7
  73. package/dist/topology.js +7 -7
  74. package/dist/{topologyQueryFns-hG0APAJN.cjs → topologyQueryFns-BV0fjpXF.cjs} +1 -1
  75. package/dist/{topologyQueryFns-Ds2H75YB.js → topologyQueryFns-COoNTJha.js} +1 -1
  76. package/package.json +2 -2
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-D6hfaPZq.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-7h6IgcC-.cjs");
33
33
  const require_errors = require("./errors-DxoD7zgx.cjs");
34
34
  const require_types = require("./types-KjA8tY4Y.cjs");
35
35
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
36
36
  const require_planeOps = require("./planeOps-C6wxugvC.cjs");
37
- const require_faceFns = require("./faceFns-BFEUkmn7.cjs");
38
- const require_curveFns = require("./curveFns-BR8gQOAc.cjs");
37
+ const require_faceFns = require("./faceFns-B_wyCXSR.cjs");
38
+ const require_curveFns = require("./curveFns-Y73GytYk.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-CzRFME5_.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-DaF5OR4M.cjs");
42
- const require_solidBuilders = require("./solidBuilders-DAHTAqeh.cjs");
43
- const require_extrudeFns = require("./extrudeFns-CLrrRprF.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-DlSyRZE7.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-CVzRSGDr.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-DVsQV6gF.cjs");
43
+ const require_extrudeFns = require("./extrudeFns-D_nDWO4O.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/operations/loftFns.ts
@@ -1,15 +1,15 @@
1
- import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-BdIQ-d5X.js";
1
+ import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-BNSmLg5K.js";
2
2
  import { A as ok, R as unwrap, T as isOk, b as err, d as validationError, h as bug, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-BJSTLaDI.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-CblVcWbn.js";
6
- import { _ as downcast, g as cast } from "./faceFns-D9UAkqPb.js";
7
- import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-Cimni2kq.js";
6
+ import { _ as downcast, g as cast } from "./faceFns-CEZFie5M.js";
7
+ import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-qm5yRPDB.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-rNgtRqTR.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-OwXVDMOb.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-TJZOIga_.js";
12
- import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-BmF17qhf.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-T8OQoZ1R.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DpZtLWPK.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-BVEXfPe5.js";
12
+ import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-DpPpBy40.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/operations/loftFns.ts
15
15
  /**
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-D7gWCZ88.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-DMtErtGx.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.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-BJSTLaDI.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-C9eKTxef.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-f5p3Ltou.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-hG0APAJN.cjs");
3
- const require_faceFns = require("./faceFns-BFEUkmn7.cjs");
4
- const require_shapeFns = require("./shapeFns-BD6oYLMM.cjs");
5
- const require_curveFns = require("./curveFns-BR8gQOAc.cjs");
6
- const require_meshFns = require("./meshFns-CIdP0f35.cjs");
7
- const require_booleanFns = require("./booleanFns-cmeKRsth.cjs");
8
- const require_primitiveFns = require("./primitiveFns-Ds2LNkol.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BV0fjpXF.cjs");
3
+ const require_faceFns = require("./faceFns-B_wyCXSR.cjs");
4
+ const require_shapeFns = require("./shapeFns-DeIskguL.cjs");
5
+ const require_curveFns = require("./curveFns-Y73GytYk.cjs");
6
+ const require_meshFns = require("./meshFns-Bnzdb8Hi.cjs");
7
+ const require_booleanFns = require("./booleanFns-CsFsde9t.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-DcGUodn_.cjs");
9
9
  exports.addHoles = require_primitiveFns.addHoles;
10
10
  exports.adjacentFaces = require_primitiveFns.adjacentFaces;
11
11
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,8 +1,8 @@
1
- import { d as invalidateShapeCache, f as iterEdges, g as vertexPosition, h as iterWires, l as getVertices, m as iterVertices, n as getBounds, o as getEdges, p as iterFaces, s as getFaces, u as getWires } from "./topologyQueryFns-Ds2H75YB.js";
2
- 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-D9UAkqPb.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-ByuSx62n.js";
4
- 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-Cimni2kq.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-k-gSXquL.js";
6
- import { a as fuseAll, r as cutAll } from "./booleanFns-CuXl5XQP.js";
7
- import { $ as fuseAllBisect, 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 cutAllBisect, 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 sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-OvPYb4CU.js";
1
+ import { d as invalidateShapeCache, f as iterEdges, g as vertexPosition, h as iterWires, l as getVertices, m as iterVertices, n as getBounds, o as getEdges, p as iterFaces, s as getFaces, u as getWires } from "./topologyQueryFns-COoNTJha.js";
2
+ 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-CEZFie5M.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-BSS9CJ76.js";
4
+ 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-qm5yRPDB.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-De5ytGeY.js";
6
+ import { a as fuseAll, r as cutAll } from "./booleanFns-DQqY4Dss.js";
7
+ import { $ as fuseAllBisect, 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 cutAllBisect, 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 sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-BW2Z-ol6.js";
8
8
  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, cutAllBisect, 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, 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-D6hfaPZq.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-7h6IgcC-.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.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-BdIQ-d5X.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-BNSmLg5K.js";
2
2
  import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-BJSTLaDI.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.27.0",
3
+ "version": "18.28.0",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -248,7 +248,7 @@
248
248
  "@types/opentype.js": "1.3.9",
249
249
  "@vitest/coverage-v8": "4.1.6",
250
250
  "brepjs-opencascade": "*",
251
- "brepkit-wasm": "2.89.0",
251
+ "brepkit-wasm": "2.95.0",
252
252
  "eslint": "10.4.0",
253
253
  "fast-check": "4.8.0",
254
254
  "husky": "9.1.7",