brepjs 18.66.0 → 18.66.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/{blueprint-DEtjb9pL.js → blueprint-Z5mhI2QD.js} +5 -5
- package/dist/{blueprint-B7iZ_BZT.cjs → blueprint-a7QLhV4U.cjs} +5 -5
- package/dist/{blueprintFns-Bmd98FWr.js → blueprintFns-BNhsXv6q.js} +2 -2
- package/dist/{blueprintFns-Bf5TA7pN.cjs → blueprintFns-DULa6FpG.cjs} +2 -2
- package/dist/{blueprintSketcher-nuOhijiI.js → blueprintSketcher-0DeTMXwj.js} +3 -3
- package/dist/{blueprintSketcher-Bj39XtSt.cjs → blueprintSketcher-4zOPSOnK.cjs} +3 -3
- package/dist/{boolean2D-DWbUmSlH.js → boolean2D-BNWuFXK_.js} +4 -4
- package/dist/{boolean2D-BfDgoaT7.cjs → boolean2D-xDBZQH_n.cjs} +4 -4
- package/dist/{booleanFns-CN5sVkm6.js → booleanFns-CaKngiuu.js} +4 -4
- package/dist/{booleanFns-D-wTRioN.cjs → booleanFns-aeG4pQmM.cjs} +4 -4
- package/dist/brepjs.cjs +24 -24
- package/dist/brepjs.js +24 -24
- package/dist/{cameraFns-BXAgEEUR.cjs → cameraFns-Bk8frXwa.cjs} +2 -2
- package/dist/{cameraFns-BTkg-7od.js → cameraFns-k787od3u.js} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-C_w8TN9u.js → cornerFinder-B8GvvW0U.js} +1 -1
- package/dist/{cornerFinder-0DmLYmdL.cjs → cornerFinder-tTS3ny7e.cjs} +1 -1
- package/dist/{curveFns-BlfkX_gl.cjs → curveFns-CYP8UOgX.cjs} +1 -1
- package/dist/{curveFns-BIj3b16T.js → curveFns-DvNBwUdJ.js} +1 -1
- package/dist/{drawFns-CluLvJOJ.cjs → drawFns-Chpdmj4G.cjs} +12 -12
- package/dist/{drawFns-CNOti33I.js → drawFns-DmAPsfmx.js} +12 -12
- package/dist/{extrudeFns-CaBzNeiI.js → extrudeFns-CMr1tf7I.js} +1 -1
- package/dist/{extrudeFns-DYn4rntp.cjs → extrudeFns-IvYW5-8y.cjs} +1 -1
- package/dist/{faceFns-7g1e493t.cjs → faceFns-Byt7Vd3F.cjs} +2 -2
- package/dist/{faceFns-Bd3zdzrq.js → faceFns-CZp3Y8vi.js} +2 -2
- package/dist/{helpers-DQ634U2V.js → helpers-BX-0e71G.js} +6 -6
- package/dist/{helpers-qJvSmWhx.cjs → helpers-wFts3ttt.cjs} +6 -6
- package/dist/{historyFns-CyXK3XjV.cjs → historyFns-BzPsKySX.cjs} +4 -4
- package/dist/{historyFns-C6TSTHV4.js → historyFns-CZ9oNL7j.js} +4 -4
- package/dist/{importFns-DpXocvJY.js → importFns-1SHLSNtG.js} +2 -2
- package/dist/{importFns-DK85PN5U.cjs → importFns-CwILDYiQ.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/manifold/sweepOps.d.ts +1 -0
- package/dist/{measureFns-LAuiTxIU.cjs → measureFns-CrSEblGG.cjs} +3 -3
- package/dist/{measureFns-Pxrwu7Nl.js → measureFns-CvvenWkS.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-BYLqZcfo.js → meshFns-0RHalM3t.js} +3 -3
- package/dist/{meshFns-0wmojo6X.cjs → meshFns-DwHAYqRN.cjs} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-BVpOZIFy.cjs → primitiveFns-CKCALTVe.cjs} +7 -7
- package/dist/{primitiveFns-BJ5PwAOM.js → primitiveFns-ecKWNC5k.js} +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-B15j-oke.cjs → shapeFns-B5JrP5aD.cjs} +2 -2
- package/dist/{shapeFns-Bf3fSMLC.js → shapeFns-D63FuB8f.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-C1nNU4at.js → shapeRefFns-DjGKujf0.js} +4 -4
- package/dist/{shapeRefFns-Cu3aH-S0.cjs → shapeRefFns-H_O8zyAx.cjs} +4 -4
- package/dist/{shapeTypes-KIrwDkmg.js → shapeTypes-RYLpXWzG.js} +29 -18
- package/dist/{shapeTypes-C6gF9fGL.cjs → shapeTypes-kAKwccy_.cjs} +29 -18
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-CN91DyTF.js → solidBuilders-0SgkQ386.js} +2 -2
- package/dist/{solidBuilders-Ii8I669S.cjs → solidBuilders-B2IX6Pm8.cjs} +2 -2
- package/dist/{surfaceBuilders-DSgKSrN-.cjs → surfaceBuilders-BkvJS8pw.cjs} +2 -2
- package/dist/{surfaceBuilders-VOedQa9z.js → surfaceBuilders-jx81G_YJ.js} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-k0trqpEg.js → textBlueprints-BXGrW7Ak.js} +7 -7
- package/dist/{textBlueprints-BROqnpya.cjs → textBlueprints-Q2gxuZd1.cjs} +7 -7
- package/dist/{textMetrics-dS4ldSza.cjs → textMetrics-CnCjqf59.cjs} +1 -1
- package/dist/{textMetrics-DnOTH1ld.js → textMetrics-V7TXOETY.js} +1 -1
- package/dist/topology.cjs +7 -7
- package/dist/topology.js +7 -7
- package/dist/{topologyQueryFns-Bkr82t7v.js → topologyQueryFns-BtWPlP5v.js} +1 -1
- package/dist/{topologyQueryFns-CseKGFog.cjs → topologyQueryFns-Ck5trXrW.cjs} +1 -1
- package/package.json +1 -1
|
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
enumerable: true
|
|
30
30
|
}) : target, mod));
|
|
31
31
|
//#endregion
|
|
32
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
32
|
+
const require_shapeTypes = require("./shapeTypes-kAKwccy_.cjs");
|
|
33
33
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
34
34
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
35
35
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
36
36
|
const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
|
|
37
|
-
const require_faceFns = require("./faceFns-
|
|
38
|
-
const require_curveFns = require("./curveFns-
|
|
37
|
+
const require_faceFns = require("./faceFns-Byt7Vd3F.cjs");
|
|
38
|
+
const require_curveFns = require("./curveFns-CYP8UOgX.cjs");
|
|
39
39
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
40
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
41
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
42
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
43
|
-
const require_extrudeFns = require("./extrudeFns-
|
|
40
|
+
const require_surfaceBuilders = require("./surfaceBuilders-BkvJS8pw.cjs");
|
|
41
|
+
const require_blueprintSketcher = require("./blueprintSketcher-4zOPSOnK.cjs");
|
|
42
|
+
const require_solidBuilders = require("./solidBuilders-B2IX6Pm8.cjs");
|
|
43
|
+
const require_extrudeFns = require("./extrudeFns-IvYW5-8y.cjs");
|
|
44
44
|
let opentype_js = require("opentype.js");
|
|
45
45
|
opentype_js = __toESM(opentype_js, 1);
|
|
46
46
|
//#region src/operations/loftFns.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.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-BXGrW7Ak.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-Ck5trXrW.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-Byt7Vd3F.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-B5JrP5aD.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-CYP8UOgX.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-DwHAYqRN.cjs");
|
|
7
|
+
const require_booleanFns = require("./booleanFns-aeG4pQmM.cjs");
|
|
8
|
+
const require_primitiveFns = require("./primitiveFns-CKCALTVe.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 { 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 { _ 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 { 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-BtWPlP5v.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-CZp3Y8vi.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D63FuB8f.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-DvNBwUdJ.js";
|
|
5
|
+
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-0RHalM3t.js";
|
|
6
|
+
import { a as fuseAll, r as cutAll } from "./booleanFns-CaKngiuu.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-ecKWNC5k.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-RYLpXWzG.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) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-kAKwccy_.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) {
|