brepjs 18.164.0 → 18.164.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-DmzCVsNA.cjs → adjacencyFns-BwfvEmcQ.cjs} +2 -2
- package/dist/{adjacencyFns-oMRMitRE.js → adjacencyFns-DvYytSi6.js} +2 -2
- package/dist/{blueprint-Dq3o62cF.js → blueprint-De_1NIvL.js} +5 -5
- package/dist/{blueprint-DT7TQoxE.cjs → blueprint-DrwWyLpF.cjs} +5 -5
- package/dist/{blueprintFns-B74C4tbO.js → blueprintFns-CMJL12NN.js} +2 -2
- package/dist/{blueprintFns-CS4t2ukh.cjs → blueprintFns-Drsn_BwM.cjs} +2 -2
- package/dist/{blueprintSketcher-AtKzjQzf.cjs → blueprintSketcher-4TJDOYi4.cjs} +3 -3
- package/dist/{blueprintSketcher-CEw91ij9.js → blueprintSketcher-BVPo_PXC.js} +3 -3
- package/dist/{boolean2D-CTN9BHhX.js → boolean2D-BKVZV7Qw.js} +4 -4
- package/dist/{boolean2D-C1TN_Tx_.cjs → boolean2D-CfzEFHWx.cjs} +4 -4
- package/dist/brepjs.cjs +28 -28
- package/dist/brepjs.js +28 -28
- package/dist/{cameraFns-By4a7rrk.js → cameraFns-JOFrRrSB.js} +3 -3
- package/dist/{cameraFns-DvwFx7Zy.cjs → cameraFns-bdXEtNRU.cjs} +3 -3
- package/dist/core.cjs +2 -2
- package/dist/core.js +2 -2
- package/dist/{cornerFinder-wCndsp-s.cjs → cornerFinder-Clq3J667.cjs} +1 -1
- package/dist/{cornerFinder-Bt1Ijr7a.js → cornerFinder-CsNx6c9v.js} +1 -1
- package/dist/{curveFns-U6vegvin.js → curveFns-B8MzlHk0.js} +1 -1
- package/dist/{curveFns-DTbY4aYG.cjs → curveFns-CdCtUdJ4.cjs} +1 -1
- package/dist/{drawFns-qbcjiKq-.js → drawFns-DCv0zYTs.js} +12 -12
- package/dist/{drawFns-BxM81HkL.cjs → drawFns-IHowEJB2.cjs} +12 -12
- package/dist/{faceFns-ClDKjey7.cjs → faceFns-CCxaniT2.cjs} +2 -2
- package/dist/{faceFns-D4z1xEh3.js → faceFns-DFSmtFLh.js} +2 -2
- package/dist/{healingFns-CN9ra8Kh.js → healingFns-CZcq-g-n.js} +4 -4
- package/dist/{healingFns-CnRyuMWf.cjs → healingFns-Cxuvi54i.cjs} +4 -4
- package/dist/{helpers-DiOcrJ0A.js → helpers-AkXo1j_Q.js} +6 -6
- package/dist/{helpers-HM_a__7P.cjs → helpers-D-cEv-pl.cjs} +6 -6
- package/dist/{importFns-DjS57JAv.js → importFns-Bn4kj3dX.js} +2 -2
- package/dist/{importFns-cs7Y4qFg.cjs → importFns-CDK---eY.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/{loftFns-CvPetZyA.js → loftFns-DoKqe4ab.js} +1 -1
- package/dist/{loftFns-CzPUAFgL.cjs → loftFns-DsuYYlLP.cjs} +1 -1
- package/dist/{measureFns-DfgTyVBz.js → measureFns-B4tUFMP3.js} +3 -3
- package/dist/{measureFns-Dr0dCH-w.cjs → measureFns-Bx4-E_b0.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-BZNqLhDE.cjs → meshFns-CZXk_FaF.cjs} +3 -3
- package/dist/{meshFns-BTE7WFpU.js → meshFns-DvtffmBJ.js} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-CSsyNoUc.cjs → originTrackingFns-CGZxTHpu.cjs} +2 -2
- package/dist/{originTrackingFns-Cd7Rrp9x.js → originTrackingFns-CrPV6BAg.js} +2 -2
- package/dist/{primitiveFns-BjwF7CHF.cjs → primitiveFns-C_4Qyu1n.cjs} +4 -4
- package/dist/{primitiveFns-B0iLpCEN.js → primitiveFns-Qw00RMg9.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-Bkm7htwc.js → refResolveFns-AOBikNwT.js} +6 -6
- package/dist/{refResolveFns-CTQaQ8Q8.cjs → refResolveFns-D4bbfaX9.cjs} +6 -6
- package/dist/{shapeFns-C3AFMiyv.cjs → shapeFns-DUjU0qe5.cjs} +2 -2
- package/dist/{shapeFns-D0hK1y4m.js → shapeFns-Dfzoou1k.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-JD6SSVwZ.js → shapeTypes-Dws97v0n.js} +1 -1
- package/dist/{shapeTypes-Dq5ylbmP.cjs → shapeTypes-vUF6yWQf.cjs} +1 -1
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-BKSCyfzL.cjs → solidBuilders-CKZE8v-n.cjs} +5 -5
- package/dist/{solidBuilders-BiRBDuvG.js → solidBuilders-K2znhlSj.js} +5 -5
- package/dist/{surfaceBuilders-aSFtcDr6.cjs → surfaceBuilders-CEZaodTC.cjs} +3 -3
- package/dist/{surfaceBuilders-C_oBS19q.js → surfaceBuilders-Da5eXRvz.js} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-BM_HzZ_Z.js → textBlueprints-BaZWs0Yr.js} +7 -7
- package/dist/{textBlueprints-rWPsnXS2.cjs → textBlueprints-DLvh2p6f.cjs} +7 -7
- package/dist/{textMetrics-BS2MIEXH.js → textMetrics-C5hp859Y.js} +1 -1
- package/dist/{textMetrics-CQi7r4K0.cjs → textMetrics-EHMzeJ4l.cjs} +1 -1
- package/dist/{threadFns-BhTaoFLm.cjs → threadFns-CjoiERQs.cjs} +7 -7
- package/dist/{threadFns-B86t62TB.js → threadFns-WZYYCvJw.js} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-K7_UgEws.cjs → topologyQueryFns-DrHcZI0R.cjs} +1 -1
- package/dist/{topologyQueryFns-Dxwm2jN-.js → topologyQueryFns-Y54_bj3M.js} +1 -1
- package/dist/{validityTypes-Det5YWSW.cjs → validityTypes-51-mt64A.cjs} +1 -1
- package/dist/{validityTypes-T6dHSAOb.js → validityTypes-DL-4TcAg.js} +1 -1
- package/package.json +7 -7
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-DrHcZI0R.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-CCxaniT2.cjs");
|
|
4
|
+
const require_solidBuilders = require("./solidBuilders-CKZE8v-n.cjs");
|
|
5
|
+
const require_primitiveFns = require("./primitiveFns-C_4Qyu1n.cjs");
|
|
6
|
+
const require_shapeFns = require("./shapeFns-DUjU0qe5.cjs");
|
|
7
|
+
const require_curveFns = require("./curveFns-CdCtUdJ4.cjs");
|
|
8
|
+
const require_meshFns = require("./meshFns-CZXk_FaF.cjs");
|
|
9
|
+
const require_healingFns = require("./healingFns-Cxuvi54i.cjs");
|
|
10
|
+
const require_adjacencyFns = require("./adjacencyFns-BwfvEmcQ.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-Y54_bj3M.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-DFSmtFLh.js";
|
|
3
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-K2znhlSj.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-Qw00RMg9.js";
|
|
5
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-Dfzoou1k.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-B8MzlHk0.js";
|
|
7
|
+
import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-DvtffmBJ.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-CZcq-g-n.js";
|
|
9
|
+
import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-DvYytSi6.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-vUF6yWQf.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 { D as getOrQueryType, K as getKernel, M as DisposalScope, W as _usingCtx, n as castResultShape, r as castResultShapeWithKnownType } from "./shapeTypes-
|
|
1
|
+
import { D as getOrQueryType, K as getKernel, M as DisposalScope, W as _usingCtx, n as castResultShape, r as castResultShapeWithKnownType } from "./shapeTypes-Dws97v0n.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": "18.164.
|
|
3
|
+
"version": "18.164.2",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -269,27 +269,27 @@
|
|
|
269
269
|
"@types/opentype.js": "1.3.9",
|
|
270
270
|
"@types/react": "19.2.18",
|
|
271
271
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
272
|
-
"@vitest/coverage-v8": "4.1.
|
|
272
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
273
273
|
"brepjs-opencascade": "*",
|
|
274
274
|
"brepkit-wasm": "3.3.7",
|
|
275
|
-
"eslint": "10.
|
|
275
|
+
"eslint": "10.9.0",
|
|
276
276
|
"fast-check": "4.9.0",
|
|
277
277
|
"husky": "9.1.7",
|
|
278
278
|
"knip": "6.27.0",
|
|
279
279
|
"lint-staged": "17.3.0",
|
|
280
280
|
"lz-string": "1.5.0",
|
|
281
|
-
"occt-wasm": "4.3.
|
|
281
|
+
"occt-wasm": "4.3.1",
|
|
282
282
|
"prettier": "3.9.6",
|
|
283
|
-
"puppeteer": "25.
|
|
283
|
+
"puppeteer": "25.8.0",
|
|
284
284
|
"size-limit": "13.0.3",
|
|
285
285
|
"sucrase": "3.35.1",
|
|
286
286
|
"tsx": "4.23.12",
|
|
287
287
|
"typedoc": "0.28.20",
|
|
288
288
|
"typescript": "6.0.3",
|
|
289
289
|
"typescript-eslint": "8.67.0",
|
|
290
|
-
"vite": "8.2.
|
|
290
|
+
"vite": "8.2.2",
|
|
291
291
|
"vite-plugin-dts": "5.0.3",
|
|
292
|
-
"vitest": "4.1.
|
|
292
|
+
"vitest": "4.1.11"
|
|
293
293
|
},
|
|
294
294
|
"peerDependencies": {
|
|
295
295
|
"brepjs-manifold": "^0.1.0",
|