brepjs 18.124.6 → 18.124.8
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 +6 -6
- package/dist/2d.js +6 -6
- package/dist/{adjacencyFns-CpKlADYt.cjs → adjacencyFns-BhdfZany.cjs} +2 -2
- package/dist/{adjacencyFns-DECdcer5.js → adjacencyFns-CwcdjOsT.js} +2 -2
- package/dist/{blueprint-CpJLcUJV.cjs → blueprint-BgbVmx4L.cjs} +5 -5
- package/dist/{blueprint-CaY00-X2.js → blueprint-DRvc1LOz.js} +5 -5
- package/dist/{blueprintFns-vgwEIgI0.js → blueprintFns-COSD5yZH.js} +2 -2
- package/dist/{blueprintFns-B5nFaJI0.cjs → blueprintFns-oatmkSjh.cjs} +2 -2
- package/dist/{blueprintSketcher-4e0yYtCY.cjs → blueprintSketcher-B5UqD0FO.cjs} +3 -3
- package/dist/{blueprintSketcher-BjBjj2cK.js → blueprintSketcher-yZiAeqft.js} +3 -3
- package/dist/{boolean2D-Bk-VrRyQ.js → boolean2D-BuM5xJSa.js} +4 -4
- package/dist/{boolean2D-7heWA1co.cjs → boolean2D-p7RMNFtG.cjs} +4 -4
- package/dist/brepjs.cjs +27 -27
- package/dist/brepjs.js +27 -27
- package/dist/{cameraFns-DKEilV2v.js → cameraFns-VVI0cWLa.js} +3 -3
- package/dist/{cameraFns-CGwrxgqB.cjs → cameraFns-i1otOZ0V.cjs} +3 -3
- package/dist/core.cjs +2 -2
- package/dist/core.js +2 -2
- package/dist/{cornerFinder-C4s6pVZ-.js → cornerFinder-CiHpo7kU.js} +1 -1
- package/dist/{cornerFinder-zEgIFMnk.cjs → cornerFinder-DIe6pMPU.cjs} +1 -1
- package/dist/{curveFns-RczIU30U.js → curveFns-Bh_PHl9N.js} +1 -1
- package/dist/{curveFns-BZZYHVow.cjs → curveFns-jmKL1KZp.cjs} +1 -1
- package/dist/{drawFns-BcXzWFfn.cjs → drawFns-CQYR1jpa.cjs} +12 -12
- package/dist/{drawFns-BjT3RaeQ.js → drawFns-DNekh4DS.js} +12 -12
- package/dist/{faceFns-C4xNv2zn.cjs → faceFns-C0A8O-2a.cjs} +2 -2
- package/dist/{faceFns-fvp_zfuI.js → faceFns-CaBQNffu.js} +2 -2
- package/dist/{healingFns-SxSiVPQa.cjs → healingFns-CfSU0G7V.cjs} +4 -4
- package/dist/{healingFns-AE5182Ds.js → healingFns-Digw1d6D.js} +4 -4
- package/dist/{helpers-CyLQ07aD.js → helpers-BiqV-wPK.js} +6 -6
- package/dist/{helpers-CHYzwQMk.cjs → helpers-DLZUxawd.cjs} +6 -6
- package/dist/{importFns-DdXOAX6k.js → importFns-BId6d2pt.js} +2 -2
- package/dist/{importFns-90S7P_7P.cjs → importFns-ncp_0vEl.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +0 -2
- package/dist/{loftFns-CyY4qfvC.js → loftFns-m7LoJWE2.js} +1 -1
- package/dist/{loftFns-B3mbh5RA.cjs → loftFns-u-yPHpJ9.cjs} +1 -1
- package/dist/{measureFns-B1uLQugf.js → measureFns-9-1Ng0wR.js} +3 -3
- package/dist/{measureFns-Cx2XJVVC.cjs → measureFns-CaEuNAZO.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-2ZxW-X9I.cjs → meshFns-CB7HsxzB.cjs} +3 -3
- package/dist/{meshFns-DrO3d03M.js → meshFns-CpfeEN1b.js} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-D3rUK08B.cjs → originTrackingFns-CKKmLIUH.cjs} +2 -2
- package/dist/{originTrackingFns-DIAwMSih.js → originTrackingFns-JxAlPJXX.js} +2 -2
- package/dist/{primitiveFns-CDPqVTcc.js → primitiveFns-5E__ejiB.js} +4 -4
- package/dist/{primitiveFns-c7wqS-K2.cjs → primitiveFns-CBxF87wn.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-o3-Gdnjn.js → refResolveFns-DcyIQSDi.js} +6 -6
- package/dist/{refResolveFns-Cm8ZHPl5.cjs → refResolveFns-c7RWIsZy.cjs} +6 -6
- package/dist/{shapeFns-CJ6mph9b.cjs → shapeFns-DDTLk0mJ.cjs} +2 -2
- package/dist/{shapeFns-DEpbxB9Z.js → shapeFns-DyDRpo6K.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-D5Y41q7x.cjs → shapeTypes-DVExh1xP.cjs} +111 -7
- package/dist/{shapeTypes-BHRboc_x.js → shapeTypes-pxoxsXIo.js} +111 -7
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-DQQ0re9T.js → solidBuilders-BSIOdrR5.js} +5 -5
- package/dist/{solidBuilders-CsUkRC69.cjs → solidBuilders-BWLoWRk1.cjs} +5 -5
- package/dist/{surfaceBuilders-C8k0K7DR.js → surfaceBuilders-B7WlmoVr.js} +3 -3
- package/dist/{surfaceBuilders-BXNZydNl.cjs → surfaceBuilders-DUTDN2Ay.cjs} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-BAyLXffK.js → textBlueprints-C1aMaWLc.js} +7 -7
- package/dist/{textBlueprints-t8MdWfki.cjs → textBlueprints-Cv-lkXnr.cjs} +7 -7
- package/dist/{textMetrics-CefI-bMN.js → textMetrics-DH3YPwVC.js} +1 -1
- package/dist/{textMetrics-DUEI9s5M.cjs → textMetrics-DQauYgh5.cjs} +1 -1
- package/dist/{threadFns-Bau5Sqad.js → threadFns-BWbibv4L.js} +7 -7
- package/dist/{threadFns-OVYAleOH.cjs → threadFns-DunLPqCK.cjs} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-gah07J7-.cjs → topologyQueryFns-BtLGfXgL.cjs} +1 -1
- package/dist/{topologyQueryFns-QvPyCF-7.js → topologyQueryFns-CwYkfE3v.js} +1 -1
- package/dist/{validityTypes-DokbYKzd.js → validityTypes-Bl3adWZb.js} +1 -1
- package/dist/{validityTypes-Dx-04qO0.cjs → validityTypes-C2nklkrH.cjs} +1 -1
- package/package.json +1 -1
|
@@ -6601,10 +6601,37 @@ function kernelBoolean(bk, op, a, b, options) {
|
|
|
6601
6601
|
}
|
|
6602
6602
|
return bk[op](a, b);
|
|
6603
6603
|
}
|
|
6604
|
+
/**
|
|
6605
|
+
* A compound base routes through the kernel's n-way `fuseAll` / `compoundCut`,
|
|
6606
|
+
* neither of which takes the post-boolean `simplify` flag the two-operand
|
|
6607
|
+
* `*WithOptions` entry points do. Say so rather than silently returning
|
|
6608
|
+
* unsimplified topology, the same way an old kernel reports it.
|
|
6609
|
+
*/
|
|
6610
|
+
function warnCompoundBaseSimplify(options, op) {
|
|
6611
|
+
if (!options?.simplify) return;
|
|
6612
|
+
warnOnce(`boolean-simplify-compound-base-${op}`, `BooleanOptions.simplify is not applied when ${op} receives a compound base; ignored.`);
|
|
6613
|
+
}
|
|
6614
|
+
/**
|
|
6615
|
+
* Solid ids behind a shape: a solid contributes itself, a compound its children.
|
|
6616
|
+
* Throws with the method name for anything else, matching `unwrapSolidOrThrow`.
|
|
6617
|
+
*/
|
|
6618
|
+
function solidIdsOf(bk, shape, methodName) {
|
|
6619
|
+
const h = shape;
|
|
6620
|
+
if (isBrepkitHandle(shape) && h.type === "compound") return toArray(bk.getCompoundSolids(h.id));
|
|
6621
|
+
return [unwrapSolidOrThrow(shape, methodName)];
|
|
6622
|
+
}
|
|
6604
6623
|
function fuse(bk, shape, tool, _options) {
|
|
6605
6624
|
if (_options && hasIgnoredBooleanOptions(_options)) warnOnce("boolean-options", "BooleanOptions (optimisation, strategy, fuzzyValue) not supported; ignored.");
|
|
6606
6625
|
if (isEmptyCompound(bk, shape)) return tool;
|
|
6607
6626
|
if (isEmptyCompound(bk, tool)) return shape;
|
|
6627
|
+
const baseHandle = shape;
|
|
6628
|
+
if (isBrepkitHandle(shape) && baseHandle.type === "compound") {
|
|
6629
|
+
warnCompoundBaseSimplify(_options, "fuse");
|
|
6630
|
+
const ids = solidIdsOf(bk, shape, "fuse");
|
|
6631
|
+
ids.push(...solidIdsOf(bk, tool, "fuse"));
|
|
6632
|
+
if (ids.length === 0) throw new Error("brepkit: fuse resolved to zero solid IDs");
|
|
6633
|
+
return solidHandle(bk.fuseAll(new Uint32Array(ids)));
|
|
6634
|
+
}
|
|
6608
6635
|
const baseId = unwrapSolidOrThrow(shape, "fuse");
|
|
6609
6636
|
const toolHandle = tool;
|
|
6610
6637
|
if (toolHandle.type === "compound") {
|
|
@@ -6619,6 +6646,19 @@ function cut(bk, shape, tool, _options) {
|
|
|
6619
6646
|
if (_options && hasIgnoredBooleanOptions(_options)) warnOnce("boolean-options", "BooleanOptions (optimisation, strategy, fuzzyValue) not supported; ignored.");
|
|
6620
6647
|
if (isEmptyCompound(bk, shape)) return emptyCompound(bk);
|
|
6621
6648
|
if (isEmptyCompound(bk, tool)) return shape;
|
|
6649
|
+
const cutBase = shape;
|
|
6650
|
+
if (isBrepkitHandle(shape) && cutBase.type === "compound") {
|
|
6651
|
+
warnCompoundBaseSimplify(_options, "cut");
|
|
6652
|
+
const toolIds = solidIdsOf(bk, tool, "cut");
|
|
6653
|
+
const survivors = [];
|
|
6654
|
+
for (const childId of toArray(bk.getCompoundSolids(cutBase.id))) try {
|
|
6655
|
+
survivors.push(bk.compoundCut(childId, new Uint32Array(toolIds)));
|
|
6656
|
+
} catch (e) {
|
|
6657
|
+
if (!isEmptyBooleanError(e)) throw e;
|
|
6658
|
+
}
|
|
6659
|
+
if (survivors.length === 0) return emptyCompound(bk);
|
|
6660
|
+
return compoundHandle(bk.makeCompound(survivors));
|
|
6661
|
+
}
|
|
6622
6662
|
const baseId = unwrapSolidOrThrow(shape, "cut");
|
|
6623
6663
|
const toolHandle = tool;
|
|
6624
6664
|
if (toolHandle.type === "compound") {
|
|
@@ -6668,15 +6708,11 @@ function section(bk, shape, plane, _approximation) {
|
|
|
6668
6708
|
function fuseAll(bk, shapes, options) {
|
|
6669
6709
|
if (shapes.length === 0) throw new Error("brepkit: fuseAll requires at least one shape");
|
|
6670
6710
|
if (shapes.length === 1) return wasmIndex(shapes, 0);
|
|
6671
|
-
if (bk.
|
|
6711
|
+
if (typeof bk.fuseAll === "function") {
|
|
6672
6712
|
const solidIds = [];
|
|
6673
|
-
for (const shape of shapes)
|
|
6674
|
-
const h = shape;
|
|
6675
|
-
if (h.type === "compound") solidIds.push(...toArray(bk.getCompoundSolids(h.id)));
|
|
6676
|
-
else solidIds.push(unwrapSolidOrThrow(shape, "fuseAll"));
|
|
6677
|
-
}
|
|
6713
|
+
for (const shape of shapes) solidIds.push(...solidIdsOf(bk, shape, "fuseAll"));
|
|
6678
6714
|
if (solidIds.length === 0) throw new Error("brepkit: fuseAll resolved to zero solid IDs");
|
|
6679
|
-
return solidHandle(bk.
|
|
6715
|
+
return solidHandle(bk.fuseAll(new Uint32Array(solidIds)));
|
|
6680
6716
|
}
|
|
6681
6717
|
let current = [...shapes];
|
|
6682
6718
|
while (current.length > 1) {
|
|
@@ -8142,11 +8178,79 @@ function mesh$1(bk, shape, options) {
|
|
|
8142
8178
|
let result;
|
|
8143
8179
|
if (bkHandle.type === "solid") result = meshSolid(bk, h, deflection, !!options.includeUVs, angularTol);
|
|
8144
8180
|
else if (bkHandle.type === "face") result = meshSingleFace(bk, h, deflection, 0, angularTol);
|
|
8181
|
+
else if (bkHandle.type === "compound") result = meshCompound(bk, h, deflection, !!options.includeUVs, angularTol);
|
|
8145
8182
|
else throw new Error(`brepkit: cannot mesh shape of type '${bkHandle.type}'`);
|
|
8146
8183
|
if (options.skipNormals) result.normals = /* @__PURE__ */ new Float32Array(0);
|
|
8147
8184
|
if (!options.includeUVs) result.uvs = /* @__PURE__ */ new Float32Array(0);
|
|
8148
8185
|
return result;
|
|
8149
8186
|
}
|
|
8187
|
+
/**
|
|
8188
|
+
* Mesh every solid in a compound and concatenate the results.
|
|
8189
|
+
*
|
|
8190
|
+
* Text solids are compounds — one solid per glyph — so without this the whole
|
|
8191
|
+
* text path throws before any geometry runs, which reads as a geometry failure
|
|
8192
|
+
* when it is really a missing adapter capability.
|
|
8193
|
+
*
|
|
8194
|
+
* Triangle indices are vertex-relative, so each part's are rebased by the
|
|
8195
|
+
* running vertex count; `faceGroups` index into the triangle list, so their
|
|
8196
|
+
* `start` is rebased by the running triangle count. `uvs` are only carried
|
|
8197
|
+
* when every part supplied them, since a partial UV array would misalign
|
|
8198
|
+
* against the concatenated vertices.
|
|
8199
|
+
*
|
|
8200
|
+
* Compounds come in two flavours and only one is arena-backed. A synthetic
|
|
8201
|
+
* compound (non-solid children, id from `nextSyntheticId`) exists JS-side only,
|
|
8202
|
+
* so asking the kernel to resolve it raises an invalid-handle error; its
|
|
8203
|
+
* children are read from `syntheticCompounds` instead. Non-solid children
|
|
8204
|
+
* contribute no triangles and are skipped rather than throwing, matching how a
|
|
8205
|
+
* wire or edge meshes to nothing elsewhere in this adapter.
|
|
8206
|
+
*/
|
|
8207
|
+
function meshCompound(bk, compoundId, deflection, includeUVs, angularTolerance) {
|
|
8208
|
+
const synthetic = syntheticCompounds.get(compoundId);
|
|
8209
|
+
const parts = (synthetic ? synthetic.filter((c) => c.type === "solid").map((c) => c.id) : toArray(bk.getCompoundSolids(compoundId))).map((id) => meshSolid(bk, id, deflection, includeUVs, angularTolerance));
|
|
8210
|
+
if (parts.length === 1) return wasmIndex(parts, 0);
|
|
8211
|
+
if (parts.length === 0) return {
|
|
8212
|
+
vertices: /* @__PURE__ */ new Float32Array(0),
|
|
8213
|
+
normals: /* @__PURE__ */ new Float32Array(0),
|
|
8214
|
+
triangles: /* @__PURE__ */ new Uint32Array(0),
|
|
8215
|
+
uvs: /* @__PURE__ */ new Float32Array(0),
|
|
8216
|
+
faceGroups: []
|
|
8217
|
+
};
|
|
8218
|
+
const total = (pick) => parts.reduce((n, p) => n + pick(p).length, 0);
|
|
8219
|
+
const vertices = new Float32Array(total((p) => p.vertices));
|
|
8220
|
+
const normals = new Float32Array(total((p) => p.normals));
|
|
8221
|
+
const triangles = new Uint32Array(total((p) => p.triangles));
|
|
8222
|
+
const keepUVs = parts.every((p) => p.uvs.length > 0);
|
|
8223
|
+
const uvs = new Float32Array(keepUVs ? total((p) => p.uvs) : 0);
|
|
8224
|
+
const faceGroups = [];
|
|
8225
|
+
let vOff = 0;
|
|
8226
|
+
let nOff = 0;
|
|
8227
|
+
let tOff = 0;
|
|
8228
|
+
let uvOff = 0;
|
|
8229
|
+
for (const part of parts) {
|
|
8230
|
+
vertices.set(part.vertices, vOff);
|
|
8231
|
+
normals.set(part.normals, nOff);
|
|
8232
|
+
if (keepUVs) {
|
|
8233
|
+
uvs.set(part.uvs, uvOff);
|
|
8234
|
+
uvOff += part.uvs.length;
|
|
8235
|
+
}
|
|
8236
|
+
const vertexBase = vOff / 3;
|
|
8237
|
+
for (let i = 0; i < part.triangles.length; i++) triangles[tOff + i] = wasmIndex(part.triangles, i) + vertexBase;
|
|
8238
|
+
for (const g of part.faceGroups) faceGroups.push({
|
|
8239
|
+
...g,
|
|
8240
|
+
start: g.start + tOff
|
|
8241
|
+
});
|
|
8242
|
+
vOff += part.vertices.length;
|
|
8243
|
+
nOff += part.normals.length;
|
|
8244
|
+
tOff += part.triangles.length;
|
|
8245
|
+
}
|
|
8246
|
+
return {
|
|
8247
|
+
vertices,
|
|
8248
|
+
normals,
|
|
8249
|
+
triangles,
|
|
8250
|
+
uvs,
|
|
8251
|
+
faceGroups
|
|
8252
|
+
};
|
|
8253
|
+
}
|
|
8150
8254
|
function meshEdges$1(bk, shape, tolerance, angularTolerance) {
|
|
8151
8255
|
const bkHandle = shape;
|
|
8152
8256
|
if (bkHandle.type !== "solid") return {
|
package/dist/sketching.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
3
|
-
const require_drawFns = require("./drawFns-
|
|
4
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
2
|
+
const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
|
|
3
|
+
const require_drawFns = require("./drawFns-CQYR1jpa.cjs");
|
|
4
|
+
const require_textBlueprints = require("./textBlueprints-Cv-lkXnr.cjs");
|
|
5
5
|
//#region src/sketching.ts
|
|
6
6
|
/**
|
|
7
7
|
* brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
|
package/dist/sketching.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-
|
|
2
|
-
import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-
|
|
3
|
-
import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-
|
|
1
|
+
import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-yZiAeqft.js";
|
|
2
|
+
import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-DNekh4DS.js";
|
|
3
|
+
import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-C1aMaWLc.js";
|
|
4
4
|
//#region src/sketching.ts
|
|
5
5
|
/**
|
|
6
6
|
* brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as isSolid, E as getShapeKind, K as getKernel, S as isShell, W as _usingCtx, d as createSolid, f as createVertex, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, s as createCompound, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { C as isSolid, E as getShapeKind, K as getKernel, S as isShell, W as _usingCtx, d as createSolid, f as createVertex, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, s as createCompound, x as isShape3D } from "./shapeTypes-pxoxsXIo.js";
|
|
2
2
|
import { E as ok, P as unwrap, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, m as andThen, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
|
|
3
|
-
import { S as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-
|
|
3
|
+
import { S as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-CwYkfE3v.js";
|
|
4
4
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
5
5
|
import { a as vecDot, g as vecSub, h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
|
|
6
6
|
import { o as resolvePlane } from "./planeOps-CQahLrCx.js";
|
|
7
|
-
import { _ as cast, y as downcast } from "./faceFns-
|
|
8
|
-
import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-
|
|
7
|
+
import { _ as cast, y as downcast } from "./faceFns-CaBQNffu.js";
|
|
8
|
+
import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-JxAlPJXX.js";
|
|
9
9
|
import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
10
|
-
import { r as makeFace } from "./surfaceBuilders-
|
|
10
|
+
import { r as makeFace } from "./surfaceBuilders-B7WlmoVr.js";
|
|
11
11
|
//#region src/topology/metadata/faceTagFns.ts
|
|
12
12
|
var shapeTagStore = /* @__PURE__ */ new WeakMap();
|
|
13
13
|
var tagMetadataStore = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
|
|
2
2
|
const require_errors = require("./errors-RHkKO5bZ.cjs");
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-BtLGfXgL.cjs");
|
|
4
4
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
5
5
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
6
6
|
const require_planeOps = require("./planeOps-VlFxtvzY.cjs");
|
|
7
|
-
const require_faceFns = require("./faceFns-
|
|
8
|
-
const require_originTrackingFns = require("./originTrackingFns-
|
|
7
|
+
const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
|
|
8
|
+
const require_originTrackingFns = require("./originTrackingFns-CKKmLIUH.cjs");
|
|
9
9
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
10
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
10
|
+
const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
|
|
11
11
|
//#region src/topology/metadata/faceTagFns.ts
|
|
12
12
|
var shapeTagStore = /* @__PURE__ */ new WeakMap();
|
|
13
13
|
var tagMetadataStore = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire, y as isFace } from "./shapeTypes-
|
|
1
|
+
import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire, y as isFace } from "./shapeTypes-pxoxsXIo.js";
|
|
2
2
|
import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-MHLiNE-C.js";
|
|
3
|
-
import { a as isPlanarFace } from "./validityTypes-
|
|
4
|
-
import { _ as cast, u as outerWire } from "./faceFns-
|
|
3
|
+
import { a as isPlanarFace } from "./validityTypes-Bl3adWZb.js";
|
|
4
|
+
import { _ as cast, u as outerWire } from "./faceFns-CaBQNffu.js";
|
|
5
5
|
//#region src/utils/range.ts
|
|
6
6
|
/** Generate an array of integers `[0, 1, …, len - 1]`. */
|
|
7
7
|
function range(len) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
|
|
2
2
|
const require_errors = require("./errors-RHkKO5bZ.cjs");
|
|
3
|
-
const require_validityTypes = require("./validityTypes-
|
|
4
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_validityTypes = require("./validityTypes-C2nklkrH.cjs");
|
|
4
|
+
const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
|
|
5
5
|
//#region src/utils/range.ts
|
|
6
6
|
/** Generate an array of integers `[0, 1, …, len - 1]`. */
|
|
7
7
|
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-
|
|
3
|
-
const require_textMetrics = require("./textMetrics-
|
|
2
|
+
const require_textBlueprints = require("./textBlueprints-Cv-lkXnr.cjs");
|
|
3
|
+
const require_textMetrics = require("./textMetrics-DQauYgh5.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-
|
|
2
|
-
import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-
|
|
1
|
+
import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-C1aMaWLc.js";
|
|
2
|
+
import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DH3YPwVC.js";
|
|
3
3
|
export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { K as getKernel, d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { K as getKernel, d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, x as isShape3D } from "./shapeTypes-pxoxsXIo.js";
|
|
2
2
|
import { n as bug } from "./bug-BdOHwn_e.js";
|
|
3
3
|
import { E as ok, P as unwrap, d as validationError, g as err, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
|
|
4
4
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
5
5
|
import { c as vecLength, d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
|
|
6
6
|
import { n as createPlane } from "./planeOps-CQahLrCx.js";
|
|
7
|
-
import { v as copyShape } from "./faceFns-
|
|
8
|
-
import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-
|
|
9
|
-
import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-
|
|
7
|
+
import { v as copyShape } from "./faceFns-CaBQNffu.js";
|
|
8
|
+
import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-BSIOdrR5.js";
|
|
9
|
+
import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-Bh_PHl9N.js";
|
|
10
10
|
import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
11
|
-
import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-
|
|
12
|
-
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-
|
|
13
|
-
import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-
|
|
11
|
+
import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-B7WlmoVr.js";
|
|
12
|
+
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-yZiAeqft.js";
|
|
13
|
+
import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-m7LoJWE2.js";
|
|
14
14
|
import opentype from "opentype.js";
|
|
15
15
|
//#region src/operations/extrudeFns.ts
|
|
16
16
|
/**
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
2
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
2
|
+
const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
|
|
3
3
|
const require_bug = require("./bug-O02CsAmt.cjs");
|
|
4
4
|
const require_errors = require("./errors-RHkKO5bZ.cjs");
|
|
5
5
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
6
6
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
7
7
|
const require_planeOps = require("./planeOps-VlFxtvzY.cjs");
|
|
8
|
-
const require_faceFns = require("./faceFns-
|
|
9
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
10
|
-
const require_curveFns = require("./curveFns-
|
|
8
|
+
const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
|
|
9
|
+
const require_solidBuilders = require("./solidBuilders-BWLoWRk1.cjs");
|
|
10
|
+
const require_curveFns = require("./curveFns-jmKL1KZp.cjs");
|
|
11
11
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
12
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
13
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
14
|
-
const require_loftFns = require("./loftFns-
|
|
12
|
+
const require_surfaceBuilders = require("./surfaceBuilders-DUTDN2Ay.cjs");
|
|
13
|
+
const require_blueprintSketcher = require("./blueprintSketcher-B5UqD0FO.cjs");
|
|
14
|
+
const require_loftFns = require("./loftFns-u-yPHpJ9.cjs");
|
|
15
15
|
let opentype_js = require("opentype.js");
|
|
16
16
|
opentype_js = require_rolldown_runtime.__toESM(opentype_js, 1);
|
|
17
17
|
//#region src/operations/extrudeFns.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-MHLiNE-C.js";
|
|
2
|
-
import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-
|
|
2
|
+
import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-C1aMaWLc.js";
|
|
3
3
|
//#region src/text/sketchText.ts
|
|
4
4
|
/**
|
|
5
5
|
* Render text as 3D sketch outlines on a plane.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_errors = require("./errors-RHkKO5bZ.cjs");
|
|
2
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
2
|
+
const require_textBlueprints = require("./textBlueprints-Cv-lkXnr.cjs");
|
|
3
3
|
//#region src/text/sketchText.ts
|
|
4
4
|
/**
|
|
5
5
|
* Render text as 3D sketch outlines on a plane.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { K as getKernel, M as DisposalScope, P as createKernelHandle, W as _usingCtx, n as castResultShape, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { K as getKernel, M as DisposalScope, P as createKernelHandle, W as _usingCtx, n as castResultShape, x as isShape3D } from "./shapeTypes-pxoxsXIo.js";
|
|
2
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-MHLiNE-C.js";
|
|
3
3
|
import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.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-CaBQNffu.js";
|
|
5
|
+
import { h as fuseAll } from "./solidBuilders-BSIOdrR5.js";
|
|
6
|
+
import { E as wire, h as line } from "./primitiveFns-5E__ejiB.js";
|
|
7
|
+
import { s as toBREP } from "./shapeFns-DyDRpo6K.js";
|
|
8
|
+
import { t as loft } from "./loftFns-m7LoJWE2.js";
|
|
9
|
+
import { c as resolveRefParams } from "./refResolveFns-DcyIQSDi.js";
|
|
10
10
|
//#region 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-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
|
|
2
2
|
const require_errors = require("./errors-RHkKO5bZ.cjs");
|
|
3
3
|
const require_vecOps = require("./vecOps-CCnJt-yH.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-C0A8O-2a.cjs");
|
|
5
|
+
const require_solidBuilders = require("./solidBuilders-BWLoWRk1.cjs");
|
|
6
|
+
const require_primitiveFns = require("./primitiveFns-CBxF87wn.cjs");
|
|
7
|
+
const require_shapeFns = require("./shapeFns-DDTLk0mJ.cjs");
|
|
8
|
+
const require_loftFns = require("./loftFns-u-yPHpJ9.cjs");
|
|
9
|
+
const require_refResolveFns = require("./refResolveFns-c7RWIsZy.cjs");
|
|
10
10
|
//#region src/utils/uuid.ts
|
|
11
11
|
/** Generate a v4-style UUID string using `crypto.getRandomValues`. */
|
|
12
12
|
function uuidv() {
|
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-BtLGfXgL.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-C0A8O-2a.cjs");
|
|
4
|
+
const require_solidBuilders = require("./solidBuilders-BWLoWRk1.cjs");
|
|
5
|
+
const require_primitiveFns = require("./primitiveFns-CBxF87wn.cjs");
|
|
6
|
+
const require_shapeFns = require("./shapeFns-DDTLk0mJ.cjs");
|
|
7
|
+
const require_curveFns = require("./curveFns-jmKL1KZp.cjs");
|
|
8
|
+
const require_meshFns = require("./meshFns-CB7HsxzB.cjs");
|
|
9
|
+
const require_healingFns = require("./healingFns-CfSU0G7V.cjs");
|
|
10
|
+
const require_adjacencyFns = require("./adjacencyFns-BhdfZany.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 { C 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-
|
|
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 createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-
|
|
8
|
-
import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-
|
|
9
|
-
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-
|
|
1
|
+
import { C 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-CwYkfE3v.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-CaBQNffu.js";
|
|
3
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-BSIOdrR5.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-5E__ejiB.js";
|
|
5
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DyDRpo6K.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-Bh_PHl9N.js";
|
|
7
|
+
import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-CpfeEN1b.js";
|
|
8
|
+
import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-Digw1d6D.js";
|
|
9
|
+
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CwcdjOsT.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,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DVExh1xP.cjs");
|
|
2
2
|
const require_errors = require("./errors-RHkKO5bZ.cjs");
|
|
3
3
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
4
4
|
//#region src/core/kernelErrorTranslation.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as getOrQueryType, K as getKernel, M as DisposalScope, W as _usingCtx, n as castResultShape, r as castResultShapeWithKnownType } from "./shapeTypes-
|
|
1
|
+
import { D as getOrQueryType, K as getKernel, M as DisposalScope, W as _usingCtx, n as castResultShape, r as castResultShapeWithKnownType } from "./shapeTypes-pxoxsXIo.js";
|
|
2
2
|
import { E as ok, g as err } from "./errors-MHLiNE-C.js";
|
|
3
3
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
4
4
|
//#region src/core/kernelErrorTranslation.ts
|