brepjs 18.151.0 → 18.151.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/{adjacencyFns-B1FEq-7P.cjs → adjacencyFns-DmzCVsNA.cjs} +1 -1
- package/dist/{adjacencyFns-ChpKOdJX.js → adjacencyFns-oMRMitRE.js} +1 -1
- package/dist/{blueprint-SQlROOFK.cjs → blueprint-DT7TQoxE.cjs} +6 -6
- package/dist/{blueprint-Be2V1tdb.js → blueprint-Dq3o62cF.js} +6 -6
- package/dist/{blueprintFns-DpZo8T6u.js → blueprintFns-B74C4tbO.js} +3 -3
- package/dist/{blueprintFns-BcWGUCk3.cjs → blueprintFns-CS4t2ukh.cjs} +3 -3
- package/dist/{blueprintSketcher-C9lVrRBr.cjs → blueprintSketcher-AtKzjQzf.cjs} +3 -3
- package/dist/{blueprintSketcher-HsSFy10k.js → blueprintSketcher-CEw91ij9.js} +3 -3
- package/dist/{boolean2D-Bh07EPIS.cjs → boolean2D-C1TN_Tx_.cjs} +5 -5
- package/dist/{boolean2D-CwFJsT_T.js → boolean2D-CTN9BHhX.js} +5 -5
- package/dist/brepjs.cjs +69 -32
- package/dist/brepjs.js +69 -32
- package/dist/{cameraFns-CWS3e1p_.js → cameraFns-By4a7rrk.js} +3 -3
- package/dist/{cameraFns-BYBavyGz.cjs → cameraFns-DvwFx7Zy.cjs} +3 -3
- package/dist/core/errors.d.ts +1 -0
- package/dist/core.cjs +3 -3
- package/dist/core.js +3 -3
- package/dist/{cornerFinder-D5doC-g3.js → cornerFinder-Bt1Ijr7a.js} +1 -1
- package/dist/{cornerFinder-B_6OVtcc.cjs → cornerFinder-wCndsp-s.cjs} +1 -1
- package/dist/csg/evaluate.d.ts +6 -0
- package/dist/{curveFns-dXPHWXhw.cjs → curveFns-DTbY4aYG.cjs} +1 -1
- package/dist/{curveFns-CO0dlocY.js → curveFns-U6vegvin.js} +1 -1
- package/dist/{drawFns-C_dvmPvb.cjs → drawFns-BxM81HkL.cjs} +13 -13
- package/dist/{drawFns-CVvt5Hmy.js → drawFns-qbcjiKq-.js} +13 -13
- package/dist/{errors-MHLiNE-C.js → errors-CTn8i3lY.js} +1 -0
- package/dist/{errors-RHkKO5bZ.cjs → errors-DWezb9DI.cjs} +1 -0
- package/dist/{faceFns-9lfp_6de.cjs → faceFns-ClDKjey7.cjs} +2 -2
- package/dist/{faceFns-C-SjeGpG.js → faceFns-D4z1xEh3.js} +2 -2
- package/dist/{healingFns-BtrFRoK5.js → healingFns-CN9ra8Kh.js} +4 -4
- package/dist/{healingFns-D4HAilgL.cjs → healingFns-CnRyuMWf.cjs} +4 -4
- package/dist/{helpers-BipNXMsi.js → helpers-DiOcrJ0A.js} +6 -6
- package/dist/{helpers-uUXFl5Pn.cjs → helpers-HM_a__7P.cjs} +6 -6
- package/dist/{importFns-lWFKWnCe.js → importFns-DjS57JAv.js} +2 -2
- package/dist/{importFns-CCnECEQt.cjs → importFns-cs7Y4qFg.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/{loftFns-BNziMKOW.js → loftFns-CvPetZyA.js} +1 -1
- package/dist/{loftFns-DUyKz3r7.cjs → loftFns-CzPUAFgL.cjs} +1 -1
- package/dist/{measureFns-D9lwC7kw.js → measureFns-DfgTyVBz.js} +3 -3
- package/dist/{measureFns-K2jBIt9p.cjs → measureFns-Dr0dCH-w.cjs} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-D5_15Njg.js → meshFns-FSW58GBR.js} +3 -3
- package/dist/{meshFns-D0JF9XF8.cjs → meshFns-cMtop3IN.cjs} +3 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-BgWmLwox.cjs → originTrackingFns-CSsyNoUc.cjs} +1 -1
- package/dist/{originTrackingFns-BZwAfjbF.js → originTrackingFns-Cd7Rrp9x.js} +1 -1
- package/dist/{planeOps-CQahLrCx.js → planeOps-CkpMeheg.js} +1 -1
- package/dist/{planeOps-VlFxtvzY.cjs → planeOps-CpupTCRM.cjs} +1 -1
- package/dist/{primitiveFns-p0NdUf-t.js → primitiveFns-B0iLpCEN.js} +4 -4
- package/dist/{primitiveFns-B_09AGpd.cjs → primitiveFns-BjwF7CHF.cjs} +4 -4
- 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/{refResolveFns-Dnc4_49q.js → refResolveFns-Bkm7htwc.js} +5 -5
- package/dist/{refResolveFns-Cin3djM3.cjs → refResolveFns-CTQaQ8Q8.cjs} +5 -5
- package/dist/result.cjs +1 -1
- package/dist/result.js +1 -1
- package/dist/{shapeFns-D65fk--y.cjs → shapeFns-C3AFMiyv.cjs} +2 -2
- package/dist/{shapeFns-BZnM8fRy.js → shapeFns-D0hK1y4m.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-Bm4P-jGM.cjs → solidBuilders-BKSCyfzL.cjs} +6 -6
- package/dist/{solidBuilders-CIDWhMT6.js → solidBuilders-BiRBDuvG.js} +6 -6
- package/dist/{surfaceBuilders-BC3swenJ.js → surfaceBuilders-C_oBS19q.js} +3 -3
- package/dist/{surfaceBuilders-CxbTUaok.cjs → surfaceBuilders-aSFtcDr6.cjs} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-75GTk1vk.js → textBlueprints-BM_HzZ_Z.js} +8 -8
- package/dist/{textBlueprints-D1OMdDIP.cjs → textBlueprints-rWPsnXS2.cjs} +8 -8
- package/dist/{textMetrics-DCBkXf-H.js → textMetrics-BS2MIEXH.js} +2 -2
- package/dist/{textMetrics-J2bKijAB.cjs → textMetrics-CQi7r4K0.cjs} +2 -2
- package/dist/{threadFns-D55B4LJk.js → threadFns-B86t62TB.js} +7 -7
- package/dist/{threadFns-9Xvow5fk.cjs → threadFns-BhTaoFLm.cjs} +7 -7
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-G6xu8ExU.js → topologyQueryFns-Dxwm2jN-.js} +1 -1
- package/dist/{topologyQueryFns-nT3Ir1y-.cjs → topologyQueryFns-K7_UgEws.cjs} +1 -1
- package/dist/{validityTypes-OvTu-S-y.cjs → validityTypes-Det5YWSW.cjs} +1 -1
- package/dist/{validityTypes-seS7aZI9.js → validityTypes-T6dHSAOb.js} +1 -1
- package/dist/vectors.cjs +1 -1
- package/dist/vectors.js +1 -1
- package/package.json +1 -1
package/dist/csg/evaluate.d.ts
CHANGED
|
@@ -82,6 +82,12 @@ export declare class Evaluator implements Disposable {
|
|
|
82
82
|
includeUVs?: boolean;
|
|
83
83
|
cache?: boolean;
|
|
84
84
|
}): Result<ShapeMesh>;
|
|
85
|
+
/** Scale-relative default deflection, derived from the placement-stripped
|
|
86
|
+
* geometry so the resolved density is identical whether or not the
|
|
87
|
+
* rigid-reuse path served the call: a rotated placement's axis-aligned
|
|
88
|
+
* bounds inflate the diagonal by up to sqrt(3). The bounds are read while
|
|
89
|
+
* the just-evaluated shape is live; only the number outlives it. */
|
|
90
|
+
private defaultToleranceFor;
|
|
85
91
|
private evaluateInner;
|
|
86
92
|
private releaseShape;
|
|
87
93
|
private trimCache;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
3
|
//#region src/topology/curveFns.ts
|
|
4
4
|
/**
|
|
5
5
|
* Curve and 1D shape functions — functional replacements for _1DShape/Curve methods.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as getKernel, T as isWire, h as disposeResultShape, n as castResultShape, v as isEdge } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, g as err, l as typeCastError } from "./errors-
|
|
2
|
+
import { E as ok, g as err, l as typeCastError } from "./errors-CTn8i3lY.js";
|
|
3
3
|
//#region src/topology/curveFns.ts
|
|
4
4
|
/**
|
|
5
5
|
* Curve and 1D shape functions — functional replacements for _1DShape/Curve methods.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
2
|
const require_bug = require("./bug-O02CsAmt.cjs");
|
|
3
|
-
const require_errors = require("./errors-
|
|
4
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
4
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
5
5
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
6
6
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
7
7
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
8
|
-
const require_planeOps = require("./planeOps-
|
|
9
|
-
const require_faceFns = require("./faceFns-
|
|
10
|
-
const require_curveFns = require("./curveFns-
|
|
8
|
+
const require_planeOps = require("./planeOps-CpupTCRM.cjs");
|
|
9
|
+
const require_faceFns = require("./faceFns-ClDKjey7.cjs");
|
|
10
|
+
const require_curveFns = require("./curveFns-DTbY4aYG.cjs");
|
|
11
11
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
12
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
13
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
14
|
-
const require_helpers = require("./helpers-
|
|
15
|
-
const require_blueprint = require("./blueprint-
|
|
16
|
-
const require_cornerFinder = require("./cornerFinder-
|
|
17
|
-
const require_boolean2D = require("./boolean2D-
|
|
18
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
19
|
-
const require_cameraFns = require("./cameraFns-
|
|
12
|
+
const require_surfaceBuilders = require("./surfaceBuilders-aSFtcDr6.cjs");
|
|
13
|
+
const require_blueprintSketcher = require("./blueprintSketcher-AtKzjQzf.cjs");
|
|
14
|
+
const require_helpers = require("./helpers-HM_a__7P.cjs");
|
|
15
|
+
const require_blueprint = require("./blueprint-DT7TQoxE.cjs");
|
|
16
|
+
const require_cornerFinder = require("./cornerFinder-wCndsp-s.cjs");
|
|
17
|
+
const require_boolean2D = require("./boolean2D-C1TN_Tx_.cjs");
|
|
18
|
+
const require_textBlueprints = require("./textBlueprints-rWPsnXS2.cjs");
|
|
19
|
+
const require_cameraFns = require("./cameraFns-DvwFx7Zy.cjs");
|
|
20
20
|
//#region src/2d/lib/stitching.ts
|
|
21
21
|
/**
|
|
22
22
|
* Group a flat list of curves into connected chains by matching endpoints.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { K as getKernel, M as DisposalScope, W as _usingCtx, c as createEdge, l as createFace, p as createWire } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
2
|
import { i as wasmIndex, n as bug } from "./bug-BdOHwn_e.js";
|
|
3
|
-
import { P as unwrap, s as safeIndex } from "./errors-
|
|
4
|
-
import { s as getEdges } from "./topologyQueryFns-
|
|
3
|
+
import { P as unwrap, s as safeIndex } from "./errors-CTn8i3lY.js";
|
|
4
|
+
import { s as getEdges } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
5
5
|
import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
|
|
6
6
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
7
7
|
import { d as vecNormalize, g as vecSub, h as vecScale, m as vecRotate, r as vecCross } from "./vecOps-SKPRvPH-.js";
|
|
8
|
-
import { a as planeToWorld, o as resolvePlane } from "./planeOps-
|
|
9
|
-
import { d as pointOnSurface, l as normalAt, m as uvBounds, r as faceCenter, u as outerWire, v as copyShape, y as downcast } from "./faceFns-
|
|
10
|
-
import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-
|
|
8
|
+
import { a as planeToWorld, o as resolvePlane } from "./planeOps-CkpMeheg.js";
|
|
9
|
+
import { d as pointOnSurface, l as normalAt, m as uvBounds, r as faceCenter, u as outerWire, v as copyShape, y as downcast } from "./faceFns-D4z1xEh3.js";
|
|
10
|
+
import { h as offsetWire2D, i as curveIsClosed, l as curveStartPoint } from "./curveFns-U6vegvin.js";
|
|
11
11
|
import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
12
|
-
import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-
|
|
13
|
-
import { a as Blueprints, c as make2dOffset, i as CompoundBlueprint, l as intersectCurves, n as BaseSketcher2d, o as chamferCurves, s as filletCurves, u as Flatbush } from "./blueprintSketcher-
|
|
14
|
-
import { b as squareDistance2d, l as add2d, s as PRECISION_OFFSET, v as samePoint$1, x as subtract2d } from "./helpers-
|
|
15
|
-
import { _ as approximateAsSvgCompatibleCurve, a as edgeToCurve, f as make2dInerpolatedBSplineCurve, i as curvesAsEdgesOnPlane, l as make2dCircle, p as make2dSegmentCurve, s as make2dArcFromCenter, t as Blueprint, u as make2dEllipse, v as Curve2D, x as BoundingBox2d, y as deserializeCurve2D } from "./blueprint-
|
|
16
|
-
import { t as cornerFinder } from "./cornerFinder-
|
|
17
|
-
import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-
|
|
18
|
-
import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-
|
|
19
|
-
import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-
|
|
12
|
+
import { c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, m as makeHelix, r as makeFace, s as assembleWire } from "./surfaceBuilders-C_oBS19q.js";
|
|
13
|
+
import { a as Blueprints, c as make2dOffset, i as CompoundBlueprint, l as intersectCurves, n as BaseSketcher2d, o as chamferCurves, s as filletCurves, u as Flatbush } from "./blueprintSketcher-CEw91ij9.js";
|
|
14
|
+
import { b as squareDistance2d, l as add2d, s as PRECISION_OFFSET, v as samePoint$1, x as subtract2d } from "./helpers-DiOcrJ0A.js";
|
|
15
|
+
import { _ as approximateAsSvgCompatibleCurve, a as edgeToCurve, f as make2dInerpolatedBSplineCurve, i as curvesAsEdgesOnPlane, l as make2dCircle, p as make2dSegmentCurve, s as make2dArcFromCenter, t as Blueprint, u as make2dEllipse, v as Curve2D, x as BoundingBox2d, y as deserializeCurve2D } from "./blueprint-Dq3o62cF.js";
|
|
16
|
+
import { t as cornerFinder } from "./cornerFinder-Bt1Ijr7a.js";
|
|
17
|
+
import { c as roundedRectangleBlueprint, n as fuse2D, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-CTN9BHhX.js";
|
|
18
|
+
import { _ as wrapSketchDataArray, a as Sketch, g as wrapSketchData, i as Sketches, t as textBlueprints } from "./textBlueprints-BM_HzZ_Z.js";
|
|
19
|
+
import { i as projectEdges, t as cameraFromPlane } from "./cameraFns-By4a7rrk.js";
|
|
20
20
|
//#region src/2d/lib/stitching.ts
|
|
21
21
|
/**
|
|
22
22
|
* Group a flat list of curves into connected chains by matching endpoints.
|
|
@@ -189,6 +189,7 @@ var BrepErrorCode = {
|
|
|
189
189
|
FIX_SHAPE_FAILED: "FIX_SHAPE_FAILED",
|
|
190
190
|
SOLID_FROM_SHELL_FAILED: "SOLID_FROM_SHELL_FAILED",
|
|
191
191
|
FIX_SELF_INTERSECTION_FAILED: "FIX_SELF_INTERSECTION_FAILED",
|
|
192
|
+
MESH_FAILED: "MESH_FAILED",
|
|
192
193
|
ELLIPSE_RADII: "ELLIPSE_RADII",
|
|
193
194
|
FUSE_ALL_EMPTY: "FUSE_ALL_EMPTY",
|
|
194
195
|
FILLET_NO_EDGES: "FILLET_NO_EDGES",
|
|
@@ -189,6 +189,7 @@ var BrepErrorCode = {
|
|
|
189
189
|
FIX_SHAPE_FAILED: "FIX_SHAPE_FAILED",
|
|
190
190
|
SOLID_FROM_SHELL_FAILED: "SOLID_FROM_SHELL_FAILED",
|
|
191
191
|
FIX_SELF_INTERSECTION_FAILED: "FIX_SELF_INTERSECTION_FAILED",
|
|
192
|
+
MESH_FAILED: "MESH_FAILED",
|
|
192
193
|
ELLIPSE_RADII: "ELLIPSE_RADII",
|
|
193
194
|
FUSE_ALL_EMPTY: "FUSE_ALL_EMPTY",
|
|
194
195
|
FILLET_NO_EDGES: "FILLET_NO_EDGES",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
4
4
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
5
5
|
//#region src/topology/cast.ts
|
|
6
6
|
var TOPO_ENUM = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { K as getKernel, i as castShape } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, P as unwrap, g as err, l as typeCastError } from "./errors-
|
|
3
|
-
import { a as getCachedSurfaceType } from "./topologyQueryFns-
|
|
2
|
+
import { E as ok, P as unwrap, g as err, l as typeCastError } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { a as getCachedSurfaceType } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
4
4
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
5
5
|
//#region src/topology/cast.ts
|
|
6
6
|
var TOPO_ENUM = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { C as isSolid, E as getShapeKind, K as getKernel, T as isWire, h as disposeResultShape, i as castShape, m as disposeDowncastSource, n as castResultShape, x as isShape3D, y as isFace } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode, x as isOk } from "./errors-
|
|
3
|
-
import { c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-
|
|
2
|
+
import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode, x as isOk } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { c as getFaces, i as getCachedIsValid, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
4
4
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
5
|
-
import { y as downcast } from "./faceFns-
|
|
6
|
-
import { C as propagateAllMetadata, f as cut, h as fuseAll, m as fuse, p as cutAll, x as collectInputFaceHashes } from "./solidBuilders-
|
|
5
|
+
import { y as downcast } from "./faceFns-D4z1xEh3.js";
|
|
6
|
+
import { C as propagateAllMetadata, f as cut, h as fuseAll, m as fuse, p as cutAll, x as collectInputFaceHashes } from "./solidBuilders-BiRBDuvG.js";
|
|
7
7
|
import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
8
8
|
//#region src/topology/threeHelpers.ts
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
4
4
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
5
|
-
const require_faceFns = require("./faceFns-
|
|
6
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
5
|
+
const require_faceFns = require("./faceFns-ClDKjey7.cjs");
|
|
6
|
+
const require_solidBuilders = require("./solidBuilders-BKSCyfzL.cjs");
|
|
7
7
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
8
8
|
//#region src/topology/threeHelpers.ts
|
|
9
9
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { K as getKernel, y as isFace } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, g as err, o as queryError, x as isOk } from "./errors-
|
|
3
|
-
import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-
|
|
2
|
+
import { E as ok, g as err, o as queryError, x as isOk } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
4
4
|
import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
|
|
5
5
|
import { a as vecDot, d as vecNormalize } from "./vecOps-SKPRvPH-.js";
|
|
6
|
-
import { l as normalAt, s as getSurfaceType } from "./faceFns-
|
|
7
|
-
import { a as isSameShape, n as getHashCode } from "./shapeFns-
|
|
8
|
-
import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-
|
|
9
|
-
import { n as measureArea } from "./measureFns-
|
|
6
|
+
import { l as normalAt, s as getSurfaceType } from "./faceFns-D4z1xEh3.js";
|
|
7
|
+
import { a as isSameShape, n as getHashCode } from "./shapeFns-D0hK1y4m.js";
|
|
8
|
+
import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-U6vegvin.js";
|
|
9
|
+
import { n as measureArea } from "./measureFns-DfgTyVBz.js";
|
|
10
10
|
//#region src/utils/vec2d.ts
|
|
11
11
|
/** Precision for curve intersection and parameter operations. */
|
|
12
12
|
var PRECISION_INTERSECTION = 1e-9;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
4
4
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
5
5
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
6
|
-
const require_faceFns = require("./faceFns-
|
|
7
|
-
const require_shapeFns = require("./shapeFns-
|
|
8
|
-
const require_curveFns = require("./curveFns-
|
|
9
|
-
const require_measureFns = require("./measureFns-
|
|
6
|
+
const require_faceFns = require("./faceFns-ClDKjey7.cjs");
|
|
7
|
+
const require_shapeFns = require("./shapeFns-C3AFMiyv.cjs");
|
|
8
|
+
const require_curveFns = require("./curveFns-DTbY4aYG.cjs");
|
|
9
|
+
const require_measureFns = require("./measureFns-Dr0dCH-w.cjs");
|
|
10
10
|
//#region src/utils/vec2d.ts
|
|
11
11
|
/** Precision for curve intersection and parameter operations. */
|
|
12
12
|
var PRECISION_INTERSECTION = 1e-9;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { K as getKernel, n as castResultShape } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
2
|
import { i as wasmIndex, r as vec3At$1 } from "./bug-BdOHwn_e.js";
|
|
3
|
-
import { E as ok, g as err, r as ioError, t as BrepErrorCode } from "./errors-
|
|
3
|
+
import { E as ok, g as err, r as ioError, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
|
|
4
4
|
import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
5
|
-
import { c as make2dBezierCurve, h as make2dThreePointArc, p as make2dSegmentCurve, t as Blueprint } from "./blueprint-
|
|
5
|
+
import { c as make2dBezierCurve, h as make2dThreePointArc, p as make2dSegmentCurve, t as Blueprint } from "./blueprint-Dq3o62cF.js";
|
|
6
6
|
//#region src/io/objExportFns.ts
|
|
7
7
|
/** Read a vec3 from a typed array at the given vertex index. */
|
|
8
8
|
function vec3At(arr, i) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
2
|
const require_bug = require("./bug-O02CsAmt.cjs");
|
|
3
|
-
const require_errors = require("./errors-
|
|
3
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
4
4
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
5
|
-
const require_blueprint = require("./blueprint-
|
|
5
|
+
const require_blueprint = require("./blueprint-DT7TQoxE.cjs");
|
|
6
6
|
//#region src/io/objExportFns.ts
|
|
7
7
|
/** Read a vec3 from a typed array at the given vertex index. */
|
|
8
8
|
function vec3At(arr, i) {
|
package/dist/io.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_meshFns = require("./meshFns-
|
|
3
|
-
const require_importFns = require("./importFns-
|
|
2
|
+
const require_meshFns = require("./meshFns-cMtop3IN.cjs");
|
|
3
|
+
const require_importFns = require("./importFns-cs7Y4qFg.cjs");
|
|
4
4
|
exports.blueprintToDXF = require_importFns.blueprintToDXF;
|
|
5
5
|
exports.exportDXF = require_importFns.exportDXF;
|
|
6
6
|
exports.exportGlb = require_importFns.exportGlb;
|
package/dist/io.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-
|
|
2
|
-
import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-
|
|
1
|
+
import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-FSW58GBR.js";
|
|
2
|
+
import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-DjS57JAv.js";
|
|
3
3
|
export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as getKernel, T as isWire, W as _usingCtx, h as disposeResultShape, n as castResultShape, x as isShape3D } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode } from "./errors-
|
|
2
|
+
import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
|
|
3
3
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
4
4
|
import { c as vecLength, t as vecAdd } from "./vecOps-SKPRvPH-.js";
|
|
5
5
|
//#region src/operations/extrudeUtils.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
3
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
4
4
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
5
5
|
//#region src/operations/extrudeUtils.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { K as getKernel } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-
|
|
3
|
-
import { T as kernelCallRaw } from "./topologyQueryFns-
|
|
4
|
-
import { m as uvBounds } from "./faceFns-
|
|
2
|
+
import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { T as kernelCallRaw } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
4
|
+
import { m as uvBounds } from "./faceFns-D4z1xEh3.js";
|
|
5
5
|
//#region src/measurement/measureCache.ts
|
|
6
6
|
var cache = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
function getCachedMeasurement(shape, key) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
4
|
-
const require_faceFns = require("./faceFns-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
4
|
+
const require_faceFns = require("./faceFns-ClDKjey7.cjs");
|
|
5
5
|
//#region src/measurement/measureCache.ts
|
|
6
6
|
var cache = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
function getCachedMeasurement(shape, key) {
|
package/dist/measurement.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_measureFns = require("./measureFns-
|
|
2
|
+
const require_measureFns = require("./measureFns-Dr0dCH-w.cjs");
|
|
3
3
|
exports.createDistanceQuery = require_measureFns.createDistanceQuery;
|
|
4
4
|
exports.measureArea = require_measureFns.measureArea;
|
|
5
5
|
exports.measureDistance = require_measureFns.measureDistance;
|
package/dist/measurement.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-
|
|
1
|
+
import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-DfgTyVBz.js";
|
|
2
2
|
export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { K as getKernel, lt as qualityDeflection } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, g as err, r as ioError } from "./errors-
|
|
3
|
-
import { d as getSolids, n as getBounds } from "./topologyQueryFns-
|
|
4
|
-
import { t as getFaceOrigins } from "./originTrackingFns-
|
|
2
|
+
import { E as ok, g as err, r as ioError } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { d as getSolids, n as getBounds } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
4
|
+
import { t as getFaceOrigins } from "./originTrackingFns-Cd7Rrp9x.js";
|
|
5
5
|
//#region src/topology/meshCache.ts
|
|
6
6
|
/**
|
|
7
7
|
* Build a parameter key for the inner cache map (excludes shape identity).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
4
|
-
const require_originTrackingFns = require("./originTrackingFns-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
4
|
+
const require_originTrackingFns = require("./originTrackingFns-CSsyNoUc.cjs");
|
|
5
5
|
//#region src/topology/meshCache.ts
|
|
6
6
|
/**
|
|
7
7
|
* Build a parameter key for the inner cache map (excludes shape identity).
|
package/dist/operations.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_threadFns = require("./threadFns-
|
|
3
|
-
const require_loftFns = require("./loftFns-
|
|
2
|
+
const require_threadFns = require("./threadFns-BhTaoFLm.cjs");
|
|
3
|
+
const require_loftFns = require("./loftFns-CzPUAFgL.cjs");
|
|
4
4
|
exports.addChild = require_threadFns.addChild;
|
|
5
5
|
exports.addJoint = require_threadFns.addJoint;
|
|
6
6
|
exports.addStep = require_threadFns.addStep;
|
package/dist/operations.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as setJointValue, B as walkAssembly, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as countNodes, H as circularPattern, I as createAssemblyNode, L as findNode, M as sphericalJoint, N as addChild, O as prismaticJoint, P as collectShapes, R as removeChild, S as addJoint, T as jointTransform, U as gridPattern, V as exportAssemblySTEP, W as linearPattern, Y as createAssembly, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as updateNode } from "./threadFns-
|
|
2
|
-
import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-
|
|
1
|
+
import { A as setJointValue, B as walkAssembly, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as countNodes, H as circularPattern, I as createAssemblyNode, L as findNode, M as sphericalJoint, N as addChild, O as prismaticJoint, P as collectShapes, R as removeChild, S as addJoint, T as jointTransform, U as gridPattern, V as exportAssemblySTEP, W as linearPattern, Y as createAssembly, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as updateNode } from "./threadFns-B86t62TB.js";
|
|
2
|
+
import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-CvPetZyA.js";
|
|
3
3
|
export { addChild, addJoint, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, cylindricalJoint, exportAssemblySTEP, exportURDF, findNode, findStep, forwardKinematics, getShape as getHistoryShape, gridPattern, importURDF, inverseKinematics, jointTrajectory, jointTransform, jointsFromDH, linearPattern, mechanismDOF, modifyStep, planarJoint, prismaticJoint, registerOperation, registerShape, removeChild, replayFrom, replayHistory, revoluteJoint, setJointValue, setJointValues, sphericalJoint, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
3
3
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
4
4
|
//#region src/topology/metadata/originTrackingFns.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as getKernel } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { S as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-
|
|
2
|
+
import { S as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
3
3
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
4
4
|
//#region src/topology/metadata/originTrackingFns.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as ok, P as unwrap, d as validationError, g as err } from "./errors-
|
|
1
|
+
import { E as ok, P as unwrap, d as validationError, g as err } from "./errors-CTn8i3lY.js";
|
|
2
2
|
import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
|
|
3
3
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
4
4
|
import { d as vecNormalize, h as vecScale, m as vecRotate, r as vecCross, s as vecIsZero, t as vecAdd } from "./vecOps-SKPRvPH-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_errors = require("./errors-
|
|
1
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
2
2
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
3
3
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
4
4
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { K as getKernel, W as _usingCtx, d as createSolid, n as castResultShape } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { E as ok, d as validationError, g as err, m as andThen, t as BrepErrorCode } from "./errors-
|
|
3
|
-
import { n as isClosedWire } from "./validityTypes-
|
|
2
|
+
import { E as ok, d as validationError, g as err, m as andThen, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { n as isClosedWire } from "./validityTypes-T6dHSAOb.js";
|
|
4
4
|
import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
|
|
5
|
-
import { C as propagateAllMetadata, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-
|
|
6
|
-
import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-
|
|
5
|
+
import { C as propagateAllMetadata, S as hasAnyMetadata, T as propagateMetadataThroughRelocation, a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces, w as propagateMetadataByHash, x as collectInputFaceHashes } from "./solidBuilders-BiRBDuvG.js";
|
|
6
|
+
import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-C_oBS19q.js";
|
|
7
7
|
//#region src/topology/transformFns.ts
|
|
8
8
|
/**
|
|
9
9
|
* Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_validityTypes = require("./validityTypes-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_validityTypes = require("./validityTypes-Det5YWSW.cjs");
|
|
4
4
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
5
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
6
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
5
|
+
const require_solidBuilders = require("./solidBuilders-BKSCyfzL.cjs");
|
|
6
|
+
const require_surfaceBuilders = require("./surfaceBuilders-aSFtcDr6.cjs");
|
|
7
7
|
//#region src/topology/transformFns.ts
|
|
8
8
|
/**
|
|
9
9
|
* Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
|
package/dist/projection.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_cameraFns = require("./cameraFns-
|
|
2
|
+
const require_cameraFns = require("./cameraFns-DvwFx7Zy.cjs");
|
|
3
3
|
exports.PROJECTION_PLANES = require_cameraFns.PROJECTION_PLANES;
|
|
4
4
|
exports.cameraFromPlane = require_cameraFns.cameraFromPlane;
|
|
5
5
|
exports.cameraLookAt = require_cameraFns.cameraLookAt;
|
package/dist/projection.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-
|
|
1
|
+
import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-By4a7rrk.js";
|
|
2
2
|
export { PROJECTION_PLANES, cameraFromPlane, cameraLookAt, createCamera, isProjectionPlane, makeProjectedEdges, projectEdges };
|
package/dist/query.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_helpers = require("./helpers-
|
|
3
|
-
const require_cornerFinder = require("./cornerFinder-
|
|
2
|
+
const require_helpers = require("./helpers-HM_a__7P.cjs");
|
|
3
|
+
const require_cornerFinder = require("./cornerFinder-wCndsp-s.cjs");
|
|
4
4
|
exports.cornerFinder = require_cornerFinder.cornerFinder;
|
|
5
5
|
exports.edgeFinder = require_helpers.edgeFinder;
|
|
6
6
|
exports.faceFinder = require_helpers.faceFinder;
|
package/dist/query.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-
|
|
2
|
-
import { t as cornerFinder } from "./cornerFinder-
|
|
1
|
+
import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DiOcrJ0A.js";
|
|
2
|
+
import { t as cornerFinder } from "./cornerFinder-Bt1Ijr7a.js";
|
|
3
3
|
export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { K as getKernel, g as disposeTransientSubShape, o as castShapeWithKnownType } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { C as vertexPosition, c as getFaces } from "./topologyQueryFns-
|
|
3
|
-
import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-
|
|
4
|
-
import { n as getHashCode } from "./shapeFns-
|
|
5
|
-
import { n as measureArea, s as measureLength } from "./measureFns-
|
|
6
|
-
import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-
|
|
2
|
+
import { C as vertexPosition, c as getFaces } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
3
|
+
import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-D4z1xEh3.js";
|
|
4
|
+
import { n as getHashCode } from "./shapeFns-D0hK1y4m.js";
|
|
5
|
+
import { n as measureArea, s as measureLength } from "./measureFns-DfgTyVBz.js";
|
|
6
|
+
import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-oMRMitRE.js";
|
|
7
7
|
//#region src/topology/shapeRef/scoring.ts
|
|
8
8
|
/**
|
|
9
9
|
* Default face scorer combining surface type, normal alignment, centroid proximity,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
4
|
-
const require_shapeFns = require("./shapeFns-
|
|
5
|
-
const require_measureFns = require("./measureFns-
|
|
6
|
-
const require_adjacencyFns = require("./adjacencyFns-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-ClDKjey7.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-C3AFMiyv.cjs");
|
|
5
|
+
const require_measureFns = require("./measureFns-Dr0dCH-w.cjs");
|
|
6
|
+
const require_adjacencyFns = require("./adjacencyFns-DmzCVsNA.cjs");
|
|
7
7
|
//#region src/topology/shapeRef/scoring.ts
|
|
8
8
|
/**
|
|
9
9
|
* Default face scorer combining surface type, normal alignment, centroid proximity,
|
package/dist/result.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_bug = require("./bug-O02CsAmt.cjs");
|
|
3
|
-
const require_errors = require("./errors-
|
|
3
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
4
4
|
exports.BrepBugError = require_bug.BrepBugError;
|
|
5
5
|
exports.BrepErrorCode = require_errors.BrepErrorCode;
|
|
6
6
|
exports.OK = require_errors.OK;
|
package/dist/result.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as bug, t as BrepBugError } from "./bug-BdOHwn_e.js";
|
|
2
|
-
import { E as ok, F as unwrapErr, I as unwrapOr, L as unwrapOrElse, M as tryCatch, N as tryCatchAsync, P as unwrap, S as map, T as match, _ as flatMap, a as moduleInitError, b as isErr, c as sketcherStateError, d as validationError, f as OK, g as err, h as collect, i as kernelError, k as pipeline, l as typeCastError, m as andThen, n as computationError, o as queryError, r as ioError, t as BrepErrorCode, w as mapErr, x as isOk } from "./errors-
|
|
2
|
+
import { E as ok, F as unwrapErr, I as unwrapOr, L as unwrapOrElse, M as tryCatch, N as tryCatchAsync, P as unwrap, S as map, T as match, _ as flatMap, a as moduleInitError, b as isErr, c as sketcherStateError, d as validationError, f as OK, g as err, h as collect, i as kernelError, k as pipeline, l as typeCastError, m as andThen, n as computationError, o as queryError, r as ioError, t as BrepErrorCode, w as mapErr, x as isOk } from "./errors-CTn8i3lY.js";
|
|
3
3
|
export { BrepBugError, BrepErrorCode, OK, andThen, bug, collect, computationError, err, flatMap, ioError, isErr, isOk, kernelError, map, mapErr, match, moduleInitError, ok, pipeline, queryError, sketcherStateError, tryCatch, tryCatchAsync, typeCastError, unwrap, unwrapErr, unwrapOr, unwrapOrElse, validationError };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_shapeTypes = require("./shapeTypes-Dq5ylbmP.cjs");
|
|
2
|
-
const require_errors = require("./errors-
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
2
|
+
const require_errors = require("./errors-DWezb9DI.cjs");
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-K7_UgEws.cjs");
|
|
4
4
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
5
5
|
//#region src/topology/shapeFns.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { K as getKernel } from "./shapeTypes-JD6SSVwZ.js";
|
|
2
|
-
import { t as BrepErrorCode } from "./errors-
|
|
3
|
-
import { T as kernelCallRaw, w as kernelCall } from "./topologyQueryFns-
|
|
2
|
+
import { t as BrepErrorCode } from "./errors-CTn8i3lY.js";
|
|
3
|
+
import { T as kernelCallRaw, w as kernelCall } from "./topologyQueryFns-Dxwm2jN-.js";
|
|
4
4
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
5
5
|
//#region src/topology/shapeFns.ts
|
|
6
6
|
/**
|
package/dist/shapeRef.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_refResolveFns = require("./refResolveFns-
|
|
2
|
+
const require_refResolveFns = require("./refResolveFns-CTQaQ8Q8.cjs");
|
|
3
3
|
exports.assignRoles = require_refResolveFns.assignRoles;
|
|
4
4
|
exports.captureHint = require_refResolveFns.captureHint;
|
|
5
5
|
exports.createDerivedFaceRef = require_refResolveFns.createDerivedFaceRef;
|
package/dist/shapeRef.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as createRef, a as isVertexRef, b as defaultScorer, c as resolveRefParams, d as createVertexRef, f as resolveVertexRef, g as captureHint, h as assignRoles, i as isLineageRef, l as createDerivedFaceRef, m as resolveEdgeRef, n as isEdgeRef, o as resolveLineageRef, p as createEdgeRef, r as isFaceRef, s as resolveRefIn, t as isDerivedFaceRef, u as resolveDerivedFaceRef, v as resolveRef, y as updateRoles } from "./refResolveFns-
|
|
1
|
+
import { _ as createRef, a as isVertexRef, b as defaultScorer, c as resolveRefParams, d as createVertexRef, f as resolveVertexRef, g as captureHint, h as assignRoles, i as isLineageRef, l as createDerivedFaceRef, m as resolveEdgeRef, n as isEdgeRef, o as resolveLineageRef, p as createEdgeRef, r as isFaceRef, s as resolveRefIn, t as isDerivedFaceRef, u as resolveDerivedFaceRef, v as resolveRef, y as updateRoles } from "./refResolveFns-Bkm7htwc.js";
|
|
2
2
|
export { assignRoles, captureHint, createDerivedFaceRef, createEdgeRef, createRef, createVertexRef, defaultScorer, isDerivedFaceRef, isEdgeRef, isFaceRef, isLineageRef, isVertexRef, resolveDerivedFaceRef, resolveEdgeRef, resolveLineageRef, resolveRef, resolveRefIn, resolveRefParams, resolveVertexRef, updateRoles };
|
package/dist/sketching.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
3
|
-
const require_drawFns = require("./drawFns-
|
|
4
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
2
|
+
const require_blueprintSketcher = require("./blueprintSketcher-AtKzjQzf.cjs");
|
|
3
|
+
const require_drawFns = require("./drawFns-BxM81HkL.cjs");
|
|
4
|
+
const require_textBlueprints = require("./textBlueprints-rWPsnXS2.cjs");
|
|
5
5
|
//#region src/sketching.ts
|
|
6
6
|
/**
|
|
7
7
|
* brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
|
package/dist/sketching.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-
|
|
2
|
-
import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-
|
|
3
|
-
import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-
|
|
1
|
+
import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-CEw91ij9.js";
|
|
2
|
+
import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-qbcjiKq-.js";
|
|
3
|
+
import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-BM_HzZ_Z.js";
|
|
4
4
|
//#region src/sketching.ts
|
|
5
5
|
/**
|
|
6
6
|
* brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
|