brepjs 18.119.0 → 18.119.2
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-CUFf2tRu.js → adjacencyFns-BdM5p58J.js} +2 -2
- package/dist/{adjacencyFns-y48qfoSJ.cjs → adjacencyFns-Brrc7jlS.cjs} +2 -2
- package/dist/{blueprint-sEiMTO6b.js → blueprint-DJJo8WkI.js} +5 -5
- package/dist/{blueprint-DmbWJqGH.cjs → blueprint-DTNT4qYJ.cjs} +5 -5
- package/dist/{blueprintFns-2l6WQaiA.cjs → blueprintFns-2XDZfCxX.cjs} +2 -2
- package/dist/{blueprintFns-B00x9B3d.js → blueprintFns-CcpboZ80.js} +2 -2
- package/dist/{blueprintSketcher-B0--w0ms.cjs → blueprintSketcher-C0EXFVb2.cjs} +3 -3
- package/dist/{blueprintSketcher-Dl65HO9X.js → blueprintSketcher-DDPyypmC.js} +3 -3
- package/dist/{boolean2D-rVisWMVU.js → boolean2D-C_PVz8xT.js} +4 -4
- package/dist/{boolean2D-DUCzYBTW.cjs → boolean2D-Ddfo_dd0.cjs} +4 -4
- package/dist/brepjs.cjs +25 -25
- package/dist/brepjs.js +25 -25
- package/dist/{cameraFns-CHY1Bpfi.cjs → cameraFns-Czr5vABD.cjs} +3 -3
- package/dist/{cameraFns-CspYs7P6.js → cameraFns-D9tdBYLM.js} +3 -3
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-DVFgHVlV.js → cornerFinder-Cqg-Dz74.js} +1 -1
- package/dist/{cornerFinder-Nm7Qt1B5.cjs → cornerFinder-DETRDOMz.cjs} +1 -1
- package/dist/{curveFns-GEdU0r2K.cjs → curveFns-D7utcbnf.cjs} +1 -1
- package/dist/{curveFns-yyB3QmwJ.js → curveFns-RENXKp64.js} +1 -1
- package/dist/{drawFns-BCsTmK-A.js → drawFns-B9HbtAoc.js} +12 -12
- package/dist/{drawFns-1icEtH6h.cjs → drawFns-D9Rf4foW.cjs} +12 -12
- package/dist/{faceFns-D538regr.js → faceFns-CB6uzvOg.js} +2 -2
- package/dist/{faceFns-DDeMMiWW.cjs → faceFns-CPswi9Cm.cjs} +2 -2
- package/dist/{healingFns-DNJeh8v9.js → healingFns-BFTYLiAm.js} +5 -5
- package/dist/{healingFns-fgBZgj_9.cjs → healingFns-bhMxTTqw.cjs} +5 -5
- package/dist/{helpers-B-t-HN_a.js → helpers-BiN4qQZP.js} +6 -6
- package/dist/{helpers-Du76j4Vi.cjs → helpers-Cu4ag5bh.cjs} +6 -6
- package/dist/{importFns-DQUXpfRv.cjs → importFns-DS4J1xLv.cjs} +2 -2
- package/dist/{importFns-Ca5jD096.js → importFns-X8vBhZI2.js} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/meshOps.test.d.ts +1 -0
- package/dist/{loftFns-Bii92046.js → loftFns-BF5X7ltI.js} +1 -1
- package/dist/{loftFns-LCgAh1pe.cjs → loftFns-ChHjzUK-.cjs} +1 -1
- package/dist/{measureFns-k7rf6ka6.cjs → measureFns-B5Zzg1qM.cjs} +3 -3
- package/dist/{measureFns-BJrqkYUs.js → measureFns-CC7HhAH3.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-C6N_kGLT.cjs → meshFns-CaXmWmhe.cjs} +3 -3
- package/dist/{meshFns-vJ3diglE.js → meshFns-D57Fyqyf.js} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-CeN9-EFA.cjs → primitiveFns-CRy_CUVg.cjs} +4 -4
- package/dist/{primitiveFns-DLWUMWq4.js → primitiveFns-DCIH-SBm.js} +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-CxYx9TjR.js → refResolveFns-3bw9-U-e.js} +6 -6
- package/dist/{refResolveFns-Bw78l4fJ.cjs → refResolveFns-BxmgIhQM.cjs} +6 -6
- package/dist/{shapeFns-D0BBI3yY.js → shapeFns-BrHFNLMA.js} +2 -2
- package/dist/{shapeFns-B46P-8hf.cjs → shapeFns-qm9VRo4i.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-BU7SQ1y6.cjs → shapeTypes-Bpsu5KJO.cjs} +12 -3
- package/dist/{shapeTypes-CxF4itPM.js → shapeTypes-CnKFSfDT.js} +12 -3
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-BuMNoLzt.cjs → solidBuilders-Bp7lQW62.cjs} +5 -5
- package/dist/{solidBuilders-BFzmgFl0.js → solidBuilders-I8_V8qqU.js} +5 -5
- package/dist/{surfaceBuilders-BbRikJ0w.js → surfaceBuilders-BNR7yMQO.js} +2 -2
- package/dist/{surfaceBuilders-BtZhuox5.cjs → surfaceBuilders-D8_08oOR.cjs} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-BT2CZxAI.cjs → textBlueprints-B5zcLGvJ.cjs} +7 -7
- package/dist/{textBlueprints-BvRolv7L.js → textBlueprints-igbNvKcd.js} +7 -7
- package/dist/{textMetrics-BzITyHY6.cjs → textMetrics-08fF0QNf.cjs} +1 -1
- package/dist/{textMetrics-CHmQrB6U.js → textMetrics-CJvtpbc3.js} +1 -1
- package/dist/{threadFns-Cw7gzV_Y.cjs → threadFns-Co6vWEWx.cjs} +7 -7
- package/dist/{threadFns-DbxiJ3Is.js → threadFns-CqSMNyTZ.js} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-C5Z8m7Jg.cjs → topologyQueryFns-C3fhJndG.cjs} +1 -1
- package/dist/{topologyQueryFns-D0rXN3v5.js → topologyQueryFns-DNqT88yx.js} +1 -1
- package/package.json +4 -2
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_shapeFns = require("./shapeFns-
|
|
5
|
-
const require_curveFns = require("./curveFns-
|
|
6
|
-
const require_meshFns = require("./meshFns-
|
|
7
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
8
|
-
const require_healingFns = require("./healingFns-
|
|
9
|
-
const require_adjacencyFns = require("./adjacencyFns-
|
|
10
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-C3fhJndG.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-CPswi9Cm.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-qm9VRo4i.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-D7utcbnf.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-CaXmWmhe.cjs");
|
|
7
|
+
const require_solidBuilders = require("./solidBuilders-Bp7lQW62.cjs");
|
|
8
|
+
const require_healingFns = require("./healingFns-bhMxTTqw.cjs");
|
|
9
|
+
const require_adjacencyFns = require("./adjacencyFns-Brrc7jlS.cjs");
|
|
10
|
+
const require_primitiveFns = require("./primitiveFns-CRy_CUVg.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 { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-
|
|
4
|
-
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-
|
|
5
|
-
import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-
|
|
6
|
-
import { h as fuseAll, p as cutAll } from "./solidBuilders-
|
|
7
|
-
import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-
|
|
8
|
-
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-
|
|
9
|
-
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-
|
|
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-DNqT88yx.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-CB6uzvOg.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-BrHFNLMA.js";
|
|
4
|
+
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-RENXKp64.js";
|
|
5
|
+
import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-D57Fyqyf.js";
|
|
6
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-I8_V8qqU.js";
|
|
7
|
+
import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-BFTYLiAm.js";
|
|
8
|
+
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-BdM5p58J.js";
|
|
9
|
+
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-DCIH-SBm.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-Bpsu5KJO.cjs");
|
|
2
2
|
const require_errors = require("./errors-CJU8CHng.cjs");
|
|
3
3
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
4
4
|
//#region src/core/kernelCall.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as DisposalScope, it as getKernel, n as castResultShape, nt as _usingCtx, r as castResultShapeWithKnownType, z as getOrQueryType } from "./shapeTypes-
|
|
1
|
+
import { W as DisposalScope, it as getKernel, n as castResultShape, nt as _usingCtx, r as castResultShapeWithKnownType, z as getOrQueryType } from "./shapeTypes-CnKFSfDT.js";
|
|
2
2
|
import { O as ok, f as getSuggestionForCode, p as translateKernelError, v as err } from "./errors-B3CDG537.js";
|
|
3
3
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
4
4
|
//#region src/core/kernelCall.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "18.119.
|
|
3
|
+
"version": "18.119.2",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -256,6 +256,8 @@
|
|
|
256
256
|
"devDependencies": {
|
|
257
257
|
"@commitlint/cli": "21.2.1",
|
|
258
258
|
"@commitlint/config-conventional": "21.2.0",
|
|
259
|
+
"@emnapi/core": "1.11.2",
|
|
260
|
+
"@emnapi/runtime": "1.11.2",
|
|
259
261
|
"@eslint/js": "10.0.1",
|
|
260
262
|
"@size-limit/file": "12.1.0",
|
|
261
263
|
"@types/opentype.js": "1.3.9",
|
|
@@ -309,7 +311,7 @@
|
|
|
309
311
|
},
|
|
310
312
|
"overrides": {
|
|
311
313
|
"dompurify": "^3.4.11",
|
|
312
|
-
"brace-expansion": "^5.0.
|
|
314
|
+
"brace-expansion": "^5.0.7",
|
|
313
315
|
"esbuild@<0.25.0": "^0.25.0",
|
|
314
316
|
"esbuild@>=0.26.0 <0.28.1": "^0.28.1",
|
|
315
317
|
"js-yaml": "^4.2.0",
|