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.
- package/dist/2d.cjs +7 -7
- package/dist/2d.js +7 -7
- package/dist/{adjacencyFns-BgJQQjdt.js → adjacencyFns-CRd3d1xM.js} +3 -3
- package/dist/{adjacencyFns-_RTYhwtD.cjs → adjacencyFns-qDDFKib0.cjs} +3 -3
- package/dist/{blueprint-wq2TU1XP.cjs → blueprint-CgWpKzKK.cjs} +7 -7
- package/dist/{blueprint-Bth4EVaO.js → blueprint-Dr-l3Nlb.js} +7 -7
- package/dist/{blueprintFns-DQmNe1p6.js → blueprintFns-DU8jUsTf.js} +3 -3
- package/dist/{blueprintFns-Dd0gm1rX.cjs → blueprintFns-lhshdjAb.cjs} +3 -3
- package/dist/{blueprintSketcher-DNp87aQZ.js → blueprintSketcher-P4oIgADL.js} +4 -4
- package/dist/{blueprintSketcher-CSDqr27-.cjs → blueprintSketcher-ZRJzo1tb.cjs} +4 -4
- package/dist/{boolean2D-BkgOjMRt.cjs → boolean2D-h4By3wwW.cjs} +5 -5
- package/dist/{boolean2D-BAb4SnIL.js → boolean2D-iTKFBIvC.js} +5 -5
- package/dist/brepjs.cjs +40 -32
- package/dist/brepjs.js +40 -33
- package/dist/{cameraFns-CKUN90f_.cjs → cameraFns-CNWY4B7i.cjs} +4 -4
- package/dist/{cameraFns-9AGyuZVp.js → cameraFns-Dgx3MCGf.js} +4 -4
- package/dist/core/errors.d.ts +3 -0
- package/dist/core.cjs +4 -4
- package/dist/core.js +4 -4
- package/dist/{cornerFinder-Cr_04etw.js → cornerFinder-BqGipV9i.js} +1 -1
- package/dist/{cornerFinder-DJWo6h1Z.cjs → cornerFinder-DZORgosi.cjs} +1 -1
- package/dist/{curveFns-U7srQ3ZA.cjs → curveFns-C01yujmY.cjs} +2 -2
- package/dist/{curveFns-CkA2WJP2.js → curveFns-DqgDK9xJ.js} +2 -2
- package/dist/{drawFns-C6bmFijD.js → drawFns-BbDx57EX.js} +14 -14
- package/dist/{drawFns-DlCxozRP.cjs → drawFns-mtCQj7Qu.cjs} +14 -14
- package/dist/{errors-GVyCnpi0.cjs → errors-B9r_Dzs1.cjs} +3 -0
- package/dist/{errors-vxP5FT8B.js → errors-CUsZRWJ7.js} +3 -0
- package/dist/{faceFns-BBk6XKJO.js → faceFns-BNGMbh3P.js} +3 -3
- package/dist/{faceFns-DSRREV5G.cjs → faceFns-BlYowjvU.cjs} +3 -3
- package/dist/{healingFns-C9G3yjOe.cjs → healingFns-DXYEpHAx.cjs} +123 -5
- package/dist/{healingFns-CEr0afli.js → healingFns-xPtXVShE.js} +118 -6
- package/dist/{helpers-JuPoaP_b.cjs → helpers-Ngw1OFee.cjs} +7 -7
- package/dist/{helpers-sDialr0f.js → helpers-vd5KEdfZ.js} +7 -7
- package/dist/{importFns-ClqPJCFR.cjs → importFns-BwEwuqM2.cjs} +3 -3
- package/dist/{importFns-DSUfSQn2.js → importFns-DQW8EVaa.js} +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
- package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +16 -0
- package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
- package/dist/{loftFns-B8DSoG-F.js → loftFns-Cth0_MXM.js} +2 -2
- package/dist/{loftFns-mkJeOaII.cjs → loftFns-DlBiqyB-.cjs} +2 -2
- package/dist/{measureFns-PRM3gOjw.js → measureFns-B_DpfIE3.js} +4 -4
- package/dist/{measureFns-BvNkzSR6.cjs → measureFns-BnbD7-w7.cjs} +4 -4
- package/dist/measurement.cjs +2 -2
- package/dist/measurement.js +2 -2
- package/dist/{meshFns-CgbT3uuO.js → meshFns-B4L-5mVr.js} +4 -4
- package/dist/{meshFns-W7ZTKqiJ.cjs → meshFns-DlGc_nS6.cjs} +4 -4
- package/dist/ns/modifiers.d.ts +1 -1
- package/dist/{occtWasmAdapter-PzZJHUAd.js → occtWasmAdapter-Bi9GozJ9.js} +20 -0
- package/dist/{occtWasmAdapter-BSQeA69d.cjs → occtWasmAdapter-Dd9giakk.cjs} +20 -0
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-D8SNCDKj.js → originTrackingFns-BQIWwnFh.js} +2 -2
- package/dist/{originTrackingFns-DJDTRJh3.cjs → originTrackingFns-DDOCQdaW.cjs} +2 -2
- package/dist/{planeOps-C9d2Y56B.cjs → planeOps-C7sRqzno.cjs} +1 -1
- package/dist/{planeOps-Dp0YvuFE.js → planeOps-DgG0vHN7.js} +1 -1
- package/dist/{primitiveFns-EtHyTqhw.cjs → primitiveFns-B8ab8U8_.cjs} +5 -5
- package/dist/{primitiveFns-W3RYNJcm.js → primitiveFns-ChWAGjel.js} +5 -5
- package/dist/{principalBoxFns-Cbtty-2_.js → principalBoxFns-CvAYgpY4.js} +4 -4
- package/dist/{principalBoxFns-CmZa7qHi.cjs → principalBoxFns-DXNRJ_A-.cjs} +4 -4
- package/dist/projection.cjs +1 -1
- package/dist/projection.js +1 -1
- package/dist/query.cjs +2 -2
- package/dist/query.js +2 -2
- package/dist/{refResolveFns-BkciKtNP.js → refResolveFns-Bc5nUmmk.js} +6 -6
- package/dist/{refResolveFns-D99Vqe7a.cjs → refResolveFns-C6CYnUNd.cjs} +6 -6
- package/dist/result.cjs +1 -1
- package/dist/result.js +1 -1
- package/dist/{shapeFns-B54CsPyk.cjs → shapeFns-Cn0lAxbU.cjs} +3 -3
- package/dist/{shapeFns-DB3l3ULC.js → shapeFns-DLD8qAsI.js} +3 -3
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-CgbUTASh.js → shapeTypes-D0j6Lk3z.js} +1 -1
- package/dist/{shapeTypes-D_anqiRe.cjs → shapeTypes-K0rZK5U-.cjs} +1 -1
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-DE_na4G3.js → solidBuilders-94pT7hv6.js} +7 -7
- package/dist/{solidBuilders-CUd-korS.cjs → solidBuilders-DfXGia5F.cjs} +7 -7
- package/dist/{surfaceBuilders-wdGNiImD.js → surfaceBuilders-DGEXvSTe.js} +4 -4
- package/dist/{surfaceBuilders-DOn2jWkh.cjs → surfaceBuilders-DnZj4fvS.cjs} +4 -4
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-BQ60Rc96.cjs → textBlueprints-BUV_vedl.cjs} +9 -9
- package/dist/{textBlueprints-B_jwMuej.js → textBlueprints-D4Yez18p.js} +9 -9
- package/dist/{textMetrics-Bm0a4kh7.cjs → textMetrics-BwFqDdvR.cjs} +2 -2
- package/dist/{textMetrics-Dj3yfZNQ.js → textMetrics-C1iq-fwi.js} +2 -2
- package/dist/{threadFns-DlL5VnMf.js → threadFns-DHL3t8zV.js} +8 -8
- package/dist/{threadFns-BuRPVenB.cjs → threadFns-DS6WgBI2.cjs} +8 -8
- package/dist/topology/api.d.ts +2 -0
- package/dist/topology/modifierFns.d.ts +14 -0
- package/dist/topology/wrapperFns.d.ts +1 -0
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-ENxs8uu2.cjs → topologyQueryFns-BPJZTpIz.cjs} +2 -2
- package/dist/{topologyQueryFns-6M_dbT1R.js → topologyQueryFns-DtzwRKVP.js} +2 -2
- package/dist/{validityTypes-BTuI0vcR.js → validityTypes-CqFq8m-i.js} +2 -2
- package/dist/{validityTypes-BPamqRZ8.cjs → validityTypes-DfqnKBzz.cjs} +2 -2
- package/dist/vectors.cjs +1 -1
- package/dist/vectors.js +1 -1
- 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-
|
|
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-
|
|
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-
|
|
5
|
-
import { h as fuseAll } from "./solidBuilders-
|
|
6
|
-
import { E as wire, h as line } from "./primitiveFns-
|
|
7
|
-
import { s as toBREP } from "./shapeFns-
|
|
8
|
-
import { t as loft } from "./loftFns-
|
|
9
|
-
import { c as resolveRefParams } from "./refResolveFns-
|
|
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-
|
|
2
|
-
const require_errors = require("./errors-
|
|
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-
|
|
5
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
6
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
7
|
-
const require_shapeFns = require("./shapeFns-
|
|
8
|
-
const require_loftFns = require("./loftFns-
|
|
9
|
-
const require_refResolveFns = require("./refResolveFns-
|
|
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() {
|
package/dist/topology/api.d.ts
CHANGED
|
@@ -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-
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
4
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
5
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
6
|
-
const require_shapeFns = require("./shapeFns-
|
|
7
|
-
const require_curveFns = require("./curveFns-
|
|
8
|
-
const require_meshFns = require("./meshFns-
|
|
9
|
-
const require_healingFns = require("./healingFns-
|
|
10
|
-
const require_adjacencyFns = require("./adjacencyFns-
|
|
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-
|
|
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-
|
|
3
|
-
import { h as fuseAll, p as cutAll } from "./solidBuilders-
|
|
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-
|
|
5
|
-
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-
|
|
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-
|
|
7
|
-
import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-
|
|
8
|
-
import { A as
|
|
9
|
-
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-
|
|
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-
|
|
2
|
-
const require_errors = require("./errors-
|
|
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-
|
|
2
|
-
import { E as ok, g as err } from "./errors-
|
|
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-
|
|
2
|
-
import { E as ok, g as err } from "./errors-
|
|
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-
|
|
2
|
-
const require_errors = require("./errors-
|
|
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-
|
|
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-
|
|
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 };
|