brepjs 20.8.0 → 20.9.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 (102) hide show
  1. package/dist/2d.cjs +7 -7
  2. package/dist/2d.js +7 -7
  3. package/dist/{adjacencyFns-BgJQQjdt.js → adjacencyFns-CRd3d1xM.js} +3 -3
  4. package/dist/{adjacencyFns-_RTYhwtD.cjs → adjacencyFns-qDDFKib0.cjs} +3 -3
  5. package/dist/{blueprint-wq2TU1XP.cjs → blueprint-CgWpKzKK.cjs} +7 -7
  6. package/dist/{blueprint-Bth4EVaO.js → blueprint-Dr-l3Nlb.js} +7 -7
  7. package/dist/{blueprintFns-DQmNe1p6.js → blueprintFns-DU8jUsTf.js} +3 -3
  8. package/dist/{blueprintFns-Dd0gm1rX.cjs → blueprintFns-lhshdjAb.cjs} +3 -3
  9. package/dist/{blueprintSketcher-DNp87aQZ.js → blueprintSketcher-P4oIgADL.js} +4 -4
  10. package/dist/{blueprintSketcher-CSDqr27-.cjs → blueprintSketcher-ZRJzo1tb.cjs} +4 -4
  11. package/dist/{boolean2D-BkgOjMRt.cjs → boolean2D-h4By3wwW.cjs} +5 -5
  12. package/dist/{boolean2D-BAb4SnIL.js → boolean2D-iTKFBIvC.js} +5 -5
  13. package/dist/brepjs.cjs +40 -32
  14. package/dist/brepjs.js +40 -33
  15. package/dist/{cameraFns-CKUN90f_.cjs → cameraFns-CNWY4B7i.cjs} +4 -4
  16. package/dist/{cameraFns-9AGyuZVp.js → cameraFns-Dgx3MCGf.js} +4 -4
  17. package/dist/core/errors.d.ts +3 -0
  18. package/dist/core.cjs +4 -4
  19. package/dist/core.js +4 -4
  20. package/dist/{cornerFinder-Cr_04etw.js → cornerFinder-BqGipV9i.js} +1 -1
  21. package/dist/{cornerFinder-DJWo6h1Z.cjs → cornerFinder-DZORgosi.cjs} +1 -1
  22. package/dist/{curveFns-U7srQ3ZA.cjs → curveFns-C01yujmY.cjs} +2 -2
  23. package/dist/{curveFns-CkA2WJP2.js → curveFns-DqgDK9xJ.js} +2 -2
  24. package/dist/{drawFns-C6bmFijD.js → drawFns-BbDx57EX.js} +14 -14
  25. package/dist/{drawFns-DlCxozRP.cjs → drawFns-mtCQj7Qu.cjs} +14 -14
  26. package/dist/{errors-GVyCnpi0.cjs → errors-B9r_Dzs1.cjs} +3 -0
  27. package/dist/{errors-vxP5FT8B.js → errors-CUsZRWJ7.js} +3 -0
  28. package/dist/{faceFns-BBk6XKJO.js → faceFns-BNGMbh3P.js} +3 -3
  29. package/dist/{faceFns-DSRREV5G.cjs → faceFns-BlYowjvU.cjs} +3 -3
  30. package/dist/{healingFns-C9G3yjOe.cjs → healingFns-DXYEpHAx.cjs} +123 -5
  31. package/dist/{healingFns-CEr0afli.js → healingFns-xPtXVShE.js} +118 -6
  32. package/dist/{helpers-JuPoaP_b.cjs → helpers-Ngw1OFee.cjs} +7 -7
  33. package/dist/{helpers-sDialr0f.js → helpers-vd5KEdfZ.js} +7 -7
  34. package/dist/{importFns-ClqPJCFR.cjs → importFns-BwEwuqM2.cjs} +3 -3
  35. package/dist/{importFns-DSUfSQn2.js → importFns-DQW8EVaa.js} +3 -3
  36. package/dist/index.d.ts +1 -1
  37. package/dist/io.cjs +2 -2
  38. package/dist/io.js +2 -2
  39. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  40. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +16 -0
  41. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  42. package/dist/{loftFns-B8DSoG-F.js → loftFns-Cth0_MXM.js} +2 -2
  43. package/dist/{loftFns-mkJeOaII.cjs → loftFns-DlBiqyB-.cjs} +2 -2
  44. package/dist/{measureFns-PRM3gOjw.js → measureFns-B_DpfIE3.js} +4 -4
  45. package/dist/{measureFns-BvNkzSR6.cjs → measureFns-BnbD7-w7.cjs} +4 -4
  46. package/dist/measurement.cjs +2 -2
  47. package/dist/measurement.js +2 -2
  48. package/dist/{meshFns-CgbT3uuO.js → meshFns-B4L-5mVr.js} +4 -4
  49. package/dist/{meshFns-W7ZTKqiJ.cjs → meshFns-DlGc_nS6.cjs} +4 -4
  50. package/dist/ns/modifiers.d.ts +1 -1
  51. package/dist/{occtWasmAdapter-PzZJHUAd.js → occtWasmAdapter-Bi9GozJ9.js} +20 -0
  52. package/dist/{occtWasmAdapter-BSQeA69d.cjs → occtWasmAdapter-Dd9giakk.cjs} +20 -0
  53. package/dist/operations.cjs +2 -2
  54. package/dist/operations.js +2 -2
  55. package/dist/{originTrackingFns-D8SNCDKj.js → originTrackingFns-BQIWwnFh.js} +2 -2
  56. package/dist/{originTrackingFns-DJDTRJh3.cjs → originTrackingFns-DDOCQdaW.cjs} +2 -2
  57. package/dist/{planeOps-C9d2Y56B.cjs → planeOps-C7sRqzno.cjs} +1 -1
  58. package/dist/{planeOps-Dp0YvuFE.js → planeOps-DgG0vHN7.js} +1 -1
  59. package/dist/{primitiveFns-EtHyTqhw.cjs → primitiveFns-B8ab8U8_.cjs} +5 -5
  60. package/dist/{primitiveFns-W3RYNJcm.js → primitiveFns-ChWAGjel.js} +5 -5
  61. package/dist/{principalBoxFns-Cbtty-2_.js → principalBoxFns-CvAYgpY4.js} +4 -4
  62. package/dist/{principalBoxFns-CmZa7qHi.cjs → principalBoxFns-DXNRJ_A-.cjs} +4 -4
  63. package/dist/projection.cjs +1 -1
  64. package/dist/projection.js +1 -1
  65. package/dist/query.cjs +2 -2
  66. package/dist/query.js +2 -2
  67. package/dist/{refResolveFns-BkciKtNP.js → refResolveFns-Bc5nUmmk.js} +6 -6
  68. package/dist/{refResolveFns-D99Vqe7a.cjs → refResolveFns-C6CYnUNd.cjs} +6 -6
  69. package/dist/result.cjs +1 -1
  70. package/dist/result.js +1 -1
  71. package/dist/{shapeFns-B54CsPyk.cjs → shapeFns-Cn0lAxbU.cjs} +3 -3
  72. package/dist/{shapeFns-DB3l3ULC.js → shapeFns-DLD8qAsI.js} +3 -3
  73. package/dist/shapeRef.cjs +1 -1
  74. package/dist/shapeRef.js +1 -1
  75. package/dist/{shapeTypes-CgbUTASh.js → shapeTypes-D0j6Lk3z.js} +1 -1
  76. package/dist/{shapeTypes-D_anqiRe.cjs → shapeTypes-K0rZK5U-.cjs} +1 -1
  77. package/dist/sketching.cjs +3 -3
  78. package/dist/sketching.js +3 -3
  79. package/dist/{solidBuilders-DE_na4G3.js → solidBuilders-94pT7hv6.js} +7 -7
  80. package/dist/{solidBuilders-CUd-korS.cjs → solidBuilders-DfXGia5F.cjs} +7 -7
  81. package/dist/{surfaceBuilders-wdGNiImD.js → surfaceBuilders-DGEXvSTe.js} +4 -4
  82. package/dist/{surfaceBuilders-DOn2jWkh.cjs → surfaceBuilders-DnZj4fvS.cjs} +4 -4
  83. package/dist/text.cjs +2 -2
  84. package/dist/text.js +2 -2
  85. package/dist/{textBlueprints-BQ60Rc96.cjs → textBlueprints-BUV_vedl.cjs} +9 -9
  86. package/dist/{textBlueprints-B_jwMuej.js → textBlueprints-D4Yez18p.js} +9 -9
  87. package/dist/{textMetrics-Bm0a4kh7.cjs → textMetrics-BwFqDdvR.cjs} +2 -2
  88. package/dist/{textMetrics-Dj3yfZNQ.js → textMetrics-C1iq-fwi.js} +2 -2
  89. package/dist/{threadFns-DlL5VnMf.js → threadFns-DHL3t8zV.js} +8 -8
  90. package/dist/{threadFns-BuRPVenB.cjs → threadFns-DS6WgBI2.cjs} +8 -8
  91. package/dist/topology/api.d.ts +2 -0
  92. package/dist/topology/modifierFns.d.ts +14 -0
  93. package/dist/topology/wrapperFns.d.ts +1 -0
  94. package/dist/topology.cjs +9 -9
  95. package/dist/topology.js +9 -9
  96. package/dist/{topologyQueryFns-ENxs8uu2.cjs → topologyQueryFns-BPJZTpIz.cjs} +2 -2
  97. package/dist/{topologyQueryFns-6M_dbT1R.js → topologyQueryFns-DtzwRKVP.js} +2 -2
  98. package/dist/{validityTypes-BTuI0vcR.js → validityTypes-CqFq8m-i.js} +2 -2
  99. package/dist/{validityTypes-BPamqRZ8.cjs → validityTypes-DfqnKBzz.cjs} +2 -2
  100. package/dist/vectors.cjs +1 -1
  101. package/dist/vectors.js +1 -1
  102. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CgbUTASh.js";
2
- import { E as ok, d as validationError, g as err, n as computationError, r as ioError, t as BrepErrorCode, x as isOk } from "./errors-vxP5FT8B.js";
1
+ import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-D0j6Lk3z.js";
2
+ import { E as ok, d as validationError, g as err, n as computationError, r as ioError, t as BrepErrorCode, x as isOk } from "./errors-CUsZRWJ7.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-S-m9H_fe.js";
4
- import { b as fromBREP } from "./faceFns-BBk6XKJO.js";
5
- import { h as fuseAll } from "./solidBuilders-DE_na4G3.js";
6
- import { E as wire, h as line } from "./primitiveFns-W3RYNJcm.js";
7
- import { s as toBREP } from "./shapeFns-DB3l3ULC.js";
8
- import { t as loft } from "./loftFns-B8DSoG-F.js";
9
- import { c as resolveRefParams } from "./refResolveFns-BkciKtNP.js";
4
+ import { b as fromBREP } from "./faceFns-BNGMbh3P.js";
5
+ import { h as fuseAll } from "./solidBuilders-94pT7hv6.js";
6
+ import { E as wire, h as line } from "./primitiveFns-ChWAGjel.js";
7
+ import { s as toBREP } from "./shapeFns-DLD8qAsI.js";
8
+ import { t as loft } from "./loftFns-Cth0_MXM.js";
9
+ import { c as resolveRefParams } from "./refResolveFns-Bc5nUmmk.js";
10
10
  // src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-D_anqiRe.cjs");
2
- const require_errors = require("./errors-GVyCnpi0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-K0rZK5U-.cjs");
2
+ const require_errors = require("./errors-B9r_Dzs1.cjs");
3
3
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
4
- const require_faceFns = require("./faceFns-DSRREV5G.cjs");
5
- const require_solidBuilders = require("./solidBuilders-CUd-korS.cjs");
6
- const require_primitiveFns = require("./primitiveFns-EtHyTqhw.cjs");
7
- const require_shapeFns = require("./shapeFns-B54CsPyk.cjs");
8
- const require_loftFns = require("./loftFns-mkJeOaII.cjs");
9
- const require_refResolveFns = require("./refResolveFns-D99Vqe7a.cjs");
4
+ const require_faceFns = require("./faceFns-BlYowjvU.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-DfXGia5F.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-B8ab8U8_.cjs");
7
+ const require_shapeFns = require("./shapeFns-Cn0lAxbU.cjs");
8
+ const require_loftFns = require("./loftFns-DlBiqyB-.cjs");
9
+ const require_refResolveFns = require("./refResolveFns-C6CYnUNd.cjs");
10
10
  // src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -99,6 +99,8 @@ export declare function chamfer<T extends ValidSolid>(shape: Shapeable<T>, edges
99
99
  export declare function shell<T extends ValidSolid>(shape: Shapeable<T>, faces: Face[] | FinderFn<Face> | ShapeFinder<Face>, thickness: number, options?: {
100
100
  tolerance?: number;
101
101
  }): Result<T>;
102
+ /** Remove faces (a hole, pocket, boss, or fillet) and close the gap with the faces around them. */
103
+ export declare function removeFaces<T extends ValidSolid>(shape: Shapeable<T>, faces: Face[] | FinderFn<Face> | ShapeFinder<Face>): Result<T>;
102
104
  /** Offset all faces of a valid solid by a given distance. */
103
105
  export declare function offset<T extends ValidSolid>(shape: Shapeable<T>, distance: number, options?: {
104
106
  tolerance?: number;
@@ -83,3 +83,17 @@ export interface VariableFilletRadius {
83
83
  * UNSUPPORTED for multi-point; the opencascade.js kernel does not implement it.
84
84
  */
85
85
  export declare function variableFillet(shape: ValidSolid, edge: Edge, radii: ReadonlyArray<VariableFilletRadius>): Result<ValidSolid>;
86
+ /**
87
+ * Remove faces from a solid and close the gap with the faces around them
88
+ * (OCCT defeaturing): a hole, pocket, boss, or fillet face disappears and its
89
+ * neighbours extend to meet.
90
+ *
91
+ * @param shape - The solid to edit.
92
+ * @param faces - Faces of `shape` to remove.
93
+ * @returns Err `REMOVE_FACES_INCOMPLETE` (with `metadata.keptFaceIndexes`)
94
+ * when a picked face is still in the result because its neighbours could not
95
+ * close the gap, `REMOVE_FACES_FAILED` when the kernel fails or the result is
96
+ * not one valid solid, and `UNSUPPORTED_CAPABILITY` on a kernel without
97
+ * defeaturing.
98
+ */
99
+ export declare function removeFaces(shape: ValidSolid, faces: ReadonlyArray<Face>): Result<ValidSolid>;
@@ -93,6 +93,7 @@ export interface Wrapped3D<T extends Shape3D> extends Wrapped<T> {
93
93
  shell(faces: Face[] | FinderFn<Face> | ShapeFinder<Face>, thickness: number, options?: {
94
94
  tolerance?: number;
95
95
  }): Wrapped3D<T>;
96
+ removeFaces(faces: Face[] | FinderFn<Face> | ShapeFinder<Face>): Wrapped3D<T>;
96
97
  offset(distance: number, options?: {
97
98
  tolerance?: number;
98
99
  }): Wrapped3D<T>;
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-ENxs8uu2.cjs");
3
- const require_faceFns = require("./faceFns-DSRREV5G.cjs");
4
- const require_solidBuilders = require("./solidBuilders-CUd-korS.cjs");
5
- const require_primitiveFns = require("./primitiveFns-EtHyTqhw.cjs");
6
- const require_shapeFns = require("./shapeFns-B54CsPyk.cjs");
7
- const require_curveFns = require("./curveFns-U7srQ3ZA.cjs");
8
- const require_meshFns = require("./meshFns-W7ZTKqiJ.cjs");
9
- const require_healingFns = require("./healingFns-C9G3yjOe.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-_RTYhwtD.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BPJZTpIz.cjs");
3
+ const require_faceFns = require("./faceFns-BlYowjvU.cjs");
4
+ const require_solidBuilders = require("./solidBuilders-DfXGia5F.cjs");
5
+ const require_primitiveFns = require("./primitiveFns-B8ab8U8_.cjs");
6
+ const require_shapeFns = require("./shapeFns-Cn0lAxbU.cjs");
7
+ const require_curveFns = require("./curveFns-C01yujmY.cjs");
8
+ const require_meshFns = require("./meshFns-DlGc_nS6.cjs");
9
+ const require_healingFns = require("./healingFns-DXYEpHAx.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-qDDFKib0.cjs");
11
11
  exports.addHoles = require_primitiveFns.addHoles;
12
12
  exports.adjacentFaces = require_adjacencyFns.adjacentFaces;
13
13
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,10 +1,10 @@
1
- import { _ 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, w as vertexPosition, x as iterWires } from "./topologyQueryFns-6M_dbT1R.js";
2
- import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, 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, x as isCompSolid, y as downcast } from "./faceFns-BBk6XKJO.js";
3
- import { h as fuseAll, p as cutAll } from "./solidBuilders-DE_na4G3.js";
4
- 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-W3RYNJcm.js";
5
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DB3l3ULC.js";
6
- 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-CkA2WJP2.js";
7
- import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CgbT3uuO.js";
8
- import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-CEr0afli.js";
9
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-BgJQQjdt.js";
1
+ import { _ 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, w as vertexPosition, x as iterWires } from "./topologyQueryFns-DtzwRKVP.js";
2
+ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, 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, x as isCompSolid, y as downcast } from "./faceFns-BNGMbh3P.js";
3
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-94pT7hv6.js";
4
+ 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-ChWAGjel.js";
5
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DLD8qAsI.js";
6
+ 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-DqgDK9xJ.js";
7
+ import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-B4L-5mVr.js";
8
+ import { A as variableFillet, F as toLineGeometryData, M as toGroupedBufferGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toBufferGeometryData, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-xPtXVShE.js";
9
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CRd3d1xM.js";
10
10
  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,5 +1,5 @@
1
- const require_shapeTypes = require("./shapeTypes-D_anqiRe.cjs");
2
- const require_errors = require("./errors-GVyCnpi0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-K0rZK5U-.cjs");
2
+ const require_errors = require("./errors-B9r_Dzs1.cjs");
3
3
  const require_constants = require("./constants-oee0S_x6.cjs");
4
4
  // src/core/kernelErrorTranslation.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-CgbUTASh.js";
2
- import { E as ok, g as err } from "./errors-vxP5FT8B.js";
1
+ import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-D0j6Lk3z.js";
2
+ import { E as ok, g as err } from "./errors-CUsZRWJ7.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
4
4
  // src/core/kernelErrorTranslation.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { q as getKernel } from "./shapeTypes-CgbUTASh.js";
2
- import { E as ok, g as err } from "./errors-vxP5FT8B.js";
1
+ import { q as getKernel } from "./shapeTypes-D0j6Lk3z.js";
2
+ import { E as ok, g as err } from "./errors-CUsZRWJ7.js";
3
3
  // src/core/validityTypes.ts
4
4
  /**
5
5
  * Type guard — check if a wire is closed (forms a loop).
@@ -1,5 +1,5 @@
1
- const require_shapeTypes = require("./shapeTypes-D_anqiRe.cjs");
2
- const require_errors = require("./errors-GVyCnpi0.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-K0rZK5U-.cjs");
2
+ const require_errors = require("./errors-B9r_Dzs1.cjs");
3
3
  // src/core/validityTypes.ts
4
4
  /**
5
5
  * Type guard — check if a wire is closed (forms a loop).
package/dist/vectors.cjs CHANGED
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_constants = require("./constants-oee0S_x6.cjs");
3
3
  const require_types = require("./types-CjF9Rofr.cjs");
4
4
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
5
- const require_planeOps = require("./planeOps-C9d2Y56B.cjs");
5
+ const require_planeOps = require("./planeOps-C7sRqzno.cjs");
6
6
  exports.DEG2RAD = require_constants.DEG2RAD;
7
7
  exports.RAD2DEG = require_constants.RAD2DEG;
8
8
  exports.createNamedPlane = require_planeOps.createNamedPlane;
package/dist/vectors.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as RAD2DEG, t as DEG2RAD } from "./constants-iraOnb2p.js";
2
2
  import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-CKXsIm9-.js";
3
3
  import { a as vecDot, c as vecLength, d as vecNormalize, f as vecProjectToPlane, g as vecSub, h as vecScale, i as vecDistance, l as vecLengthSq, m as vecRotate, n as vecAngle, o as vecEquals, p as vecRepr, r as vecCross, s as vecIsZero, t as vecAdd, u as vecNegate } from "./vecOps-S-m9H_fe.js";
4
- import { i as pivotPlane, n as createPlane, o as resolvePlane, s as translatePlane, t as createNamedPlane } from "./planeOps-Dp0YvuFE.js";
4
+ import { i as pivotPlane, n as createPlane, o as resolvePlane, s as translatePlane, t as createNamedPlane } from "./planeOps-DgG0vHN7.js";
5
5
  export { DEG2RAD, RAD2DEG, createNamedPlane, createPlane, pivotPlane, resolveDirection, resolvePlane, toVec2, toVec3, translatePlane, vecAdd, vecAngle, vecCross, vecDistance, vecDot, vecEquals, vecIsZero, vecLength, vecLengthSq, vecNegate, vecNormalize, vecProjectToPlane, vecRepr, vecRotate, vecScale, vecSub };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "20.8.0",
3
+ "version": "20.9.0",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",