brepjs 20.1.1 → 20.1.3
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-Dz4mndX8.cjs → adjacencyFns-CP2OX1wX.cjs} +3 -3
- package/dist/{adjacencyFns-DL8zlKsT.js → adjacencyFns-CQbGZ_2h.js} +3 -3
- package/dist/{blueprint-BUw5s4zK.js → blueprint-BYuKXzzD.js} +5 -5
- package/dist/{blueprint-Byjgf8ZZ.cjs → blueprint-_txOm7TL.cjs} +5 -5
- package/dist/{blueprintFns-ZlR91XxW.cjs → blueprintFns-B-9bOOcx.cjs} +2 -2
- package/dist/{blueprintFns-DzrcvK_5.js → blueprintFns-D6o4nmi0.js} +2 -2
- package/dist/{blueprintSketcher-BIBW1mjP.js → blueprintSketcher-CTYqcxF3.js} +3 -3
- package/dist/{blueprintSketcher-BaBrH0se.cjs → blueprintSketcher-CfQ4pYrf.cjs} +3 -3
- package/dist/{boolean2D-DwEwP9gs.js → boolean2D-Bi_wd9ni.js} +4 -4
- package/dist/{boolean2D-BQQqAFL8.cjs → boolean2D-jm7siiyd.cjs} +4 -4
- package/dist/brepjs.cjs +29 -29
- package/dist/brepjs.js +29 -29
- package/dist/{cameraFns-XMahh4KH.js → cameraFns-Cg-IlB_i.js} +3 -3
- package/dist/{cameraFns-DlOn_9F1.cjs → cameraFns-DC-D-2Nj.cjs} +3 -3
- package/dist/core.cjs +2 -2
- package/dist/core.js +2 -2
- package/dist/{cornerFinder-DMBWfdT3.cjs → cornerFinder-DDIemdb_.cjs} +1 -1
- package/dist/{cornerFinder-DfjfvZFM.js → cornerFinder-G9xscVA8.js} +1 -1
- package/dist/{curveFns-BIR6kZBw.js → curveFns-BBt0SKrW.js} +1 -1
- package/dist/{curveFns-DsssoGU5.cjs → curveFns-Cq9dnU5h.cjs} +1 -1
- package/dist/{drawFns-DBXKEtny.js → drawFns-B7TZp--v.js} +12 -12
- package/dist/{drawFns-YMnkMd5n.cjs → drawFns-wFCClDmo.cjs} +12 -12
- package/dist/{faceFns-BHYqr5B_.cjs → faceFns-BntwAhgy.cjs} +2 -2
- package/dist/{faceFns-D9lNRH2M.js → faceFns-BqGbnP1I.js} +2 -2
- package/dist/{healingFns-BuLaEczN.cjs → healingFns-BDJVHsX9.cjs} +4 -4
- package/dist/{healingFns-hI1wxyxB.js → healingFns-DI8ZIWEx.js} +4 -4
- package/dist/{helpers-BoAdVSY2.js → helpers-BakyQOOb.js} +6 -6
- package/dist/{helpers-BZ-pfkbj.cjs → helpers-nS6yGxVL.cjs} +6 -6
- package/dist/{importFns-DnFgqKYV.cjs → importFns-4uQMraDq.cjs} +2 -2
- package/dist/{importFns-DHZWftaZ.js → importFns-CgFHapBh.js} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/evolutionOps.d.ts +22 -0
- package/dist/kernel/occtWasm/booleanOps.d.ts +8 -6
- package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
- package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
- package/dist/{loftFns-NTOU4TMG.cjs → loftFns-Cz0hiYvm.cjs} +1 -1
- package/dist/{loftFns-D1Ivuct8.js → loftFns-D0MrtUvr.js} +1 -1
- package/dist/{measureFns-Dte-6DE0.js → measureFns-BHkSTDdS.js} +3 -3
- package/dist/{measureFns-PF6nc4D-.cjs → measureFns-BslnipRT.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-BGvpfvJH.cjs → meshFns-2hU8QTZc.cjs} +3 -3
- package/dist/{meshFns-sZAkcSGC.js → meshFns-DFYksePu.js} +3 -3
- package/dist/{occtWasmAdapter-B-azbyqB.js → occtWasmAdapter-D4I0n537.js} +31 -14
- package/dist/{occtWasmAdapter-Crbk3OE3.cjs → occtWasmAdapter-wCKnmevS.cjs} +31 -14
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-vFjerWSc.cjs → originTrackingFns-8N_kXeHM.cjs} +2 -2
- package/dist/{originTrackingFns-BOerZJsE.js → originTrackingFns-oJzy7VBM.js} +2 -2
- package/dist/{primitiveFns-BX7fGnCO.js → primitiveFns-DZ2ngaTC.js} +4 -4
- package/dist/{primitiveFns-Bu-8K5D1.cjs → primitiveFns-DbcOFbos.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-B3CbahSZ.cjs → refResolveFns-B_M_5uXc.cjs} +6 -6
- package/dist/{refResolveFns-VqBMdu5u.js → refResolveFns-D2hMK-N5.js} +6 -6
- package/dist/{shapeFns-D4-BbNIg.js → shapeFns-D7432Duf.js} +2 -2
- package/dist/{shapeFns-Dcmu0-Yd.cjs → shapeFns-sQmmlt3o.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-BduYYutE.js → shapeTypes-CvqVeaBF.js} +7 -7
- package/dist/{shapeTypes-lPNmZAtM.cjs → shapeTypes-F-mWiDNM.cjs} +7 -7
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-CFam3Qds.js → solidBuilders-BtN0SoYt.js} +5 -5
- package/dist/{solidBuilders-K1gsS0t7.cjs → solidBuilders-P5QqU58X.cjs} +5 -5
- package/dist/{surfaceBuilders-D1KiF1_5.js → surfaceBuilders-CPMPPA3X.js} +3 -3
- package/dist/{surfaceBuilders-iF365VJS.cjs → surfaceBuilders-LFqrn_Wg.cjs} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-Ds_YIEiV.js → textBlueprints-DUUEvFW5.js} +7 -7
- package/dist/{textBlueprints-Biphlh0j.cjs → textBlueprints-hlaGJFxM.cjs} +7 -7
- package/dist/{textMetrics-CTdTBdLU.cjs → textMetrics-DUBMeAN5.cjs} +1 -1
- package/dist/{textMetrics-8JNV4t3U.js → textMetrics-lG93PueS.js} +1 -1
- package/dist/{threadFns-BoUrrrXU.cjs → threadFns-DSaO6lQn.cjs} +7 -7
- package/dist/{threadFns-DgQOx5ef.js → threadFns-hV6THl4w.js} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-BIR89zuc.cjs → topologyQueryFns-67PWHI8a.cjs} +1 -1
- package/dist/{topologyQueryFns-DjXQCBom.js → topologyQueryFns-Cg6xYBbL.js} +1 -1
- package/dist/{validityTypes-liYfOZkR.js → validityTypes-2teHsjZJ.js} +1 -1
- package/dist/{validityTypes-BK85734E.cjs → validityTypes-Q3qk10P8.cjs} +1 -1
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as EXACT_BREP_CAPABILITIES, C as serializeCurve2d$2, D as UnsupportedKernelOperationError, E as quickHull, O as isUnsupportedKernelOperationError, S as scaleCurve2d$2, T as translateCurve2d$2, _ as makeEllipse2d$2, a as buildBinarySTL, b as mirrorAtPoint, c as curveBounds, d as evaluateCurve2d$2, f as intersectCurves2dFn, g as makeCircle2d$2, h as makeBezier2d$2, i as buildAsciiSTL, l as curveTypeName, m as makeArc2dThreePoints, n as DEFAULT_STL_ANGULAR_TOLERANCE, o as addCurveToBBox, p as makeArc2dTangent, r as DEFAULT_STL_TOLERANCE, s as createBBox2d, t as OcctWasmAdapter, u as deserializeCurve2d$2, v as makeLine2d$2, w as tangentCurve2d, x as rotateCurve2d$2, y as mirrorAcrossAxis } from "./occtWasmAdapter-
|
|
1
|
+
import { A as EXACT_BREP_CAPABILITIES, C as serializeCurve2d$2, D as UnsupportedKernelOperationError, E as quickHull, O as isUnsupportedKernelOperationError, S as scaleCurve2d$2, T as translateCurve2d$2, _ as makeEllipse2d$2, a as buildBinarySTL, b as mirrorAtPoint, c as curveBounds, d as evaluateCurve2d$2, f as intersectCurves2dFn, g as makeCircle2d$2, h as makeBezier2d$2, i as buildAsciiSTL, l as curveTypeName, m as makeArc2dThreePoints, n as DEFAULT_STL_ANGULAR_TOLERANCE, o as addCurveToBBox, p as makeArc2dTangent, r as DEFAULT_STL_TOLERANCE, s as createBBox2d, t as OcctWasmAdapter, u as deserializeCurve2d$2, v as makeLine2d$2, w as tangentCurve2d, x as rotateCurve2d$2, y as mirrorAcrossAxis } from "./occtWasmAdapter-D4I0n537.js";
|
|
2
2
|
import { i as wasmIndex, r as vec3At } from "./bug-BdOHwn_e.js";
|
|
3
3
|
//#region src/kernel/quality.ts
|
|
4
4
|
/**
|
|
@@ -7982,14 +7982,14 @@ function buildEvolution(bk, resultShape, inputFaceHashes, hashUpperBound, isTran
|
|
|
7982
7982
|
*/
|
|
7983
7983
|
function chainEvolutionMap(map, stepModified, stepDeleted, intermediateOutputs, deleteOnEmpty) {
|
|
7984
7984
|
for (const [origKey, prevOutputs] of map) {
|
|
7985
|
-
const chainedOutputs =
|
|
7985
|
+
const chainedOutputs = /* @__PURE__ */ new Set();
|
|
7986
7986
|
for (const prevOut of prevOutputs) {
|
|
7987
7987
|
intermediateOutputs.add(prevOut);
|
|
7988
7988
|
const nextOutputs = stepModified.get(prevOut);
|
|
7989
|
-
if (nextOutputs) chainedOutputs.
|
|
7990
|
-
else if (!stepDeleted.has(prevOut)) chainedOutputs.
|
|
7989
|
+
if (nextOutputs) for (const next of nextOutputs) chainedOutputs.add(next);
|
|
7990
|
+
else if (!stepDeleted.has(prevOut)) chainedOutputs.add(prevOut);
|
|
7991
7991
|
}
|
|
7992
|
-
if (chainedOutputs.
|
|
7992
|
+
if (chainedOutputs.size > 0) map.set(origKey, [...chainedOutputs]);
|
|
7993
7993
|
else {
|
|
7994
7994
|
map.delete(origKey);
|
|
7995
7995
|
deleteOnEmpty?.add(origKey);
|
|
@@ -8012,7 +8012,7 @@ function mergeCompoundChildStep(result, accum) {
|
|
|
8012
8012
|
for (const [k, v] of result.evolution.generated) {
|
|
8013
8013
|
if (intermediateOutputs.has(k)) continue;
|
|
8014
8014
|
const existing = accum.combinedGenerated.get(k) ?? [];
|
|
8015
|
-
accum.combinedGenerated.set(k, [...existing, ...v]);
|
|
8015
|
+
accum.combinedGenerated.set(k, [.../* @__PURE__ */ new Set([...existing, ...v])]);
|
|
8016
8016
|
}
|
|
8017
8017
|
for (const d of result.evolution.deleted) {
|
|
8018
8018
|
if (!accum.inputFaceHashSet.has(d)) continue;
|
|
@@ -16266,7 +16266,7 @@ async function init() {
|
|
|
16266
16266
|
throw new Error("brepjs: no kernel package found. Install one of:\n npm install occt-wasm (recommended, default)\n npm install brepjs-opencascade\n npm install brepkit-wasm");
|
|
16267
16267
|
}
|
|
16268
16268
|
//#endregion
|
|
16269
|
-
//#region \0@oxc-project+runtime@0.
|
|
16269
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/usingCtx.js
|
|
16270
16270
|
function _usingCtx() {
|
|
16271
16271
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
16272
16272
|
var n = Error();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_occtWasmAdapter = require("./occtWasmAdapter-
|
|
1
|
+
const require_occtWasmAdapter = require("./occtWasmAdapter-wCKnmevS.cjs");
|
|
2
2
|
const require_bug = require("./bug-O02CsAmt.cjs");
|
|
3
3
|
//#region src/kernel/quality.ts
|
|
4
4
|
/**
|
|
@@ -7982,14 +7982,14 @@ function buildEvolution(bk, resultShape, inputFaceHashes, hashUpperBound, isTran
|
|
|
7982
7982
|
*/
|
|
7983
7983
|
function chainEvolutionMap(map, stepModified, stepDeleted, intermediateOutputs, deleteOnEmpty) {
|
|
7984
7984
|
for (const [origKey, prevOutputs] of map) {
|
|
7985
|
-
const chainedOutputs =
|
|
7985
|
+
const chainedOutputs = /* @__PURE__ */ new Set();
|
|
7986
7986
|
for (const prevOut of prevOutputs) {
|
|
7987
7987
|
intermediateOutputs.add(prevOut);
|
|
7988
7988
|
const nextOutputs = stepModified.get(prevOut);
|
|
7989
|
-
if (nextOutputs) chainedOutputs.
|
|
7990
|
-
else if (!stepDeleted.has(prevOut)) chainedOutputs.
|
|
7989
|
+
if (nextOutputs) for (const next of nextOutputs) chainedOutputs.add(next);
|
|
7990
|
+
else if (!stepDeleted.has(prevOut)) chainedOutputs.add(prevOut);
|
|
7991
7991
|
}
|
|
7992
|
-
if (chainedOutputs.
|
|
7992
|
+
if (chainedOutputs.size > 0) map.set(origKey, [...chainedOutputs]);
|
|
7993
7993
|
else {
|
|
7994
7994
|
map.delete(origKey);
|
|
7995
7995
|
deleteOnEmpty?.add(origKey);
|
|
@@ -8012,7 +8012,7 @@ function mergeCompoundChildStep(result, accum) {
|
|
|
8012
8012
|
for (const [k, v] of result.evolution.generated) {
|
|
8013
8013
|
if (intermediateOutputs.has(k)) continue;
|
|
8014
8014
|
const existing = accum.combinedGenerated.get(k) ?? [];
|
|
8015
|
-
accum.combinedGenerated.set(k, [...existing, ...v]);
|
|
8015
|
+
accum.combinedGenerated.set(k, [.../* @__PURE__ */ new Set([...existing, ...v])]);
|
|
8016
8016
|
}
|
|
8017
8017
|
for (const d of result.evolution.deleted) {
|
|
8018
8018
|
if (!accum.inputFaceHashSet.has(d)) continue;
|
|
@@ -16266,7 +16266,7 @@ async function init() {
|
|
|
16266
16266
|
throw new Error("brepjs: no kernel package found. Install one of:\n npm install occt-wasm (recommended, default)\n npm install brepjs-opencascade\n npm install brepkit-wasm");
|
|
16267
16267
|
}
|
|
16268
16268
|
//#endregion
|
|
16269
|
-
//#region \0@oxc-project+runtime@0.
|
|
16269
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/usingCtx.js
|
|
16270
16270
|
function _usingCtx() {
|
|
16271
16271
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
16272
16272
|
var n = Error();
|
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-CfQ4pYrf.cjs");
|
|
3
|
+
const require_drawFns = require("./drawFns-wFCClDmo.cjs");
|
|
4
|
+
const require_textBlueprints = require("./textBlueprints-hlaGJFxM.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-CTYqcxF3.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-B7TZp--v.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-DUUEvFW5.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, D as getShapeKind, E as GeometryCleanupError, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { C as isSolid, D as getShapeKind, E as GeometryCleanupError, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-CvqVeaBF.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-CTn8i3lY.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-Cg6xYBbL.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-CkpMeheg.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-BqGbnP1I.js";
|
|
8
|
+
import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-oJzy7VBM.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-CPMPPA3X.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-F-mWiDNM.cjs");
|
|
2
2
|
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-67PWHI8a.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-CpupTCRM.cjs");
|
|
7
|
-
const require_faceFns = require("./faceFns-
|
|
8
|
-
const require_originTrackingFns = require("./originTrackingFns-
|
|
7
|
+
const require_faceFns = require("./faceFns-BntwAhgy.cjs");
|
|
8
|
+
const require_originTrackingFns = require("./originTrackingFns-8N_kXeHM.cjs");
|
|
9
9
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
10
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
10
|
+
const require_surfaceBuilders = require("./surfaceBuilders-LFqrn_Wg.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 { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-
|
|
1
|
+
import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-CvqVeaBF.js";
|
|
2
2
|
import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-CTn8i3lY.js";
|
|
3
|
-
import { a as isPlanarFace } from "./validityTypes-
|
|
4
|
-
import { _ as cast, u as outerWire } from "./faceFns-
|
|
3
|
+
import { a as isPlanarFace } from "./validityTypes-2teHsjZJ.js";
|
|
4
|
+
import { _ as cast, u as outerWire } from "./faceFns-BqGbnP1I.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-F-mWiDNM.cjs");
|
|
2
2
|
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
-
const require_validityTypes = require("./validityTypes-
|
|
4
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_validityTypes = require("./validityTypes-Q3qk10P8.cjs");
|
|
4
|
+
const require_faceFns = require("./faceFns-BntwAhgy.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-hlaGJFxM.cjs");
|
|
3
|
+
const require_textMetrics = require("./textMetrics-DUBMeAN5.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-DUUEvFW5.js";
|
|
2
|
+
import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-lG93PueS.js";
|
|
3
3
|
export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, q as getKernel, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, q as getKernel, x as isShape3D } from "./shapeTypes-CvqVeaBF.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-CTn8i3lY.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-CkpMeheg.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-BqGbnP1I.js";
|
|
8
|
+
import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-BtN0SoYt.js";
|
|
9
|
+
import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-BBt0SKrW.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-CPMPPA3X.js";
|
|
12
|
+
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-CTYqcxF3.js";
|
|
13
|
+
import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-D0MrtUvr.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-F-mWiDNM.cjs");
|
|
3
3
|
const require_bug = require("./bug-O02CsAmt.cjs");
|
|
4
4
|
const require_errors = require("./errors-DWezb9DI.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-CpupTCRM.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-BntwAhgy.cjs");
|
|
9
|
+
const require_solidBuilders = require("./solidBuilders-P5QqU58X.cjs");
|
|
10
|
+
const require_curveFns = require("./curveFns-Cq9dnU5h.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-LFqrn_Wg.cjs");
|
|
13
|
+
const require_blueprintSketcher = require("./blueprintSketcher-CfQ4pYrf.cjs");
|
|
14
|
+
const require_loftFns = require("./loftFns-Cz0hiYvm.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
|
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
2
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
2
|
+
const require_textBlueprints = require("./textBlueprints-hlaGJFxM.cjs");
|
|
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
|
import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-CTn8i3lY.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-DUUEvFW5.js";
|
|
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
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
|
|
2
2
|
const require_errors = require("./errors-DWezb9DI.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-BntwAhgy.cjs");
|
|
5
|
+
const require_solidBuilders = require("./solidBuilders-P5QqU58X.cjs");
|
|
6
|
+
const require_primitiveFns = require("./primitiveFns-DbcOFbos.cjs");
|
|
7
|
+
const require_shapeFns = require("./shapeFns-sQmmlt3o.cjs");
|
|
8
|
+
const require_loftFns = require("./loftFns-Cz0hiYvm.cjs");
|
|
9
|
+
const require_refResolveFns = require("./refResolveFns-B_M_5uXc.cjs");
|
|
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
|
-
import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CvqVeaBF.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-CTn8i3lY.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-BqGbnP1I.js";
|
|
5
|
+
import { h as fuseAll } from "./solidBuilders-BtN0SoYt.js";
|
|
6
|
+
import { E as wire, h as line } from "./primitiveFns-DZ2ngaTC.js";
|
|
7
|
+
import { s as toBREP } from "./shapeFns-D7432Duf.js";
|
|
8
|
+
import { t as loft } from "./loftFns-D0MrtUvr.js";
|
|
9
|
+
import { c as resolveRefParams } from "./refResolveFns-D2hMK-N5.js";
|
|
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-67PWHI8a.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-BntwAhgy.cjs");
|
|
4
|
+
const require_solidBuilders = require("./solidBuilders-P5QqU58X.cjs");
|
|
5
|
+
const require_primitiveFns = require("./primitiveFns-DbcOFbos.cjs");
|
|
6
|
+
const require_shapeFns = require("./shapeFns-sQmmlt3o.cjs");
|
|
7
|
+
const require_curveFns = require("./curveFns-Cq9dnU5h.cjs");
|
|
8
|
+
const require_meshFns = require("./meshFns-2hU8QTZc.cjs");
|
|
9
|
+
const require_healingFns = require("./healingFns-BDJVHsX9.cjs");
|
|
10
|
+
const require_adjacencyFns = require("./adjacencyFns-CP2OX1wX.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 clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-
|
|
8
|
-
import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-
|
|
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-Cg6xYBbL.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-BqGbnP1I.js";
|
|
3
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-BtN0SoYt.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-DZ2ngaTC.js";
|
|
5
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D7432Duf.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-BBt0SKrW.js";
|
|
7
|
+
import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-DFYksePu.js";
|
|
8
|
+
import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-DI8ZIWEx.js";
|
|
9
|
+
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CQbGZ_2h.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-F-mWiDNM.cjs");
|
|
2
2
|
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
3
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
4
4
|
//#region src/core/kernelErrorTranslation.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-
|
|
1
|
+
import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-CvqVeaBF.js";
|
|
2
2
|
import { E as ok, g as err } from "./errors-CTn8i3lY.js";
|
|
3
3
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
4
4
|
//#region src/core/kernelErrorTranslation.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.3",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -265,31 +265,31 @@
|
|
|
265
265
|
"@emnapi/core": "1.11.3",
|
|
266
266
|
"@emnapi/runtime": "1.11.3",
|
|
267
267
|
"@eslint/js": "10.0.1",
|
|
268
|
-
"@size-limit/file": "
|
|
268
|
+
"@size-limit/file": "14.0.0",
|
|
269
269
|
"@types/opentype.js": "1.3.9",
|
|
270
270
|
"@types/react": "19.3.0",
|
|
271
271
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
272
|
-
"@vitest/coverage-v8": "5.0.
|
|
272
|
+
"@vitest/coverage-v8": "5.0.2",
|
|
273
273
|
"brepjs-opencascade": "*",
|
|
274
|
-
"brepkit-wasm": "3.
|
|
274
|
+
"brepkit-wasm": "3.6.0",
|
|
275
275
|
"eslint": "10.11.0",
|
|
276
276
|
"fast-check": "4.10.2",
|
|
277
277
|
"husky": "9.1.7",
|
|
278
278
|
"knip": "6.27.0",
|
|
279
|
-
"lint-staged": "17.
|
|
279
|
+
"lint-staged": "17.6.0",
|
|
280
280
|
"lz-string": "1.5.0",
|
|
281
281
|
"occt-wasm": "5.6.0",
|
|
282
|
-
"prettier": "3.9.
|
|
283
|
-
"puppeteer": "25.
|
|
284
|
-
"size-limit": "
|
|
282
|
+
"prettier": "3.9.9",
|
|
283
|
+
"puppeteer": "25.12.0",
|
|
284
|
+
"size-limit": "14.0.0",
|
|
285
285
|
"sucrase": "3.35.1",
|
|
286
286
|
"tsx": "4.23.15",
|
|
287
287
|
"typedoc": "0.28.20",
|
|
288
288
|
"typescript": "6.0.3",
|
|
289
|
-
"typescript-eslint": "8.70.
|
|
290
|
-
"vite": "8.3.
|
|
289
|
+
"typescript-eslint": "8.70.1",
|
|
290
|
+
"vite": "8.3.1",
|
|
291
291
|
"vite-plugin-dts": "5.1.1",
|
|
292
|
-
"vitest": "5.0.
|
|
292
|
+
"vitest": "5.0.2"
|
|
293
293
|
},
|
|
294
294
|
"peerDependencies": {
|
|
295
295
|
"brepjs-manifold": "^0.1.0",
|