brepjs 18.30.0 → 18.32.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 (77) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-CX2RHEEB.cjs → blueprint-BSFmbDGk.cjs} +5 -5
  4. package/dist/{blueprint-DjzrmC44.js → blueprint-CJh2IXNN.js} +5 -5
  5. package/dist/{blueprintFns-sYjcuD3S.cjs → blueprintFns-CP2cC0SH.cjs} +2 -2
  6. package/dist/{blueprintFns-uty9-SLX.js → blueprintFns-Zeq5akLC.js} +2 -2
  7. package/dist/{blueprintSketcher-Bs4zUnzq.js → blueprintSketcher-Bk1Td7bF.js} +3 -3
  8. package/dist/{blueprintSketcher-CuUqou1w.cjs → blueprintSketcher-CW82NmX7.cjs} +3 -3
  9. package/dist/{boolean2D-BtQAX9qA.js → boolean2D-Cx4p6bzv.js} +4 -4
  10. package/dist/{boolean2D-CPHSLRai.cjs → boolean2D-DQESKrHM.cjs} +4 -4
  11. package/dist/{booleanFns-DcT5S7PR.js → booleanFns-CxAfvIV6.js} +4 -4
  12. package/dist/{booleanFns-DkMXJEWT.cjs → booleanFns-Desb54nK.cjs} +4 -4
  13. package/dist/brepjs.cjs +24 -24
  14. package/dist/brepjs.js +24 -24
  15. package/dist/{cameraFns-DkeC7V5J.js → cameraFns-DVDMA2YA.js} +2 -2
  16. package/dist/{cameraFns-K_Nl1guR.cjs → cameraFns-mhPem8JC.cjs} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-BJJFyfEh.js → cornerFinder-C9sHooms.js} +1 -1
  20. package/dist/{cornerFinder-DFiCSIfH.cjs → cornerFinder-nW2FYBmk.cjs} +1 -1
  21. package/dist/{curveFns-BgkFOuyU.cjs → curveFns-BXWe0tUP.cjs} +1 -1
  22. package/dist/{curveFns-BAeFDquO.js → curveFns-CEADb8UI.js} +1 -1
  23. package/dist/{drawFns-CvJdaSme.js → drawFns-Bz47xb6u.js} +12 -12
  24. package/dist/{drawFns-BIpCVb2d.cjs → drawFns-CyqV9IOf.cjs} +12 -12
  25. package/dist/{extrudeFns-CXPBh5nU.cjs → extrudeFns-Byjh14Mh.cjs} +1 -1
  26. package/dist/{extrudeFns-B5gjM-FM.js → extrudeFns-OvEEZRiI.js} +1 -1
  27. package/dist/{faceFns-CyHH4kTh.cjs → faceFns-BEDI2Fht.cjs} +2 -2
  28. package/dist/{faceFns-Mc45gFVz.js → faceFns-Dc1Kz-42.js} +2 -2
  29. package/dist/{helpers-BbDE_mL4.js → helpers-CybYLoG5.js} +6 -6
  30. package/dist/{helpers-CE0Raxxr.cjs → helpers-NRiahAyk.cjs} +6 -6
  31. package/dist/{historyFns-KpkhqpgM.cjs → historyFns-CSHLpJK2.cjs} +4 -4
  32. package/dist/{historyFns-DZKQl8qL.js → historyFns-s38GJ8vm.js} +4 -4
  33. package/dist/{importFns-Dn2UEtZd.js → importFns-BLptAND5.js} +2 -2
  34. package/dist/{importFns-Cwfs-weK.cjs → importFns-C7e3yWGT.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 +8 -9
  38. package/dist/kernel/brepkit/modifierOps.d.ts +1 -1
  39. package/dist/{measureFns-DGayqGpX.cjs → measureFns-BPOctaKR.cjs} +3 -3
  40. package/dist/{measureFns-C7SJOyBc.js → measureFns-Ds3J7UUO.js} +3 -3
  41. package/dist/measurement.cjs +1 -1
  42. package/dist/measurement.js +1 -1
  43. package/dist/{meshFns-_FNR4QJM.js → meshFns-BEtVwyFx.js} +2 -2
  44. package/dist/{meshFns-CkYAnECP.cjs → meshFns-Ca8mKKuw.cjs} +2 -2
  45. package/dist/operations.cjs +2 -2
  46. package/dist/operations.js +2 -2
  47. package/dist/{primitiveFns-CnnO2ark.js → primitiveFns-B7X8lTA2.js} +7 -7
  48. package/dist/{primitiveFns-OIIvukU7.cjs → primitiveFns-DrEFUID3.cjs} +7 -7
  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/{shapeFns-CAajqXTr.js → shapeFns-DX8Wz5Rx.js} +2 -2
  54. package/dist/{shapeFns-DmeM98ps.cjs → shapeFns-Kop1E0FF.cjs} +2 -2
  55. package/dist/shapeRef.cjs +1 -1
  56. package/dist/shapeRef.js +1 -1
  57. package/dist/{shapeRefFns-XZ0m15hb.cjs → shapeRefFns-07fYc4Yf.cjs} +4 -4
  58. package/dist/{shapeRefFns-D-o1iNz2.js → shapeRefFns-D0nj1uv-.js} +4 -4
  59. package/dist/{shapeTypes-Cm921nQl.cjs → shapeTypes-B4BMvuqz.cjs} +11 -1
  60. package/dist/{shapeTypes-DoQpZDvB.js → shapeTypes-CO_7Vi7X.js} +11 -1
  61. package/dist/sketching.cjs +3 -3
  62. package/dist/sketching.js +3 -3
  63. package/dist/{solidBuilders-BiX5zCdw.js → solidBuilders-BvgLx1ih.js} +2 -2
  64. package/dist/{solidBuilders-ByFrBRBR.cjs → solidBuilders-uvsBuAfy.cjs} +2 -2
  65. package/dist/{surfaceBuilders-C3qCxovs.js → surfaceBuilders-CaZYe1HH.js} +2 -2
  66. package/dist/{surfaceBuilders-Ce_8WGQP.cjs → surfaceBuilders-CqA8sgwW.cjs} +2 -2
  67. package/dist/text.cjs +2 -2
  68. package/dist/text.js +2 -2
  69. package/dist/{textBlueprints-IkLHU-vh.cjs → textBlueprints-CmsFcq_2.cjs} +7 -7
  70. package/dist/{textBlueprints-BJ_hCrTm.js → textBlueprints-DdjPsdpW.js} +7 -7
  71. package/dist/{textMetrics-BXiQ0eD2.js → textMetrics-Cp19LSq8.js} +1 -1
  72. package/dist/{textMetrics-BxcmbaRn.cjs → textMetrics-DX7bZOWD.cjs} +1 -1
  73. package/dist/topology.cjs +7 -7
  74. package/dist/topology.js +7 -7
  75. package/dist/{topologyQueryFns-CAIQlNoT.cjs → topologyQueryFns-AGfoGI2F.cjs} +1 -1
  76. package/dist/{topologyQueryFns-CN_fFTlr.js → topologyQueryFns-BQefLP33.js} +1 -1
  77. package/package.json +2 -2
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-CN_fFTlr.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-Mc45gFVz.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-CAajqXTr.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-BAeFDquO.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-_FNR4QJM.js";
6
- import { a as fuseAll, r as cutAll } from "./booleanFns-DcT5S7PR.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-CnnO2ark.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-BQefLP33.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-Dc1Kz-42.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DX8Wz5Rx.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-CEADb8UI.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BEtVwyFx.js";
6
+ import { a as fuseAll, r as cutAll } from "./booleanFns-CxAfvIV6.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-B7X8lTA2.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-Cm921nQl.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.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-DoQpZDvB.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-CO_7Vi7X.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.30.0",
3
+ "version": "18.32.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.99.0",
251
+ "brepkit-wasm": "2.101.1",
252
252
  "eslint": "10.4.0",
253
253
  "fast-check": "4.8.0",
254
254
  "husky": "9.1.7",