brepjs 18.29.0 → 18.31.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/{blueprint-79MQJVZa.cjs → blueprint-BSFmbDGk.cjs} +5 -5
- package/dist/{blueprint-CUvDkWLs.js → blueprint-CJh2IXNN.js} +5 -5
- package/dist/{blueprintFns-DX7ftQu1.cjs → blueprintFns-CP2cC0SH.cjs} +2 -2
- package/dist/{blueprintFns-Ce-Mzufq.js → blueprintFns-Zeq5akLC.js} +2 -2
- package/dist/{blueprintSketcher-DiJ7nX5P.js → blueprintSketcher-Bk1Td7bF.js} +3 -3
- package/dist/{blueprintSketcher-CoefmhkD.cjs → blueprintSketcher-CW82NmX7.cjs} +3 -3
- package/dist/{boolean2D-B-6u7Td3.js → boolean2D-Cx4p6bzv.js} +4 -4
- package/dist/{boolean2D-ByEkLCB7.cjs → boolean2D-DQESKrHM.cjs} +4 -4
- package/dist/{booleanFns-B-saLmi4.js → booleanFns-CxAfvIV6.js} +4 -4
- package/dist/{booleanFns-2zKQEuA8.cjs → booleanFns-Desb54nK.cjs} +4 -4
- package/dist/brepjs.cjs +24 -24
- package/dist/brepjs.js +24 -24
- package/dist/{cameraFns-ILz-I1EN.js → cameraFns-DVDMA2YA.js} +2 -2
- package/dist/{cameraFns-C0uWLB4t.cjs → cameraFns-mhPem8JC.cjs} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-DnbKeXpc.js → cornerFinder-C9sHooms.js} +1 -1
- package/dist/{cornerFinder-DheJjEdJ.cjs → cornerFinder-nW2FYBmk.cjs} +1 -1
- package/dist/{curveFns-BW6fpApo.cjs → curveFns-BXWe0tUP.cjs} +1 -1
- package/dist/{curveFns-Dp2RyxrR.js → curveFns-CEADb8UI.js} +1 -1
- package/dist/{drawFns-CJamg2C6.js → drawFns-Bz47xb6u.js} +12 -12
- package/dist/{drawFns-rCnf1L3r.cjs → drawFns-CyqV9IOf.cjs} +12 -12
- package/dist/{extrudeFns-zngMBHOx.cjs → extrudeFns-Byjh14Mh.cjs} +1 -1
- package/dist/{extrudeFns-CMGE0i5l.js → extrudeFns-OvEEZRiI.js} +1 -1
- package/dist/{faceFns-C8A9sCkb.cjs → faceFns-BEDI2Fht.cjs} +2 -2
- package/dist/{faceFns-DFDKI39R.js → faceFns-Dc1Kz-42.js} +2 -2
- package/dist/{helpers-POBaax19.js → helpers-CybYLoG5.js} +6 -6
- package/dist/{helpers-D-mko0qh.cjs → helpers-NRiahAyk.cjs} +6 -6
- package/dist/{historyFns-D0K337z6.cjs → historyFns-CSHLpJK2.cjs} +4 -4
- package/dist/{historyFns-CbT3UJYn.js → historyFns-s38GJ8vm.js} +4 -4
- package/dist/{importFns-CwNl9Ll2.js → importFns-BLptAND5.js} +2 -2
- package/dist/{importFns-B1ym1wuL.cjs → importFns-C7e3yWGT.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +8 -1
- package/dist/kernel/brepkit/geometryOps.d.ts +10 -2
- package/dist/kernel/brepkit/modifierOps.d.ts +1 -1
- package/dist/{measureFns-B7x2vp6b.cjs → measureFns-BPOctaKR.cjs} +3 -3
- package/dist/{measureFns-CeEybpyd.js → measureFns-Ds3J7UUO.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-BtNBXH5S.js → meshFns-BEtVwyFx.js} +2 -2
- package/dist/{meshFns-By5mtdo9.cjs → meshFns-Ca8mKKuw.cjs} +2 -2
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-DfsjF4Kj.js → primitiveFns-B7X8lTA2.js} +7 -7
- package/dist/{primitiveFns-IzSRaAG-.cjs → primitiveFns-DrEFUID3.cjs} +7 -7
- 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-Cf79IuMn.js → shapeFns-DX8Wz5Rx.js} +2 -2
- package/dist/{shapeFns-DPjMiDcX.cjs → shapeFns-Kop1E0FF.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-hCaw9c68.cjs → shapeRefFns-07fYc4Yf.cjs} +4 -4
- package/dist/{shapeRefFns-sE77hIRw.js → shapeRefFns-D0nj1uv-.js} +4 -4
- package/dist/{shapeTypes-q3dLIqqs.cjs → shapeTypes-B4BMvuqz.cjs} +34 -4
- package/dist/{shapeTypes-DUC23pOr.js → shapeTypes-CO_7Vi7X.js} +34 -4
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-CwwLuRz8.js → solidBuilders-BvgLx1ih.js} +2 -2
- package/dist/{solidBuilders-BoeIWGQs.cjs → solidBuilders-uvsBuAfy.cjs} +2 -2
- package/dist/{surfaceBuilders-CRTJ3eLf.js → surfaceBuilders-CaZYe1HH.js} +2 -2
- package/dist/{surfaceBuilders-BJX_D1VO.cjs → surfaceBuilders-CqA8sgwW.cjs} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-CuPkJa3W.cjs → textBlueprints-CmsFcq_2.cjs} +7 -7
- package/dist/{textBlueprints-OEB7VKBv.js → textBlueprints-DdjPsdpW.js} +7 -7
- package/dist/{textMetrics-lTkakQKC.js → textMetrics-Cp19LSq8.js} +1 -1
- package/dist/{textMetrics-boJWbnQk.cjs → textMetrics-DX7bZOWD.cjs} +1 -1
- package/dist/topology.cjs +7 -7
- package/dist/topology.js +7 -7
- package/dist/{topologyQueryFns-C38cIHle.cjs → topologyQueryFns-AGfoGI2F.cjs} +1 -1
- package/dist/{topologyQueryFns-BELdxJ8R.js → topologyQueryFns-BQefLP33.js} +1 -1
- package/package.json +2 -2
package/dist/topology.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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_booleanFns = require("./booleanFns-
|
|
8
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-AGfoGI2F.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-Kop1E0FF.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-BXWe0tUP.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-Ca8mKKuw.cjs");
|
|
7
|
+
const require_booleanFns = require("./booleanFns-Desb54nK.cjs");
|
|
8
|
+
const require_primitiveFns = require("./primitiveFns-DrEFUID3.cjs");
|
|
9
9
|
exports.addHoles = require_primitiveFns.addHoles;
|
|
10
10
|
exports.adjacentFaces = require_primitiveFns.adjacentFaces;
|
|
11
11
|
exports.approximateCurve = require_curveFns.approximateCurve;
|
package/dist/topology.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as invalidateShapeCache, f as iterEdges, g as vertexPosition, h as iterWires, l as getVertices, m as iterVertices, n as getBounds, o as getEdges, p as iterFaces, s as getFaces, u as getWires } from "./topologyQueryFns-
|
|
2
|
-
import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-
|
|
3
|
-
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-
|
|
4
|
-
import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-
|
|
5
|
-
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-
|
|
6
|
-
import { a as fuseAll, r as cutAll } from "./booleanFns-
|
|
7
|
-
import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-
|
|
1
|
+
import { d as invalidateShapeCache, f as iterEdges, g as vertexPosition, h as iterWires, l as getVertices, m as iterVertices, n as getBounds, o as getEdges, p as iterFaces, s as getFaces, u as getWires } from "./topologyQueryFns-BQefLP33.js";
|
|
2
|
+
import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-Dc1Kz-42.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DX8Wz5Rx.js";
|
|
4
|
+
import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-CEADb8UI.js";
|
|
5
|
+
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BEtVwyFx.js";
|
|
6
|
+
import { a as fuseAll, r as cutAll } from "./booleanFns-CxAfvIV6.js";
|
|
7
|
+
import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-B7X8lTA2.js";
|
|
8
8
|
export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, 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-B4BMvuqz.cjs");
|
|
2
2
|
const require_errors = require("./errors-DxoD7zgx.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-CO_7Vi7X.js";
|
|
2
2
|
import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-BJSTLaDI.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.
|
|
3
|
+
"version": "18.31.0",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"@types/opentype.js": "1.3.9",
|
|
249
249
|
"@vitest/coverage-v8": "4.1.6",
|
|
250
250
|
"brepjs-opencascade": "*",
|
|
251
|
-
"brepkit-wasm": "2.
|
|
251
|
+
"brepkit-wasm": "2.101.0",
|
|
252
252
|
"eslint": "10.4.0",
|
|
253
253
|
"fast-check": "4.8.0",
|
|
254
254
|
"husky": "9.1.7",
|