brepjs 12.2.9 → 12.2.10
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.js +3 -3
- package/dist/{Blueprint-DlfUXrh0.js → Blueprint-BWAzjtvF.js} +1 -1
- package/dist/{boolean2D-COkYlAPe.js → boolean2D-B17ZPZ63.js} +2 -2
- package/dist/{booleanFns-zdaV6L6c.cjs → booleanFns-DQj7i7qb.cjs} +4 -18
- package/dist/{booleanFns-5MroD4TZ.js → booleanFns-EsNGs4Zu.js} +5 -19
- package/dist/brepjs.cjs +3 -3
- package/dist/brepjs.js +16 -16
- package/dist/{cornerFinder-CGzCuJy3.js → cornerFinder-57qxNypG.js} +1 -1
- package/dist/{drawFns-DsB3t0zE.js → drawFns-DWTCgzlb.js} +5 -5
- package/dist/{helpers-TIGqZBj7.js → helpers-10HaneKK.js} +1 -1
- package/dist/io.js +2 -2
- package/dist/{meshFns-B_yFbSte.js → meshFns-B1FRGCo4.js} +1 -1
- package/dist/{operations-2LVG2jh1.js → operations-C0597E2p.js} +2 -2
- package/dist/{operations-D4Q6JrTP.cjs → operations-CLaaoj2N.cjs} +1 -1
- package/dist/operations.cjs +1 -1
- package/dist/operations.js +1 -1
- package/dist/query.js +3 -3
- package/dist/{shapeFns-BP-fxfKw.js → shapeFns-Dim8UTHh.js} +2 -2
- package/dist/sketching.js +2 -2
- package/dist/topology/booleanFns.d.ts.map +1 -1
- package/dist/{topology-BS3_AnBF.cjs → topology-CPYjaISY.cjs} +1 -1
- package/dist/{topology-CqhGW5sd.js → topology-Cq1j_bp1.js} +3 -3
- package/dist/topology.cjs +2 -2
- package/dist/topology.js +4 -4
- package/package.json +1 -1
package/dist/2d.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Blueprint } from "./Blueprint-
|
|
2
|
-
import { d, C } from "./Blueprint-
|
|
3
|
-
import { e, C as C2, f, l, g, n, k, q, o, p, r } from "./boolean2D-
|
|
1
|
+
import { B as Blueprint } from "./Blueprint-BWAzjtvF.js";
|
|
2
|
+
import { d, C } from "./Blueprint-BWAzjtvF.js";
|
|
3
|
+
import { e, C as C2, f, l, g, n, k, q, o, p, r } from "./boolean2D-B17ZPZ63.js";
|
|
4
4
|
function reverseCurve(curve) {
|
|
5
5
|
const cloned = curve.clone();
|
|
6
6
|
cloned.reverse();
|
|
@@ -4,7 +4,7 @@ import { B as getKernel, J as getKernel2D, K as registerForCleanup, L as unregis
|
|
|
4
4
|
import { u as uvBounds, f as faceGeomType, e as faceCenter, h as uvCoordinates, c as cast } from "./faceFns-Dka8xvYk.js";
|
|
5
5
|
import { g as getOrientation } from "./curveFns-DRb_8jyd.js";
|
|
6
6
|
import { o as ok, e as err, b as computationError, r as unwrap, y as validationError } from "./errors-B7kgv0cd.js";
|
|
7
|
-
import { d as distance2d, s as samePoint, b as scalarMultiply2d, c as add2d, e as subtract2d, g as getSingleFace } from "./helpers-
|
|
7
|
+
import { d as distance2d, s as samePoint, b as scalarMultiply2d, c as add2d, e as subtract2d, g as getSingleFace } from "./helpers-10HaneKK.js";
|
|
8
8
|
import { R as RAD2DEG, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
9
9
|
import { m as makeFace } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
10
10
|
import { bug } from "./result.js";
|
|
@@ -53,8 +53,8 @@ import { J as getKernel2D, I as createFace, G as createWire, B as getKernel, H a
|
|
|
53
53
|
import { d as curveStartPoint, c as curveTangentAt, e as curveIsClosed } from "./curveFns-DRb_8jyd.js";
|
|
54
54
|
import { m as makeFace, l as makeNewFaceWithinFace, b as assembleWire, z as zip } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
55
55
|
import { bug } from "./result.js";
|
|
56
|
-
import { s as samePoint$1, e as subtract2d, c as add2d, i as crossProduct2d, b as scalarMultiply2d, f as polarToCartesian, r as rotate2d, j as cartesianToPolar, d as distance2d, p as polarAngle2d, k as PRECISION_INTERSECTION } from "./helpers-
|
|
57
|
-
import { C as Curve2D, a as make2dSegmentCurve, j as approximateAsBSpline, n as normalize2d, b as make2dArcFromCenter, k as isPoint2D, g as make2dCircle, l as make2dThreePointArc, d as BoundingBox2d, v as viewbox, o as asSVG, B as Blueprint, p as make2dEllipseArc, q as make2dTangentArc, r as make2dBezierCurve, s as removeDuplicatePoints } from "./Blueprint-
|
|
56
|
+
import { s as samePoint$1, e as subtract2d, c as add2d, i as crossProduct2d, b as scalarMultiply2d, f as polarToCartesian, r as rotate2d, j as cartesianToPolar, d as distance2d, p as polarAngle2d, k as PRECISION_INTERSECTION } from "./helpers-10HaneKK.js";
|
|
57
|
+
import { C as Curve2D, a as make2dSegmentCurve, j as approximateAsBSpline, n as normalize2d, b as make2dArcFromCenter, k as isPoint2D, g as make2dCircle, l as make2dThreePointArc, d as BoundingBox2d, v as viewbox, o as asSVG, B as Blueprint, p as make2dEllipseArc, q as make2dTangentArc, r as make2dBezierCurve, s as removeDuplicatePoints } from "./Blueprint-BWAzjtvF.js";
|
|
58
58
|
const intersectCurves = (first, second, precision = 1e-9) => {
|
|
59
59
|
if (first.boundingBox.isOut(second.boundingBox))
|
|
60
60
|
return ok({ intersections: [], commonSegments: [], commonSegmentsPoints: [] });
|
|
@@ -202,9 +202,6 @@ function validateShape3D(shape, label) {
|
|
|
202
202
|
}
|
|
203
203
|
return errors.ok(void 0);
|
|
204
204
|
}
|
|
205
|
-
function buildCompoundInternal(shapes) {
|
|
206
|
-
return shapeTypes.getKernel().makeCompound(shapes);
|
|
207
|
-
}
|
|
208
205
|
function castToShape3D(shape, errorCode, errorMsg) {
|
|
209
206
|
const wrapped = shapeTypes.castShape(shape);
|
|
210
207
|
if (!shapeTypes.isShape3D(wrapped)) {
|
|
@@ -402,26 +399,15 @@ function cutAll(base, tools, { optimisation = "none", simplify = false, signal,
|
|
|
402
399
|
const check = validateShape3D(tools[i], `cutAll: tool at index ${i}`);
|
|
403
400
|
if (errors.isErr(check)) return check;
|
|
404
401
|
}
|
|
405
|
-
const toolCompound = buildCompoundInternal(tools.map((s) => s.wrapped));
|
|
406
402
|
const allInputs = [base, ...tools];
|
|
407
|
-
const
|
|
408
|
-
const { shape: resultShape, evolution } = shapeTypes.getKernel().cutWithHistory(
|
|
403
|
+
const result = shapeTypes.getKernel().cutAll(
|
|
409
404
|
base.wrapped,
|
|
410
|
-
|
|
411
|
-
inputFaceHashes,
|
|
412
|
-
vecOps.HASH_CODE_MAX,
|
|
405
|
+
tools.map((s) => s.wrapped),
|
|
413
406
|
{ optimisation, simplify, fuzzyValue }
|
|
414
407
|
);
|
|
415
|
-
|
|
416
|
-
const cutAllResult = castToShape3D(
|
|
417
|
-
resultShape,
|
|
418
|
-
"CUT_ALL_NOT_3D",
|
|
419
|
-
"cutAll did not produce a 3D shape"
|
|
420
|
-
);
|
|
408
|
+
const cutAllResult = castToShape3D(result, "CUT_ALL_NOT_3D", "cutAll did not produce a 3D shape");
|
|
421
409
|
if (cutAllResult.ok) {
|
|
422
|
-
shapeFns.
|
|
423
|
-
propagateFaceTagsFromEvolution(evolution, allInputs, cutAllResult.value);
|
|
424
|
-
propagateColorsFromEvolution(evolution, allInputs, cutAllResult.value);
|
|
410
|
+
shapeFns.propagateOriginsByHash(allInputs, cutAllResult.value);
|
|
425
411
|
}
|
|
426
412
|
return cutAllResult;
|
|
427
413
|
}
|
|
@@ -2,7 +2,7 @@ import { B as getKernel, c as castShape, p as isShape3D } from "./shapeTypes-ByN
|
|
|
2
2
|
import { o as ok, d as isErr, e as err, y as validationError, B as BrepErrorCode, p as typeCastError, k as kernelError } from "./errors-B7kgv0cd.js";
|
|
3
3
|
import { r as resolvePlane } from "./vectors-cec8p8NQ.js";
|
|
4
4
|
import { H as HASH_CODE_MAX, n as vecScale, v as vecAdd } from "./vecOps-ZDdZWbwT.js";
|
|
5
|
-
import { a as getFaces, p as
|
|
5
|
+
import { a as getFaces, p as propagateOriginsByHash, b as propagateOriginsFromEvolution, c as getWires, d as getEdges, e as getVertices, g as getFaceOrigins } from "./shapeFns-Dim8UTHh.js";
|
|
6
6
|
import { m as makeFace } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
7
7
|
const shapeTagStore = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
const tagMetadataStore = /* @__PURE__ */ new WeakMap();
|
|
@@ -201,9 +201,6 @@ function validateShape3D(shape, label) {
|
|
|
201
201
|
}
|
|
202
202
|
return ok(void 0);
|
|
203
203
|
}
|
|
204
|
-
function buildCompoundInternal(shapes) {
|
|
205
|
-
return getKernel().makeCompound(shapes);
|
|
206
|
-
}
|
|
207
204
|
function castToShape3D(shape, errorCode, errorMsg) {
|
|
208
205
|
const wrapped = castShape(shape);
|
|
209
206
|
if (!isShape3D(wrapped)) {
|
|
@@ -401,26 +398,15 @@ function cutAll(base, tools, { optimisation = "none", simplify = false, signal,
|
|
|
401
398
|
const check = validateShape3D(tools[i], `cutAll: tool at index ${i}`);
|
|
402
399
|
if (isErr(check)) return check;
|
|
403
400
|
}
|
|
404
|
-
const toolCompound = buildCompoundInternal(tools.map((s) => s.wrapped));
|
|
405
401
|
const allInputs = [base, ...tools];
|
|
406
|
-
const
|
|
407
|
-
const { shape: resultShape, evolution } = getKernel().cutWithHistory(
|
|
402
|
+
const result = getKernel().cutAll(
|
|
408
403
|
base.wrapped,
|
|
409
|
-
|
|
410
|
-
inputFaceHashes,
|
|
411
|
-
HASH_CODE_MAX,
|
|
404
|
+
tools.map((s) => s.wrapped),
|
|
412
405
|
{ optimisation, simplify, fuzzyValue }
|
|
413
406
|
);
|
|
414
|
-
|
|
415
|
-
const cutAllResult = castToShape3D(
|
|
416
|
-
resultShape,
|
|
417
|
-
"CUT_ALL_NOT_3D",
|
|
418
|
-
"cutAll did not produce a 3D shape"
|
|
419
|
-
);
|
|
407
|
+
const cutAllResult = castToShape3D(result, "CUT_ALL_NOT_3D", "cutAll did not produce a 3D shape");
|
|
420
408
|
if (cutAllResult.ok) {
|
|
421
|
-
|
|
422
|
-
propagateFaceTagsFromEvolution(evolution, allInputs, cutAllResult.value);
|
|
423
|
-
propagateColorsFromEvolution(evolution, allInputs, cutAllResult.value);
|
|
409
|
+
propagateOriginsByHash(allInputs, cutAllResult.value);
|
|
424
410
|
}
|
|
425
411
|
return cutAllResult;
|
|
426
412
|
}
|
package/dist/brepjs.cjs
CHANGED
|
@@ -50,7 +50,7 @@ const errors = require("./errors-9fDehDNc.cjs");
|
|
|
50
50
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
51
51
|
const Blueprint = require("./Blueprint-CX2oh-NE.cjs");
|
|
52
52
|
const loft$2 = require("./loft-BDnb8toT.cjs");
|
|
53
|
-
const operations = require("./operations-
|
|
53
|
+
const operations = require("./operations-CLaaoj2N.cjs");
|
|
54
54
|
const boolean2D = require("./boolean2D-G9edb4Pw.cjs");
|
|
55
55
|
const _2d = require("./2d.cjs");
|
|
56
56
|
const helpers = require("./helpers-Cu_7Qo9J.cjs");
|
|
@@ -59,8 +59,8 @@ const drawFns = require("./drawFns-Br57GZWI.cjs");
|
|
|
59
59
|
const types = require("./types-CA_xrgDq.cjs");
|
|
60
60
|
const vectors = require("./vectors-TlfO1hu2.cjs");
|
|
61
61
|
const shapeFns = require("./shapeFns-ZbzAD8yC.cjs");
|
|
62
|
-
const booleanFns = require("./booleanFns-
|
|
63
|
-
const topology = require("./topology-
|
|
62
|
+
const booleanFns = require("./booleanFns-DQj7i7qb.cjs");
|
|
63
|
+
const topology = require("./topology-CPYjaISY.cjs");
|
|
64
64
|
const curveFns = require("./curveFns-BN9bWCIl.cjs");
|
|
65
65
|
const faceFns = require("./faceFns-Cfvj4nxx.cjs");
|
|
66
66
|
const meshFns = require("./meshFns-xWim4bEU.cjs");
|
package/dist/brepjs.js
CHANGED
|
@@ -49,31 +49,31 @@ import { o as ok, z as translateKernelError, e as err, p as typeCastError, q as
|
|
|
49
49
|
import { O as O2, A as A2, a as a2, c, b as b2, f as f2, C as C2, g as g2, m as m2, h as h2, j, l as l2, D, E as E2, F, s as s2, G, H as H2, t as t2, n as n2, u, v as v2, w as w2, x as x2, I as I2 } from "./errors-B7kgv0cd.js";
|
|
50
50
|
import { c as vecDistance, H as HASH_CODE_MAX, n as vecScale, j as vecNormalize, f as vecIsZero } from "./vecOps-ZDdZWbwT.js";
|
|
51
51
|
import { D as D2, R as R2, v as v3, a as a3, b as b3, d as d2, e as e2, g as g3, h as h3, i as i2, k, l as l3, m as m3, o as o2 } from "./vecOps-ZDdZWbwT.js";
|
|
52
|
-
import { B, d as d3, C as C3, t as t3 } from "./Blueprint-
|
|
52
|
+
import { B, d as d3, C as C3, t as t3 } from "./Blueprint-BWAzjtvF.js";
|
|
53
53
|
import { b as b4, g as g4, r } from "./loft-DTFP5fVL.js";
|
|
54
|
-
import { w as walkAssembly, e as extrude$1, r as revolve$1, s as sweep, c as circularPattern, l as linearPattern } from "./operations-
|
|
55
|
-
import { a as a4, b as b5, d as d4, f as f3, g as g5, h as h4, i as i3, j as j2, k as k2, m as m4, n as n3, o as o3, p, q, t as t4, u as u2, v as v4, x as x3, y as y2, z as z2, A as A3, B as B2, C as C4, D as D3, E as E3, F as F2, G as G2 } from "./operations-
|
|
56
|
-
import { B as B3, a as a5, e as e3, C as C5, F as F3, S as S2, f as f4, l as l4, g as g6, n as n4, k as k3, q as q2, o as o4, p as p2, r as r2 } from "./boolean2D-
|
|
54
|
+
import { w as walkAssembly, e as extrude$1, r as revolve$1, s as sweep, c as circularPattern, l as linearPattern } from "./operations-C0597E2p.js";
|
|
55
|
+
import { a as a4, b as b5, d as d4, f as f3, g as g5, h as h4, i as i3, j as j2, k as k2, m as m4, n as n3, o as o3, p, q, t as t4, u as u2, v as v4, x as x3, y as y2, z as z2, A as A3, B as B2, C as C4, D as D3, E as E3, F as F2, G as G2 } from "./operations-C0597E2p.js";
|
|
56
|
+
import { B as B3, a as a5, e as e3, C as C5, F as F3, S as S2, f as f4, l as l4, g as g6, n as n4, k as k3, q as q2, o as o4, p as p2, r as r2 } from "./boolean2D-B17ZPZ63.js";
|
|
57
57
|
import { createBlueprint, curve2dBoundingBox, curve2dDistanceFrom, curve2dFirstPoint, curve2dIsOnCurve, curve2dLastPoint, curve2dParameter, curve2dSplitAt, curve2dTangentAt, getBounds2D, getOrientation2D, isInside2D, mirror2D, reverseCurve, rotate2D, scale2D, sketch2DOnFace, sketch2DOnPlane, stretch2D, toSVGPathD, translate2D } from "./2d.js";
|
|
58
|
-
import { l as createTypedFinder, m as faceFinder } from "./helpers-
|
|
59
|
-
import { g as g7 } from "./helpers-
|
|
58
|
+
import { l as createTypedFinder, m as faceFinder } from "./helpers-10HaneKK.js";
|
|
59
|
+
import { g as g7 } from "./helpers-10HaneKK.js";
|
|
60
60
|
import { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportOBJ, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD } from "./io.js";
|
|
61
|
-
import { C as C6, D as D4, a as a6, S as S3, b as b6, X, Y, c as c2, d as d5, e as e4, f as f5, Z, g as g8, h as h5, i as i4, j as j3, k as k4, l as l5, m as m5, n as n5, o as o5, p as p3, q as q3, r as r3, s as s3, t as t5, u as u3, v as v5, w as w3, x as x4, y as y3, z as z3, _, $, a0, a1, A as A4, a2 as a22, B as B4, E as E4, a3 as a32, F as F4, G as G3, H as H3, I as I3, J, K, L, M as M2, N as N2, O as O3, P as P2, Q as Q2, R as R3, T, U, a4 as a42, V, a5 as a52, a6 as a62, W } from "./drawFns-
|
|
61
|
+
import { C as C6, D as D4, a as a6, S as S3, b as b6, X, Y, c as c2, d as d5, e as e4, f as f5, Z, g as g8, h as h5, i as i4, j as j3, k as k4, l as l5, m as m5, n as n5, o as o5, p as p3, q as q3, r as r3, s as s3, t as t5, u as u3, v as v5, w as w3, x as x4, y as y3, z as z3, _, $, a0, a1, A as A4, a2 as a22, B as B4, E as E4, a3 as a32, F as F4, G as G3, H as H3, I as I3, J, K, L, M as M2, N as N2, O as O3, P as P2, Q as Q2, R as R3, T, U, a4 as a42, V, a5 as a52, a6 as a62, W } from "./drawFns-DWTCgzlb.js";
|
|
62
62
|
import { a as toVec3 } from "./types-CWDdqcrq.js";
|
|
63
63
|
import { r as r4, t as t6 } from "./types-CWDdqcrq.js";
|
|
64
64
|
import { c as c3, a as a7, p as p4, r as r5, t as t7 } from "./vectors-cec8p8NQ.js";
|
|
65
|
-
import { v as vertexPosition, a as getFaces, e as getVertices, d as getEdges, h as getBounds,
|
|
66
|
-
import { w as w4, f as f6, x as x5, i as i5, y as y4, z as z4, A as A5, B as B5, C as C7, D as D5 } from "./shapeFns-
|
|
67
|
-
import { p as propagateFaceTagsFromEvolution, a as propagateColorsFromEvolution, h as hasFaceTags, b as hasColorMetadata, c as cut$1, f as fuse$1, i as intersect$1, s as section$1, d as sectionToFace$1, e as slice$1, g as split$1, j as fuseAll, k as cutAll } from "./booleanFns-
|
|
68
|
-
import { l as l6, m as m6, n as n6, o as o6, q as q4, r as r6, t as t8, u as u4, v as v6 } from "./booleanFns-
|
|
69
|
-
import { c as chamferDistAngle, h as heal$1, i as isValid$1 } from "./topology-
|
|
70
|
-
import { a as a8, b as b7, d as d6, e as e5, f as f7, g as g9, j as j4, k as k5, l as l7, m as m7, n as n7, o as o7, p as p5, q as q5, r as r7, s as s4, t as t9, u as u5, v as v7, w as w5, x as x6, y as y5, z as z5, A as A6, B as B6, C as C8, D as D6, E as E5, F as F5, G as G4, H as H4, I as I4, J as J2, K as K2, L as L2, M as M3, N as N3, O as O4, P as P3, Q as Q3 } from "./topology-
|
|
65
|
+
import { v as vertexPosition, a as getFaces, e as getVertices, d as getEdges, h as getBounds, b as propagateOriginsFromEvolution, g as getFaceOrigins, j as applyMatrix$1, k as clone$1, l as describe$1, m as isEmpty$1, n as mirror$1, r as rotate$1, s as scale$1, o as simplify$1, t as toBREP$1, q as transformCopy$1, u as translate$1, c as getWires } from "./shapeFns-Dim8UTHh.js";
|
|
66
|
+
import { w as w4, f as f6, x as x5, i as i5, y as y4, z as z4, A as A5, B as B5, C as C7, D as D5 } from "./shapeFns-Dim8UTHh.js";
|
|
67
|
+
import { p as propagateFaceTagsFromEvolution, a as propagateColorsFromEvolution, h as hasFaceTags, b as hasColorMetadata, c as cut$1, f as fuse$1, i as intersect$1, s as section$1, d as sectionToFace$1, e as slice$1, g as split$1, j as fuseAll, k as cutAll } from "./booleanFns-EsNGs4Zu.js";
|
|
68
|
+
import { l as l6, m as m6, n as n6, o as o6, q as q4, r as r6, t as t8, u as u4, v as v6 } from "./booleanFns-EsNGs4Zu.js";
|
|
69
|
+
import { c as chamferDistAngle, h as heal$1, i as isValid$1 } from "./topology-Cq1j_bp1.js";
|
|
70
|
+
import { a as a8, b as b7, d as d6, e as e5, f as f7, g as g9, j as j4, k as k5, l as l7, m as m7, n as n7, o as o7, p as p5, q as q5, r as r7, s as s4, t as t9, u as u5, v as v7, w as w5, x as x6, y as y5, z as z5, A as A6, B as B6, C as C8, D as D6, E as E5, F as F5, G as G4, H as H4, I as I4, J as J2, K as K2, L as L2, M as M3, N as N3, O as O4, P as P3, Q as Q3 } from "./topology-Cq1j_bp1.js";
|
|
71
71
|
import { e as curveIsClosed, d as curveStartPoint, c as curveTangentAt, h as curvePointAt, a as curveEndPoint, i as curveLength } from "./curveFns-DRb_8jyd.js";
|
|
72
72
|
import { j as j5, k as k6, l as l8, f as f8, b as b8, g as g10, m as m8, o as o8 } from "./curveFns-DRb_8jyd.js";
|
|
73
73
|
import { i as iterTopo, e as faceCenter, n as normalAt, j as fromBREP$1, k as innerWires, o as outerWire, g as getSurfaceType } from "./faceFns-Dka8xvYk.js";
|
|
74
74
|
import { l as l9, c as c4, m as m9, d as d7, f as f9, q as q6, r as r8, s as s5, p as p6, t as t10, v as v8, u as u6, h as h6 } from "./faceFns-Dka8xvYk.js";
|
|
75
|
-
import { m as mesh$1, a as meshEdges$1 } from "./meshFns-
|
|
76
|
-
import { c as c5, b as b9, e as e6, d as d8, f as f10 } from "./meshFns-
|
|
75
|
+
import { m as mesh$1, a as meshEdges$1 } from "./meshFns-B1FRGCo4.js";
|
|
76
|
+
import { c as c5, b as b9, e as e6, d as d8, f as f10 } from "./meshFns-B1FRGCo4.js";
|
|
77
77
|
import { m as measureArea, a as measureSurfaceProps, b as measureVolumeProps, c as measureVolume } from "./measurement-9v764TRE.js";
|
|
78
78
|
import { d as d9, e as e7, f as f11, g as g11, h as h7, i as i6 } from "./measurement-9v764TRE.js";
|
|
79
79
|
import { m as makeFace } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
@@ -81,7 +81,7 @@ import { n as n8 } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
|
81
81
|
import { edgeFinder } from "./query.js";
|
|
82
82
|
import { c as makeCylinder } from "./solidBuilders-Bc6kgqJ9.js";
|
|
83
83
|
import { BrepBugError, bug } from "./result.js";
|
|
84
|
-
import { c as c6 } from "./cornerFinder-
|
|
84
|
+
import { c as c6 } from "./cornerFinder-57qxNypG.js";
|
|
85
85
|
import { createOperationRegistry, createTaskQueue, createWorkerClient, createWorkerHandler, dequeueTask, enqueueTask, isDisposeRequest, isErrorResponse, isInitRequest, isOperationRequest, isQueueEmpty, isSuccessResponse, pendingCount, registerHandler, rejectAll } from "./worker.js";
|
|
86
86
|
function supportsProjection(kernel) {
|
|
87
87
|
return "projectShape" in kernel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
2
|
-
import { a as angle2d, s as samePoint, d as distance2d } from "./helpers-
|
|
2
|
+
import { a as angle2d, s as samePoint, d as distance2d } from "./helpers-10HaneKK.js";
|
|
3
3
|
const PI_2 = 2 * Math.PI;
|
|
4
4
|
function positiveHalfAngle(angle) {
|
|
5
5
|
const limitedAngle = angle % PI_2;
|
|
@@ -47,19 +47,19 @@ import { r as unwrap, g as isOk, e as err, y as validationError, o as ok } from
|
|
|
47
47
|
import { r as resolvePlane, b as planeToWorld, d as planeToLocal } from "./vectors-cec8p8NQ.js";
|
|
48
48
|
import { a as toVec3 } from "./types-CWDdqcrq.js";
|
|
49
49
|
import { n as vecScale, j as vecNormalize, v as vecAdd, o as vecSub, b as vecCross, m as vecRotate, R as RAD2DEG, g as vecLength, e as vecEquals, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
50
|
-
import { b as Flatbush, c as convertSvgEllipseParams, d as defaultsSplineOptions, S as Sketch, r as roundedRectangleBlueprint, e as Blueprints, C as CompoundBlueprint, f as cut2D, i as intersectCurves, g as fuse2D, m as make2dOffset, h as filletCurves, j as chamferCurves, o as organiseBlueprints, a as BlueprintSketcher, k as intersect2D, B as BaseSketcher2d, p as polysidesBlueprint } from "./boolean2D-
|
|
50
|
+
import { b as Flatbush, c as convertSvgEllipseParams, d as defaultsSplineOptions, S as Sketch, r as roundedRectangleBlueprint, e as Blueprints, C as CompoundBlueprint, f as cut2D, i as intersectCurves, g as fuse2D, m as make2dOffset, h as filletCurves, j as chamferCurves, o as organiseBlueprints, a as BlueprintSketcher, k as intersect2D, B as BaseSketcher2d, p as polysidesBlueprint } from "./boolean2D-B17ZPZ63.js";
|
|
51
51
|
import { d as downcast, c as cast, e as faceCenter, n as normalAt, o as outerWire } from "./faceFns-Dka8xvYk.js";
|
|
52
52
|
import { c as curveTangentAt, a as curveEndPoint, f as flipOrientation, b as getCurveType, o as offsetWire2D } from "./curveFns-DRb_8jyd.js";
|
|
53
53
|
import { a as makeLine, d as makeThreePointArc, e as makeTangentArc, f as makeEllipseArc, g as makeBezierCurve, b as assembleWire, h as addHolesInFace, m as makeFace, i as makeCircle, j as makeEllipse, c as makeHelix, k as makeBSplineApproximation } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
54
54
|
import { D as DisposalScope, B as getKernel, G as createWire, I as createFace, k as isFace, c as castShape } from "./shapeTypes-ByN4-0Hp.js";
|
|
55
|
-
import { m as mirror, B as Blueprint, C as Curve2D, a as make2dSegmentCurve, b as make2dArcFromCenter, c as approximateAsSvgCompatibleCurve, d as BoundingBox2d, e as edgeToCurve, f as make2dInerpolatedBSplineCurve, g as make2dCircle, h as make2dEllipse, i as deserializeCurve2D } from "./Blueprint-
|
|
55
|
+
import { m as mirror, B as Blueprint, C as Curve2D, a as make2dSegmentCurve, b as make2dArcFromCenter, c as approximateAsSvgCompatibleCurve, d as BoundingBox2d, e as edgeToCurve, f as make2dInerpolatedBSplineCurve, g as make2dCircle, h as make2dEllipse, i as deserializeCurve2D } from "./Blueprint-BWAzjtvF.js";
|
|
56
56
|
import { bug } from "./result.js";
|
|
57
|
-
import { d as distance2d, p as polarAngle2d, f as polarToCartesian, P as PRECISION_OFFSET, h as squareDistance2d, s as samePoint$1, e as subtract2d, c as add2d } from "./helpers-
|
|
58
|
-
import { d as getEdges } from "./shapeFns-
|
|
57
|
+
import { d as distance2d, p as polarAngle2d, f as polarToCartesian, P as PRECISION_OFFSET, h as squareDistance2d, s as samePoint$1, e as subtract2d, c as add2d } from "./helpers-10HaneKK.js";
|
|
58
|
+
import { d as getEdges } from "./shapeFns-Dim8UTHh.js";
|
|
59
59
|
import { a as makeCompound, b as makeSolid } from "./solidBuilders-Bc6kgqJ9.js";
|
|
60
60
|
import { b as basicFaceExtrusion, r as revolution, c as complexExtrude, t as twistExtrude } from "./loft-DTFP5fVL.js";
|
|
61
61
|
import opentype from "opentype.js";
|
|
62
|
-
import { c as cornerFinder } from "./cornerFinder-
|
|
62
|
+
import { c as cornerFinder } from "./cornerFinder-57qxNypG.js";
|
|
63
63
|
const stitchCurves = (curves, precision = 1e-7) => {
|
|
64
64
|
const startPoints = new Flatbush(curves.length);
|
|
65
65
|
curves.forEach((c) => {
|
|
@@ -3,7 +3,7 @@ import { r as unwrap, e as err, q as queryError, o as ok } from "./errors-B7kgv0
|
|
|
3
3
|
import { j as vecNormalize, d as vecDot, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
4
4
|
import { i as iterTopo, d as downcast, g as getSurfaceType, n as normalAt } from "./faceFns-Dka8xvYk.js";
|
|
5
5
|
import { m as measureArea } from "./measurement-9v764TRE.js";
|
|
6
|
-
import { f as getHashCode, i as isSameShape } from "./shapeFns-
|
|
6
|
+
import { f as getHashCode, i as isSameShape } from "./shapeFns-Dim8UTHh.js";
|
|
7
7
|
const PRECISION_INTERSECTION = 1e-9;
|
|
8
8
|
const PRECISION_OFFSET = 1e-8;
|
|
9
9
|
const PRECISION_POINT = 1e-6;
|
package/dist/io.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as getKernel, c as castShape } from "./shapeTypes-ByN4-0Hp.js";
|
|
2
2
|
import { e as err, i as ioError, o as ok } from "./errors-B7kgv0cd.js";
|
|
3
|
-
import { e, d, f } from "./meshFns-
|
|
4
|
-
import { B as Blueprint, a as make2dSegmentCurve, l as make2dThreePointArc, r as make2dBezierCurve } from "./Blueprint-
|
|
3
|
+
import { e, d, f } from "./meshFns-B1FRGCo4.js";
|
|
4
|
+
import { B as Blueprint, a as make2dSegmentCurve, l as make2dThreePointArc, r as make2dBezierCurve } from "./Blueprint-BWAzjtvF.js";
|
|
5
5
|
function vec3At(arr, i) {
|
|
6
6
|
const off = i * 3;
|
|
7
7
|
return [arr[off], arr[off + 1], arr[off + 2]];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as getKernel } from "./shapeTypes-ByN4-0Hp.js";
|
|
2
2
|
import { o as ok, e as err, i as ioError } from "./errors-B7kgv0cd.js";
|
|
3
|
-
import { g as getFaceOrigins } from "./shapeFns-
|
|
3
|
+
import { g as getFaceOrigins } from "./shapeFns-Dim8UTHh.js";
|
|
4
4
|
function buildMeshCacheKey(tolerance, angularTolerance, skipNormals, includeUVs = false) {
|
|
5
5
|
return `${tolerance}:${angularTolerance}:${skipNormals}:${includeUVs}`;
|
|
6
6
|
}
|
|
@@ -2,8 +2,8 @@ import { B as getKernel, d as createKernelHandle, c as castShape, p as isShape3D
|
|
|
2
2
|
import { g as vecLength, v as vecAdd, j as vecNormalize, f as vecIsZero } from "./vecOps-ZDdZWbwT.js";
|
|
3
3
|
import { e as err, y as validationError, r as unwrap, p as typeCastError, o as ok, B as BrepErrorCode, k as kernelError, i as ioError, b as computationError } from "./errors-B7kgv0cd.js";
|
|
4
4
|
import { a as buildLawFromProfile } from "./loft-DTFP5fVL.js";
|
|
5
|
-
import { j as fuseAll } from "./booleanFns-
|
|
6
|
-
import { t as toBREP } from "./shapeFns-
|
|
5
|
+
import { j as fuseAll } from "./booleanFns-EsNGs4Zu.js";
|
|
6
|
+
import { t as toBREP } from "./shapeFns-Dim8UTHh.js";
|
|
7
7
|
import { j as fromBREP } from "./faceFns-Dka8xvYk.js";
|
|
8
8
|
function uuidv() {
|
|
9
9
|
return (String([1e7]) + String(-1e3) + String(-4e3) + String(-8e3) + String(-1e11)).replace(
|
|
@@ -3,7 +3,7 @@ const shapeTypes = require("./shapeTypes-BQGbhdgi.cjs");
|
|
|
3
3
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
4
4
|
const errors = require("./errors-9fDehDNc.cjs");
|
|
5
5
|
const loft = require("./loft-BDnb8toT.cjs");
|
|
6
|
-
const booleanFns = require("./booleanFns-
|
|
6
|
+
const booleanFns = require("./booleanFns-DQj7i7qb.cjs");
|
|
7
7
|
const shapeFns = require("./shapeFns-ZbzAD8yC.cjs");
|
|
8
8
|
const faceFns = require("./faceFns-Cfvj4nxx.cjs");
|
|
9
9
|
function uuidv() {
|
package/dist/operations.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const operations = require("./operations-
|
|
3
|
+
const operations = require("./operations-CLaaoj2N.cjs");
|
|
4
4
|
const loft = require("./loft-BDnb8toT.cjs");
|
|
5
5
|
exports.addChild = operations.addChild;
|
|
6
6
|
exports.addStep = operations.addStep;
|
package/dist/operations.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a, b, c, d, f, g, h, i, j, k, n, o, p, q, H, l, t, u, v, x, y, z, B, C, D, s, E, F, G, w } from "./operations-
|
|
1
|
+
import { a, b, c, d, f, g, h, i, j, k, n, o, p, q, H, l, t, u, v, x, y, z, B, C, D, s, E, F, G, w } from "./operations-C0597E2p.js";
|
|
2
2
|
import { b as b2, g as g2, l as l2, r } from "./loft-DTFP5fVL.js";
|
|
3
3
|
export {
|
|
4
4
|
a as addChild,
|
package/dist/query.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as createTypedFinder, n as distanceFromPointFilter, o as resolveDir } from "./helpers-
|
|
2
|
-
import { m, g } from "./helpers-
|
|
3
|
-
import { c } from "./cornerFinder-
|
|
1
|
+
import { l as createTypedFinder, n as distanceFromPointFilter, o as resolveDir } from "./helpers-10HaneKK.js";
|
|
2
|
+
import { m, g } from "./helpers-10HaneKK.js";
|
|
3
|
+
import { c } from "./cornerFinder-57qxNypG.js";
|
|
4
4
|
import { B as getKernel } from "./shapeTypes-ByN4-0Hp.js";
|
|
5
5
|
import { j as vecNormalize, d as vecDot, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
6
6
|
import { b as getCurveType, i as curveLength } from "./curveFns-DRb_8jyd.js";
|
|
@@ -437,7 +437,7 @@ export {
|
|
|
437
437
|
resize as C,
|
|
438
438
|
setShapeOrigin as D,
|
|
439
439
|
getFaces as a,
|
|
440
|
-
|
|
440
|
+
propagateOriginsFromEvolution as b,
|
|
441
441
|
getWires as c,
|
|
442
442
|
getEdges as d,
|
|
443
443
|
getVertices as e,
|
|
@@ -451,7 +451,7 @@ export {
|
|
|
451
451
|
isEmpty as m,
|
|
452
452
|
mirror as n,
|
|
453
453
|
simplify as o,
|
|
454
|
-
|
|
454
|
+
propagateOriginsByHash as p,
|
|
455
455
|
transformCopy as q,
|
|
456
456
|
rotate as r,
|
|
457
457
|
scale as s,
|
package/dist/sketching.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C, D, a, S, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W } from "./drawFns-
|
|
2
|
-
import { B as B2, a as a2, F as F2, S as S2 } from "./boolean2D-
|
|
1
|
+
import { C, D, a, S, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W } from "./drawFns-DWTCgzlb.js";
|
|
2
|
+
import { B as B2, a as a2, F as F2, S as S2 } from "./boolean2D-B17ZPZ63.js";
|
|
3
3
|
export {
|
|
4
4
|
B2 as BaseSketcher2d,
|
|
5
5
|
a2 as BlueprintSketcher,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booleanFns.d.ts","sourceRoot":"","sources":["../../src/topology/booleanFns.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACV,QAAQ,EAER,SAAS,EACT,YAAY,EACZ,OAAO,EAER,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,KAAK,MAAM,EAAkB,MAAM,mBAAmB,CAAC;AAGhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAkCxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"booleanFns.d.ts","sourceRoot":"","sources":["../../src/topology/booleanFns.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACV,QAAQ,EAER,SAAS,EACT,YAAY,EACZ,OAAO,EAER,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,KAAK,MAAM,EAAkB,MAAM,mBAAmB,CAAC;AAGhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAkCxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,CAAC;AAqD/B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAClB,CAAC,EAAE,OAAO,EACV,CAAC,EAAE,OAAO,EACV,EAAE,YAAqB,EAAE,QAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,GAAE,cAAmB,GACnF,MAAM,CAAC,OAAO,CAAC,CAqBjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,EACb,IAAI,EAAE,OAAO,EACb,EAAE,YAAqB,EAAE,QAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,GAAE,cAAmB,GACnF,MAAM,CAAC,OAAO,CAAC,CAqBjB;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,CAAC,EAAE,OAAO,EACV,CAAC,EAAE,OAAO,EACV,EAAE,QAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,GAAE,cAAmB,GAC5D,MAAM,CAAC,OAAO,CAAC,CAyBjB;AAiED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CACrB,MAAM,EAAE,OAAO,EAAE,EACjB,EACE,YAAqB,EACrB,QAAgB,EAChB,QAAmB,EACnB,MAAM,EACN,UAAU,GACX,GAAE,cAAmB,GACrB,MAAM,CAAC,OAAO,CAAC,CA0CjB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,OAAO,EAAE,EAChB,EAAE,YAAqB,EAAE,QAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,GAAE,cAAmB,GACnF,MAAM,CAAC,OAAO,CAAC,CAuBjB;AA2CD;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CACrB,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAC1B,KAAK,EAAE,UAAU,EACjB,EAAE,aAAoB,EAAE,SAAe,EAAE,GAAE;IAAE,aAAa,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAO,GAC9F,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAyB7B;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAC1B,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE;IAAE,aAAa,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAO,GAC5D,MAAM,CAAC,YAAY,CAAC,CAsGtB;AAMD;;;GAGG;AACH,wBAAgB,KAAK,CACnB,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAC1B,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,GAC3B,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAiC7B;AAMD;;;GAGG;AACH,wBAAgB,KAAK,CACnB,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,EAC1B,MAAM,EAAE,UAAU,EAAE,EACpB,OAAO,GAAE;IAAE,aAAa,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAO,GAC5D,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAQ/B"}
|
|
@@ -5,7 +5,7 @@ const shapeTypes = require("./shapeTypes-BQGbhdgi.cjs");
|
|
|
5
5
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
6
6
|
const surfaceBuilders = require("./surfaceBuilders-CXarnCh8.cjs");
|
|
7
7
|
const solidBuilders = require("./solidBuilders-CYEEZgiP.cjs");
|
|
8
|
-
require("./booleanFns-
|
|
8
|
+
require("./booleanFns-DQj7i7qb.cjs");
|
|
9
9
|
const faceFns = require("./faceFns-Cfvj4nxx.cjs");
|
|
10
10
|
require("./curveFns-BN9bWCIl.cjs");
|
|
11
11
|
require("./meshFns-xWim4bEU.cjs");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as getWires, a as getFaces, u as translate } from "./shapeFns-
|
|
1
|
+
import { c as getWires, a as getFaces, u as translate } from "./shapeFns-Dim8UTHh.js";
|
|
2
2
|
import { e as err, y as validationError, k as kernelError, d as isErr, p as typeCastError, o as ok, r as unwrap, g as isOk, B as BrepErrorCode, a as andThen } from "./errors-B7kgv0cd.js";
|
|
3
3
|
import { B as getKernel, c as castShape, p as isShape3D, r as isSolid, k as isFace, u as isWire, F as createSolid, f as isClosedWire } from "./shapeTypes-ByN4-0Hp.js";
|
|
4
4
|
import { H as HASH_CODE_MAX, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
5
5
|
import { h as addHolesInFace, g as makeBezierCurve, k as makeBSplineApproximation, i as makeCircle, j as makeEllipse, f as makeEllipseArc, m as makeFace, o as makeNonPlanarFace, c as makeHelix, a as makeLine, p as makePolygon, l as makeNewFaceWithinFace, e as makeTangentArc, d as makeThreePointArc, b as assembleWire } from "./surfaceBuilders-Bdn7iqv5.js";
|
|
6
6
|
import { a as makeCompound, d as makeCone, c as makeCylinder, e as makeEllipsoid, f as makeOffset, w as weldShellsAndFaces, b as makeSolid, g as makeSphere, h as makeTorus, m as makeVertex } from "./solidBuilders-Bc6kgqJ9.js";
|
|
7
|
-
import "./booleanFns-
|
|
7
|
+
import "./booleanFns-EsNGs4Zu.js";
|
|
8
8
|
import { d as downcast } from "./faceFns-Dka8xvYk.js";
|
|
9
9
|
import "./curveFns-DRb_8jyd.js";
|
|
10
|
-
import "./meshFns-
|
|
10
|
+
import "./meshFns-B1FRGCo4.js";
|
|
11
11
|
function toBufferGeometryData(mesh) {
|
|
12
12
|
return {
|
|
13
13
|
position: mesh.vertices,
|
package/dist/topology.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const shapeFns = require("./shapeFns-ZbzAD8yC.cjs");
|
|
4
|
-
const topology = require("./topology-
|
|
5
|
-
const booleanFns = require("./booleanFns-
|
|
4
|
+
const topology = require("./topology-CPYjaISY.cjs");
|
|
5
|
+
const booleanFns = require("./booleanFns-DQj7i7qb.cjs");
|
|
6
6
|
const curveFns = require("./curveFns-BN9bWCIl.cjs");
|
|
7
7
|
const faceFns = require("./faceFns-Cfvj4nxx.cjs");
|
|
8
8
|
const meshFns = require("./meshFns-xWim4bEU.cjs");
|
package/dist/topology.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h, d, a, f, e, c, x, i, y, z, A, B, v } from "./shapeFns-
|
|
2
|
-
import { a as a2, b, d as d2, e as e2, f as f2, g, c as c2, j, k, l, m, n, o, p, q, r, s, t, u, v as v2, w, x as x2, y as y2, z as z2, A as A2, B as B2, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q } from "./topology-
|
|
3
|
-
import { k as k2, j as j2 } from "./booleanFns-
|
|
1
|
+
import { h, d, a, f, e, c, x, i, y, z, A, B, v } from "./shapeFns-Dim8UTHh.js";
|
|
2
|
+
import { a as a2, b, d as d2, e as e2, f as f2, g, c as c2, j, k, l, m, n, o, p, q, r, s, t, u, v as v2, w, x as x2, y as y2, z as z2, A as A2, B as B2, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q } from "./topology-Cq1j_bp1.js";
|
|
3
|
+
import { k as k2, j as j2 } from "./booleanFns-EsNGs4Zu.js";
|
|
4
4
|
import { j as j3, a as a3, e as e3, k as k3, i as i2, l as l2, h as h2, d as d3, c as c3, f as f3, b as b2, g as g2, m as m2, o as o2 } from "./curveFns-DRb_8jyd.js";
|
|
5
5
|
import { l as l3, c as c4, m as m3, j as j4, d as d4, e as e4, f as f4, q as q2, r as r2, g as g3, k as k4, s as s2, i as i3, n as n2, o as o3, p as p2, t as t2, v as v3, u as u2, h as h3 } from "./faceFns-Dka8xvYk.js";
|
|
6
|
-
import { c as c5, b as b3, e as e5, d as d5, f as f5 } from "./meshFns-
|
|
6
|
+
import { c as c5, b as b3, e as e5, d as d5, f as f5 } from "./meshFns-B1FRGCo4.js";
|
|
7
7
|
export {
|
|
8
8
|
a2 as addHoles,
|
|
9
9
|
b as adjacentFaces,
|