brepjs 18.65.0 → 18.66.1

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 (90) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-smNMCQA1.cjs → blueprint-D0HcOCoD.cjs} +5 -5
  4. package/dist/{blueprint-1wDhBDmB.js → blueprint-DUu2ps2h.js} +5 -5
  5. package/dist/{blueprintFns-DeCDdsDz.js → blueprintFns-BoMZHBGl.js} +2 -2
  6. package/dist/{blueprintFns-DkHfzzv0.cjs → blueprintFns-pq0yw94E.cjs} +2 -2
  7. package/dist/{blueprintSketcher-Bpd7nMHt.cjs → blueprintSketcher-CWSesXXR.cjs} +3 -3
  8. package/dist/{blueprintSketcher-BL85kdgo.js → blueprintSketcher-DelJzBzJ.js} +3 -3
  9. package/dist/{boolean2D-CHu_3RIB.cjs → boolean2D-C6xLLzU_.cjs} +4 -4
  10. package/dist/{boolean2D-CWgORqab.js → boolean2D-DYjuIlFY.js} +4 -4
  11. package/dist/{booleanFns-ogc1TMXG.js → booleanFns-CLzeqmgT.js} +4 -4
  12. package/dist/{booleanFns-C9olM-r4.cjs → booleanFns-D57G9tJA.cjs} +4 -4
  13. package/dist/brepjs.cjs +33 -25
  14. package/dist/brepjs.js +26 -26
  15. package/dist/{cameraFns-Za6Rsnmg.cjs → cameraFns-DSAYGgrz.cjs} +2 -2
  16. package/dist/{cameraFns-9SLctf9O.js → cameraFns-D_UnhA2O.js} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-Cchldpsv.js → cornerFinder-CszkHDW1.js} +1 -1
  20. package/dist/{cornerFinder-CUhZgX6X.cjs → cornerFinder-Dvu2q_-E.cjs} +1 -1
  21. package/dist/{curveFns-DR68aqxR.cjs → curveFns-BJLQixZw.cjs} +1 -1
  22. package/dist/{curveFns-DH5NpaKO.js → curveFns-CLNHpU2N.js} +1 -1
  23. package/dist/{drawFns-DPE6EU_v.cjs → drawFns-BuE0lne3.cjs} +12 -12
  24. package/dist/{drawFns-Cq6bAjFC.js → drawFns-Cw29tkrx.js} +12 -12
  25. package/dist/{extrudeFns-DZEN4PPg.js → extrudeFns-19bOK66L.js} +1 -1
  26. package/dist/{extrudeFns-yfUN1m7e.cjs → extrudeFns-BDgqrytA.cjs} +1 -1
  27. package/dist/{faceFns-_m0px2ug.cjs → faceFns-BmaS4kkW.cjs} +2 -2
  28. package/dist/{faceFns-Qrz3lIDv.js → faceFns-CWU_70z7.js} +2 -2
  29. package/dist/{helpers-Bk538__I.js → helpers-CA8uFXQW.js} +6 -6
  30. package/dist/{helpers-BXiYZ2Dl.cjs → helpers-qkB-gFkC.cjs} +6 -6
  31. package/dist/{historyFns-B-R48Dze.cjs → historyFns-CDVZ3KM8.cjs} +4 -4
  32. package/dist/{historyFns-BJKkvynn.js → historyFns-CnUZzNHQ.js} +4 -4
  33. package/dist/{importFns-D8EPeKcC.cjs → importFns-B7pbqJhZ.cjs} +2 -2
  34. package/dist/{importFns-Cid57qQ1.js → importFns-BBnjqm6T.js} +2 -2
  35. package/dist/index.d.ts +5 -1
  36. package/dist/io.cjs +2 -2
  37. package/dist/io.js +2 -2
  38. package/dist/kernel/brepkit/brepkitAdapter.d.ts +2 -0
  39. package/dist/kernel/capabilities.d.ts +35 -0
  40. package/dist/kernel/index.d.ts +30 -0
  41. package/dist/kernel/interfaces/core.d.ts +15 -0
  42. package/dist/kernel/manifold/manifoldAdapter.d.ts +9 -0
  43. package/dist/kernel/manifold/sweepOps.d.ts +1 -0
  44. package/dist/kernel/occt/defaultAdapter.d.ts +2 -0
  45. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  46. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +2 -0
  47. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  48. package/dist/kernel/quality.d.ts +29 -0
  49. package/dist/{measureFns-95m36tbx.js → measureFns-Bye5UsOe.js} +3 -3
  50. package/dist/{measureFns-CqSFeI4R.cjs → measureFns-HhPPUiRO.cjs} +3 -3
  51. package/dist/measurement.cjs +1 -1
  52. package/dist/measurement.js +1 -1
  53. package/dist/{meshFns-CR8dRmoo.cjs → meshFns-B5jxU_H4.cjs} +12 -6
  54. package/dist/{meshFns-BCggXbKk.js → meshFns-Cog1SKSV.js} +12 -6
  55. package/dist/{occtWasmAdapter-BuIYbIwy.cjs → occtWasmAdapter-BPu07Zxg.cjs} +33 -0
  56. package/dist/{occtWasmAdapter-B0PIezOZ.js → occtWasmAdapter-Ctfykwr2.js} +22 -1
  57. package/dist/operations.cjs +2 -2
  58. package/dist/operations.js +2 -2
  59. package/dist/{primitiveFns-DFsImECE.cjs → primitiveFns-B_Vhus6h.cjs} +7 -7
  60. package/dist/{primitiveFns-Fy3scr-a.js → primitiveFns-DTg4kOPD.js} +7 -7
  61. package/dist/projection.cjs +1 -1
  62. package/dist/projection.js +1 -1
  63. package/dist/query.cjs +2 -2
  64. package/dist/query.js +2 -2
  65. package/dist/{shapeFns-Ct1lekCK.js → shapeFns-CMQD_3Rz.js} +2 -2
  66. package/dist/{shapeFns-DNqkQ2yJ.cjs → shapeFns-ClKe2vri.cjs} +2 -2
  67. package/dist/shapeRef.cjs +1 -1
  68. package/dist/shapeRef.js +1 -1
  69. package/dist/{shapeRefFns-BB9iWqZb.cjs → shapeRefFns-DUt-hIWq.cjs} +4 -4
  70. package/dist/{shapeRefFns-CZqzvMgX.js → shapeRefFns-DqmUj3wF.js} +4 -4
  71. package/dist/{shapeTypes-DAhE_41P.cjs → shapeTypes-CPClTSJn.cjs} +168 -15
  72. package/dist/{shapeTypes-C-32Klnb.js → shapeTypes-CQscfe8k.js} +127 -16
  73. package/dist/sketching.cjs +3 -3
  74. package/dist/sketching.js +3 -3
  75. package/dist/{solidBuilders-iapbn6CO.cjs → solidBuilders-CtxTfDlu.cjs} +2 -2
  76. package/dist/{solidBuilders-B-gb9ZsJ.js → solidBuilders-U04-5yA1.js} +2 -2
  77. package/dist/{surfaceBuilders-B9kzwe0E.cjs → surfaceBuilders-88vLyzZe.cjs} +2 -2
  78. package/dist/{surfaceBuilders-Cwecm13F.js → surfaceBuilders-GesSUnRk.js} +2 -2
  79. package/dist/text.cjs +2 -2
  80. package/dist/text.js +2 -2
  81. package/dist/{textBlueprints-7KWxP1zT.cjs → textBlueprints-BRqklfRI.cjs} +7 -7
  82. package/dist/{textBlueprints-CyIv54Ac.js → textBlueprints-DP_2uuR2.js} +7 -7
  83. package/dist/{textMetrics-D740OLnV.js → textMetrics-BAOyWVzI.js} +1 -1
  84. package/dist/{textMetrics-BXoJfZKn.cjs → textMetrics-F2qR-eqQ.cjs} +1 -1
  85. package/dist/topology/meshFns.d.ts +5 -5
  86. package/dist/topology.cjs +7 -7
  87. package/dist/topology.js +7 -7
  88. package/dist/{topologyQueryFns-C0yUIRDE.js → topologyQueryFns-BuZ2h4o9.js} +1 -1
  89. package/dist/{topologyQueryFns-CBVVRWvE.cjs → topologyQueryFns-jK9Vpzqr.cjs} +1 -1
  90. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-DAhE_41P.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-_m0px2ug.cjs");
3
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-C-32Klnb.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CQscfe8k.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { g as cast, l as outerWire } from "./faceFns-Qrz3lIDv.js";
3
+ import { g as cast, l as outerWire } from "./faceFns-CWU_70z7.js";
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-7KWxP1zT.cjs");
3
- const require_textMetrics = require("./textMetrics-BXoJfZKn.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BRqklfRI.cjs");
3
+ const require_textMetrics = require("./textMetrics-F2qR-eqQ.cjs");
4
4
  exports.fontMetrics = require_textMetrics.fontMetrics;
5
5
  exports.getFont = require_textBlueprints.getFont;
6
6
  exports.loadFont = require_textBlueprints.loadFont;
package/dist/text.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-CyIv54Ac.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-D740OLnV.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-DP_2uuR2.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-BAOyWVzI.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-DAhE_41P.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
33
33
  const require_errors = require("./errors-CXJtc4I7.cjs");
34
34
  const require_types = require("./types-KjA8tY4Y.cjs");
35
35
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
36
36
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
37
- const require_faceFns = require("./faceFns-_m0px2ug.cjs");
38
- const require_curveFns = require("./curveFns-DR68aqxR.cjs");
37
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
38
+ const require_curveFns = require("./curveFns-BJLQixZw.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-B9kzwe0E.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-Bpd7nMHt.cjs");
42
- const require_solidBuilders = require("./solidBuilders-iapbn6CO.cjs");
43
- const require_extrudeFns = require("./extrudeFns-yfUN1m7e.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-88vLyzZe.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-CWSesXXR.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-CtxTfDlu.cjs");
43
+ const require_extrudeFns = require("./extrudeFns-BDgqrytA.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/operations/loftFns.ts
@@ -1,15 +1,15 @@
1
- import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-C-32Klnb.js";
1
+ import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-CQscfe8k.js";
2
2
  import { A as ok, R as unwrap, T as isOk, b as err, d as validationError, h as bug, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  import { n as createPlane } from "./planeOps-DSjjtrjg.js";
6
- import { _ as downcast, g as cast } from "./faceFns-Qrz3lIDv.js";
7
- import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-DH5NpaKO.js";
6
+ import { _ as downcast, g as cast } from "./faceFns-CWU_70z7.js";
7
+ import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-CLNHpU2N.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-Cwecm13F.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BL85kdgo.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-B-gb9ZsJ.js";
12
- import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-DZEN4PPg.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-GesSUnRk.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DelJzBzJ.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-U04-5yA1.js";
12
+ import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-19bOK66L.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/operations/loftFns.ts
15
15
  /**
@@ -1,5 +1,5 @@
1
1
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-CyIv54Ac.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-DP_2uuR2.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-7KWxP1zT.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-BRqklfRI.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
@@ -31,9 +31,9 @@ export interface EdgeMesh {
31
31
  }
32
32
  /** Shared options for meshing operations. */
33
33
  export interface MeshOptions {
34
- /** Linear deflection tolerance (default 1e-3). Smaller = finer mesh. */
34
+ /** Linear deflection tolerance. Smaller = finer mesh. Defaults to the active quality level. */
35
35
  tolerance?: number;
36
- /** Angular deflection tolerance in radians (default 0.1). Smaller = finer mesh on curved surfaces. */
36
+ /** Angular deflection tolerance in radians. Smaller = finer mesh on curved surfaces. Defaults to the active quality level. */
37
37
  angularTolerance?: number;
38
38
  /** Abort signal to cancel mesh generation between face iterations. */
39
39
  signal?: AbortSignal;
@@ -47,7 +47,7 @@ export interface MeshOptions {
47
47
  * @returns A ShapeMesh containing typed arrays ready for GPU upload.
48
48
  * @see toBufferGeometryData — convert to Three.js BufferGeometry format
49
49
  */
50
- export declare function mesh(shape: AnyShape<Dimension>, { tolerance, angularTolerance, skipNormals, includeUVs, cache, signal, }?: MeshOptions & {
50
+ export declare function mesh(shape: AnyShape<Dimension>, opts?: MeshOptions & {
51
51
  skipNormals?: boolean;
52
52
  includeUVs?: boolean;
53
53
  cache?: boolean;
@@ -60,7 +60,7 @@ export declare function mesh(shape: AnyShape<Dimension>, { tolerance, angularTol
60
60
  * @returns An EdgeMesh containing line vertex positions and per-edge groups.
61
61
  * @see toLineGeometryData — convert to Three.js LineSegments format
62
62
  */
63
- export declare function meshEdges(shape: AnyShape<Dimension>, { tolerance, angularTolerance, cache }?: MeshOptions & {
63
+ export declare function meshEdges(shape: AnyShape<Dimension>, opts?: MeshOptions & {
64
64
  cache?: boolean;
65
65
  }): EdgeMesh;
66
66
  export declare function exportSTEP(shape: AnyShape<Dimension>): Result<Blob>;
@@ -69,7 +69,7 @@ export declare function exportSTEP(shape: AnyShape<Dimension>): Result<Blob>;
69
69
  *
70
70
  * @returns Ok with a Blob (MIME type `application/sla`), or Err on failure.
71
71
  */
72
- export declare function exportSTL(shape: AnyShape<Dimension>, { tolerance, angularTolerance, binary, }?: MeshOptions & {
72
+ export declare function exportSTL(shape: AnyShape<Dimension>, opts?: MeshOptions & {
73
73
  binary?: boolean;
74
74
  }): Result<Blob>;
75
75
  /**
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-CBVVRWvE.cjs");
3
- const require_faceFns = require("./faceFns-_m0px2ug.cjs");
4
- const require_shapeFns = require("./shapeFns-DNqkQ2yJ.cjs");
5
- const require_curveFns = require("./curveFns-DR68aqxR.cjs");
6
- const require_meshFns = require("./meshFns-CR8dRmoo.cjs");
7
- const require_booleanFns = require("./booleanFns-C9olM-r4.cjs");
8
- const require_primitiveFns = require("./primitiveFns-DFsImECE.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
3
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
4
+ const require_shapeFns = require("./shapeFns-ClKe2vri.cjs");
5
+ const require_curveFns = require("./curveFns-BJLQixZw.cjs");
6
+ const require_meshFns = require("./meshFns-B5jxU_H4.cjs");
7
+ const require_booleanFns = require("./booleanFns-D57G9tJA.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-B_Vhus6h.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 { 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-C0yUIRDE.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-Qrz3lIDv.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-Ct1lekCK.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-DH5NpaKO.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BCggXbKk.js";
6
- import { a as fuseAll, r as cutAll } from "./booleanFns-ogc1TMXG.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-Fy3scr-a.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-BuZ2h4o9.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-CWU_70z7.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-CMQD_3Rz.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-CLNHpU2N.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-Cog1SKSV.js";
6
+ import { a as fuseAll, r as cutAll } from "./booleanFns-CLzeqmgT.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-DTg4kOPD.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
- import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-C-32Klnb.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-CQscfe8k.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-DAhE_41P.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.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.65.0",
3
+ "version": "18.66.1",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",