brepjs 18.100.1 → 18.100.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 (77) hide show
  1. package/README.md +6 -0
  2. package/dist/2d.cjs +6 -6
  3. package/dist/2d.js +6 -6
  4. package/dist/{blueprint-Bqmxcyfd.js → blueprint-CoG7hqAO.js} +5 -5
  5. package/dist/{blueprint-BhCha_8H.cjs → blueprint-D60m51kI.cjs} +5 -5
  6. package/dist/{blueprintFns-DKmyNVyL.cjs → blueprintFns-CDdNG1E0.cjs} +2 -2
  7. package/dist/{blueprintFns-_emMJGKf.js → blueprintFns-CsR4vknQ.js} +2 -2
  8. package/dist/{blueprintSketcher-B5XBXgri.js → blueprintSketcher-BH026Vs6.js} +3 -3
  9. package/dist/{blueprintSketcher-DwL9iPAG.cjs → blueprintSketcher-CNV3BF1m.cjs} +3 -3
  10. package/dist/{boolean2D-DiQyJiA-.js → boolean2D-BkoT0tyj.js} +4 -4
  11. package/dist/{boolean2D-BJ6MwGgV.cjs → boolean2D-DAy71yz-.cjs} +4 -4
  12. package/dist/brepjs.cjs +24 -24
  13. package/dist/brepjs.js +24 -24
  14. package/dist/{cameraFns-BjcKjYpw.cjs → cameraFns-B-T9D-ie.cjs} +2 -2
  15. package/dist/{cameraFns-BCLtAeFB.js → cameraFns-B62EdiYs.js} +2 -2
  16. package/dist/core.cjs +1 -1
  17. package/dist/core.js +1 -1
  18. package/dist/{cornerFinder-B-zZ2G9-.js → cornerFinder-C6GEoGxi.js} +1 -1
  19. package/dist/{cornerFinder-DyYE74wI.cjs → cornerFinder-oRnX2o08.cjs} +1 -1
  20. package/dist/{curveFns-DwBW-FmM.cjs → curveFns-BIlzT4bO.cjs} +1 -1
  21. package/dist/{curveFns-BKpLwUdG.js → curveFns-CaEoZJFJ.js} +1 -1
  22. package/dist/{drawFns-SFAjbxKc.js → drawFns-BoJx2cw1.js} +12 -12
  23. package/dist/{drawFns-BDPAuKxN.cjs → drawFns-CBSGIxrq.cjs} +12 -12
  24. package/dist/{faceFns-DrBS1FKx.cjs → faceFns-BvtC44tv.cjs} +2 -2
  25. package/dist/{faceFns-B642NCgD.js → faceFns-Cgpg9n36.js} +2 -2
  26. package/dist/{healingFns-CWicvCr2.js → healingFns-BiChNtRz.js} +5 -5
  27. package/dist/{healingFns-CA_Pxs_R.cjs → healingFns-DY8866Fl.cjs} +5 -5
  28. package/dist/{helpers-VUDxsMV6.js → helpers-CRB4YhSI.js} +6 -6
  29. package/dist/{helpers-BVwuuo7f.cjs → helpers-DDN_oU6P.cjs} +6 -6
  30. package/dist/{importFns-CPEC-mu2.js → importFns-CcUm7pcu.js} +2 -2
  31. package/dist/{importFns-D7CBrzdj.cjs → importFns-v3C1RKi2.cjs} +2 -2
  32. package/dist/io.cjs +2 -2
  33. package/dist/io.js +2 -2
  34. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +14 -6
  35. package/dist/{loftFns-BG5aCsSy.cjs → loftFns-CFyOO359.cjs} +1 -1
  36. package/dist/{loftFns-6LL25A5A.js → loftFns-D5rQxNOI.js} +1 -1
  37. package/dist/{measureFns-o-fR5CV_.js → measureFns-BrrVzFq0.js} +3 -3
  38. package/dist/{measureFns-CMzOaAYQ.cjs → measureFns-D2Y2OOuw.cjs} +3 -3
  39. package/dist/measurement.cjs +1 -1
  40. package/dist/measurement.js +1 -1
  41. package/dist/{meshFns-DoqRG8XQ.cjs → meshFns-BKBGgLB4.cjs} +3 -3
  42. package/dist/{meshFns-k2Bsp0Xp.js → meshFns-Bkcg1u5D.js} +3 -3
  43. package/dist/operations.cjs +2 -2
  44. package/dist/operations.js +2 -2
  45. package/dist/{primitiveFns-jeA2auqw.cjs → primitiveFns-DFwdXRvP.cjs} +4 -4
  46. package/dist/{primitiveFns-CPbjoGeA.js → primitiveFns-DmF1hhYr.js} +4 -4
  47. package/dist/projection.cjs +1 -1
  48. package/dist/projection.js +1 -1
  49. package/dist/query.cjs +2 -2
  50. package/dist/query.js +2 -2
  51. package/dist/{shapeFns-eQx9e6lo.cjs → shapeFns-B3GP-0FJ.cjs} +2 -2
  52. package/dist/{shapeFns-FrRtxWiz.js → shapeFns-D-4StVDd.js} +2 -2
  53. package/dist/shapeRef.cjs +1 -1
  54. package/dist/shapeRef.js +1 -1
  55. package/dist/{shapeRefFns-D1WVYLvG.cjs → shapeRefFns-CdgSGKLD.cjs} +4 -4
  56. package/dist/{shapeRefFns-C2oR3Cid.js → shapeRefFns-CtUw9bYy.js} +4 -4
  57. package/dist/{shapeTypes-DplVM8Fy.cjs → shapeTypes-DQfoZt_L.cjs} +32 -0
  58. package/dist/{shapeTypes-D9XYNPBs.js → shapeTypes-z5bfGPVI.js} +32 -0
  59. package/dist/sketching.cjs +3 -3
  60. package/dist/sketching.js +3 -3
  61. package/dist/{solidBuilders-CxJJkiPi.js → solidBuilders-Dcl1gZwH.js} +5 -5
  62. package/dist/{solidBuilders-DI4CSKe-.cjs → solidBuilders-RRBbe3dp.cjs} +5 -5
  63. package/dist/{surfaceBuilders-Cf3c00zK.js → surfaceBuilders-DXMOQVyx.js} +2 -2
  64. package/dist/{surfaceBuilders-CDrFrFBH.cjs → surfaceBuilders-D_htXKwS.cjs} +2 -2
  65. package/dist/text.cjs +2 -2
  66. package/dist/text.js +2 -2
  67. package/dist/{textBlueprints-ypK-L96F.cjs → textBlueprints-A1zJwOLD.cjs} +7 -7
  68. package/dist/{textBlueprints-DbLlIr5s.js → textBlueprints-Da_l2ncZ.js} +7 -7
  69. package/dist/{textMetrics-BWST-GMU.js → textMetrics-DwaQOil0.js} +1 -1
  70. package/dist/{textMetrics-CMXyoBtR.cjs → textMetrics-qCUPlyrb.cjs} +1 -1
  71. package/dist/{threadFns-CvjUrsgG.cjs → threadFns-BqoKTKCh.cjs} +6 -6
  72. package/dist/{threadFns-BcgGRuMg.js → threadFns-D2kDxalD.js} +6 -6
  73. package/dist/topology.cjs +8 -8
  74. package/dist/topology.js +8 -8
  75. package/dist/{topologyQueryFns-Dzw_tis6.cjs → topologyQueryFns-BLkQkExs.cjs} +1 -1
  76. package/dist/{topologyQueryFns-jDWO6A94.js → topologyQueryFns-De27Nxmf.js} +1 -1
  77. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-ypK-L96F.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-A1zJwOLD.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
@@ -1,11 +1,11 @@
1
- const require_shapeTypes = require("./shapeTypes-DplVM8Fy.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DQfoZt_L.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-DrBS1FKx.cjs");
5
- const require_shapeFns = require("./shapeFns-eQx9e6lo.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DI4CSKe-.cjs");
7
- const require_loftFns = require("./loftFns-BG5aCsSy.cjs");
8
- const require_primitiveFns = require("./primitiveFns-jeA2auqw.cjs");
4
+ const require_faceFns = require("./faceFns-BvtC44tv.cjs");
5
+ const require_shapeFns = require("./shapeFns-B3GP-0FJ.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-RRBbe3dp.cjs");
7
+ const require_loftFns = require("./loftFns-CFyOO359.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-DFwdXRvP.cjs");
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
- import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-D9XYNPBs.js";
1
+ import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-z5bfGPVI.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-B642NCgD.js";
5
- import { s as toBREP } from "./shapeFns-FrRtxWiz.js";
6
- import { h as fuseAll } from "./solidBuilders-CxJJkiPi.js";
7
- import { t as loft } from "./loftFns-6LL25A5A.js";
8
- import { E as wire, h as line } from "./primitiveFns-CPbjoGeA.js";
4
+ import { y as fromBREP } from "./faceFns-Cgpg9n36.js";
5
+ import { s as toBREP } from "./shapeFns-D-4StVDd.js";
6
+ import { h as fuseAll } from "./solidBuilders-Dcl1gZwH.js";
7
+ import { t as loft } from "./loftFns-D5rQxNOI.js";
8
+ import { E as wire, h as line } from "./primitiveFns-DmF1hhYr.js";
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-Dzw_tis6.cjs");
3
- const require_faceFns = require("./faceFns-DrBS1FKx.cjs");
4
- const require_shapeFns = require("./shapeFns-eQx9e6lo.cjs");
5
- const require_curveFns = require("./curveFns-DwBW-FmM.cjs");
6
- const require_meshFns = require("./meshFns-DoqRG8XQ.cjs");
7
- const require_solidBuilders = require("./solidBuilders-DI4CSKe-.cjs");
8
- const require_healingFns = require("./healingFns-CA_Pxs_R.cjs");
9
- const require_primitiveFns = require("./primitiveFns-jeA2auqw.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BLkQkExs.cjs");
3
+ const require_faceFns = require("./faceFns-BvtC44tv.cjs");
4
+ const require_shapeFns = require("./shapeFns-B3GP-0FJ.cjs");
5
+ const require_curveFns = require("./curveFns-BIlzT4bO.cjs");
6
+ const require_meshFns = require("./meshFns-BKBGgLB4.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-RRBbe3dp.cjs");
8
+ const require_healingFns = require("./healingFns-DY8866Fl.cjs");
9
+ const require_primitiveFns = require("./primitiveFns-DFwdXRvP.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-jDWO6A94.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-B642NCgD.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-FrRtxWiz.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-BKpLwUdG.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-k2Bsp0Xp.js";
6
- import { h as fuseAll, p as cutAll } from "./solidBuilders-CxJJkiPi.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-CWicvCr2.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-CPbjoGeA.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-De27Nxmf.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-Cgpg9n36.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D-4StVDd.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-CaEoZJFJ.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-Bkcg1u5D.js";
6
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-Dcl1gZwH.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-BiChNtRz.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-DmF1hhYr.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
- const require_shapeTypes = require("./shapeTypes-DplVM8Fy.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DQfoZt_L.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) {
@@ -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-D9XYNPBs.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-z5bfGPVI.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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.100.1",
3
+ "version": "18.100.2",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",
@@ -261,7 +261,7 @@
261
261
  "@types/react": "19.2.17",
262
262
  "@vitest/coverage-v8": "4.1.8",
263
263
  "brepjs-opencascade": "*",
264
- "brepkit-wasm": "2.112.0",
264
+ "brepkit-wasm": "2.115.8",
265
265
  "eslint": "10.5.0",
266
266
  "fast-check": "4.8.0",
267
267
  "husky": "9.1.7",