brepjs 18.28.0 → 18.29.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-DgVV4JnR.cjs → blueprint-79MQJVZa.cjs} +5 -5
- package/dist/{blueprint-DCaLaW5V.js → blueprint-CUvDkWLs.js} +5 -5
- package/dist/{blueprintFns-DxDohOso.js → blueprintFns-Ce-Mzufq.js} +2 -2
- package/dist/{blueprintFns-CaBBmBbd.cjs → blueprintFns-DX7ftQu1.cjs} +2 -2
- package/dist/{blueprintSketcher-CVzRSGDr.cjs → blueprintSketcher-CoefmhkD.cjs} +3 -3
- package/dist/{blueprintSketcher-DpZtLWPK.js → blueprintSketcher-DiJ7nX5P.js} +3 -3
- package/dist/{boolean2D-BdC7YBQP.js → boolean2D-B-6u7Td3.js} +4 -4
- package/dist/{boolean2D-BT0oRETS.cjs → boolean2D-ByEkLCB7.cjs} +4 -4
- package/dist/{booleanFns-CsFsde9t.cjs → booleanFns-2zKQEuA8.cjs} +4 -4
- package/dist/{booleanFns-DQqY4Dss.js → booleanFns-B-saLmi4.js} +4 -4
- package/dist/brepjs.cjs +24 -24
- package/dist/brepjs.js +24 -24
- package/dist/{cameraFns-Bj-i3990.cjs → cameraFns-C0uWLB4t.cjs} +2 -2
- package/dist/{cameraFns-CDB2SASG.js → cameraFns-ILz-I1EN.js} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-D6UY4k4j.cjs → cornerFinder-DheJjEdJ.cjs} +1 -1
- package/dist/{cornerFinder-B2gMJSrd.js → cornerFinder-DnbKeXpc.js} +1 -1
- package/dist/{curveFns-Y73GytYk.cjs → curveFns-BW6fpApo.cjs} +1 -1
- package/dist/{curveFns-qm5yRPDB.js → curveFns-Dp2RyxrR.js} +1 -1
- package/dist/{drawFns-DOe4jAxV.js → drawFns-CJamg2C6.js} +12 -12
- package/dist/{drawFns-9oTTEwVI.cjs → drawFns-rCnf1L3r.cjs} +12 -12
- package/dist/{extrudeFns-DpPpBy40.js → extrudeFns-CMGE0i5l.js} +1 -1
- package/dist/{extrudeFns-D_nDWO4O.cjs → extrudeFns-zngMBHOx.cjs} +1 -1
- package/dist/{faceFns-B_wyCXSR.cjs → faceFns-C8A9sCkb.cjs} +2 -2
- package/dist/{faceFns-CEZFie5M.js → faceFns-DFDKI39R.js} +2 -2
- package/dist/{helpers-BeAdQnoh.cjs → helpers-D-mko0qh.cjs} +6 -6
- package/dist/{helpers-CDzCYf6t.js → helpers-POBaax19.js} +6 -6
- package/dist/{historyFns-CiOuKAHR.js → historyFns-CbT3UJYn.js} +4 -4
- package/dist/{historyFns-o5YPr6kB.cjs → historyFns-D0K337z6.cjs} +4 -4
- package/dist/{importFns-ySU9FOAT.cjs → importFns-B1ym1wuL.cjs} +2 -2
- package/dist/{importFns-DWXQjwcN.js → importFns-CwNl9Ll2.js} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +9 -7
- package/dist/kernel/brepkit/constructionOps.d.ts +1 -1
- package/dist/kernel/brepkit/geometryOps.d.ts +8 -2
- package/dist/{measureFns-C7sDwFbi.cjs → measureFns-B7x2vp6b.cjs} +3 -3
- package/dist/{measureFns-CnNsxJ3r.js → measureFns-CeEybpyd.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-De5ytGeY.js → meshFns-BtNBXH5S.js} +2 -2
- package/dist/{meshFns-Bnzdb8Hi.cjs → meshFns-By5mtdo9.cjs} +2 -2
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-BW2Z-ol6.js → primitiveFns-DfsjF4Kj.js} +7 -7
- package/dist/{primitiveFns-DcGUodn_.cjs → primitiveFns-IzSRaAG-.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-BSS9CJ76.js → shapeFns-Cf79IuMn.js} +2 -2
- package/dist/{shapeFns-DeIskguL.cjs → shapeFns-DPjMiDcX.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-C5Pf5Hq4.cjs → shapeRefFns-hCaw9c68.cjs} +4 -4
- package/dist/{shapeRefFns-TS1Z4wYF.js → shapeRefFns-sE77hIRw.js} +4 -4
- package/dist/{shapeTypes-BNSmLg5K.js → shapeTypes-DUC23pOr.js} +14 -11
- package/dist/{shapeTypes-7h6IgcC-.cjs → shapeTypes-q3dLIqqs.cjs} +14 -11
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-DVsQV6gF.cjs → solidBuilders-BoeIWGQs.cjs} +2 -2
- package/dist/{solidBuilders-BVEXfPe5.js → solidBuilders-CwwLuRz8.js} +2 -2
- package/dist/{surfaceBuilders-DlSyRZE7.cjs → surfaceBuilders-BJX_D1VO.cjs} +2 -2
- package/dist/{surfaceBuilders-T8OQoZ1R.js → surfaceBuilders-CRTJ3eLf.js} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-DMtErtGx.cjs → textBlueprints-CuPkJa3W.cjs} +7 -7
- package/dist/{textBlueprints-f5p3Ltou.js → textBlueprints-OEB7VKBv.js} +7 -7
- package/dist/{textMetrics-BrvEBE7v.cjs → textMetrics-boJWbnQk.cjs} +1 -1
- package/dist/{textMetrics-uXYdyNt0.js → textMetrics-lTkakQKC.js} +1 -1
- package/dist/topology.cjs +7 -7
- package/dist/topology.js +7 -7
- package/dist/{topologyQueryFns-COoNTJha.js → topologyQueryFns-BELdxJ8R.js} +1 -1
- package/dist/{topologyQueryFns-BV0fjpXF.cjs → topologyQueryFns-C38cIHle.cjs} +1 -1
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-DUC23pOr.js";
|
|
2
2
|
import { A as ok, R as unwrap, T as isOk, b as err, d as validationError, h as bug, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-BJSTLaDI.js";
|
|
3
3
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
4
4
|
import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
|
|
5
5
|
import { n as createPlane } from "./planeOps-CblVcWbn.js";
|
|
6
|
-
import { _ as downcast, g as cast } from "./faceFns-
|
|
7
|
-
import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-
|
|
6
|
+
import { _ as downcast, g as cast } from "./faceFns-DFDKI39R.js";
|
|
7
|
+
import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-Dp2RyxrR.js";
|
|
8
8
|
import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
9
|
-
import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-
|
|
10
|
-
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-
|
|
11
|
-
import { o as makeSolid, t as makeCompound } from "./solidBuilders-
|
|
12
|
-
import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-
|
|
9
|
+
import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CRTJ3eLf.js";
|
|
10
|
+
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DiJ7nX5P.js";
|
|
11
|
+
import { o as makeSolid, t as makeCompound } from "./solidBuilders-CwwLuRz8.js";
|
|
12
|
+
import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-CMGE0i5l.js";
|
|
13
13
|
import opentype from "opentype.js";
|
|
14
14
|
//#region src/operations/loftFns.ts
|
|
15
15
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-BJSTLaDI.js";
|
|
2
|
-
import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-
|
|
2
|
+
import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-OEB7VKBv.js";
|
|
3
3
|
//#region src/text/sketchText.ts
|
|
4
4
|
/**
|
|
5
5
|
* Render text as 3D sketch outlines on a plane.
|
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-C38cIHle.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-DPjMiDcX.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-BW6fpApo.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-By5mtdo9.cjs");
|
|
7
|
+
const require_booleanFns = require("./booleanFns-2zKQEuA8.cjs");
|
|
8
|
+
const require_primitiveFns = require("./primitiveFns-IzSRaAG-.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-BELdxJ8R.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-DFDKI39R.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-Cf79IuMn.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-Dp2RyxrR.js";
|
|
5
|
+
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BtNBXH5S.js";
|
|
6
|
+
import { a as fuseAll, r as cutAll } from "./booleanFns-B-saLmi4.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-DfsjF4Kj.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
|
-
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-DUC23pOr.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) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-q3dLIqqs.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) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.29.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.99.0",
|
|
252
252
|
"eslint": "10.4.0",
|
|
253
253
|
"fast-check": "4.8.0",
|
|
254
254
|
"husky": "9.1.7",
|