brepjs 18.29.0 → 18.31.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 (78) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-79MQJVZa.cjs → blueprint-BSFmbDGk.cjs} +5 -5
  4. package/dist/{blueprint-CUvDkWLs.js → blueprint-CJh2IXNN.js} +5 -5
  5. package/dist/{blueprintFns-DX7ftQu1.cjs → blueprintFns-CP2cC0SH.cjs} +2 -2
  6. package/dist/{blueprintFns-Ce-Mzufq.js → blueprintFns-Zeq5akLC.js} +2 -2
  7. package/dist/{blueprintSketcher-DiJ7nX5P.js → blueprintSketcher-Bk1Td7bF.js} +3 -3
  8. package/dist/{blueprintSketcher-CoefmhkD.cjs → blueprintSketcher-CW82NmX7.cjs} +3 -3
  9. package/dist/{boolean2D-B-6u7Td3.js → boolean2D-Cx4p6bzv.js} +4 -4
  10. package/dist/{boolean2D-ByEkLCB7.cjs → boolean2D-DQESKrHM.cjs} +4 -4
  11. package/dist/{booleanFns-B-saLmi4.js → booleanFns-CxAfvIV6.js} +4 -4
  12. package/dist/{booleanFns-2zKQEuA8.cjs → booleanFns-Desb54nK.cjs} +4 -4
  13. package/dist/brepjs.cjs +24 -24
  14. package/dist/brepjs.js +24 -24
  15. package/dist/{cameraFns-ILz-I1EN.js → cameraFns-DVDMA2YA.js} +2 -2
  16. package/dist/{cameraFns-C0uWLB4t.cjs → cameraFns-mhPem8JC.cjs} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-DnbKeXpc.js → cornerFinder-C9sHooms.js} +1 -1
  20. package/dist/{cornerFinder-DheJjEdJ.cjs → cornerFinder-nW2FYBmk.cjs} +1 -1
  21. package/dist/{curveFns-BW6fpApo.cjs → curveFns-BXWe0tUP.cjs} +1 -1
  22. package/dist/{curveFns-Dp2RyxrR.js → curveFns-CEADb8UI.js} +1 -1
  23. package/dist/{drawFns-CJamg2C6.js → drawFns-Bz47xb6u.js} +12 -12
  24. package/dist/{drawFns-rCnf1L3r.cjs → drawFns-CyqV9IOf.cjs} +12 -12
  25. package/dist/{extrudeFns-zngMBHOx.cjs → extrudeFns-Byjh14Mh.cjs} +1 -1
  26. package/dist/{extrudeFns-CMGE0i5l.js → extrudeFns-OvEEZRiI.js} +1 -1
  27. package/dist/{faceFns-C8A9sCkb.cjs → faceFns-BEDI2Fht.cjs} +2 -2
  28. package/dist/{faceFns-DFDKI39R.js → faceFns-Dc1Kz-42.js} +2 -2
  29. package/dist/{helpers-POBaax19.js → helpers-CybYLoG5.js} +6 -6
  30. package/dist/{helpers-D-mko0qh.cjs → helpers-NRiahAyk.cjs} +6 -6
  31. package/dist/{historyFns-D0K337z6.cjs → historyFns-CSHLpJK2.cjs} +4 -4
  32. package/dist/{historyFns-CbT3UJYn.js → historyFns-s38GJ8vm.js} +4 -4
  33. package/dist/{importFns-CwNl9Ll2.js → importFns-BLptAND5.js} +2 -2
  34. package/dist/{importFns-B1ym1wuL.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 -1
  38. package/dist/kernel/brepkit/geometryOps.d.ts +10 -2
  39. package/dist/kernel/brepkit/modifierOps.d.ts +1 -1
  40. package/dist/{measureFns-B7x2vp6b.cjs → measureFns-BPOctaKR.cjs} +3 -3
  41. package/dist/{measureFns-CeEybpyd.js → measureFns-Ds3J7UUO.js} +3 -3
  42. package/dist/measurement.cjs +1 -1
  43. package/dist/measurement.js +1 -1
  44. package/dist/{meshFns-BtNBXH5S.js → meshFns-BEtVwyFx.js} +2 -2
  45. package/dist/{meshFns-By5mtdo9.cjs → meshFns-Ca8mKKuw.cjs} +2 -2
  46. package/dist/operations.cjs +2 -2
  47. package/dist/operations.js +2 -2
  48. package/dist/{primitiveFns-DfsjF4Kj.js → primitiveFns-B7X8lTA2.js} +7 -7
  49. package/dist/{primitiveFns-IzSRaAG-.cjs → primitiveFns-DrEFUID3.cjs} +7 -7
  50. package/dist/projection.cjs +1 -1
  51. package/dist/projection.js +1 -1
  52. package/dist/query.cjs +2 -2
  53. package/dist/query.js +2 -2
  54. package/dist/{shapeFns-Cf79IuMn.js → shapeFns-DX8Wz5Rx.js} +2 -2
  55. package/dist/{shapeFns-DPjMiDcX.cjs → shapeFns-Kop1E0FF.cjs} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeRefFns-hCaw9c68.cjs → shapeRefFns-07fYc4Yf.cjs} +4 -4
  59. package/dist/{shapeRefFns-sE77hIRw.js → shapeRefFns-D0nj1uv-.js} +4 -4
  60. package/dist/{shapeTypes-q3dLIqqs.cjs → shapeTypes-B4BMvuqz.cjs} +34 -4
  61. package/dist/{shapeTypes-DUC23pOr.js → shapeTypes-CO_7Vi7X.js} +34 -4
  62. package/dist/sketching.cjs +3 -3
  63. package/dist/sketching.js +3 -3
  64. package/dist/{solidBuilders-CwwLuRz8.js → solidBuilders-BvgLx1ih.js} +2 -2
  65. package/dist/{solidBuilders-BoeIWGQs.cjs → solidBuilders-uvsBuAfy.cjs} +2 -2
  66. package/dist/{surfaceBuilders-CRTJ3eLf.js → surfaceBuilders-CaZYe1HH.js} +2 -2
  67. package/dist/{surfaceBuilders-BJX_D1VO.cjs → surfaceBuilders-CqA8sgwW.cjs} +2 -2
  68. package/dist/text.cjs +2 -2
  69. package/dist/text.js +2 -2
  70. package/dist/{textBlueprints-CuPkJa3W.cjs → textBlueprints-CmsFcq_2.cjs} +7 -7
  71. package/dist/{textBlueprints-OEB7VKBv.js → textBlueprints-DdjPsdpW.js} +7 -7
  72. package/dist/{textMetrics-lTkakQKC.js → textMetrics-Cp19LSq8.js} +1 -1
  73. package/dist/{textMetrics-boJWbnQk.cjs → textMetrics-DX7bZOWD.cjs} +1 -1
  74. package/dist/topology.cjs +7 -7
  75. package/dist/topology.js +7 -7
  76. package/dist/{topologyQueryFns-C38cIHle.cjs → topologyQueryFns-AGfoGI2F.cjs} +1 -1
  77. package/dist/{topologyQueryFns-BELdxJ8R.js → topologyQueryFns-BQefLP33.js} +1 -1
  78. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-CuPkJa3W.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-CmsFcq_2.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-C38cIHle.cjs");
3
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
4
- const require_shapeFns = require("./shapeFns-DPjMiDcX.cjs");
5
- const require_curveFns = require("./curveFns-BW6fpApo.cjs");
6
- const require_meshFns = require("./meshFns-By5mtdo9.cjs");
7
- const require_booleanFns = require("./booleanFns-2zKQEuA8.cjs");
8
- const require_primitiveFns = require("./primitiveFns-IzSRaAG-.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-AGfoGI2F.cjs");
3
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
4
+ const require_shapeFns = require("./shapeFns-Kop1E0FF.cjs");
5
+ const require_curveFns = require("./curveFns-BXWe0tUP.cjs");
6
+ const require_meshFns = require("./meshFns-Ca8mKKuw.cjs");
7
+ const require_booleanFns = require("./booleanFns-Desb54nK.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-DrEFUID3.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-BELdxJ8R.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-DFDKI39R.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-Cf79IuMn.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-Dp2RyxrR.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BtNBXH5S.js";
6
- import { a as fuseAll, r as cutAll } from "./booleanFns-B-saLmi4.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-DfsjF4Kj.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-q3dLIqqs.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-DUC23pOr.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.29.0",
3
+ "version": "18.31.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.0",
252
252
  "eslint": "10.4.0",
253
253
  "fast-check": "4.8.0",
254
254
  "husky": "9.1.7",