brepjs 18.119.0 → 18.119.2

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 (78) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-CUFf2tRu.js → adjacencyFns-BdM5p58J.js} +2 -2
  4. package/dist/{adjacencyFns-y48qfoSJ.cjs → adjacencyFns-Brrc7jlS.cjs} +2 -2
  5. package/dist/{blueprint-sEiMTO6b.js → blueprint-DJJo8WkI.js} +5 -5
  6. package/dist/{blueprint-DmbWJqGH.cjs → blueprint-DTNT4qYJ.cjs} +5 -5
  7. package/dist/{blueprintFns-2l6WQaiA.cjs → blueprintFns-2XDZfCxX.cjs} +2 -2
  8. package/dist/{blueprintFns-B00x9B3d.js → blueprintFns-CcpboZ80.js} +2 -2
  9. package/dist/{blueprintSketcher-B0--w0ms.cjs → blueprintSketcher-C0EXFVb2.cjs} +3 -3
  10. package/dist/{blueprintSketcher-Dl65HO9X.js → blueprintSketcher-DDPyypmC.js} +3 -3
  11. package/dist/{boolean2D-rVisWMVU.js → boolean2D-C_PVz8xT.js} +4 -4
  12. package/dist/{boolean2D-DUCzYBTW.cjs → boolean2D-Ddfo_dd0.cjs} +4 -4
  13. package/dist/brepjs.cjs +25 -25
  14. package/dist/brepjs.js +25 -25
  15. package/dist/{cameraFns-CHY1Bpfi.cjs → cameraFns-Czr5vABD.cjs} +3 -3
  16. package/dist/{cameraFns-CspYs7P6.js → cameraFns-D9tdBYLM.js} +3 -3
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-DVFgHVlV.js → cornerFinder-Cqg-Dz74.js} +1 -1
  20. package/dist/{cornerFinder-Nm7Qt1B5.cjs → cornerFinder-DETRDOMz.cjs} +1 -1
  21. package/dist/{curveFns-GEdU0r2K.cjs → curveFns-D7utcbnf.cjs} +1 -1
  22. package/dist/{curveFns-yyB3QmwJ.js → curveFns-RENXKp64.js} +1 -1
  23. package/dist/{drawFns-BCsTmK-A.js → drawFns-B9HbtAoc.js} +12 -12
  24. package/dist/{drawFns-1icEtH6h.cjs → drawFns-D9Rf4foW.cjs} +12 -12
  25. package/dist/{faceFns-D538regr.js → faceFns-CB6uzvOg.js} +2 -2
  26. package/dist/{faceFns-DDeMMiWW.cjs → faceFns-CPswi9Cm.cjs} +2 -2
  27. package/dist/{healingFns-DNJeh8v9.js → healingFns-BFTYLiAm.js} +5 -5
  28. package/dist/{healingFns-fgBZgj_9.cjs → healingFns-bhMxTTqw.cjs} +5 -5
  29. package/dist/{helpers-B-t-HN_a.js → helpers-BiN4qQZP.js} +6 -6
  30. package/dist/{helpers-Du76j4Vi.cjs → helpers-Cu4ag5bh.cjs} +6 -6
  31. package/dist/{importFns-DQUXpfRv.cjs → importFns-DS4J1xLv.cjs} +2 -2
  32. package/dist/{importFns-Ca5jD096.js → importFns-X8vBhZI2.js} +2 -2
  33. package/dist/io.cjs +2 -2
  34. package/dist/io.js +2 -2
  35. package/dist/kernel/brepkit/meshOps.test.d.ts +1 -0
  36. package/dist/{loftFns-Bii92046.js → loftFns-BF5X7ltI.js} +1 -1
  37. package/dist/{loftFns-LCgAh1pe.cjs → loftFns-ChHjzUK-.cjs} +1 -1
  38. package/dist/{measureFns-k7rf6ka6.cjs → measureFns-B5Zzg1qM.cjs} +3 -3
  39. package/dist/{measureFns-BJrqkYUs.js → measureFns-CC7HhAH3.js} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-C6N_kGLT.cjs → meshFns-CaXmWmhe.cjs} +3 -3
  43. package/dist/{meshFns-vJ3diglE.js → meshFns-D57Fyqyf.js} +3 -3
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{primitiveFns-CeN9-EFA.cjs → primitiveFns-CRy_CUVg.cjs} +4 -4
  47. package/dist/{primitiveFns-DLWUMWq4.js → primitiveFns-DCIH-SBm.js} +4 -4
  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/{refResolveFns-CxYx9TjR.js → refResolveFns-3bw9-U-e.js} +6 -6
  53. package/dist/{refResolveFns-Bw78l4fJ.cjs → refResolveFns-BxmgIhQM.cjs} +6 -6
  54. package/dist/{shapeFns-D0BBI3yY.js → shapeFns-BrHFNLMA.js} +2 -2
  55. package/dist/{shapeFns-B46P-8hf.cjs → shapeFns-qm9VRo4i.cjs} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeTypes-BU7SQ1y6.cjs → shapeTypes-Bpsu5KJO.cjs} +12 -3
  59. package/dist/{shapeTypes-CxF4itPM.js → shapeTypes-CnKFSfDT.js} +12 -3
  60. package/dist/sketching.cjs +3 -3
  61. package/dist/sketching.js +3 -3
  62. package/dist/{solidBuilders-BuMNoLzt.cjs → solidBuilders-Bp7lQW62.cjs} +5 -5
  63. package/dist/{solidBuilders-BFzmgFl0.js → solidBuilders-I8_V8qqU.js} +5 -5
  64. package/dist/{surfaceBuilders-BbRikJ0w.js → surfaceBuilders-BNR7yMQO.js} +2 -2
  65. package/dist/{surfaceBuilders-BtZhuox5.cjs → surfaceBuilders-D8_08oOR.cjs} +2 -2
  66. package/dist/text.cjs +2 -2
  67. package/dist/text.js +2 -2
  68. package/dist/{textBlueprints-BT2CZxAI.cjs → textBlueprints-B5zcLGvJ.cjs} +7 -7
  69. package/dist/{textBlueprints-BvRolv7L.js → textBlueprints-igbNvKcd.js} +7 -7
  70. package/dist/{textMetrics-BzITyHY6.cjs → textMetrics-08fF0QNf.cjs} +1 -1
  71. package/dist/{textMetrics-CHmQrB6U.js → textMetrics-CJvtpbc3.js} +1 -1
  72. package/dist/{threadFns-Cw7gzV_Y.cjs → threadFns-Co6vWEWx.cjs} +7 -7
  73. package/dist/{threadFns-DbxiJ3Is.js → threadFns-CqSMNyTZ.js} +7 -7
  74. package/dist/topology.cjs +9 -9
  75. package/dist/topology.js +9 -9
  76. package/dist/{topologyQueryFns-C5Z8m7Jg.cjs → topologyQueryFns-C3fhJndG.cjs} +1 -1
  77. package/dist/{topologyQueryFns-D0rXN3v5.js → topologyQueryFns-DNqT88yx.js} +1 -1
  78. package/package.json +4 -2
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-C5Z8m7Jg.cjs");
3
- const require_faceFns = require("./faceFns-DDeMMiWW.cjs");
4
- const require_shapeFns = require("./shapeFns-B46P-8hf.cjs");
5
- const require_curveFns = require("./curveFns-GEdU0r2K.cjs");
6
- const require_meshFns = require("./meshFns-C6N_kGLT.cjs");
7
- const require_solidBuilders = require("./solidBuilders-BuMNoLzt.cjs");
8
- const require_healingFns = require("./healingFns-fgBZgj_9.cjs");
9
- const require_adjacencyFns = require("./adjacencyFns-y48qfoSJ.cjs");
10
- const require_primitiveFns = require("./primitiveFns-CeN9-EFA.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-C3fhJndG.cjs");
3
+ const require_faceFns = require("./faceFns-CPswi9Cm.cjs");
4
+ const require_shapeFns = require("./shapeFns-qm9VRo4i.cjs");
5
+ const require_curveFns = require("./curveFns-D7utcbnf.cjs");
6
+ const require_meshFns = require("./meshFns-CaXmWmhe.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-Bp7lQW62.cjs");
8
+ const require_healingFns = require("./healingFns-bhMxTTqw.cjs");
9
+ const require_adjacencyFns = require("./adjacencyFns-Brrc7jlS.cjs");
10
+ const require_primitiveFns = require("./primitiveFns-CRy_CUVg.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-D0rXN3v5.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-D538regr.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D0BBI3yY.js";
4
- 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-yyB3QmwJ.js";
5
- import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-vJ3diglE.js";
6
- import { h as fuseAll, p as cutAll } from "./solidBuilders-BFzmgFl0.js";
7
- import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-DNJeh8v9.js";
8
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CUFf2tRu.js";
9
- 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-DLWUMWq4.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-DNqT88yx.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-CB6uzvOg.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-BrHFNLMA.js";
4
+ 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-RENXKp64.js";
5
+ import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-D57Fyqyf.js";
6
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-I8_V8qqU.js";
7
+ import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-BFTYLiAm.js";
8
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-BdM5p58J.js";
9
+ 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-DCIH-SBm.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-BU7SQ1y6.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-Bpsu5KJO.cjs");
2
2
  const require_errors = require("./errors-CJU8CHng.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
4
  //#region src/core/kernelCall.ts
@@ -1,4 +1,4 @@
1
- import { W as DisposalScope, it as getKernel, n as castResultShape, nt as _usingCtx, r as castResultShapeWithKnownType, z as getOrQueryType } from "./shapeTypes-CxF4itPM.js";
1
+ import { W as DisposalScope, it as getKernel, n as castResultShape, nt as _usingCtx, r as castResultShapeWithKnownType, z as getOrQueryType } from "./shapeTypes-CnKFSfDT.js";
2
2
  import { O as ok, f as getSuggestionForCode, p as translateKernelError, v as err } from "./errors-B3CDG537.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
4
4
  //#region src/core/kernelCall.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.119.0",
3
+ "version": "18.119.2",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -256,6 +256,8 @@
256
256
  "devDependencies": {
257
257
  "@commitlint/cli": "21.2.1",
258
258
  "@commitlint/config-conventional": "21.2.0",
259
+ "@emnapi/core": "1.11.2",
260
+ "@emnapi/runtime": "1.11.2",
259
261
  "@eslint/js": "10.0.1",
260
262
  "@size-limit/file": "12.1.0",
261
263
  "@types/opentype.js": "1.3.9",
@@ -309,7 +311,7 @@
309
311
  },
310
312
  "overrides": {
311
313
  "dompurify": "^3.4.11",
312
- "brace-expansion": "^5.0.6",
314
+ "brace-expansion": "^5.0.7",
313
315
  "esbuild@<0.25.0": "^0.25.0",
314
316
  "esbuild@>=0.26.0 <0.28.1": "^0.28.1",
315
317
  "js-yaml": "^4.2.0",