brepjs 18.82.6 → 18.82.7

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 (76) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-yJsyEFn_.js → blueprint-DmvnSTKs.js} +5 -5
  4. package/dist/{blueprint-C2gkyxYc.cjs → blueprint-lbpshPPC.cjs} +5 -5
  5. package/dist/{blueprintFns-DjpRmsbi.js → blueprintFns-Bhmqz0_E.js} +2 -2
  6. package/dist/{blueprintFns-CL4VZzCL.cjs → blueprintFns-Nl1hnrJX.cjs} +2 -2
  7. package/dist/{blueprintSketcher-BbYPEPMa.js → blueprintSketcher-DzCTWt_f.js} +3 -3
  8. package/dist/{blueprintSketcher-BLXntEIS.cjs → blueprintSketcher-NDZKJGYh.cjs} +3 -3
  9. package/dist/{boolean2D-C3k4iO92.js → boolean2D-DGtpfl2g.js} +4 -4
  10. package/dist/{boolean2D-BbvyYF-v.cjs → boolean2D-Dzs9Vkjv.cjs} +4 -4
  11. package/dist/brepjs.cjs +24 -24
  12. package/dist/brepjs.js +24 -24
  13. package/dist/{cameraFns-BiQGAnPd.js → cameraFns-B2WR42Tm.js} +2 -2
  14. package/dist/{cameraFns-BkSHm_Vo.cjs → cameraFns-p4G3cFuC.cjs} +2 -2
  15. package/dist/core.cjs +1 -1
  16. package/dist/core.js +1 -1
  17. package/dist/{cornerFinder-D3lGL_Td.cjs → cornerFinder-B_SuHSBj.cjs} +1 -1
  18. package/dist/{cornerFinder-C9zvdkpK.js → cornerFinder-KoakXQze.js} +1 -1
  19. package/dist/{curveFns-Dlbfncal.cjs → curveFns-CJWxgcHu.cjs} +1 -1
  20. package/dist/{curveFns-B4_om-yp.js → curveFns-XRM_FMU4.js} +1 -1
  21. package/dist/{drawFns-lls9IuPY.cjs → drawFns-7qn35uWm.cjs} +12 -12
  22. package/dist/{drawFns-DaTn2p7M.js → drawFns-D7q8qpEI.js} +12 -12
  23. package/dist/{faceFns-Obtamglc.cjs → faceFns-B3bYfnGX.cjs} +2 -2
  24. package/dist/{faceFns-4JEna8n9.js → faceFns-hGTQhRXB.js} +2 -2
  25. package/dist/{healingFns-gHxvhsbJ.cjs → healingFns-BpFs-Puf.cjs} +5 -5
  26. package/dist/{healingFns-uXLI1vJ7.js → healingFns-CUn6v5p4.js} +5 -5
  27. package/dist/{helpers-rAK5qEBu.cjs → helpers-D6yNdVOO.cjs} +6 -6
  28. package/dist/{helpers-CJV31xig.js → helpers-DOE4GlZ0.js} +6 -6
  29. package/dist/{importFns-BJVEly-l.cjs → importFns-BQTQKGbi.cjs} +2 -2
  30. package/dist/{importFns-Dcc2KviL.js → importFns-CPZWa8WK.js} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +25 -0
  34. package/dist/{loftFns-BAM49XJy.cjs → loftFns-B8UzGtwS.cjs} +1 -1
  35. package/dist/{loftFns-DF3KNz9-.js → loftFns-DusJd7Qq.js} +1 -1
  36. package/dist/{measureFns-xpevHRLG.js → measureFns-Bka10mrS.js} +3 -3
  37. package/dist/{measureFns-Ym_I522s.cjs → measureFns-DwHd423H.cjs} +3 -3
  38. package/dist/measurement.cjs +1 -1
  39. package/dist/measurement.js +1 -1
  40. package/dist/{meshFns-DDhKhVK0.cjs → meshFns-B2k02WJJ.cjs} +3 -3
  41. package/dist/{meshFns-soCHj3jp.js → meshFns-CNfOU3D1.js} +3 -3
  42. package/dist/operations.cjs +2 -2
  43. package/dist/operations.js +2 -2
  44. package/dist/{primitiveFns-BmUIWDC7.js → primitiveFns-C-kQixz1.js} +4 -4
  45. package/dist/{primitiveFns-SEyCwNra.cjs → primitiveFns-D3y2t4FS.cjs} +4 -4
  46. package/dist/projection.cjs +1 -1
  47. package/dist/projection.js +1 -1
  48. package/dist/query.cjs +2 -2
  49. package/dist/query.js +2 -2
  50. package/dist/{shapeFns-CE6c_4D4.cjs → shapeFns-BPvq4QYa.cjs} +2 -2
  51. package/dist/{shapeFns-B8REDWBf.js → shapeFns-kVgikxkG.js} +2 -2
  52. package/dist/shapeRef.cjs +1 -1
  53. package/dist/shapeRef.js +1 -1
  54. package/dist/{shapeRefFns-O5h8bOr9.js → shapeRefFns-CXWVzhbm.js} +4 -4
  55. package/dist/{shapeRefFns-C3tglb5A.cjs → shapeRefFns-CxB7OXOc.cjs} +4 -4
  56. package/dist/{shapeTypes-B8d_6R0X.js → shapeTypes-Caa9T1VR.js} +52 -0
  57. package/dist/{shapeTypes-nFeOa7gQ.cjs → shapeTypes-DpDcMU0a.cjs} +52 -0
  58. package/dist/sketching.cjs +3 -3
  59. package/dist/sketching.js +3 -3
  60. package/dist/{solidBuilders-BSnsqitN.js → solidBuilders-BHRL7010.js} +5 -5
  61. package/dist/{solidBuilders-DfGIPlQ2.cjs → solidBuilders-Cve7yf13.cjs} +5 -5
  62. package/dist/{surfaceBuilders-CDX6sDZz.cjs → surfaceBuilders-5hLC_QeE.cjs} +2 -2
  63. package/dist/{surfaceBuilders-D5sQZ6ah.js → surfaceBuilders-BDEc8WSE.js} +2 -2
  64. package/dist/text.cjs +2 -2
  65. package/dist/text.js +2 -2
  66. package/dist/{textBlueprints-Cqu-mcRD.js → textBlueprints-Cl5P2MkE.js} +7 -7
  67. package/dist/{textBlueprints-BwRqV98S.cjs → textBlueprints-bMa5164s.cjs} +7 -7
  68. package/dist/{textMetrics-DpCTYcE2.cjs → textMetrics-BDr82S48.cjs} +1 -1
  69. package/dist/{textMetrics-Cikow3vH.js → textMetrics-DBEv2A2N.js} +1 -1
  70. package/dist/{threadFns-BQHEnI7a.js → threadFns-74sXf2tN.js} +6 -6
  71. package/dist/{threadFns-BzFhh87N.cjs → threadFns-Cw1TzGd2.cjs} +6 -6
  72. package/dist/topology.cjs +8 -8
  73. package/dist/topology.js +8 -8
  74. package/dist/{topologyQueryFns-BcGLEMvc.js → topologyQueryFns-CR7zQvDK.js} +1 -1
  75. package/dist/{topologyQueryFns-Bhey0q1G.cjs → topologyQueryFns-imRz9gK2.cjs} +1 -1
  76. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-B8d_6R0X.js";
1
+ import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-Caa9T1VR.js";
2
2
  import { A as ok, T as isOk, b as err, d as validationError, n as computationError, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { y as fromBREP } from "./faceFns-4JEna8n9.js";
5
- import { s as toBREP } from "./shapeFns-B8REDWBf.js";
6
- import { h as fuseAll } from "./solidBuilders-BSnsqitN.js";
7
- import { t as loft } from "./loftFns-DF3KNz9-.js";
8
- import { E as wire, h as line } from "./primitiveFns-BmUIWDC7.js";
4
+ import { y as fromBREP } from "./faceFns-hGTQhRXB.js";
5
+ import { s as toBREP } from "./shapeFns-kVgikxkG.js";
6
+ import { h as fuseAll } from "./solidBuilders-BHRL7010.js";
7
+ import { t as loft } from "./loftFns-DusJd7Qq.js";
8
+ import { E as wire, h as line } from "./primitiveFns-C-kQixz1.js";
9
9
  //#region src/utils/uuid.ts
10
10
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
11
11
  function uuidv() {
@@ -1,11 +1,11 @@
1
- const require_shapeTypes = require("./shapeTypes-nFeOa7gQ.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DpDcMU0a.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-Obtamglc.cjs");
5
- const require_shapeFns = require("./shapeFns-CE6c_4D4.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DfGIPlQ2.cjs");
7
- const require_loftFns = require("./loftFns-BAM49XJy.cjs");
8
- const require_primitiveFns = require("./primitiveFns-SEyCwNra.cjs");
4
+ const require_faceFns = require("./faceFns-B3bYfnGX.cjs");
5
+ const require_shapeFns = require("./shapeFns-BPvq4QYa.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-Cve7yf13.cjs");
7
+ const require_loftFns = require("./loftFns-B8UzGtwS.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-D3y2t4FS.cjs");
9
9
  //#region src/utils/uuid.ts
10
10
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
11
11
  function uuidv() {
package/dist/topology.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-Bhey0q1G.cjs");
3
- const require_faceFns = require("./faceFns-Obtamglc.cjs");
4
- const require_shapeFns = require("./shapeFns-CE6c_4D4.cjs");
5
- const require_curveFns = require("./curveFns-Dlbfncal.cjs");
6
- const require_meshFns = require("./meshFns-DDhKhVK0.cjs");
7
- const require_solidBuilders = require("./solidBuilders-DfGIPlQ2.cjs");
8
- const require_healingFns = require("./healingFns-gHxvhsbJ.cjs");
9
- const require_primitiveFns = require("./primitiveFns-SEyCwNra.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-imRz9gK2.cjs");
3
+ const require_faceFns = require("./faceFns-B3bYfnGX.cjs");
4
+ const require_shapeFns = require("./shapeFns-BPvq4QYa.cjs");
5
+ const require_curveFns = require("./curveFns-CJWxgcHu.cjs");
6
+ const require_meshFns = require("./meshFns-B2k02WJJ.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-Cve7yf13.cjs");
8
+ const require_healingFns = require("./healingFns-BpFs-Puf.cjs");
9
+ const require_primitiveFns = require("./primitiveFns-D3y2t4FS.cjs");
10
10
  exports.addHoles = require_primitiveFns.addHoles;
11
11
  exports.adjacentFaces = require_healingFns.adjacentFaces;
12
12
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,9 +1,9 @@
1
- import { S 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-BcGLEMvc.js";
2
- import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-4JEna8n9.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-B8REDWBf.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-B4_om-yp.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-soCHj3jp.js";
6
- import { h as fuseAll, p as cutAll } from "./solidBuilders-BSnsqitN.js";
7
- import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, 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, z as toLineGeometryData } from "./healingFns-uXLI1vJ7.js";
8
- 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-BmUIWDC7.js";
1
+ import { S 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-CR7zQvDK.js";
2
+ import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-hGTQhRXB.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-kVgikxkG.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-XRM_FMU4.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-CNfOU3D1.js";
6
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-BHRL7010.js";
7
+ import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, 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, z as toLineGeometryData } from "./healingFns-CUn6v5p4.js";
8
+ 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-C-kQixz1.js";
9
9
  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
- import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-B8d_6R0X.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-Caa9T1VR.js";
2
2
  import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-DNWJsfVU.js";
3
3
  //#region src/core/kernelCall.ts
4
4
  function buildError(kind, code, message, cause, suggestion) {
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-nFeOa7gQ.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DpDcMU0a.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
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.82.6",
3
+ "version": "18.82.7",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",