brepjs 18.100.1 → 18.100.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/README.md +6 -0
- package/dist/2d.cjs +6 -6
- package/dist/2d.js +6 -6
- package/dist/{blueprint-Bqmxcyfd.js → blueprint-CoG7hqAO.js} +5 -5
- package/dist/{blueprint-BhCha_8H.cjs → blueprint-D60m51kI.cjs} +5 -5
- package/dist/{blueprintFns-DKmyNVyL.cjs → blueprintFns-CDdNG1E0.cjs} +2 -2
- package/dist/{blueprintFns-_emMJGKf.js → blueprintFns-CsR4vknQ.js} +2 -2
- package/dist/{blueprintSketcher-B5XBXgri.js → blueprintSketcher-BH026Vs6.js} +3 -3
- package/dist/{blueprintSketcher-DwL9iPAG.cjs → blueprintSketcher-CNV3BF1m.cjs} +3 -3
- package/dist/{boolean2D-DiQyJiA-.js → boolean2D-BkoT0tyj.js} +4 -4
- package/dist/{boolean2D-BJ6MwGgV.cjs → boolean2D-DAy71yz-.cjs} +4 -4
- package/dist/brepjs.cjs +24 -24
- package/dist/brepjs.js +24 -24
- package/dist/{cameraFns-BjcKjYpw.cjs → cameraFns-B-T9D-ie.cjs} +2 -2
- package/dist/{cameraFns-BCLtAeFB.js → cameraFns-B62EdiYs.js} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-B-zZ2G9-.js → cornerFinder-C6GEoGxi.js} +1 -1
- package/dist/{cornerFinder-DyYE74wI.cjs → cornerFinder-oRnX2o08.cjs} +1 -1
- package/dist/{curveFns-DwBW-FmM.cjs → curveFns-BIlzT4bO.cjs} +1 -1
- package/dist/{curveFns-BKpLwUdG.js → curveFns-CaEoZJFJ.js} +1 -1
- package/dist/{drawFns-SFAjbxKc.js → drawFns-BoJx2cw1.js} +12 -12
- package/dist/{drawFns-BDPAuKxN.cjs → drawFns-CBSGIxrq.cjs} +12 -12
- package/dist/{faceFns-DrBS1FKx.cjs → faceFns-BvtC44tv.cjs} +2 -2
- package/dist/{faceFns-B642NCgD.js → faceFns-Cgpg9n36.js} +2 -2
- package/dist/{healingFns-CWicvCr2.js → healingFns-BiChNtRz.js} +5 -5
- package/dist/{healingFns-CA_Pxs_R.cjs → healingFns-DY8866Fl.cjs} +5 -5
- package/dist/{helpers-VUDxsMV6.js → helpers-CRB4YhSI.js} +6 -6
- package/dist/{helpers-BVwuuo7f.cjs → helpers-DDN_oU6P.cjs} +6 -6
- package/dist/{importFns-CPEC-mu2.js → importFns-CcUm7pcu.js} +2 -2
- package/dist/{importFns-D7CBrzdj.cjs → importFns-v3C1RKi2.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +14 -6
- package/dist/{loftFns-BG5aCsSy.cjs → loftFns-CFyOO359.cjs} +1 -1
- package/dist/{loftFns-6LL25A5A.js → loftFns-D5rQxNOI.js} +1 -1
- package/dist/{measureFns-o-fR5CV_.js → measureFns-BrrVzFq0.js} +3 -3
- package/dist/{measureFns-CMzOaAYQ.cjs → measureFns-D2Y2OOuw.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-DoqRG8XQ.cjs → meshFns-BKBGgLB4.cjs} +3 -3
- package/dist/{meshFns-k2Bsp0Xp.js → meshFns-Bkcg1u5D.js} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-jeA2auqw.cjs → primitiveFns-DFwdXRvP.cjs} +4 -4
- package/dist/{primitiveFns-CPbjoGeA.js → primitiveFns-DmF1hhYr.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/{shapeFns-eQx9e6lo.cjs → shapeFns-B3GP-0FJ.cjs} +2 -2
- package/dist/{shapeFns-FrRtxWiz.js → shapeFns-D-4StVDd.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-D1WVYLvG.cjs → shapeRefFns-CdgSGKLD.cjs} +4 -4
- package/dist/{shapeRefFns-C2oR3Cid.js → shapeRefFns-CtUw9bYy.js} +4 -4
- package/dist/{shapeTypes-DplVM8Fy.cjs → shapeTypes-DQfoZt_L.cjs} +32 -0
- package/dist/{shapeTypes-D9XYNPBs.js → shapeTypes-z5bfGPVI.js} +32 -0
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-CxJJkiPi.js → solidBuilders-Dcl1gZwH.js} +5 -5
- package/dist/{solidBuilders-DI4CSKe-.cjs → solidBuilders-RRBbe3dp.cjs} +5 -5
- package/dist/{surfaceBuilders-Cf3c00zK.js → surfaceBuilders-DXMOQVyx.js} +2 -2
- package/dist/{surfaceBuilders-CDrFrFBH.cjs → surfaceBuilders-D_htXKwS.cjs} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-ypK-L96F.cjs → textBlueprints-A1zJwOLD.cjs} +7 -7
- package/dist/{textBlueprints-DbLlIr5s.js → textBlueprints-Da_l2ncZ.js} +7 -7
- package/dist/{textMetrics-BWST-GMU.js → textMetrics-DwaQOil0.js} +1 -1
- package/dist/{textMetrics-CMXyoBtR.cjs → textMetrics-qCUPlyrb.cjs} +1 -1
- package/dist/{threadFns-CvjUrsgG.cjs → threadFns-BqoKTKCh.cjs} +6 -6
- package/dist/{threadFns-BcgGRuMg.js → threadFns-D2kDxalD.js} +6 -6
- package/dist/topology.cjs +8 -8
- package/dist/topology.js +8 -8
- package/dist/{topologyQueryFns-Dzw_tis6.cjs → topologyQueryFns-BLkQkExs.cjs} +1 -1
- package/dist/{topologyQueryFns-jDWO6A94.js → topologyQueryFns-De27Nxmf.js} +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DQfoZt_L.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
3
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
4
|
-
const require_faceFns = require("./faceFns-
|
|
5
|
-
const require_shapeFns = require("./shapeFns-
|
|
6
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
7
|
-
const require_loftFns = require("./loftFns-
|
|
8
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
4
|
+
const require_faceFns = require("./faceFns-BvtC44tv.cjs");
|
|
5
|
+
const require_shapeFns = require("./shapeFns-B3GP-0FJ.cjs");
|
|
6
|
+
const require_solidBuilders = require("./solidBuilders-RRBbe3dp.cjs");
|
|
7
|
+
const require_loftFns = require("./loftFns-CFyOO359.cjs");
|
|
8
|
+
const require_primitiveFns = require("./primitiveFns-DFwdXRvP.cjs");
|
|
9
9
|
//#region src/utils/uuid.ts
|
|
10
10
|
/** Generate a v4-style UUID string using `crypto.getRandomValues`. */
|
|
11
11
|
function uuidv() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-
|
|
1
|
+
import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-z5bfGPVI.js";
|
|
2
2
|
import { A as ok, T as isOk, b as err, d as validationError, n as computationError, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
|
|
3
3
|
import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
|
|
4
|
-
import { y as fromBREP } from "./faceFns-
|
|
5
|
-
import { s as toBREP } from "./shapeFns-
|
|
6
|
-
import { h as fuseAll } from "./solidBuilders-
|
|
7
|
-
import { t as loft } from "./loftFns-
|
|
8
|
-
import { E as wire, h as line } from "./primitiveFns-
|
|
4
|
+
import { y as fromBREP } from "./faceFns-Cgpg9n36.js";
|
|
5
|
+
import { s as toBREP } from "./shapeFns-D-4StVDd.js";
|
|
6
|
+
import { h as fuseAll } from "./solidBuilders-Dcl1gZwH.js";
|
|
7
|
+
import { t as loft } from "./loftFns-D5rQxNOI.js";
|
|
8
|
+
import { E as wire, h as line } from "./primitiveFns-DmF1hhYr.js";
|
|
9
9
|
//#region src/utils/uuid.ts
|
|
10
10
|
/** Generate a v4-style UUID string using `crypto.getRandomValues`. */
|
|
11
11
|
function uuidv() {
|
package/dist/topology.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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_primitiveFns = require("./primitiveFns-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-BLkQkExs.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-BvtC44tv.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-B3GP-0FJ.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-BIlzT4bO.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-BKBGgLB4.cjs");
|
|
7
|
+
const require_solidBuilders = require("./solidBuilders-RRBbe3dp.cjs");
|
|
8
|
+
const require_healingFns = require("./healingFns-DY8866Fl.cjs");
|
|
9
|
+
const require_primitiveFns = require("./primitiveFns-DFwdXRvP.cjs");
|
|
10
10
|
exports.addHoles = require_primitiveFns.addHoles;
|
|
11
11
|
exports.adjacentFaces = require_healingFns.adjacentFaces;
|
|
12
12
|
exports.approximateCurve = require_curveFns.approximateCurve;
|
package/dist/topology.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S 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 { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, v as downcast, x as iterTopo, y as fromBREP } 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 { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-
|
|
6
|
-
import { h as fuseAll, p as cutAll } from "./solidBuilders-
|
|
7
|
-
import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, 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, z as toLineGeometryData } from "./healingFns-
|
|
8
|
-
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 { S 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-De27Nxmf.js";
|
|
2
|
+
import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-Cgpg9n36.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D-4StVDd.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-CaEoZJFJ.js";
|
|
5
|
+
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-Bkcg1u5D.js";
|
|
6
|
+
import { h as fuseAll, p as cutAll } from "./solidBuilders-Dcl1gZwH.js";
|
|
7
|
+
import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, 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, z as toLineGeometryData } from "./healingFns-BiChNtRz.js";
|
|
8
|
+
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-DmF1hhYr.js";
|
|
9
9
|
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-DQfoZt_L.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
3
|
//#region src/core/kernelCall.ts
|
|
4
4
|
function buildError(kind, code, message, cause, suggestion) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-
|
|
1
|
+
import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-z5bfGPVI.js";
|
|
2
2
|
import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-DNWJsfVU.js";
|
|
3
3
|
//#region src/core/kernelCall.ts
|
|
4
4
|
function buildError(kind, code, message, cause, suggestion) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "18.100.
|
|
3
|
+
"version": "18.100.2",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"@types/react": "19.2.17",
|
|
262
262
|
"@vitest/coverage-v8": "4.1.8",
|
|
263
263
|
"brepjs-opencascade": "*",
|
|
264
|
-
"brepkit-wasm": "2.
|
|
264
|
+
"brepkit-wasm": "2.115.8",
|
|
265
265
|
"eslint": "10.5.0",
|
|
266
266
|
"fast-check": "4.8.0",
|
|
267
267
|
"husky": "9.1.7",
|