brepjs 20.1.4 → 20.1.5
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-A1SikG3N.js → adjacencyFns-BKNCTFyz.js} +2 -2
- package/dist/{adjacencyFns-C_ZNyZRx.cjs → adjacencyFns-BrfM5HuO.cjs} +2 -2
- package/dist/{blueprint-CAg8eRRu.js → blueprint-DQaebcah.js} +5 -5
- package/dist/{blueprint-BsaJ4TJW.cjs → blueprint-cDEPhHO0.cjs} +5 -5
- package/dist/{blueprintFns-CCVf2Yat.cjs → blueprintFns-41EvpjiC.cjs} +2 -2
- package/dist/{blueprintFns-BRXgJCA2.js → blueprintFns-DdIWHIxE.js} +2 -2
- package/dist/{blueprintSketcher-CNbOLihr.js → blueprintSketcher-BnVu9r7p.js} +3 -3
- package/dist/{blueprintSketcher-DobJgYX3.cjs → blueprintSketcher-DX8NeWqA.cjs} +3 -3
- package/dist/{boolean2D-CB3xwM21.cjs → boolean2D-B0jPhKO1.cjs} +4 -4
- package/dist/{boolean2D-C-TdmZUJ.js → boolean2D-Dp7Bjzvc.js} +4 -4
- package/dist/brepjs.cjs +28 -28
- package/dist/brepjs.js +28 -28
- package/dist/{cameraFns-CdtviYur.js → cameraFns-CcgzxZ-9.js} +3 -3
- package/dist/{cameraFns-BSHErz3i.cjs → cameraFns-DUKz-5_d.cjs} +3 -3
- package/dist/core.cjs +2 -2
- package/dist/core.js +2 -2
- package/dist/{cornerFinder-BdK6e9T-.cjs → cornerFinder-B-eLajMt.cjs} +1 -1
- package/dist/{cornerFinder-DCXsZzIe.js → cornerFinder-D589drKe.js} +1 -1
- package/dist/{curveFns-BXGE1xHa.cjs → curveFns-D-hc0_6t.cjs} +1 -1
- package/dist/{curveFns-D_xfC1HQ.js → curveFns-Q-tL9uNq.js} +1 -1
- package/dist/{drawFns-B9JThnjT.cjs → drawFns-BGW37YtA.cjs} +12 -12
- package/dist/{drawFns-CIfCWrWw.js → drawFns-CrBzPDfw.js} +12 -12
- package/dist/{faceFns-CwweiLRC.js → faceFns-DQ51W4Eg.js} +2 -2
- package/dist/{faceFns-CGXvMjno.cjs → faceFns-iyZwpUFe.cjs} +2 -2
- package/dist/{healingFns-D8_IZ8LC.cjs → healingFns-DlyPwsRq.cjs} +4 -4
- package/dist/{healingFns-DVH0JBpC.js → healingFns-DxEg4twQ.js} +4 -4
- package/dist/{helpers-BjKe6-M-.cjs → helpers-DzuHzyWn.cjs} +6 -6
- package/dist/{helpers-jV94RJf1.js → helpers-Hna44lMW.js} +6 -6
- package/dist/{importFns-C0WKTbbQ.cjs → importFns-BygnKmG8.cjs} +2 -2
- package/dist/{importFns-8OY0H66Q.js → importFns-CzX0LzER.js} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/{loftFns-CS0JYNr4.js → loftFns-Bo6ngjcA.js} +1 -1
- package/dist/{loftFns-B3aEz87L.cjs → loftFns-DfF8LMRm.cjs} +1 -1
- package/dist/{measureFns-CyU-fOaZ.cjs → measureFns-Czv8iOd1.cjs} +3 -3
- package/dist/{measureFns-LkW9r9Dm.js → measureFns-DnZsoSsE.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-vO9xsIlB.cjs → meshFns-82W7072d.cjs} +3 -3
- package/dist/{meshFns-BI_fEj-T.js → meshFns-DegHraku.js} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-BTBemULp.js → originTrackingFns-BbTSRuQj.js} +2 -2
- package/dist/{originTrackingFns-CuCeiMNZ.cjs → originTrackingFns-DP_yN44Z.cjs} +2 -2
- package/dist/{primitiveFns-CfxGT0nf.js → primitiveFns-D1ayK5yN.js} +4 -4
- package/dist/{primitiveFns-DSUL72Md.cjs → primitiveFns-_Kid-gYL.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-BleIGUVN.cjs → refResolveFns-BL_6tDQG.cjs} +6 -6
- package/dist/{refResolveFns-BuS72b11.js → refResolveFns-BujrL8at.js} +6 -6
- package/dist/{shapeFns-BsuUPJR3.cjs → shapeFns-SdMLvQ7n.cjs} +2 -2
- package/dist/{shapeFns-DTZ96dTc.js → shapeFns-sbLSffyZ.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-CACpB7r3.cjs → shapeTypes-BWsKDxzf.cjs} +7 -5
- package/dist/{shapeTypes-CEFHrXNb.js → shapeTypes-DVpJHhgk.js} +7 -5
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-De11-Gp-.js → solidBuilders-BmUEjbhs.js} +5 -5
- package/dist/{solidBuilders-BdKU5bQ9.cjs → solidBuilders-CZdfdC4S.cjs} +5 -5
- package/dist/{surfaceBuilders-BaVNAtRf.cjs → surfaceBuilders-BujH-WLG.cjs} +3 -3
- package/dist/{surfaceBuilders-QGhgel6X.js → surfaceBuilders-DW56oYUA.js} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-BHOADZSh.cjs → textBlueprints-BaRZlz2x.cjs} +7 -7
- package/dist/{textBlueprints-B_yfJn3S.js → textBlueprints-BlTo-FeX.js} +7 -7
- package/dist/{textMetrics-DHWYuTUK.cjs → textMetrics-C6AkkXLu.cjs} +1 -1
- package/dist/{textMetrics-C4I5t9jZ.js → textMetrics-KJFOH0hq.js} +1 -1
- package/dist/{threadFns-BVwQUwRJ.js → threadFns-CRq0YEAj.js} +7 -7
- package/dist/{threadFns-P682L-Kg.cjs → threadFns-D-Qy8nQN.cjs} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-CFfTw0pA.js → topologyQueryFns-C8Dv3AdW.js} +1 -1
- package/dist/{topologyQueryFns-Cp390rTF.cjs → topologyQueryFns-DbQBANFg.cjs} +1 -1
- package/dist/{validityTypes-DtfxKjGs.cjs → validityTypes-4nhcQAdO.cjs} +1 -1
- package/dist/{validityTypes-Biiyb5lR.js → validityTypes-D6M4CiEI.js} +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-
|
|
1
|
+
import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-DVpJHhgk.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-DQ51W4Eg.js";
|
|
5
|
+
import { h as fuseAll } from "./solidBuilders-BmUEjbhs.js";
|
|
6
|
+
import { E as wire, h as line } from "./primitiveFns-D1ayK5yN.js";
|
|
7
|
+
import { s as toBREP } from "./shapeFns-sbLSffyZ.js";
|
|
8
|
+
import { t as loft } from "./loftFns-Bo6ngjcA.js";
|
|
9
|
+
import { c as resolveRefParams } from "./refResolveFns-BujrL8at.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-BWsKDxzf.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-iyZwpUFe.cjs");
|
|
5
|
+
const require_solidBuilders = require("./solidBuilders-CZdfdC4S.cjs");
|
|
6
|
+
const require_primitiveFns = require("./primitiveFns-_Kid-gYL.cjs");
|
|
7
|
+
const require_shapeFns = require("./shapeFns-SdMLvQ7n.cjs");
|
|
8
|
+
const require_loftFns = require("./loftFns-DfF8LMRm.cjs");
|
|
9
|
+
const require_refResolveFns = require("./refResolveFns-BL_6tDQG.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-DbQBANFg.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-iyZwpUFe.cjs");
|
|
4
|
+
const require_solidBuilders = require("./solidBuilders-CZdfdC4S.cjs");
|
|
5
|
+
const require_primitiveFns = require("./primitiveFns-_Kid-gYL.cjs");
|
|
6
|
+
const require_shapeFns = require("./shapeFns-SdMLvQ7n.cjs");
|
|
7
|
+
const require_curveFns = require("./curveFns-D-hc0_6t.cjs");
|
|
8
|
+
const require_meshFns = require("./meshFns-82W7072d.cjs");
|
|
9
|
+
const require_healingFns = require("./healingFns-DlyPwsRq.cjs");
|
|
10
|
+
const require_adjacencyFns = require("./adjacencyFns-BrfM5HuO.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-C8Dv3AdW.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-DQ51W4Eg.js";
|
|
3
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-BmUEjbhs.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-D1ayK5yN.js";
|
|
5
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-sbLSffyZ.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-Q-tL9uNq.js";
|
|
7
|
+
import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-DegHraku.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-DxEg4twQ.js";
|
|
9
|
+
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-BKNCTFyz.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
|
-
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-DVpJHhgk.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-BWsKDxzf.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
|