brepjs 19.0.5 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2d.cjs +6 -6
- package/dist/2d.js +6 -6
- package/dist/{adjacencyFns-CZ8tOKo6.cjs → adjacencyFns-Cdat1ofi.cjs} +2 -2
- package/dist/{adjacencyFns-BFgzaWom.js → adjacencyFns-DkWknlaR.js} +2 -2
- package/dist/{blueprint-CuE8oS8o.js → blueprint-22kW0ICa.js} +5 -5
- package/dist/{blueprint-Pd5C9eyi.cjs → blueprint-DOwwe5gw.cjs} +5 -5
- package/dist/{blueprintFns-DeK5m2Dd.js → blueprintFns-Bwi75Szr.js} +2 -2
- package/dist/{blueprintFns-Jt8aabnr.cjs → blueprintFns-DRTfqZsZ.cjs} +2 -2
- package/dist/{blueprintSketcher-BbbIIw68.cjs → blueprintSketcher-CxxS52ZI.cjs} +3 -3
- package/dist/{blueprintSketcher-s1mCyP4C.js → blueprintSketcher-DW3WMfm2.js} +3 -3
- package/dist/{boolean2D-B5-s6yey.cjs → boolean2D-BYHxSbDH.cjs} +4 -4
- package/dist/{boolean2D-XkF5a9UO.js → boolean2D-DLe9jy53.js} +4 -4
- package/dist/brepjs.cjs +28 -28
- package/dist/brepjs.js +28 -28
- package/dist/{cameraFns-C_aXHOXb.cjs → cameraFns-DCUsH23g.cjs} +3 -3
- package/dist/{cameraFns-C42m8_GN.js → cameraFns-DtaivMYa.js} +3 -3
- package/dist/core.cjs +2 -2
- package/dist/core.js +2 -2
- package/dist/{cornerFinder-B5uO-_nX.js → cornerFinder-B6L3zTOA.js} +1 -1
- package/dist/{cornerFinder-BSHr_G27.cjs → cornerFinder-DIewkspO.cjs} +1 -1
- package/dist/{curveFns-BRhVbssu.cjs → curveFns-1e6j5nXW.cjs} +1 -1
- package/dist/{curveFns-xQNPUc23.js → curveFns-C0zENjCi.js} +1 -1
- package/dist/{drawFns-S-UBDz0z.js → drawFns-BUB7YeKu.js} +12 -12
- package/dist/{drawFns-ByfPdMin.cjs → drawFns-Cu61XWtX.cjs} +12 -12
- package/dist/{faceFns-BbkcUym2.cjs → faceFns-BinRdCKC.cjs} +2 -2
- package/dist/{faceFns-WhbyFezr.js → faceFns-Qo7nIMc6.js} +2 -2
- package/dist/{healingFns-sTD9eRIy.js → healingFns--idy5knW.js} +4 -4
- package/dist/{healingFns-CxWU6nqI.cjs → healingFns-K2mKlcGA.cjs} +4 -4
- package/dist/{helpers-m7uW_dyL.js → helpers-CT29THg0.js} +6 -6
- package/dist/{helpers-HXscoErf.cjs → helpers-CavGK8r0.cjs} +6 -6
- package/dist/{importFns-BUiDmbn7.cjs → importFns-B3-31QaN.cjs} +2 -2
- package/dist/{importFns-C9yuTs04.js → importFns-rCT3bzrO.js} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/{loftFns-BUtmwfSU.cjs → loftFns-BigHFXTf.cjs} +1 -1
- package/dist/{loftFns-oiR_wtVd.js → loftFns-ByrWfSBX.js} +1 -1
- package/dist/{measureFns-B2-vw7XG.js → measureFns-BfkCmmb-.js} +3 -3
- package/dist/{measureFns-BX7yvMB_.cjs → measureFns-CLsw9fTy.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-DFhnm9DB.cjs → meshFns-1SLb656s.cjs} +3 -3
- package/dist/{meshFns-13CekW14.js → meshFns-CkvvMsIk.js} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-DYB8oZOX.js → originTrackingFns-CLSjfAXP.js} +2 -2
- package/dist/{originTrackingFns-B1dazHMg.cjs → originTrackingFns-q7xmSJHd.cjs} +2 -2
- package/dist/{primitiveFns-DjKUrsMr.js → primitiveFns-CQy3iiv_.js} +4 -4
- package/dist/{primitiveFns-BdM2vG17.cjs → primitiveFns-DwuH8FF1.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-IdHk_1vT.cjs → refResolveFns-C16KmO4z.cjs} +6 -6
- package/dist/{refResolveFns-BhN6_Z7B.js → refResolveFns-DjmIp8gz.js} +6 -6
- package/dist/{shapeFns-B2Xg4Xom.js → shapeFns-C3EC8Fqp.js} +2 -2
- package/dist/{shapeFns-D6EjojPG.cjs → shapeFns-KcSNOAAv.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-2oI77VpW.js → shapeTypes-BTaEiG1y.js} +1 -1
- package/dist/{shapeTypes-GoRBg9oo.cjs → shapeTypes-DweqaALJ.cjs} +1 -1
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-Buze6qct.js → solidBuilders-2Ho4kcPL.js} +5 -5
- package/dist/{solidBuilders-BDwUKmVl.cjs → solidBuilders-BeumT5UD.cjs} +5 -5
- package/dist/{surfaceBuilders-DcD6eAJW.js → surfaceBuilders-COaytSqx.js} +3 -3
- package/dist/{surfaceBuilders-rWRvkB_K.cjs → surfaceBuilders-DjhGZZvn.cjs} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-DoePacWO.cjs → textBlueprints-I09VlWfS.cjs} +7 -7
- package/dist/{textBlueprints-lFyk_adY.js → textBlueprints-Twdvzb1E.js} +7 -7
- package/dist/{textMetrics-DemtrM-e.cjs → textMetrics-B8De13Tj.cjs} +1 -1
- package/dist/{textMetrics-CmAlcFpe.js → textMetrics-H5m5OzGy.js} +1 -1
- package/dist/{threadFns-DzoOHczW.cjs → threadFns-CMhXBzUL.cjs} +7 -7
- package/dist/{threadFns-C1EWB5h6.js → threadFns-Wqbi-SRj.js} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-CZAfuhOE.cjs → topologyQueryFns-Cqb0bLW1.cjs} +1 -1
- package/dist/{topologyQueryFns-C2tBjzT8.js → topologyQueryFns-Dsdk7qnz.js} +1 -1
- package/dist/{validityTypes-rPudJ_eg.cjs → validityTypes-9nuI6V2T.cjs} +1 -1
- package/dist/{validityTypes-BAwJuMQB.js → validityTypes-DzFB9IQW.js} +1 -1
- package/package.json +10 -10
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-Cqb0bLW1.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-BinRdCKC.cjs");
|
|
4
|
+
const require_solidBuilders = require("./solidBuilders-BeumT5UD.cjs");
|
|
5
|
+
const require_primitiveFns = require("./primitiveFns-DwuH8FF1.cjs");
|
|
6
|
+
const require_shapeFns = require("./shapeFns-KcSNOAAv.cjs");
|
|
7
|
+
const require_curveFns = require("./curveFns-1e6j5nXW.cjs");
|
|
8
|
+
const require_meshFns = require("./meshFns-1SLb656s.cjs");
|
|
9
|
+
const require_healingFns = require("./healingFns-K2mKlcGA.cjs");
|
|
10
|
+
const require_adjacencyFns = require("./adjacencyFns-Cdat1ofi.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-Dsdk7qnz.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-Qo7nIMc6.js";
|
|
3
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-2Ho4kcPL.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-CQy3iiv_.js";
|
|
5
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-C3EC8Fqp.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-C0zENjCi.js";
|
|
7
|
+
import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CkvvMsIk.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--idy5knW.js";
|
|
9
|
+
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-DkWknlaR.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-DweqaALJ.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-BTaEiG1y.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": "
|
|
3
|
+
"version": "20.0.0",
|
|
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": "13.
|
|
268
|
+
"@size-limit/file": "13.1.1",
|
|
269
269
|
"@types/opentype.js": "1.3.9",
|
|
270
|
-
"@types/react": "19.
|
|
270
|
+
"@types/react": "19.3.0",
|
|
271
271
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
272
|
-
"@vitest/coverage-v8": "
|
|
272
|
+
"@vitest/coverage-v8": "5.0.0",
|
|
273
273
|
"brepjs-opencascade": "*",
|
|
274
274
|
"brepkit-wasm": "3.4.0",
|
|
275
275
|
"eslint": "10.10.0",
|
|
276
|
-
"fast-check": "4.
|
|
276
|
+
"fast-check": "4.10.0",
|
|
277
277
|
"husky": "9.1.7",
|
|
278
278
|
"knip": "6.27.0",
|
|
279
|
-
"lint-staged": "17.5.
|
|
279
|
+
"lint-staged": "17.5.1",
|
|
280
280
|
"lz-string": "1.5.0",
|
|
281
281
|
"occt-wasm": "5.0.0",
|
|
282
282
|
"prettier": "3.9.6",
|
|
283
283
|
"puppeteer": "25.10.0",
|
|
284
|
-
"size-limit": "13.
|
|
284
|
+
"size-limit": "13.1.1",
|
|
285
285
|
"sucrase": "3.35.1",
|
|
286
286
|
"tsx": "4.23.13",
|
|
287
287
|
"typedoc": "0.28.20",
|
|
288
288
|
"typescript": "6.0.3",
|
|
289
|
-
"typescript-eslint": "8.
|
|
290
|
-
"vite": "8.
|
|
289
|
+
"typescript-eslint": "8.70.0",
|
|
290
|
+
"vite": "8.3.0",
|
|
291
291
|
"vite-plugin-dts": "5.1.0",
|
|
292
|
-
"vitest": "
|
|
292
|
+
"vitest": "5.0.0"
|
|
293
293
|
},
|
|
294
294
|
"peerDependencies": {
|
|
295
295
|
"brepjs-manifold": "^0.1.0",
|