brepjs 19.0.5 → 20.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 (81) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-CZ8tOKo6.cjs → adjacencyFns-Cdat1ofi.cjs} +2 -2
  4. package/dist/{adjacencyFns-BFgzaWom.js → adjacencyFns-DkWknlaR.js} +2 -2
  5. package/dist/{blueprint-CuE8oS8o.js → blueprint-22kW0ICa.js} +5 -5
  6. package/dist/{blueprint-Pd5C9eyi.cjs → blueprint-DOwwe5gw.cjs} +5 -5
  7. package/dist/{blueprintFns-DeK5m2Dd.js → blueprintFns-Bwi75Szr.js} +2 -2
  8. package/dist/{blueprintFns-Jt8aabnr.cjs → blueprintFns-DRTfqZsZ.cjs} +2 -2
  9. package/dist/{blueprintSketcher-BbbIIw68.cjs → blueprintSketcher-CxxS52ZI.cjs} +3 -3
  10. package/dist/{blueprintSketcher-s1mCyP4C.js → blueprintSketcher-DW3WMfm2.js} +3 -3
  11. package/dist/{boolean2D-B5-s6yey.cjs → boolean2D-BYHxSbDH.cjs} +4 -4
  12. package/dist/{boolean2D-XkF5a9UO.js → boolean2D-DLe9jy53.js} +4 -4
  13. package/dist/brepjs.cjs +28 -28
  14. package/dist/brepjs.js +28 -28
  15. package/dist/{cameraFns-C_aXHOXb.cjs → cameraFns-DCUsH23g.cjs} +3 -3
  16. package/dist/{cameraFns-C42m8_GN.js → cameraFns-DtaivMYa.js} +3 -3
  17. package/dist/core.cjs +2 -2
  18. package/dist/core.js +2 -2
  19. package/dist/{cornerFinder-B5uO-_nX.js → cornerFinder-B6L3zTOA.js} +1 -1
  20. package/dist/{cornerFinder-BSHr_G27.cjs → cornerFinder-DIewkspO.cjs} +1 -1
  21. package/dist/{curveFns-BRhVbssu.cjs → curveFns-1e6j5nXW.cjs} +1 -1
  22. package/dist/{curveFns-xQNPUc23.js → curveFns-C0zENjCi.js} +1 -1
  23. package/dist/{drawFns-S-UBDz0z.js → drawFns-BUB7YeKu.js} +12 -12
  24. package/dist/{drawFns-ByfPdMin.cjs → drawFns-Cu61XWtX.cjs} +12 -12
  25. package/dist/{faceFns-BbkcUym2.cjs → faceFns-BinRdCKC.cjs} +2 -2
  26. package/dist/{faceFns-WhbyFezr.js → faceFns-Qo7nIMc6.js} +2 -2
  27. package/dist/{healingFns-sTD9eRIy.js → healingFns--idy5knW.js} +4 -4
  28. package/dist/{healingFns-CxWU6nqI.cjs → healingFns-K2mKlcGA.cjs} +4 -4
  29. package/dist/{helpers-m7uW_dyL.js → helpers-CT29THg0.js} +6 -6
  30. package/dist/{helpers-HXscoErf.cjs → helpers-CavGK8r0.cjs} +6 -6
  31. package/dist/{importFns-BUiDmbn7.cjs → importFns-B3-31QaN.cjs} +2 -2
  32. package/dist/{importFns-C9yuTs04.js → importFns-rCT3bzrO.js} +2 -2
  33. package/dist/io.cjs +2 -2
  34. package/dist/io.js +2 -2
  35. package/dist/{loftFns-BUtmwfSU.cjs → loftFns-BigHFXTf.cjs} +1 -1
  36. package/dist/{loftFns-oiR_wtVd.js → loftFns-ByrWfSBX.js} +1 -1
  37. package/dist/{measureFns-B2-vw7XG.js → measureFns-BfkCmmb-.js} +3 -3
  38. package/dist/{measureFns-BX7yvMB_.cjs → measureFns-CLsw9fTy.cjs} +3 -3
  39. package/dist/measurement.cjs +1 -1
  40. package/dist/measurement.js +1 -1
  41. package/dist/{meshFns-DFhnm9DB.cjs → meshFns-1SLb656s.cjs} +3 -3
  42. package/dist/{meshFns-13CekW14.js → meshFns-CkvvMsIk.js} +3 -3
  43. package/dist/operations.cjs +2 -2
  44. package/dist/operations.js +2 -2
  45. package/dist/{originTrackingFns-DYB8oZOX.js → originTrackingFns-CLSjfAXP.js} +2 -2
  46. package/dist/{originTrackingFns-B1dazHMg.cjs → originTrackingFns-q7xmSJHd.cjs} +2 -2
  47. package/dist/{primitiveFns-DjKUrsMr.js → primitiveFns-CQy3iiv_.js} +4 -4
  48. package/dist/{primitiveFns-BdM2vG17.cjs → primitiveFns-DwuH8FF1.cjs} +4 -4
  49. package/dist/projection.cjs +1 -1
  50. package/dist/projection.js +1 -1
  51. package/dist/query.cjs +2 -2
  52. package/dist/query.js +2 -2
  53. package/dist/{refResolveFns-IdHk_1vT.cjs → refResolveFns-C16KmO4z.cjs} +6 -6
  54. package/dist/{refResolveFns-BhN6_Z7B.js → refResolveFns-DjmIp8gz.js} +6 -6
  55. package/dist/{shapeFns-B2Xg4Xom.js → shapeFns-C3EC8Fqp.js} +2 -2
  56. package/dist/{shapeFns-D6EjojPG.cjs → shapeFns-KcSNOAAv.cjs} +2 -2
  57. package/dist/shapeRef.cjs +1 -1
  58. package/dist/shapeRef.js +1 -1
  59. package/dist/{shapeTypes-2oI77VpW.js → shapeTypes-BTaEiG1y.js} +1 -1
  60. package/dist/{shapeTypes-GoRBg9oo.cjs → shapeTypes-DweqaALJ.cjs} +1 -1
  61. package/dist/sketching.cjs +3 -3
  62. package/dist/sketching.js +3 -3
  63. package/dist/{solidBuilders-Buze6qct.js → solidBuilders-2Ho4kcPL.js} +5 -5
  64. package/dist/{solidBuilders-BDwUKmVl.cjs → solidBuilders-BeumT5UD.cjs} +5 -5
  65. package/dist/{surfaceBuilders-DcD6eAJW.js → surfaceBuilders-COaytSqx.js} +3 -3
  66. package/dist/{surfaceBuilders-rWRvkB_K.cjs → surfaceBuilders-DjhGZZvn.cjs} +3 -3
  67. package/dist/text.cjs +2 -2
  68. package/dist/text.js +2 -2
  69. package/dist/{textBlueprints-DoePacWO.cjs → textBlueprints-I09VlWfS.cjs} +7 -7
  70. package/dist/{textBlueprints-lFyk_adY.js → textBlueprints-Twdvzb1E.js} +7 -7
  71. package/dist/{textMetrics-DemtrM-e.cjs → textMetrics-B8De13Tj.cjs} +1 -1
  72. package/dist/{textMetrics-CmAlcFpe.js → textMetrics-H5m5OzGy.js} +1 -1
  73. package/dist/{threadFns-DzoOHczW.cjs → threadFns-CMhXBzUL.cjs} +7 -7
  74. package/dist/{threadFns-C1EWB5h6.js → threadFns-Wqbi-SRj.js} +7 -7
  75. package/dist/topology.cjs +9 -9
  76. package/dist/topology.js +9 -9
  77. package/dist/{topologyQueryFns-CZAfuhOE.cjs → topologyQueryFns-Cqb0bLW1.cjs} +1 -1
  78. package/dist/{topologyQueryFns-C2tBjzT8.js → topologyQueryFns-Dsdk7qnz.js} +1 -1
  79. package/dist/{validityTypes-rPudJ_eg.cjs → validityTypes-9nuI6V2T.cjs} +1 -1
  80. package/dist/{validityTypes-BAwJuMQB.js → validityTypes-DzFB9IQW.js} +1 -1
  81. package/package.json +10 -10
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-CZAfuhOE.cjs");
3
- const require_faceFns = require("./faceFns-BbkcUym2.cjs");
4
- const require_solidBuilders = require("./solidBuilders-BDwUKmVl.cjs");
5
- const require_primitiveFns = require("./primitiveFns-BdM2vG17.cjs");
6
- const require_shapeFns = require("./shapeFns-D6EjojPG.cjs");
7
- const require_curveFns = require("./curveFns-BRhVbssu.cjs");
8
- const require_meshFns = require("./meshFns-DFhnm9DB.cjs");
9
- const require_healingFns = require("./healingFns-CxWU6nqI.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-CZ8tOKo6.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-Cqb0bLW1.cjs");
3
+ const require_faceFns = require("./faceFns-BinRdCKC.cjs");
4
+ const require_solidBuilders = require("./solidBuilders-BeumT5UD.cjs");
5
+ const require_primitiveFns = require("./primitiveFns-DwuH8FF1.cjs");
6
+ const require_shapeFns = require("./shapeFns-KcSNOAAv.cjs");
7
+ const require_curveFns = require("./curveFns-1e6j5nXW.cjs");
8
+ const require_meshFns = require("./meshFns-1SLb656s.cjs");
9
+ const require_healingFns = require("./healingFns-K2mKlcGA.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-Cdat1ofi.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-C2tBjzT8.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-WhbyFezr.js";
3
- import { h as fuseAll, p as cutAll } from "./solidBuilders-Buze6qct.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-DjKUrsMr.js";
5
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-B2Xg4Xom.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-xQNPUc23.js";
7
- import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-13CekW14.js";
8
- import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-sTD9eRIy.js";
9
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-BFgzaWom.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-Dsdk7qnz.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-Qo7nIMc6.js";
3
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-2Ho4kcPL.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-CQy3iiv_.js";
5
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-C3EC8Fqp.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-C0zENjCi.js";
7
+ import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CkvvMsIk.js";
8
+ import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns--idy5knW.js";
9
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-DkWknlaR.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
- const require_shapeTypes = require("./shapeTypes-GoRBg9oo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DweqaALJ.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
4
  //#region src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-2oI77VpW.js";
1
+ import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-BTaEiG1y.js";
2
2
  import { E as ok, g as err } from "./errors-CTn8i3lY.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-GoRBg9oo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DweqaALJ.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
3
  //#region src/core/validityTypes.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { q as getKernel } from "./shapeTypes-2oI77VpW.js";
1
+ import { q as getKernel } from "./shapeTypes-BTaEiG1y.js";
2
2
  import { E as ok, g as err } from "./errors-CTn8i3lY.js";
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": "19.0.5",
3
+ "version": "20.0.0",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -265,31 +265,31 @@
265
265
  "@emnapi/core": "1.11.3",
266
266
  "@emnapi/runtime": "1.11.3",
267
267
  "@eslint/js": "10.0.1",
268
- "@size-limit/file": "13.0.3",
268
+ "@size-limit/file": "13.1.1",
269
269
  "@types/opentype.js": "1.3.9",
270
- "@types/react": "19.2.18",
270
+ "@types/react": "19.3.0",
271
271
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
272
- "@vitest/coverage-v8": "4.1.11",
272
+ "@vitest/coverage-v8": "5.0.0",
273
273
  "brepjs-opencascade": "*",
274
274
  "brepkit-wasm": "3.4.0",
275
275
  "eslint": "10.10.0",
276
- "fast-check": "4.9.0",
276
+ "fast-check": "4.10.0",
277
277
  "husky": "9.1.7",
278
278
  "knip": "6.27.0",
279
- "lint-staged": "17.5.0",
279
+ "lint-staged": "17.5.1",
280
280
  "lz-string": "1.5.0",
281
281
  "occt-wasm": "5.0.0",
282
282
  "prettier": "3.9.6",
283
283
  "puppeteer": "25.10.0",
284
- "size-limit": "13.0.3",
284
+ "size-limit": "13.1.1",
285
285
  "sucrase": "3.35.1",
286
286
  "tsx": "4.23.13",
287
287
  "typedoc": "0.28.20",
288
288
  "typescript": "6.0.3",
289
- "typescript-eslint": "8.69.0",
290
- "vite": "8.2.2",
289
+ "typescript-eslint": "8.70.0",
290
+ "vite": "8.3.0",
291
291
  "vite-plugin-dts": "5.1.0",
292
- "vitest": "4.1.11"
292
+ "vitest": "5.0.0"
293
293
  },
294
294
  "peerDependencies": {
295
295
  "brepjs-manifold": "^0.1.0",