brepjs 13.2.0 → 13.4.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/curve2dGeometryFns.d.ts +107 -0
- package/dist/2d/curve2dGeometryFns.d.ts.map +1 -0
- package/dist/2d.cjs +229 -3
- package/dist/2d.d.ts +2 -0
- package/dist/2d.d.ts.map +1 -1
- package/dist/2d.js +206 -4
- package/dist/{arrayAccess-Dps31ERU.js → arrayAccess-B5LgmXBo.js} +4 -4
- package/dist/{arrayAccess-peFKE9Ob.cjs → arrayAccess-t2dlxGSK.cjs} +4 -4
- package/dist/{blueprint-DYCdRlW5.js → blueprint-CB_85Lz_.js} +10 -10
- package/dist/{blueprint-PLJan-W5.cjs → blueprint-CDnBM-tA.cjs} +10 -10
- package/dist/{blueprintFns-Bsx25BG7.cjs → blueprintFns-D4YucGaQ.cjs} +142 -3
- package/dist/{blueprintFns-eWh7NpZx.js → blueprintFns-DVDommWB.js} +125 -4
- package/dist/{boolean2D-52qVCooY.js → boolean2D-Mzp-0g7o.js} +12 -12
- package/dist/{boolean2D-CtB21ajK.cjs → boolean2D-lqfKJKUY.cjs} +12 -12
- package/dist/{booleanFns-iM6UPb8e.js → booleanFns-B46fgObh.js} +6 -6
- package/dist/{booleanFns-BrptUFkP.cjs → booleanFns-Bw8sAMgI.cjs} +6 -6
- package/dist/brepjs.cjs +27 -145
- package/dist/brepjs.js +23 -143
- package/dist/core/curve2dHandle.d.ts +27 -0
- package/dist/core/curve2dHandle.d.ts.map +1 -0
- package/dist/core/errors.d.ts +6 -0
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core.cjs +5 -5
- package/dist/core.js +5 -5
- package/dist/{cornerFinder-SF-xmMO1.cjs → cornerFinder-BszIcLqj.cjs} +3 -3
- package/dist/{cornerFinder-C7aDyYLJ.js → cornerFinder-aBLykolI.js} +3 -3
- package/dist/{curveFns-ywh7Ctyk.cjs → curveFns-CZszKLQB.cjs} +2 -2
- package/dist/{curveFns-C-jU1_Y_.js → curveFns-DY4dFcP-.js} +2 -2
- package/dist/{drawFns-DknEB-Qs.cjs → drawFns-BHNDF8hb.cjs} +15 -15
- package/dist/{drawFns-D-0p86Lf.js → drawFns-l5CY2s-l.js} +15 -15
- package/dist/{errors-B_T0aMQF.js → errors-BVOlxlIA.js} +6 -0
- package/dist/{errors-DupKEMqI.cjs → errors-BlC5ZWv4.cjs} +6 -0
- package/dist/{extrudeFns-CGCIbydL.cjs → extrudeFns-GpCB_Uzs.cjs} +3 -3
- package/dist/{extrudeFns-LsH1rDMa.js → extrudeFns-b0uLn4E4.js} +3 -3
- package/dist/{faceFns-8dGb8q3J.cjs → faceFns-BywUjlJ7.cjs} +3 -3
- package/dist/{faceFns-EnGcKFAr.js → faceFns-Cat-4X74.js} +3 -3
- package/dist/{helpers-pQpV9Mwh.cjs → helpers-1iCCEElA.cjs} +7 -7
- package/dist/{helpers-Rf0vhX6I.js → helpers-DgX1UucG.js} +7 -7
- package/dist/{historyFns-XkjLAQyu.js → historyFns-BFwp8NLX.js} +6 -6
- package/dist/{historyFns-lNalnOdR.cjs → historyFns-DqxDtXIZ.cjs} +6 -6
- package/dist/{importFns-Bgs-FYAP.js → importFns-Cb8fcldB.js} +4 -4
- package/dist/{importFns-BSH9cGIp.cjs → importFns-ChXEJAvu.cjs} +4 -4
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/brepkitAdapter.d.ts +3 -1
- package/dist/kernel/brepkit/brepkitAdapter.d.ts.map +1 -1
- package/dist/kernel/interfaces/curveOps.d.ts +3 -1
- package/dist/kernel/interfaces/curveOps.d.ts.map +1 -1
- package/dist/kernel/interfaces/surfaceOps.d.ts +3 -1
- package/dist/kernel/interfaces/surfaceOps.d.ts.map +1 -1
- package/dist/kernel/occt/defaultAdapter.d.ts +3 -1
- package/dist/kernel/occt/defaultAdapter.d.ts.map +1 -1
- package/dist/kernel/occt/nurbsQueryOps.d.ts +12 -0
- package/dist/kernel/occt/nurbsQueryOps.d.ts.map +1 -0
- package/dist/kernel/types.d.ts +26 -0
- package/dist/kernel/types.d.ts.map +1 -1
- package/dist/{measureFns-CFdHa_fj.cjs → measureFns-Bx-kl7_g.cjs} +3 -3
- package/dist/{measureFns-D7J6qUY_.js → measureFns-D3rAp1X1.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-B7uklc4M.js → meshFns-BPi0bhm9.js} +3 -3
- package/dist/{meshFns-2XnDXgIh.cjs → meshFns-D3KAZ_ma.cjs} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{planeOps-cTxDywpG.cjs → planeOps-BqLav0Ir.cjs} +3 -3
- package/dist/{planeOps-BuBXTLBr.js → planeOps-D88tfyJs.js} +3 -3
- package/dist/{primitiveFns-DKtvEA0i.cjs → primitiveFns-BGh9A9jR.cjs} +39 -7
- package/dist/{primitiveFns-CASk8g16.js → primitiveFns-CnZkW6Bi.js} +28 -8
- package/dist/query.cjs +2 -2
- package/dist/query.js +2 -2
- package/dist/result.cjs +1 -1
- package/dist/result.js +1 -1
- package/dist/{shapeTypes-CElaawp7.cjs → shapeTypes-8eK48l-X.cjs} +145 -1
- package/dist/{shapeTypes-CYb8Byqj.js → shapeTypes-Di6GlhPk.js} +145 -1
- package/dist/sketching.cjs +2 -2
- package/dist/sketching.js +2 -2
- package/dist/{solidBuilders-Cs4XyL58.cjs → solidBuilders-D9KYP9sL.cjs} +3 -3
- package/dist/{solidBuilders-ClJxiUa3.js → solidBuilders-ctO_wFrm.js} +3 -3
- package/dist/{surfaceBuilders-DnGdDW8i.js → surfaceBuilders-BaqeZa0x.js} +3 -3
- package/dist/{surfaceBuilders-ZUTb3z6i.cjs → surfaceBuilders-CZzipftq.cjs} +3 -3
- package/dist/topology/nurbsFns.d.ts +13 -0
- package/dist/topology/nurbsFns.d.ts.map +1 -0
- package/dist/topology.cjs +8 -6
- package/dist/topology.d.ts +1 -0
- package/dist/topology.d.ts.map +1 -1
- package/dist/topology.js +7 -7
- package/dist/vectors.cjs +3 -3
- package/dist/vectors.js +3 -3
- package/package.json +1 -1
- /package/dist/{types-Bb4KK_iG.js → types-BWBlwp6w.js} +0 -0
- /package/dist/{types-BD-VVaWB.cjs → types-BjDcsS7l.cjs} +0 -0
- /package/dist/{vecOps-B9-MTeC8.js → vecOps-DFfUfsmc.js} +0 -0
- /package/dist/{vecOps-4iBMiet9.cjs → vecOps-DKGelwGL.cjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nurbsFns.d.ts","sourceRoot":"","sources":["../../src/topology/nurbsFns.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1E;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,IAAI,CAInE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,gBAAgB,GAAG,IAAI,CAI/F"}
|
package/dist/topology.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
-
const require_arrayAccess = require("./arrayAccess-
|
|
4
|
-
const require_curveFns = require("./curveFns-
|
|
5
|
-
const require_meshFns = require("./meshFns-
|
|
6
|
-
const require_booleanFns = require("./booleanFns-
|
|
7
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
2
|
+
const require_faceFns = require("./faceFns-BywUjlJ7.cjs");
|
|
3
|
+
const require_arrayAccess = require("./arrayAccess-t2dlxGSK.cjs");
|
|
4
|
+
const require_curveFns = require("./curveFns-CZszKLQB.cjs");
|
|
5
|
+
const require_meshFns = require("./meshFns-D3KAZ_ma.cjs");
|
|
6
|
+
const require_booleanFns = require("./booleanFns-Bw8sAMgI.cjs");
|
|
7
|
+
const require_primitiveFns = require("./primitiveFns-BGh9A9jR.cjs");
|
|
8
8
|
exports.addHoles = require_primitiveFns.addHoles;
|
|
9
9
|
exports.adjacentFaces = require_primitiveFns.adjacentFaces;
|
|
10
10
|
exports.approximateCurve = require_curveFns.approximateCurve;
|
|
@@ -61,6 +61,8 @@ exports.getCurveType = require_curveFns.getCurveType;
|
|
|
61
61
|
exports.getEdges = require_arrayAccess.getEdges;
|
|
62
62
|
exports.getFaces = require_arrayAccess.getFaces;
|
|
63
63
|
exports.getHashCode = require_arrayAccess.getHashCode;
|
|
64
|
+
exports.getNurbsCurveData = require_primitiveFns.getNurbsCurveData;
|
|
65
|
+
exports.getNurbsSurfaceData = require_primitiveFns.getNurbsSurfaceData;
|
|
64
66
|
exports.getOrientation = require_curveFns.getOrientation;
|
|
65
67
|
exports.getSurfaceType = require_faceFns.getSurfaceType;
|
|
66
68
|
exports.getVertices = require_arrayAccess.getVertices;
|
package/dist/topology.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type { ShapeEvolution } from './kernel/types.js';
|
|
|
15
15
|
export { chamferDistAngle as chamferDistAngleShape } from './topology/chamferAngleFns.js';
|
|
16
16
|
export { variableFillet, type VariableFilletRadius } from './topology/modifierFns.js';
|
|
17
17
|
export { getCurveType, curveStartPoint, curveEndPoint, curvePointAt, curveTangentAt, curveLength, curveIsClosed, curveIsPeriodic, curvePeriod, getOrientation, flipOrientation, offsetWire2D, interpolateCurve, approximateCurve, type InterpolateCurveOptions, type ApproximateCurveOptions, } from './topology/curveFns.js';
|
|
18
|
+
export { getNurbsCurveData, getNurbsSurfaceData } from './topology/nurbsFns.js';
|
|
18
19
|
export { getSurfaceType, faceGeomType, faceOrientation, flipFaceOrientation, uvBounds, pointOnSurface, uvCoordinates, normalAt, faceCenter, classifyPointOnFace, outerWire, innerWires, projectPointOnFace, type UVBounds, type PointProjectionResult, } from './topology/faceFns.js';
|
|
19
20
|
export { facesOfEdge, edgesOfFace, wiresOfFace, verticesOfEdge, adjacentFaces, sharedEdges, } from './topology/adjacencyFns.js';
|
|
20
21
|
export { exportSTEP, exportSTL, exportIGES, type ShapeMesh, type EdgeMesh, type MeshOptions, } from './topology/meshFns.js';
|
package/dist/topology.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topology.d.ts","sourceRoot":"","sources":["../src/topology.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,KAAK,QAAQ,EACb,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EACL,GAAG,EACH,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,KAAK,EACL,SAAS,EACT,IAAI,EACJ,MAAM,EACN,OAAO,EACP,KAAK,EACL,aAAa,EACb,UAAU,EACV,aAAa,EACb,MAAM,EACN,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,OAAO,EACP,OAAO,EACP,MAAM,EACN,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,GACjC,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAAE,OAAO,EAAE,MAAM,EAA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oBAAoB,EACpB,kBAAkB,EAClB,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,GACzB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,qBAAqB,GAC3B,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"topology.d.ts","sourceRoot":"","sources":["../src/topology.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,KAAK,QAAQ,EACb,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EACL,GAAG,EACH,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,KAAK,EACL,SAAS,EACT,IAAI,EACJ,MAAM,EACN,OAAO,EACP,KAAK,EACL,aAAa,EACb,UAAU,EACV,aAAa,EACb,MAAM,EACN,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,OAAO,EACP,OAAO,EACP,MAAM,EACN,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,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A4B,CAAC;AAIpC,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAIjG,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,GACzB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,qBAAqB,GAC3B,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAC"}
|
package/dist/topology.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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-
|
|
2
|
-
import { B as invalidateShapeCache, F as getEdges, G as vertexPosition, H as iterFaces, I as getFaces, P as getBounds, R as getVertices, U as iterVertices, V as iterEdges, W as iterWires, a as getHashCode, c as isSameShape, s as isEqualShape, z as getWires } from "./arrayAccess-
|
|
3
|
-
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-
|
|
4
|
-
import { n as exportSTEP, o as clearMeshCache, r as exportSTL, s as createMeshCache, t as exportIGES } from "./meshFns-
|
|
5
|
-
import { i as fuseAll, n as cutAll } from "./booleanFns-
|
|
6
|
-
import { $ as
|
|
7
|
-
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, 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, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, 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
|
+
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-Cat-4X74.js";
|
|
2
|
+
import { B as invalidateShapeCache, F as getEdges, G as vertexPosition, H as iterFaces, I as getFaces, P as getBounds, R as getVertices, U as iterVertices, V as iterEdges, W as iterWires, a as getHashCode, c as isSameShape, s as isEqualShape, z as getWires } from "./arrayAccess-B5LgmXBo.js";
|
|
3
|
+
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-DY4dFcP-.js";
|
|
4
|
+
import { n as exportSTEP, o as clearMeshCache, r as exportSTL, s as createMeshCache, t as exportIGES } from "./meshFns-BPi0bhm9.js";
|
|
5
|
+
import { i as fuseAll, n as cutAll } from "./booleanFns-B46fgObh.js";
|
|
6
|
+
import { $ as getNurbsSurfaceData, 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 getNurbsCurveData, 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 wiresOfFace, b as sphere, c as cylinder, ct as toGroupedBufferGeometryData, d as ellipsoid, et as adjacentFaces, f as face, g as offsetFace, h as line, i as bsplineApprox, it as verticesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toLineGeometryData, m as helix, n as bezier, nt as facesOfEdge, o as compound, ot as chamferDistAngle, p as filledFace, q as filletWithEvolution, r as box, rt as sharedEdges, s as cone, st as toBufferGeometryData, t as addHoles, tt as edgesOfFace, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-CnZkW6Bi.js";
|
|
7
|
+
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, 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, 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 };
|
package/dist/vectors.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_vecOps = require("./vecOps-
|
|
3
|
-
const require_types = require("./types-
|
|
4
|
-
const require_planeOps = require("./planeOps-
|
|
2
|
+
const require_vecOps = require("./vecOps-DKGelwGL.cjs");
|
|
3
|
+
const require_types = require("./types-BjDcsS7l.cjs");
|
|
4
|
+
const require_planeOps = require("./planeOps-BqLav0Ir.cjs");
|
|
5
5
|
exports.DEG2RAD = require_vecOps.DEG2RAD;
|
|
6
6
|
exports.RAD2DEG = require_vecOps.RAD2DEG;
|
|
7
7
|
exports.createNamedPlane = require_planeOps.createNamedPlane;
|
package/dist/vectors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as DEG2RAD, a as vecDot, c as vecLength, d as vecNormalize, f as vecProjectToPlane, g as vecSub, h as vecScale, i as vecDistance, l as vecLengthSq, m as vecRotate, n as vecAngle, o as vecEquals, p as vecRepr, r as vecCross, s as vecIsZero, t as vecAdd, u as vecNegate, y as RAD2DEG } from "./vecOps-
|
|
2
|
-
import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-
|
|
3
|
-
import { i as pivotPlane, n as createPlane, o as resolvePlane, s as translatePlane, t as createNamedPlane } from "./planeOps-
|
|
1
|
+
import { _ as DEG2RAD, a as vecDot, c as vecLength, d as vecNormalize, f as vecProjectToPlane, g as vecSub, h as vecScale, i as vecDistance, l as vecLengthSq, m as vecRotate, n as vecAngle, o as vecEquals, p as vecRepr, r as vecCross, s as vecIsZero, t as vecAdd, u as vecNegate, y as RAD2DEG } from "./vecOps-DFfUfsmc.js";
|
|
2
|
+
import { n as toVec2, r as toVec3, t as resolveDirection } from "./types-BWBlwp6w.js";
|
|
3
|
+
import { i as pivotPlane, n as createPlane, o as resolvePlane, s as translatePlane, t as createNamedPlane } from "./planeOps-D88tfyJs.js";
|
|
4
4
|
export { DEG2RAD, RAD2DEG, createNamedPlane, createPlane, pivotPlane, resolveDirection, resolvePlane, toVec2, toVec3, translatePlane, vecAdd, vecAngle, vecCross, vecDistance, vecDot, vecEquals, vecIsZero, vecLength, vecLengthSq, vecNegate, vecNormalize, vecProjectToPlane, vecRepr, vecRotate, vecScale, vecSub };
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|