brepjs 18.64.0 → 18.65.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-B-auug94.js → blueprint-1wDhBDmB.js} +5 -5
- package/dist/{blueprint-CnGsBG6y.cjs → blueprint-smNMCQA1.cjs} +5 -5
- package/dist/{blueprintFns-Bpp0oBUG.js → blueprintFns-DeCDdsDz.js} +2 -2
- package/dist/{blueprintFns-CocKjMHz.cjs → blueprintFns-DkHfzzv0.cjs} +2 -2
- package/dist/{blueprintSketcher-BmCyc7s1.js → blueprintSketcher-BL85kdgo.js} +3 -3
- package/dist/{blueprintSketcher-J9bAQDhD.cjs → blueprintSketcher-Bpd7nMHt.cjs} +3 -3
- package/dist/{boolean2D-zhHdr4EG.cjs → boolean2D-CHu_3RIB.cjs} +4 -4
- package/dist/{boolean2D-C-tW10ip.js → boolean2D-CWgORqab.js} +4 -4
- package/dist/{booleanFns-9qTQX1iM.cjs → booleanFns-C9olM-r4.cjs} +4 -4
- package/dist/{booleanFns-4_KnvEil.js → booleanFns-ogc1TMXG.js} +4 -4
- package/dist/brepjs.cjs +24 -24
- package/dist/brepjs.js +24 -24
- package/dist/{cameraFns-5FSJmH9r.js → cameraFns-9SLctf9O.js} +2 -2
- package/dist/{cameraFns-Bz11Ik2z.cjs → cameraFns-Za6Rsnmg.cjs} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-mD9AqCfR.cjs → cornerFinder-CUhZgX6X.cjs} +1 -1
- package/dist/{cornerFinder-C10oNGL4.js → cornerFinder-Cchldpsv.js} +1 -1
- package/dist/{curveFns-BcS0DZLj.js → curveFns-DH5NpaKO.js} +1 -1
- package/dist/{curveFns-DOW3Rs1A.cjs → curveFns-DR68aqxR.cjs} +1 -1
- package/dist/{drawFns-0ojbwK2X.js → drawFns-Cq6bAjFC.js} +12 -12
- package/dist/{drawFns-B4BFzsPq.cjs → drawFns-DPE6EU_v.cjs} +12 -12
- package/dist/{extrudeFns-CrTb7bjb.js → extrudeFns-DZEN4PPg.js} +1 -1
- package/dist/{extrudeFns-D0IrXWsB.cjs → extrudeFns-yfUN1m7e.cjs} +1 -1
- package/dist/{faceFns-DFbEW9oz.js → faceFns-Qrz3lIDv.js} +2 -2
- package/dist/{faceFns-FVl-7nu7.cjs → faceFns-_m0px2ug.cjs} +2 -2
- package/dist/{helpers-BqrszPEI.cjs → helpers-BXiYZ2Dl.cjs} +6 -6
- package/dist/{helpers-CIucvYwe.js → helpers-Bk538__I.js} +6 -6
- package/dist/{historyFns-B-C4Cp9C.cjs → historyFns-B-R48Dze.cjs} +4 -4
- package/dist/{historyFns-h6FtvY5t.js → historyFns-BJKkvynn.js} +4 -4
- package/dist/{importFns-8wNWf6zt.js → importFns-Cid57qQ1.js} +2 -2
- package/dist/{importFns-Q9jZUGn_.cjs → importFns-D8EPeKcC.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/manifold/profileOps.d.ts +1 -1
- package/dist/{measureFns-DXQSqDH0.js → measureFns-95m36tbx.js} +3 -3
- package/dist/{measureFns-DSUJdWbH.cjs → measureFns-CqSFeI4R.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-DZA-Hsya.js → meshFns-BCggXbKk.js} +3 -3
- package/dist/{meshFns-D2rcmVr_.cjs → meshFns-CR8dRmoo.cjs} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-B7BJjuHU.cjs → primitiveFns-DFsImECE.cjs} +7 -7
- package/dist/{primitiveFns-_A-uhxX7.js → primitiveFns-Fy3scr-a.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-Cu8myB5f.js → shapeFns-Ct1lekCK.js} +2 -2
- package/dist/{shapeFns-Uplvk1Jx.cjs → shapeFns-DNqkQ2yJ.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-DZS2Y-8H.cjs → shapeRefFns-BB9iWqZb.cjs} +4 -4
- package/dist/{shapeRefFns-Drrf8qS4.js → shapeRefFns-CZqzvMgX.js} +4 -4
- package/dist/{shapeTypes-B2tufXyI.js → shapeTypes-C-32Klnb.js} +25 -11
- package/dist/{shapeTypes-0gU7DOBf.cjs → shapeTypes-DAhE_41P.cjs} +25 -11
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-3Is-YjEI.js → solidBuilders-B-gb9ZsJ.js} +2 -2
- package/dist/{solidBuilders-CdWC9FZI.cjs → solidBuilders-iapbn6CO.cjs} +2 -2
- package/dist/{surfaceBuilders-BjiUI8f_.cjs → surfaceBuilders-B9kzwe0E.cjs} +2 -2
- package/dist/{surfaceBuilders-BZOjOk6T.js → surfaceBuilders-Cwecm13F.js} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-Dl-qQ5Hm.cjs → textBlueprints-7KWxP1zT.cjs} +7 -7
- package/dist/{textBlueprints-BPi0wGxq.js → textBlueprints-CyIv54Ac.js} +7 -7
- package/dist/{textMetrics-CDEnxSK0.cjs → textMetrics-BXoJfZKn.cjs} +1 -1
- package/dist/{textMetrics-yWTfUPqx.js → textMetrics-D740OLnV.js} +1 -1
- package/dist/topology.cjs +7 -7
- package/dist/topology.js +7 -7
- package/dist/{topologyQueryFns-CxPWWuGB.js → topologyQueryFns-C0yUIRDE.js} +1 -1
- package/dist/{topologyQueryFns-CI4gmFyi.cjs → topologyQueryFns-CBVVRWvE.cjs} +1 -1
- package/package.json +1 -1
|
@@ -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-C-32Klnb.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-DNWJsfVU.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-DSjjtrjg.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-Qrz3lIDv.js";
|
|
7
|
+
import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-DH5NpaKO.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-Cwecm13F.js";
|
|
10
|
+
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BL85kdgo.js";
|
|
11
|
+
import { o as makeSolid, t as makeCompound } from "./solidBuilders-B-gb9ZsJ.js";
|
|
12
|
+
import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-DZEN4PPg.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-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-CyIv54Ac.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-CBVVRWvE.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-_m0px2ug.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-DNqkQ2yJ.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-DR68aqxR.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-CR8dRmoo.cjs");
|
|
7
|
+
const require_booleanFns = require("./booleanFns-C9olM-r4.cjs");
|
|
8
|
+
const require_primitiveFns = require("./primitiveFns-DFsImECE.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-C0yUIRDE.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-Qrz3lIDv.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-Ct1lekCK.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-DH5NpaKO.js";
|
|
5
|
+
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BCggXbKk.js";
|
|
6
|
+
import { a as fuseAll, r as cutAll } from "./booleanFns-ogc1TMXG.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-Fy3scr-a.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-C-32Klnb.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-DAhE_41P.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) {
|