brepjs 14.3.4 → 14.4.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 +5 -5
- package/dist/2d.js +5 -5
- package/dist/{blueprint-Do5-zCJ5.js → blueprint-B8rEQQdf.js} +5 -5
- package/dist/{blueprint-D_5JAtYk.cjs → blueprint-C1RD1rAU.cjs} +5 -5
- package/dist/{blueprintFns-Li_biBgb.js → blueprintFns-BPoxNVIv.js} +2 -2
- package/dist/{blueprintFns-Cq-LiS2c.cjs → blueprintFns-Bilzq76z.cjs} +2 -2
- package/dist/{boolean2D-CDE5hFEe.cjs → boolean2D-BhbQR9n5.cjs} +7 -7
- package/dist/{boolean2D-gzC728_d.js → boolean2D-CM-RGkmM.js} +7 -7
- package/dist/{booleanFns-BxEOBw7j.cjs → booleanFns-DrG85G2W.cjs} +3 -3
- package/dist/{booleanFns-DY_4PTTc.js → booleanFns-Kn0xAXHX.js} +3 -3
- package/dist/brepjs.cjs +19 -19
- package/dist/brepjs.js +19 -19
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-BFVYGCFi.js → cornerFinder-Cgz_yVTl.js} +1 -1
- package/dist/{cornerFinder-CZQBVvRq.cjs → cornerFinder-DcTlpavc.cjs} +1 -1
- package/dist/{curveFns-BQwce7aY.cjs → curveFns-Dp1LYNHp.cjs} +1 -1
- package/dist/{curveFns-B-qDPOzI.js → curveFns-DxeAWfSe.js} +1 -1
- package/dist/{drawFns-Djuxu7Qs.cjs → drawFns-B-V2Okjj.cjs} +11 -11
- package/dist/{drawFns-CRDg-UbI.js → drawFns-BWSOeCPI.js} +11 -11
- package/dist/{extrudeFns-xvlzEsCj.js → extrudeFns-BlynH9YI.js} +1 -1
- package/dist/{extrudeFns-ohzyovvF.cjs → extrudeFns-C4_eTRoy.cjs} +1 -1
- package/dist/{faceFns-Cme3e43c.cjs → faceFns-B68JCstG.cjs} +1 -1
- package/dist/{faceFns-CJ0slhjZ.js → faceFns-C4DVYLxO.js} +1 -1
- package/dist/{helpers-Cn-YvXDJ.js → helpers-B_k7J_4D.js} +5 -5
- package/dist/{helpers-BNDmbkco.cjs → helpers-DeLTd7PH.cjs} +5 -5
- package/dist/{historyFns-9lsR_H1u.cjs → historyFns-D-1_ncCz.cjs} +4 -4
- package/dist/{historyFns-Xfr9TrhV.js → historyFns-cW_Dcz2M.js} +4 -4
- package/dist/{importFns-B1iFL_xB.js → importFns-BLbkoMr-.js} +2 -2
- package/dist/{importFns-C_L9mTn_.cjs → importFns-Be58G9Qg.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/occt/advancedOps.d.ts.map +1 -1
- package/dist/kernel/occt/extendedConstructorOps.d.ts.map +1 -1
- package/dist/kernel/occt/ioOps.d.ts +5 -0
- package/dist/kernel/occt/ioOps.d.ts.map +1 -1
- package/dist/kernel/occt/sweepOps.d.ts.map +1 -1
- package/dist/{measureFns-B_9iLcMK.cjs → measureFns-CGnA2Hz1.cjs} +2 -2
- package/dist/{measureFns-rpfHHDDn.js → measureFns-zT6IVHAu.js} +2 -2
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-B5bBKLLl.cjs → meshFns-B6Q3ymfV.cjs} +2 -2
- package/dist/{meshFns-C565-TZ9.js → meshFns-BDJ7GT7C.js} +2 -2
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-Bia4t4Rm.cjs → primitiveFns-CYpiAvj4.cjs} +5 -5
- package/dist/{primitiveFns-B4GyxyOo.js → primitiveFns-DdGSiMcZ.js} +5 -5
- package/dist/query.cjs +2 -2
- package/dist/query.js +2 -2
- package/dist/{shapeFns-CuN44RDe.cjs → shapeFns-CCrR-7JE.cjs} +2 -2
- package/dist/{shapeFns-DsJtbjMn.js → shapeFns-DUbyg6UB.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-DpIeovVR.cjs → shapeRefFns-CPPOk97a.cjs} +3 -3
- package/dist/{shapeRefFns-BWOM_M8M.js → shapeRefFns-DOdTZgmb.js} +3 -3
- package/dist/{shapeTypes-Bvc56l7a.js → shapeTypes-06dQA9ET.js} +22 -1
- package/dist/{shapeTypes-BmAeVdSr.cjs → shapeTypes-BnE1sBpb.cjs} +22 -1
- package/dist/sketching.cjs +2 -2
- package/dist/sketching.js +2 -2
- package/dist/{solidBuilders-B8vB_kwH.js → solidBuilders-B79DrN13.js} +2 -2
- package/dist/{solidBuilders-CedPIyJu.cjs → solidBuilders-Z_qVHPZi.cjs} +2 -2
- package/dist/{surfaceBuilders-r3Ts30mH.cjs → surfaceBuilders-DPgf9Azk.cjs} +2 -2
- package/dist/{surfaceBuilders-C8KV64_L.js → surfaceBuilders-bHZt62DR.js} +2 -2
- package/dist/topology.cjs +6 -6
- package/dist/topology.js +6 -6
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advancedOps.d.ts","sourceRoot":"","sources":["../../../src/kernel/occt/advancedOps.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQlG;;;;GAIG;AAEH,wBAAgB,6BAA6B,CAC3C,EAAE,EAAE,cAAc,EAClB,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EACzF,WAAW,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAC7C,WAAW,CAgBb;AAOD,gFAAgF;AAChF,wBAAgB,gBAAgB,CAC9B,EAAE,EAAE,cAAc,EAClB,GAAG,EAAE,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,MAAM,EACX,EAAE,CAAC,EAAE,MAAM,GACV,UAAU,CAcZ"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { KernelInstance, KernelShape } from '../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Exports shapes to STEP format.
|
|
4
|
+
*
|
|
5
|
+
* Uses stream-based I/O (V8) when available, bypassing Emscripten FS.
|
|
6
|
+
* Falls back to FS-based path for V7 compatibility.
|
|
4
7
|
*/
|
|
5
8
|
export declare function exportSTEP(oc: KernelInstance, shapes: KernelShape[]): string;
|
|
6
9
|
/**
|
|
@@ -13,6 +16,8 @@ export declare function exportSTL(oc: KernelInstance, shape: KernelShape, binary
|
|
|
13
16
|
export declare function exportIGES(oc: KernelInstance, shapes: KernelShape[]): string;
|
|
14
17
|
/**
|
|
15
18
|
* Imports shapes from STEP data.
|
|
19
|
+
*
|
|
20
|
+
* Uses stream-based I/O (V8) when available, bypassing Emscripten FS.
|
|
16
21
|
*/
|
|
17
22
|
export declare function importSTEP(oc: KernelInstance, data: string | ArrayBuffer): KernelShape[];
|
|
18
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ioOps.d.ts","sourceRoot":"","sources":["../../../src/kernel/occt/ioOps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrE
|
|
1
|
+
{"version":3,"file":"ioOps.d.ts","sourceRoot":"","sources":["../../../src/kernel/occt/ioOps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrE;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CA6B5E;AAED;;GAEG;AACH,wBAAgB,SAAS,CACvB,EAAE,EAAE,cAAc,EAClB,KAA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,IAAI,IAAI,CAEnD;AAED,wBAAgB,+BAA+B,IAAI,IAAI,CAEtD;AAYD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACrC;AAED,wBAAgB,SAAS,CAAC,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,cAAc,EAAE,GAAG,WAAW,EAAE,CAwC/F;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,YAAY,CAC1B,EAAE,EAAE,cAAc,EAClB,OAAO,EAAE,SAAS,iBAAiB,EAAE,GACpC,WAAW,EAAE,CAiCf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BnE1sBpb.cjs");
|
|
2
2
|
const require_errors = require("./errors-9zQcQK1H.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-B68JCstG.cjs");
|
|
4
4
|
//#region src/measurement/measureCache.ts
|
|
5
5
|
var cache = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
function getCachedMeasurement(shape, key) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as getKernel } from "./shapeTypes-
|
|
1
|
+
import { Y as getKernel } from "./shapeTypes-06dQA9ET.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-C-cgQA3w.js";
|
|
3
|
-
import { C as kernelCallRaw, p as uvBounds } from "./faceFns-
|
|
3
|
+
import { C as kernelCallRaw, p as uvBounds } from "./faceFns-C4DVYLxO.js";
|
|
4
4
|
//#region src/measurement/measureCache.ts
|
|
5
5
|
var cache = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
function getCachedMeasurement(shape, key) {
|
package/dist/measurement.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_measureFns = require("./measureFns-
|
|
2
|
+
const require_measureFns = require("./measureFns-CGnA2Hz1.cjs");
|
|
3
3
|
exports.createDistanceQuery = require_measureFns.createDistanceQuery;
|
|
4
4
|
exports.measureArea = require_measureFns.measureArea;
|
|
5
5
|
exports.measureDistance = require_measureFns.measureDistance;
|
package/dist/measurement.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-
|
|
1
|
+
import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-zT6IVHAu.js";
|
|
2
2
|
export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BnE1sBpb.cjs");
|
|
2
2
|
const require_errors = require("./errors-9zQcQK1H.cjs");
|
|
3
|
-
const require_shapeFns = require("./shapeFns-
|
|
3
|
+
const require_shapeFns = require("./shapeFns-CCrR-7JE.cjs");
|
|
4
4
|
//#region src/topology/meshCache.ts
|
|
5
5
|
/**
|
|
6
6
|
* Build a parameter key for the inner cache map (excludes shape identity).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as getKernel } from "./shapeTypes-
|
|
1
|
+
import { Y as getKernel } from "./shapeTypes-06dQA9ET.js";
|
|
2
2
|
import { A as ok, b as err, r as ioError } from "./errors-C-cgQA3w.js";
|
|
3
|
-
import { O as getFaceOrigins } from "./shapeFns-
|
|
3
|
+
import { O as getFaceOrigins } from "./shapeFns-DUbyg6UB.js";
|
|
4
4
|
//#region src/topology/meshCache.ts
|
|
5
5
|
/**
|
|
6
6
|
* Build a parameter key for the inner cache map (excludes shape identity).
|
package/dist/operations.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_historyFns = require("./historyFns-
|
|
3
|
-
const require_extrudeFns = require("./extrudeFns-
|
|
2
|
+
const require_historyFns = require("./historyFns-D-1_ncCz.cjs");
|
|
3
|
+
const require_extrudeFns = require("./extrudeFns-C4_eTRoy.cjs");
|
|
4
4
|
exports.addChild = require_historyFns.addChild;
|
|
5
5
|
exports.addStep = require_historyFns.addStep;
|
|
6
6
|
exports.circularPattern = require_historyFns.circularPattern;
|
package/dist/operations.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-
|
|
2
|
-
import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-
|
|
1
|
+
import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-cW_Dcz2M.js";
|
|
2
|
+
import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-BlynH9YI.js";
|
|
3
3
|
export { addChild, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, exportAssemblySTEP, findNode, findStep, getShape as getHistoryShape, gridPattern, linearPattern, modifyStep, registerOperation, registerShape, removeChild, replayFrom, replayHistory, stepCount, stepsFrom, supportExtrude, sweep, twistExtrude, undoLast, updateNode, walkAssembly };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BnE1sBpb.cjs");
|
|
2
2
|
const require_errors = require("./errors-9zQcQK1H.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-B68JCstG.cjs");
|
|
4
4
|
const require_constants = require("./constants-unWN8k4c.cjs");
|
|
5
|
-
const require_shapeFns = require("./shapeFns-
|
|
6
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
7
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
5
|
+
const require_shapeFns = require("./shapeFns-CCrR-7JE.cjs");
|
|
6
|
+
const require_surfaceBuilders = require("./surfaceBuilders-DPgf9Azk.cjs");
|
|
7
|
+
const require_solidBuilders = require("./solidBuilders-Z_qVHPZi.cjs");
|
|
8
8
|
//#region src/topology/threeHelpers.ts
|
|
9
9
|
/**
|
|
10
10
|
* Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Y as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-
|
|
1
|
+
import { Y as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-06dQA9ET.js";
|
|
2
2
|
import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-C-cgQA3w.js";
|
|
3
|
-
import { _ as downcast } from "./faceFns-
|
|
3
|
+
import { _ as downcast } from "./faceFns-C4DVYLxO.js";
|
|
4
4
|
import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-B9u763C3.js";
|
|
5
|
-
import { I as getWires, M as getEdges, N as getFaces, P as getOrCreateCache, _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-
|
|
6
|
-
import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-
|
|
7
|
-
import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-
|
|
5
|
+
import { I as getWires, M as getEdges, N as getFaces, P as getOrCreateCache, _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-DUbyg6UB.js";
|
|
6
|
+
import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-bHZt62DR.js";
|
|
7
|
+
import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-B79DrN13.js";
|
|
8
8
|
//#region src/topology/threeHelpers.ts
|
|
9
9
|
/**
|
|
10
10
|
* Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
|
package/dist/query.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_helpers = require("./helpers-
|
|
3
|
-
const require_cornerFinder = require("./cornerFinder-
|
|
2
|
+
const require_helpers = require("./helpers-DeLTd7PH.cjs");
|
|
3
|
+
const require_cornerFinder = require("./cornerFinder-DcTlpavc.cjs");
|
|
4
4
|
exports.cornerFinder = require_cornerFinder.cornerFinder;
|
|
5
5
|
exports.edgeFinder = require_helpers.edgeFinder;
|
|
6
6
|
exports.faceFinder = require_helpers.faceFinder;
|
package/dist/query.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-
|
|
2
|
-
import { t as cornerFinder } from "./cornerFinder-
|
|
1
|
+
import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-B_k7J_4D.js";
|
|
2
|
+
import { t as cornerFinder } from "./cornerFinder-Cgz_yVTl.js";
|
|
3
3
|
export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BnE1sBpb.cjs");
|
|
2
2
|
const require_errors = require("./errors-9zQcQK1H.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-B68JCstG.cjs");
|
|
4
4
|
const require_constants = require("./constants-unWN8k4c.cjs");
|
|
5
5
|
//#region src/topology/topologyQueryFns.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-
|
|
1
|
+
import { Y as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-06dQA9ET.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-C-cgQA3w.js";
|
|
3
|
-
import { C as kernelCallRaw, S as kernelCall } from "./faceFns-
|
|
3
|
+
import { C as kernelCallRaw, S as kernelCall } from "./faceFns-C4DVYLxO.js";
|
|
4
4
|
import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-B9u763C3.js";
|
|
5
5
|
//#region src/topology/topologyQueryFns.ts
|
|
6
6
|
/**
|
package/dist/shapeRef.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_shapeRefFns = require("./shapeRefFns-
|
|
2
|
+
const require_shapeRefFns = require("./shapeRefFns-CPPOk97a.cjs");
|
|
3
3
|
exports.assignRoles = require_shapeRefFns.assignRoles;
|
|
4
4
|
exports.captureHint = require_shapeRefFns.captureHint;
|
|
5
5
|
exports.createRef = require_shapeRefFns.createRef;
|
package/dist/shapeRef.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-
|
|
1
|
+
import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-DOdTZgmb.js";
|
|
2
2
|
export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_faceFns = require("./faceFns-
|
|
2
|
-
const require_shapeFns = require("./shapeFns-
|
|
3
|
-
const require_measureFns = require("./measureFns-
|
|
1
|
+
const require_faceFns = require("./faceFns-B68JCstG.cjs");
|
|
2
|
+
const require_shapeFns = require("./shapeFns-CCrR-7JE.cjs");
|
|
3
|
+
const require_measureFns = require("./measureFns-CGnA2Hz1.cjs");
|
|
4
4
|
//#region src/topology/shapeRef/scoring.ts
|
|
5
5
|
/**
|
|
6
6
|
* Default face scorer combining surface type, normal alignment, centroid proximity,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-
|
|
2
|
-
import { N as getFaces, n as getHashCode } from "./shapeFns-
|
|
3
|
-
import { n as measureArea } from "./measureFns-
|
|
1
|
+
import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-C4DVYLxO.js";
|
|
2
|
+
import { N as getFaces, n as getHashCode } from "./shapeFns-DUbyg6UB.js";
|
|
3
|
+
import { n as measureArea } from "./measureFns-zT6IVHAu.js";
|
|
4
4
|
//#region src/topology/shapeRef/scoring.ts
|
|
5
5
|
/**
|
|
6
6
|
* Default face scorer combining surface type, normal alignment, centroid proximity,
|
|
@@ -16,8 +16,13 @@ function uniqueIOFilename(prefix, ext) {
|
|
|
16
16
|
//#region src/kernel/occt/ioOps.ts
|
|
17
17
|
/**
|
|
18
18
|
* Exports shapes to STEP format.
|
|
19
|
+
*
|
|
20
|
+
* Uses stream-based I/O (V8) when available, bypassing Emscripten FS.
|
|
21
|
+
* Falls back to FS-based path for V7 compatibility.
|
|
19
22
|
*/
|
|
20
23
|
function exportSTEP$1(oc, shapes) {
|
|
24
|
+
const streamIO = oc.StepStreamIO;
|
|
25
|
+
if (typeof streamIO?.exportSTEP === "function" && shapes.length === 1) return streamIO.exportSTEP(shapes[0], 5);
|
|
21
26
|
const writer = new oc.STEPControl_Writer_1();
|
|
22
27
|
oc.Interface_Static.SetIVal("write.step.schema", 5);
|
|
23
28
|
writer.Model(true).delete();
|
|
@@ -66,10 +71,19 @@ function exportIGES$1(oc, shapes) {
|
|
|
66
71
|
}
|
|
67
72
|
/**
|
|
68
73
|
* Imports shapes from STEP data.
|
|
74
|
+
*
|
|
75
|
+
* Uses stream-based I/O (V8) when available, bypassing Emscripten FS.
|
|
69
76
|
*/
|
|
70
77
|
function importSTEP$1(oc, data) {
|
|
78
|
+
const dataStr = typeof data === "string" ? data : new TextDecoder().decode(new Uint8Array(data));
|
|
79
|
+
const streamIO = oc.StepStreamIO;
|
|
80
|
+
if (typeof streamIO?.importSTEP === "function") {
|
|
81
|
+
const shape = streamIO.importSTEP(dataStr);
|
|
82
|
+
if (shape.IsNull()) throw new Error("Failed to import STEP file: stream reader could not parse the input data");
|
|
83
|
+
return [shape];
|
|
84
|
+
}
|
|
71
85
|
const filename = uniqueIOFilename("_import", "step");
|
|
72
|
-
const buffer =
|
|
86
|
+
const buffer = new TextEncoder().encode(dataStr);
|
|
73
87
|
oc.FS.writeFile("/" + filename, buffer);
|
|
74
88
|
const reader = new oc.STEPControl_Reader_1();
|
|
75
89
|
if (reader.ReadFile(filename)) {
|
|
@@ -1394,6 +1408,7 @@ function loft$1(oc, wires, ruled = false, startShape, endShape) {
|
|
|
1394
1408
|
function sweep$1(oc, wire, spine, options = {}) {
|
|
1395
1409
|
const { transitionMode } = options;
|
|
1396
1410
|
const sweepBuilder = new oc.BRepOffsetAPI_MakePipeShell(spine);
|
|
1411
|
+
if (typeof sweepBuilder.SetIsBuildHistory === "function") sweepBuilder.SetIsBuildHistory(false);
|
|
1397
1412
|
if (transitionMode !== void 0) sweepBuilder.SetTransitionMode(transitionMode);
|
|
1398
1413
|
sweepBuilder.Add_1(wire, false, false);
|
|
1399
1414
|
const progress = new oc.Message_ProgressRange_1();
|
|
@@ -2854,6 +2869,11 @@ function makeHelixWire$1(oc, pitch, height, radius, center = [
|
|
|
2854
2869
|
0,
|
|
2855
2870
|
1
|
|
2856
2871
|
], leftHanded = false) {
|
|
2872
|
+
const helixBuilder = oc.HelixWireBuilder;
|
|
2873
|
+
if (typeof helixBuilder?.build === "function") {
|
|
2874
|
+
const result = helixBuilder.build(radius, pitch, height, center[0], center[1], center[2], direction[0], direction[1], direction[2], leftHanded);
|
|
2875
|
+
if (!result.IsNull()) return result;
|
|
2876
|
+
}
|
|
2857
2877
|
const nTurns = height / pitch;
|
|
2858
2878
|
const myDir = leftHanded ? -2 * Math.PI : 2 * Math.PI;
|
|
2859
2879
|
const pnt = new oc.gp_Pnt_3(center[0], center[1], center[2]);
|
|
@@ -4025,6 +4045,7 @@ function getTransitionMode(oc, mode) {
|
|
|
4025
4045
|
/** Sweep a profile along a spine with advanced options. */
|
|
4026
4046
|
function sweepPipeShell$1(oc, profile, spine, options = {}) {
|
|
4027
4047
|
const builder = new oc.BRepOffsetAPI_MakePipeShell(spine);
|
|
4048
|
+
if (typeof builder.SetIsBuildHistory === "function") builder.SetIsBuildHistory(false);
|
|
4028
4049
|
if (options.tolerance !== void 0) builder.SetTolerance(options.tolerance, options.boundTolerance ?? options.tolerance, options.angularTolerance ?? 1e-7);
|
|
4029
4050
|
if (options.maxDegree !== void 0) builder.SetMaxDegree(options.maxDegree);
|
|
4030
4051
|
if (options.maxSegments !== void 0) builder.SetMaxSegments(options.maxSegments);
|
|
@@ -16,8 +16,13 @@ function uniqueIOFilename(prefix, ext) {
|
|
|
16
16
|
//#region src/kernel/occt/ioOps.ts
|
|
17
17
|
/**
|
|
18
18
|
* Exports shapes to STEP format.
|
|
19
|
+
*
|
|
20
|
+
* Uses stream-based I/O (V8) when available, bypassing Emscripten FS.
|
|
21
|
+
* Falls back to FS-based path for V7 compatibility.
|
|
19
22
|
*/
|
|
20
23
|
function exportSTEP$1(oc, shapes) {
|
|
24
|
+
const streamIO = oc.StepStreamIO;
|
|
25
|
+
if (typeof streamIO?.exportSTEP === "function" && shapes.length === 1) return streamIO.exportSTEP(shapes[0], 5);
|
|
21
26
|
const writer = new oc.STEPControl_Writer_1();
|
|
22
27
|
oc.Interface_Static.SetIVal("write.step.schema", 5);
|
|
23
28
|
writer.Model(true).delete();
|
|
@@ -66,10 +71,19 @@ function exportIGES$1(oc, shapes) {
|
|
|
66
71
|
}
|
|
67
72
|
/**
|
|
68
73
|
* Imports shapes from STEP data.
|
|
74
|
+
*
|
|
75
|
+
* Uses stream-based I/O (V8) when available, bypassing Emscripten FS.
|
|
69
76
|
*/
|
|
70
77
|
function importSTEP$1(oc, data) {
|
|
78
|
+
const dataStr = typeof data === "string" ? data : new TextDecoder().decode(new Uint8Array(data));
|
|
79
|
+
const streamIO = oc.StepStreamIO;
|
|
80
|
+
if (typeof streamIO?.importSTEP === "function") {
|
|
81
|
+
const shape = streamIO.importSTEP(dataStr);
|
|
82
|
+
if (shape.IsNull()) throw new Error("Failed to import STEP file: stream reader could not parse the input data");
|
|
83
|
+
return [shape];
|
|
84
|
+
}
|
|
71
85
|
const filename = uniqueIOFilename("_import", "step");
|
|
72
|
-
const buffer =
|
|
86
|
+
const buffer = new TextEncoder().encode(dataStr);
|
|
73
87
|
oc.FS.writeFile("/" + filename, buffer);
|
|
74
88
|
const reader = new oc.STEPControl_Reader_1();
|
|
75
89
|
if (reader.ReadFile(filename)) {
|
|
@@ -1394,6 +1408,7 @@ function loft$1(oc, wires, ruled = false, startShape, endShape) {
|
|
|
1394
1408
|
function sweep$1(oc, wire, spine, options = {}) {
|
|
1395
1409
|
const { transitionMode } = options;
|
|
1396
1410
|
const sweepBuilder = new oc.BRepOffsetAPI_MakePipeShell(spine);
|
|
1411
|
+
if (typeof sweepBuilder.SetIsBuildHistory === "function") sweepBuilder.SetIsBuildHistory(false);
|
|
1397
1412
|
if (transitionMode !== void 0) sweepBuilder.SetTransitionMode(transitionMode);
|
|
1398
1413
|
sweepBuilder.Add_1(wire, false, false);
|
|
1399
1414
|
const progress = new oc.Message_ProgressRange_1();
|
|
@@ -2854,6 +2869,11 @@ function makeHelixWire$1(oc, pitch, height, radius, center = [
|
|
|
2854
2869
|
0,
|
|
2855
2870
|
1
|
|
2856
2871
|
], leftHanded = false) {
|
|
2872
|
+
const helixBuilder = oc.HelixWireBuilder;
|
|
2873
|
+
if (typeof helixBuilder?.build === "function") {
|
|
2874
|
+
const result = helixBuilder.build(radius, pitch, height, center[0], center[1], center[2], direction[0], direction[1], direction[2], leftHanded);
|
|
2875
|
+
if (!result.IsNull()) return result;
|
|
2876
|
+
}
|
|
2857
2877
|
const nTurns = height / pitch;
|
|
2858
2878
|
const myDir = leftHanded ? -2 * Math.PI : 2 * Math.PI;
|
|
2859
2879
|
const pnt = new oc.gp_Pnt_3(center[0], center[1], center[2]);
|
|
@@ -4025,6 +4045,7 @@ function getTransitionMode(oc, mode) {
|
|
|
4025
4045
|
/** Sweep a profile along a spine with advanced options. */
|
|
4026
4046
|
function sweepPipeShell$1(oc, profile, spine, options = {}) {
|
|
4027
4047
|
const builder = new oc.BRepOffsetAPI_MakePipeShell(spine);
|
|
4048
|
+
if (typeof builder.SetIsBuildHistory === "function") builder.SetIsBuildHistory(false);
|
|
4028
4049
|
if (options.tolerance !== void 0) builder.SetTolerance(options.tolerance, options.boundTolerance ?? options.tolerance, options.angularTolerance ?? 1e-7);
|
|
4029
4050
|
if (options.maxDegree !== void 0) builder.SetMaxDegree(options.maxDegree);
|
|
4030
4051
|
if (options.maxSegments !== void 0) builder.SetMaxSegments(options.maxSegments);
|
package/dist/sketching.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_drawFns = require("./drawFns-
|
|
3
|
-
const require_boolean2D = require("./boolean2D-
|
|
2
|
+
const require_drawFns = require("./drawFns-B-V2Okjj.cjs");
|
|
3
|
+
const require_boolean2D = require("./boolean2D-BhbQR9n5.cjs");
|
|
4
4
|
//#region src/sketching.ts
|
|
5
5
|
/**
|
|
6
6
|
* brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
|
package/dist/sketching.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-
|
|
2
|
-
import { $ as sketchFaceOffset, A as DrawingPen, B as drawSingleCircle, F as drawParametricFunction, H as drawText, I as drawPointsInterpolation, L as drawPolysides, M as draw, N as drawCircle, P as drawEllipse, Q as sketchEllipse, R as drawRectangle, S as drawProjection, V as drawSingleEllipse, X as polysideInnerRadius, Y as makeBaseBox, Z as sketchCircle, _ as sketchLoft, a as drawingIntersect, at as Sketcher, b as sketchWires, c as rotateDrawing, d as compoundSketchExtrude, et as sketchHelix, f as compoundSketchFace, g as sketchFace, h as sketchExtrude, i as drawingFuse, it as sketchRoundedRectangle, j as deserializeDrawing, k as Drawing, l as scaleDrawing, m as compoundSketchRevolve, n as drawingCut, nt as sketchPolysides, o as drawingToSketchOnPlane, ot as Sketches, p as compoundSketchLoft, r as drawingFillet, rt as sketchRectangle, s as mirrorDrawing, st as CompoundSketch, t as drawingChamfer, tt as sketchParametricFunction, u as translateDrawing, v as sketchRevolve, x as drawFaceOutline, y as sketchSweep, z as drawRoundedRectangle } from "./drawFns-
|
|
1
|
+
import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-CM-RGkmM.js";
|
|
2
|
+
import { $ as sketchFaceOffset, A as DrawingPen, B as drawSingleCircle, F as drawParametricFunction, H as drawText, I as drawPointsInterpolation, L as drawPolysides, M as draw, N as drawCircle, P as drawEllipse, Q as sketchEllipse, R as drawRectangle, S as drawProjection, V as drawSingleEllipse, X as polysideInnerRadius, Y as makeBaseBox, Z as sketchCircle, _ as sketchLoft, a as drawingIntersect, at as Sketcher, b as sketchWires, c as rotateDrawing, d as compoundSketchExtrude, et as sketchHelix, f as compoundSketchFace, g as sketchFace, h as sketchExtrude, i as drawingFuse, it as sketchRoundedRectangle, j as deserializeDrawing, k as Drawing, l as scaleDrawing, m as compoundSketchRevolve, n as drawingCut, nt as sketchPolysides, o as drawingToSketchOnPlane, ot as Sketches, p as compoundSketchLoft, r as drawingFillet, rt as sketchRectangle, s as mirrorDrawing, st as CompoundSketch, t as drawingChamfer, tt as sketchParametricFunction, u as translateDrawing, v as sketchRevolve, x as drawFaceOutline, y as sketchSweep, z as drawRoundedRectangle } from "./drawFns-BWSOeCPI.js";
|
|
3
3
|
//#region src/sketching.ts
|
|
4
4
|
/**
|
|
5
5
|
* brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-
|
|
1
|
+
import { Y as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-06dQA9ET.js";
|
|
2
2
|
import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-C-cgQA3w.js";
|
|
3
|
-
import { _ as downcast, g as cast } from "./faceFns-
|
|
3
|
+
import { _ as downcast, g as cast } from "./faceFns-C4DVYLxO.js";
|
|
4
4
|
//#region src/topology/shapeUtils.ts
|
|
5
5
|
/**
|
|
6
6
|
* Shape assembly utilities — welding and sewing operations.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BnE1sBpb.cjs");
|
|
2
2
|
const require_errors = require("./errors-9zQcQK1H.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-B68JCstG.cjs");
|
|
4
4
|
//#region src/topology/shapeUtils.ts
|
|
5
5
|
/**
|
|
6
6
|
* Shape assembly utilities — welding and sewing operations.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BnE1sBpb.cjs");
|
|
2
2
|
const require_errors = require("./errors-9zQcQK1H.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-B68JCstG.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 { Y as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-
|
|
1
|
+
import { Y as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-06dQA9ET.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-C-cgQA3w.js";
|
|
3
|
-
import { g as cast, l as outerWire } from "./faceFns-
|
|
3
|
+
import { g as cast, l as outerWire } from "./faceFns-C4DVYLxO.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/topology.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
-
const require_shapeFns = require("./shapeFns-
|
|
4
|
-
const require_curveFns = require("./curveFns-
|
|
5
|
-
const require_meshFns = require("./meshFns-
|
|
6
|
-
const require_booleanFns = require("./booleanFns-
|
|
7
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
2
|
+
const require_faceFns = require("./faceFns-B68JCstG.cjs");
|
|
3
|
+
const require_shapeFns = require("./shapeFns-CCrR-7JE.cjs");
|
|
4
|
+
const require_curveFns = require("./curveFns-Dp1LYNHp.cjs");
|
|
5
|
+
const require_meshFns = require("./meshFns-B6Q3ymfV.cjs");
|
|
6
|
+
const require_booleanFns = require("./booleanFns-DrG85G2W.cjs");
|
|
7
|
+
const require_primitiveFns = require("./primitiveFns-CYpiAvj4.cjs");
|
|
8
8
|
exports.addHoles = require_primitiveFns.addHoles;
|
|
9
9
|
exports.adjacentFaces = require_primitiveFns.adjacentFaces;
|
|
10
10
|
exports.approximateCurve = require_curveFns.approximateCurve;
|
package/dist/topology.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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-
|
|
2
|
-
import { B as iterVertices, F as getVertices, H as vertexPosition, I as getWires, L as invalidateShapeCache, M as getEdges, N as getFaces, R as iterEdges, V as iterWires, a as isSameShape, i as isEqualShape, j as getBounds, n as getHashCode, z as iterFaces } from "./shapeFns-
|
|
3
|
-
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-
|
|
4
|
-
import { n as exportSTEP, o as clearMeshCache, r as exportSTL, s as createMeshCache, t as exportIGES } from "./meshFns-
|
|
5
|
-
import { i as fuseAll, n as cutAll } from "./booleanFns-
|
|
6
|
-
import { $ as getNurbsSurfaceData, 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 getNurbsCurveData, 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 wiresOfFace, b as sphere, c as cylinder, ct as toGroupedBufferGeometryData, d as ellipsoid, et as adjacentFaces, f as face, g as offsetFace, h as line, i as bsplineApprox, it as verticesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toLineGeometryData, m as helix, n as bezier, nt as facesOfEdge, o as compound, ot as chamferDistAngle, p as filledFace, q as filletWithEvolution, r as box, rt as sharedEdges, s as cone, st as toBufferGeometryData, t as addHoles, tt as edgesOfFace, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-
|
|
1
|
+
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-C4DVYLxO.js";
|
|
2
|
+
import { B as iterVertices, F as getVertices, H as vertexPosition, I as getWires, L as invalidateShapeCache, M as getEdges, N as getFaces, R as iterEdges, V as iterWires, a as isSameShape, i as isEqualShape, j as getBounds, n as getHashCode, z as iterFaces } from "./shapeFns-DUbyg6UB.js";
|
|
3
|
+
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-DxeAWfSe.js";
|
|
4
|
+
import { n as exportSTEP, o as clearMeshCache, r as exportSTL, s as createMeshCache, t as exportIGES } from "./meshFns-BDJ7GT7C.js";
|
|
5
|
+
import { i as fuseAll, n as cutAll } from "./booleanFns-Kn0xAXHX.js";
|
|
6
|
+
import { $ as getNurbsSurfaceData, 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 getNurbsCurveData, 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 wiresOfFace, b as sphere, c as cylinder, ct as toGroupedBufferGeometryData, d as ellipsoid, et as adjacentFaces, f as face, g as offsetFace, h as line, i as bsplineApprox, it as verticesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toLineGeometryData, m as helix, n as bezier, nt as facesOfEdge, o as compound, ot as chamferDistAngle, p as filledFace, q as filletWithEvolution, r as box, rt as sharedEdges, s as cone, st as toBufferGeometryData, t as addHoles, tt as edgesOfFace, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-DdGSiMcZ.js";
|
|
7
7
|
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, 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, 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 };
|