brepjs 20.13.4 → 20.13.5

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 (86) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-DjblerpV.cjs → adjacencyFns-B1ZWTkxw.cjs} +2 -2
  4. package/dist/{adjacencyFns-Ce4lxSWp.js → adjacencyFns-XdjXKCXE.js} +2 -2
  5. package/dist/{blueprint-D4YxCDeX.cjs → blueprint-DzhzGFy2.cjs} +5 -5
  6. package/dist/{blueprint-CeIbNzdp.js → blueprint-WAucCqwY.js} +5 -5
  7. package/dist/{blueprintFns-DEeIBzwN.js → blueprintFns-C8gt4OYm.js} +2 -2
  8. package/dist/{blueprintFns-fc9ZUSqe.cjs → blueprintFns-DnzHyTjv.cjs} +2 -2
  9. package/dist/{blueprintSketcher-BQ6ApvaQ.js → blueprintSketcher-CeMrC8k-.js} +3 -3
  10. package/dist/{blueprintSketcher-DID7kq5g.cjs → blueprintSketcher-JoLn4vSB.cjs} +3 -3
  11. package/dist/{boolean2D-BsrkJbMe.cjs → boolean2D-Cwc_4mU8.cjs} +4 -4
  12. package/dist/{boolean2D-QMPt29HH.js → boolean2D-D8_6vKh_.js} +4 -4
  13. package/dist/{booleanFns-CQIepT9X.cjs → booleanFns-BhW5eybV.cjs} +5 -5
  14. package/dist/{booleanFns-BuxgJmu2.js → booleanFns-aGRfk4ud.js} +5 -5
  15. package/dist/brepjs.cjs +29 -29
  16. package/dist/brepjs.js +29 -29
  17. package/dist/{cameraFns-s8km1l0J.js → cameraFns-CBc6tpRl.js} +3 -3
  18. package/dist/{cameraFns-DL3zo3ol.cjs → cameraFns-DhgM5-Nl.cjs} +3 -3
  19. package/dist/core/disposal.d.ts +4 -1
  20. package/dist/core.cjs +2 -2
  21. package/dist/core.js +2 -2
  22. package/dist/{cornerFinder-D7P4vdaD.js → cornerFinder-ChkO3EOO.js} +1 -1
  23. package/dist/{cornerFinder-uPZDWiyt.cjs → cornerFinder-xI6O0ZCv.cjs} +1 -1
  24. package/dist/{curveFns-CQtl1RzI.js → curveFns-Cnh0Hljx.js} +1 -1
  25. package/dist/{curveFns-DkG5mlUj.cjs → curveFns-Dz36SOE6.cjs} +1 -1
  26. package/dist/{drawFns-CSYj0D8x.cjs → drawFns-BrRyiHKp.cjs} +12 -12
  27. package/dist/{drawFns-BKnz1pa1.js → drawFns-RuUOUlSC.js} +12 -12
  28. package/dist/{faceFns-C_iC_WkC.cjs → faceFns-DfEUZlnf.cjs} +2 -2
  29. package/dist/{faceFns-f8AWRrzK.js → faceFns-Dz3eRgNR.js} +2 -2
  30. package/dist/{healingFns-BRXArH8z.js → healingFns-CCRPtrvE.js} +6 -6
  31. package/dist/{healingFns-W4_K9hXo.cjs → healingFns-D7LTrPO8.cjs} +6 -6
  32. package/dist/{helpers-m-lbbfaz.cjs → helpers-C0MoldOO.cjs} +6 -6
  33. package/dist/{helpers-COdYBjWD.js → helpers-D3oo0Zfs.js} +6 -6
  34. package/dist/{importFns-D8U3wLhV.js → importFns-BVcmm3T0.js} +5 -5
  35. package/dist/{importFns-Kr02P3cy.cjs → importFns-Sp5phi5Y.cjs} +5 -5
  36. package/dist/io.cjs +2 -2
  37. package/dist/io.js +2 -2
  38. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +20 -18
  39. package/dist/kernel/brepkit/helpers.d.ts +25 -4
  40. package/dist/{loftFns-CVk6mzZj.cjs → loftFns-BoGWrMPg.cjs} +1 -1
  41. package/dist/{loftFns-MN9TgyG4.js → loftFns-oH6dldzO.js} +1 -1
  42. package/dist/{measureFns-9GzKgCdl.js → measureFns-6mHYvqUc.js} +3 -3
  43. package/dist/{measureFns-9aeYKFiR.cjs → measureFns-CmKNZ0gC.cjs} +3 -3
  44. package/dist/measurement.cjs +2 -2
  45. package/dist/measurement.js +2 -2
  46. package/dist/{meshFns-BwsjspzI.cjs → meshFns-BFgQZGty.cjs} +3 -3
  47. package/dist/{meshFns-un9EDg7X.js → meshFns-D29JHTr6.js} +3 -3
  48. package/dist/operations.cjs +2 -2
  49. package/dist/operations.js +2 -2
  50. package/dist/{primitiveFns-CIPm9vsq.cjs → primitiveFns-Dovused4.cjs} +5 -5
  51. package/dist/{primitiveFns-BICas2bb.js → primitiveFns-uywjJ06V.js} +5 -5
  52. package/dist/{principalBoxFns-DQytdykp.js → principalBoxFns-CTVc4f8W.js} +3 -3
  53. package/dist/{principalBoxFns-CQZRNYI3.cjs → principalBoxFns-KvlaTxMs.cjs} +3 -3
  54. package/dist/projection.cjs +1 -1
  55. package/dist/projection.js +1 -1
  56. package/dist/query.cjs +2 -2
  57. package/dist/query.js +2 -2
  58. package/dist/{refResolveFns-DNnNqpyn.cjs → refResolveFns-BFws5K2t.cjs} +6 -6
  59. package/dist/{refResolveFns-CpPBZkjT.js → refResolveFns-DZoPfglj.js} +6 -6
  60. package/dist/{shapeFns-Dr_0yhYg.cjs → shapeFns-C9P1KmqH.cjs} +2 -2
  61. package/dist/{shapeFns-D6-l0Nwn.js → shapeFns-CHsoXWeu.js} +2 -2
  62. package/dist/shapeRef.cjs +1 -1
  63. package/dist/shapeRef.js +1 -1
  64. package/dist/{shapeTypes-B23U9msC.cjs → shapeTypes-BK53GmLC.cjs} +265 -52
  65. package/dist/{shapeTypes-CSWkqhe9.js → shapeTypes-Ckz9bpYW.js} +265 -52
  66. package/dist/sketching.cjs +3 -3
  67. package/dist/sketching.js +3 -3
  68. package/dist/{solidBuilders-DIlNbnwK.cjs → solidBuilders-CETSjBW2.cjs} +3 -3
  69. package/dist/{solidBuilders-CQ1oQdBY.js → solidBuilders-DMfqtfIG.js} +3 -3
  70. package/dist/{surfaceBuilders-ZW6W8S1a.js → surfaceBuilders-BeHgAqDx.js} +3 -3
  71. package/dist/{surfaceBuilders-BV-QYvCL.cjs → surfaceBuilders-vKXtKSqY.cjs} +3 -3
  72. package/dist/text.cjs +2 -2
  73. package/dist/text.js +2 -2
  74. package/dist/{textBlueprints-CwsfEEBS.js → textBlueprints-CLwy1uWM.js} +8 -8
  75. package/dist/{textBlueprints-DYrv0GjE.cjs → textBlueprints-DSiQKpe8.cjs} +8 -8
  76. package/dist/{textMetrics-B_WRck8_.js → textMetrics-1e-VHhTX.js} +1 -1
  77. package/dist/{textMetrics-gC0qYCN1.cjs → textMetrics-CzSpui4K.cjs} +1 -1
  78. package/dist/{threadFns-srKixiXB.cjs → threadFns-BEopBSv3.cjs} +7 -7
  79. package/dist/{threadFns-D9m_ywSR.js → threadFns-DveRUJwK.js} +7 -7
  80. package/dist/topology.cjs +9 -9
  81. package/dist/topology.js +9 -9
  82. package/dist/{topologyQueryFns-DJJoFJPW.cjs → topologyQueryFns--p_-tywe.cjs} +1 -1
  83. package/dist/{topologyQueryFns-D8Du44mm.js → topologyQueryFns-SINsBrMe.js} +1 -1
  84. package/dist/{validityTypes-DSzSU07u.js → validityTypes-BCZ8XRzO.js} +1 -1
  85. package/dist/{validityTypes-BkX2hYwP.cjs → validityTypes-DPAkV5rC.cjs} +1 -1
  86. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
4
- const require_faceFns = require("./faceFns-C_iC_WkC.cjs");
5
- const require_booleanFns = require("./booleanFns-CQIepT9X.cjs");
6
- const require_primitiveFns = require("./primitiveFns-CIPm9vsq.cjs");
7
- const require_shapeFns = require("./shapeFns-Dr_0yhYg.cjs");
8
- const require_loftFns = require("./loftFns-CVk6mzZj.cjs");
9
- const require_refResolveFns = require("./refResolveFns-DNnNqpyn.cjs");
4
+ const require_faceFns = require("./faceFns-DfEUZlnf.cjs");
5
+ const require_booleanFns = require("./booleanFns-BhW5eybV.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-Dovused4.cjs");
7
+ const require_shapeFns = require("./shapeFns-C9P1KmqH.cjs");
8
+ const require_loftFns = require("./loftFns-BoGWrMPg.cjs");
9
+ const require_refResolveFns = require("./refResolveFns-BFws5K2t.cjs");
10
10
  // src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -1,12 +1,12 @@
1
- import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CSWkqhe9.js";
1
+ import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { E as ok, d as validationError, g as err, n as computationError, r as ioError, t as BrepErrorCode, x as isOk } from "./errors-BTccWbtE.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-S-m9H_fe.js";
4
- import { b as fromBREP } from "./faceFns-f8AWRrzK.js";
5
- import { o as fuseAll } from "./booleanFns-BuxgJmu2.js";
6
- import { E as wire, h as line } from "./primitiveFns-BICas2bb.js";
7
- import { s as toBREP, t as clone } from "./shapeFns-D6-l0Nwn.js";
8
- import { t as loft } from "./loftFns-MN9TgyG4.js";
9
- import { c as resolveRefParams } from "./refResolveFns-CpPBZkjT.js";
4
+ import { b as fromBREP } from "./faceFns-Dz3eRgNR.js";
5
+ import { o as fuseAll } from "./booleanFns-aGRfk4ud.js";
6
+ import { E as wire, h as line } from "./primitiveFns-uywjJ06V.js";
7
+ import { s as toBREP, t as clone } from "./shapeFns-CHsoXWeu.js";
8
+ import { t as loft } from "./loftFns-oH6dldzO.js";
9
+ import { c as resolveRefParams } from "./refResolveFns-DZoPfglj.js";
10
10
  // src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-DJJoFJPW.cjs");
3
- const require_faceFns = require("./faceFns-C_iC_WkC.cjs");
4
- const require_booleanFns = require("./booleanFns-CQIepT9X.cjs");
5
- const require_primitiveFns = require("./primitiveFns-CIPm9vsq.cjs");
6
- const require_shapeFns = require("./shapeFns-Dr_0yhYg.cjs");
7
- const require_curveFns = require("./curveFns-DkG5mlUj.cjs");
8
- const require_meshFns = require("./meshFns-BwsjspzI.cjs");
9
- const require_healingFns = require("./healingFns-W4_K9hXo.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-DjblerpV.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns--p_-tywe.cjs");
3
+ const require_faceFns = require("./faceFns-DfEUZlnf.cjs");
4
+ const require_booleanFns = require("./booleanFns-BhW5eybV.cjs");
5
+ const require_primitiveFns = require("./primitiveFns-Dovused4.cjs");
6
+ const require_shapeFns = require("./shapeFns-C9P1KmqH.cjs");
7
+ const require_curveFns = require("./curveFns-Dz36SOE6.cjs");
8
+ const require_meshFns = require("./meshFns-BFgQZGty.cjs");
9
+ const require_healingFns = require("./healingFns-D7LTrPO8.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-B1ZWTkxw.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 { _ 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, w as vertexPosition, x as iterWires } from "./topologyQueryFns-D8Du44mm.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-f8AWRrzK.js";
3
- import { i as cutAll, o as fuseAll } from "./booleanFns-BuxgJmu2.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-BICas2bb.js";
5
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D6-l0Nwn.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-CQtl1RzI.js";
7
- import { f as clearMeshCache, n as exportSTEP, p as createMeshCache, r as exportSTL, t as exportIGES } from "./meshFns-un9EDg7X.js";
8
- import { I as toLineGeometryData, M as toBufferGeometryData, N as toGroupedBufferGeometryData, 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 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-BRXArH8z.js";
9
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-Ce4lxSWp.js";
1
+ import { _ 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, w as vertexPosition, x as iterWires } from "./topologyQueryFns-SINsBrMe.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-Dz3eRgNR.js";
3
+ import { i as cutAll, o as fuseAll } from "./booleanFns-aGRfk4ud.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-uywjJ06V.js";
5
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-CHsoXWeu.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-Cnh0Hljx.js";
7
+ import { f as clearMeshCache, n as exportSTEP, p as createMeshCache, r as exportSTL, t as exportIGES } from "./meshFns-D29JHTr6.js";
8
+ import { I as toLineGeometryData, M as toBufferGeometryData, N as toGroupedBufferGeometryData, 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 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-CCRPtrvE.js";
9
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-XdjXKCXE.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-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  const require_constants = require("./constants-oee0S_x6.cjs");
4
4
  // 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-CSWkqhe9.js";
1
+ import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { E as ok, g as err } from "./errors-BTccWbtE.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
4
4
  // src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- import { q as getKernel } from "./shapeTypes-CSWkqhe9.js";
1
+ import { q as getKernel } from "./shapeTypes-Ckz9bpYW.js";
2
2
  import { E as ok, g as err } from "./errors-BTccWbtE.js";
3
3
  // src/core/validityTypes.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-B23U9msC.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BK53GmLC.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  // src/core/validityTypes.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "20.13.4",
3
+ "version": "20.13.5",
4
4
  "description": "Exact B-Rep CAD in TypeScript on OpenCascade WebAssembly, with a pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -274,7 +274,7 @@
274
274
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
275
275
  "@vitest/coverage-v8": "5.0.5",
276
276
  "brepjs-opencascade": "*",
277
- "brepkit-wasm": "4.5.9",
277
+ "brepkit-wasm": "4.6.7",
278
278
  "eslint": "10.13.0",
279
279
  "fast-check": "4.10.2",
280
280
  "husky": "9.1.7",