brepjs 18.83.4 → 18.84.1
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/lib/definitions.d.ts +4 -1
- package/dist/2d.cjs +6 -6
- package/dist/2d.js +6 -6
- package/dist/{blueprint-B8qBtYPi.js → blueprint-BL2TdtBX.js} +5 -5
- package/dist/{blueprint-BbY5RgQ5.cjs → blueprint-KrNFTiyX.cjs} +5 -5
- package/dist/{blueprintFns-CpHkr0_e.js → blueprintFns-DCA97w4C.js} +2 -2
- package/dist/{blueprintFns-B1RbKo8t.cjs → blueprintFns-Dp0_BOuL.cjs} +2 -2
- package/dist/{blueprintSketcher-2YCz_yJD.cjs → blueprintSketcher-ChpPo7tq.cjs} +3 -3
- package/dist/{blueprintSketcher-B3NEgpV4.js → blueprintSketcher-CxFmYBvh.js} +3 -3
- package/dist/{boolean2D-PTxVG3Uc.js → boolean2D-CIohnI9l.js} +4 -4
- package/dist/{boolean2D-CjPwTVhG.cjs → boolean2D-RC6jXv4x.cjs} +4 -4
- package/dist/brepjs.cjs +25 -25
- package/dist/brepjs.js +25 -25
- package/dist/{cameraFns-nYbmENvw.js → cameraFns-BA7CVtWJ.js} +2 -2
- package/dist/{cameraFns-bjDJPmOS.cjs → cameraFns-IL7qYFaG.cjs} +2 -2
- package/dist/core/kernelBoundary.d.ts +12 -3
- package/dist/core/planeOps.d.ts +4 -1
- package/dist/core/shapeTypeCache.d.ts +8 -2
- package/dist/core/typeDiscriminants.d.ts +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-CjVy6U82.js → cornerFinder-7M1wdtcY.js} +1 -1
- package/dist/{cornerFinder-B8elxmnw.cjs → cornerFinder-DKyR_u8g.cjs} +1 -1
- package/dist/{curveFns-Bvk5DVw_.cjs → curveFns-D3k8aHIE.cjs} +1 -1
- package/dist/{curveFns-BIQl4iLB.js → curveFns-DT1yMgBI.js} +1 -1
- package/dist/{drawFns-9cTIgqNj.cjs → drawFns-DWHuHfHQ.cjs} +12 -12
- package/dist/{drawFns-sRqFaa31.js → drawFns-DiiBS6r0.js} +12 -12
- package/dist/{faceFns-2bhJpSMB.js → faceFns-CmhEEB-L.js} +2 -2
- package/dist/{faceFns-vTqhxmcB.cjs → faceFns-DSdVqqVP.cjs} +2 -2
- package/dist/{healingFns-CDVwFu2k.cjs → healingFns-B1axWCr3.cjs} +5 -5
- package/dist/{healingFns-BmlUR01v.js → healingFns-Cxi24K_n.js} +5 -5
- package/dist/{helpers-D6ukO4SV.js → helpers-CKjmUSf0.js} +6 -6
- package/dist/{helpers-CHmo2ZG7.cjs → helpers-Cvrmxw4s.cjs} +6 -6
- package/dist/{importFns-D1kfM4rA.js → importFns-CDaNqu4H.js} +2 -2
- package/dist/{importFns-CIs4W-gk.cjs → importFns-D09lb1dB.cjs} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/kernel2dOps.d.ts +1 -1
- package/dist/kernel/occtWasm/curveOps.d.ts +5 -0
- package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
- package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +5 -5
- package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
- package/dist/kernel/occtWasm/occtWasmTypes.d.ts +4 -0
- package/dist/{loftFns-DNw-fv6j.cjs → loftFns-C664R57e.cjs} +1 -1
- package/dist/{loftFns-CHs03MbK.js → loftFns-C8Ep9McS.js} +1 -1
- package/dist/{measureFns-6P_25eFL.cjs → measureFns-BtPAmRfH.cjs} +3 -3
- package/dist/{measureFns-CkGGGmto.js → measureFns-D0e8tGSP.js} +3 -3
- package/dist/measurement/measureCache.d.ts +1 -0
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-BbKHr7Sw.cjs → meshFns-7IXB_Bua.cjs} +3 -3
- package/dist/{meshFns-CkBq181n.js → meshFns-CtchqgDR.js} +3 -3
- package/dist/{occtWasmAdapter-DQ4QncJq.cjs → occtWasmAdapter-Bv2OTOX9.cjs} +37 -10
- package/dist/{occtWasmAdapter-B76LgEfN.js → occtWasmAdapter-D7mOxU0Q.js} +37 -10
- package/dist/operations/exporters.d.ts +1 -0
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-D-lMqIXD.cjs → primitiveFns-Bdqm8wjI.cjs} +4 -4
- package/dist/{primitiveFns-BEnhrLwJ.js → primitiveFns-D7R24hoz.js} +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/{shapeFns-C0ye1jCN.js → shapeFns-B0lN3o3r.js} +2 -2
- package/dist/{shapeFns-BpVEDh-c.cjs → shapeFns-CeSEceUG.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-CZbnUeFV.cjs → shapeRefFns-BsX2j-n3.cjs} +4 -4
- package/dist/{shapeRefFns-Bcgiuaof.js → shapeRefFns-C4JSc_jF.js} +4 -4
- package/dist/{shapeTypes-D-hZ4cF-.js → shapeTypes-BIcALNFv.js} +51 -5
- package/dist/{shapeTypes-D6LjwPZo.cjs → shapeTypes-DwNTiXjG.cjs} +51 -5
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-DCvBPoL2.cjs → solidBuilders-B_5FgvuK.cjs} +5 -5
- package/dist/{solidBuilders-WCtZo-7R.js → solidBuilders-Bb5_uC7F.js} +5 -5
- package/dist/{surfaceBuilders-KGtKEo_H.js → surfaceBuilders-BQx3TjMH.js} +2 -2
- package/dist/{surfaceBuilders-C3fFKidc.cjs → surfaceBuilders-DvpxHHIm.cjs} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-BJftbT2i.js → textBlueprints-BK3idmq5.js} +7 -7
- package/dist/{textBlueprints-BYriig4p.cjs → textBlueprints-BhxAXpVE.cjs} +7 -7
- package/dist/{textMetrics-CkBotEq0.js → textMetrics-DSYHxQ3W.js} +1 -1
- package/dist/{textMetrics-6op4Qu2I.cjs → textMetrics-SaXWFfLN.cjs} +1 -1
- package/dist/{threadFns-0T6pj-cl.js → threadFns-BWAL8cAZ.js} +6 -6
- package/dist/{threadFns-CnG_pnTj.cjs → threadFns-BsRDNoSm.cjs} +6 -6
- package/dist/topology.cjs +8 -8
- package/dist/topology.js +8 -8
- package/dist/{topologyQueryFns-Wc7It_Hq.js → topologyQueryFns-0BIOC7YH.js} +1 -1
- package/dist/{topologyQueryFns-D5qzuUHY.cjs → topologyQueryFns-a2i0YhGF.cjs} +1 -1
- package/dist/utils/vec2d.d.ts +4 -1
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Z as getKernel, _ as isSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, y as isWire } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, _ as isSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, y as isWire } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
|
|
3
|
-
import { c as getFaces, i as getCachedIsValid, l as getOrCreateCache, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-
|
|
3
|
+
import { c as getFaces, i as getCachedIsValid, l as getOrCreateCache, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-0BIOC7YH.js";
|
|
4
4
|
import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
|
|
5
|
-
import { v as downcast } from "./faceFns-
|
|
6
|
-
import { _ as propagateAllMetadata, g as collectInputFaceHashes } from "./shapeFns-
|
|
5
|
+
import { v as downcast } from "./faceFns-CmhEEB-L.js";
|
|
6
|
+
import { _ as propagateAllMetadata, g as collectInputFaceHashes } from "./shapeFns-B0lN3o3r.js";
|
|
7
7
|
import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
8
|
-
import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-
|
|
8
|
+
import { f as cut, h as fuseAll, m as fuse, p as cutAll } from "./solidBuilders-Bb5_uC7F.js";
|
|
9
9
|
//#region src/topology/threeHelpers.ts
|
|
10
10
|
/**
|
|
11
11
|
* Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Z as getKernel, p as isFace } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, p as isFace } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, T as isOk, b as err, h as bug, o as queryError } from "./errors-DNWJsfVU.js";
|
|
3
|
-
import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-
|
|
3
|
+
import { c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-0BIOC7YH.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-CmhEEB-L.js";
|
|
7
|
+
import { a as isSameShape, n as getHashCode } from "./shapeFns-B0lN3o3r.js";
|
|
8
|
+
import { f as getCurveType, i as curveIsClosed, o as curveLength } from "./curveFns-DT1yMgBI.js";
|
|
9
|
+
import { n as measureArea } from "./measureFns-D0e8tGSP.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
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.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-DSdVqqVP.cjs");
|
|
7
|
+
const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
|
|
8
|
+
const require_curveFns = require("./curveFns-D3k8aHIE.cjs");
|
|
9
|
+
const require_measureFns = require("./measureFns-BtPAmRfH.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
|
-
import { Z as getKernel, t as castShape } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, t as castShape } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { n as wasmIndex, t as vec3At$1 } from "./vec3-Dpha8d5k.js";
|
|
3
3
|
import { A as ok, b as err, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
|
|
4
4
|
import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
|
|
5
|
-
import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-
|
|
5
|
+
import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-BL2TdtBX.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
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
|
|
3
3
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
4
4
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
5
|
-
const require_blueprint = require("./blueprint-
|
|
5
|
+
const require_blueprint = require("./blueprint-KrNFTiyX.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-7IXB_Bua.cjs");
|
|
3
|
+
const require_importFns = require("./importFns-D09lb1dB.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-CtchqgDR.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-CDaNqu4H.js";
|
|
3
3
|
export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
|
|
@@ -26,7 +26,7 @@ export declare function getCurve2dBounds(curve: Curve2dHandle): {
|
|
|
26
26
|
};
|
|
27
27
|
export declare function getCurve2dType(curve: Curve2dHandle): string;
|
|
28
28
|
export declare function trimCurve2d(curve: Curve2dHandle, start: number, end: number): Curve2dHandle;
|
|
29
|
-
export declare function reverseCurve2d(
|
|
29
|
+
export declare function reverseCurve2d(curve: Curve2dHandle): void;
|
|
30
30
|
export declare function copyCurve2d(curve: Curve2dHandle): Curve2dHandle;
|
|
31
31
|
export declare function offsetCurve2d(curve: Curve2dHandle, offset: number): Curve2dHandle;
|
|
32
32
|
export declare function translateCurve2d(curve: Curve2dHandle, dx: number, dy: number): Curve2dHandle;
|
|
@@ -20,4 +20,9 @@ export declare function approximatePoints(k: OcctKernelWasm, Module: OcctWasmMod
|
|
|
20
20
|
degMax?: number;
|
|
21
21
|
smoothing?: [number, number, number] | null;
|
|
22
22
|
}): KernelShape;
|
|
23
|
+
export declare function curveDegreeElevate(k: OcctKernelWasm, edge: KernelShape, elevateBy: number): KernelShape;
|
|
24
|
+
export declare function curveKnotInsert(k: OcctKernelWasm, edge: KernelShape, knot: number, times: number): KernelShape;
|
|
25
|
+
export declare function curveKnotRemove(k: OcctKernelWasm, edge: KernelShape, knot: number, tolerance: number): KernelShape;
|
|
26
|
+
export declare function curveSplit(k: OcctKernelWasm, edge: KernelShape, param: number): [KernelShape, KernelShape];
|
|
27
|
+
export declare function getBezierPenultimatePole(k: OcctKernelWasm, edge: KernelShape): [number, number, number] | null;
|
|
23
28
|
export declare function getNurbsCurveData(k: OcctKernelWasm, edge: KernelShape): NurbsCurveData | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_occtWasmAdapter = require("../../occtWasmAdapter-
|
|
2
|
+
const require_occtWasmAdapter = require("../../occtWasmAdapter-Bv2OTOX9.cjs");
|
|
3
3
|
exports.OcctWasmAdapter = require_occtWasmAdapter.OcctWasmAdapter;
|
|
@@ -293,11 +293,11 @@ export declare class OcctWasmAdapter implements KernelAdapter {
|
|
|
293
293
|
degMax?: number;
|
|
294
294
|
smoothing?: [number, number, number] | null;
|
|
295
295
|
}): KernelShape;
|
|
296
|
-
curveDegreeElevate(
|
|
297
|
-
curveKnotInsert(
|
|
298
|
-
curveKnotRemove(
|
|
299
|
-
curveSplit(
|
|
300
|
-
getBezierPenultimatePole(
|
|
296
|
+
curveDegreeElevate(edge: KernelShape, elevateBy: number): KernelShape;
|
|
297
|
+
curveKnotInsert(edge: KernelShape, knot: number, times: number): KernelShape;
|
|
298
|
+
curveKnotRemove(edge: KernelShape, knot: number, tolerance: number): KernelShape;
|
|
299
|
+
curveSplit(edge: KernelShape, param: number): [KernelShape, KernelShape];
|
|
300
|
+
getBezierPenultimatePole(edge: KernelShape): [number, number, number] | null;
|
|
301
301
|
createCurveAdaptor(_shape: KernelShape): KernelType;
|
|
302
302
|
vertexPosition(vertex: KernelShape): [number, number, number];
|
|
303
303
|
surfaceType(face: KernelShape): SurfaceType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as OcctWasmAdapter } from "../../occtWasmAdapter-
|
|
1
|
+
import { t as OcctWasmAdapter } from "../../occtWasmAdapter-D7mOxU0Q.js";
|
|
2
2
|
export { OcctWasmAdapter };
|
|
@@ -231,6 +231,10 @@ export interface OcctKernelWasm {
|
|
|
231
231
|
approximatePoints(flatPoints: EmVectorDouble, tolerance: number): number;
|
|
232
232
|
projectEdges(shapeId: number, ox: number, oy: number, oz: number, dx: number, dy: number, dz: number, xx: number, xy: number, xz: number, hasXAxis: boolean): EmProjectionData;
|
|
233
233
|
getNurbsCurveData(edgeId: number): EmNurbsCurveData;
|
|
234
|
+
curveDegreeElevate(edgeId: number, elevateBy: number): number;
|
|
235
|
+
curveKnotInsert(edgeId: number, knot: number, times: number): number;
|
|
236
|
+
curveKnotRemove(edgeId: number, knot: number, tolerance: number): number;
|
|
237
|
+
curveSplit(edgeId: number, param: number): EmVectorUint32;
|
|
234
238
|
liftCurve2dToPlane(flatPoints2d: EmVectorDouble, planeOx: number, planeOy: number, planeOz: number, planeZx: number, planeZy: number, planeZz: number, planeXx: number, planeXy: number, planeXz: number): number;
|
|
235
239
|
xcafNewDocument(): number;
|
|
236
240
|
xcafClose(docId: number): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
3
|
const require_types = require("./types-KjA8tY4Y.cjs");
|
|
4
4
|
const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
|
|
3
3
|
import { r as toVec3 } from "./types-D24Y27N0.js";
|
|
4
4
|
import { c as vecLength, d as vecNormalize, t as vecAdd } from "./vecOps-SKPRvPH-.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
4
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
|
|
4
|
+
const require_faceFns = require("./faceFns-DSdVqqVP.cjs");
|
|
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
|
-
import { Z as getKernel } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
|
|
3
|
-
import { w as kernelCallRaw } from "./topologyQueryFns-
|
|
4
|
-
import { m as uvBounds } from "./faceFns-
|
|
3
|
+
import { w as kernelCallRaw } from "./topologyQueryFns-0BIOC7YH.js";
|
|
4
|
+
import { m as uvBounds } from "./faceFns-CmhEEB-L.js";
|
|
5
5
|
//#region src/measurement/measureCache.ts
|
|
6
6
|
var cache = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
function getCachedMeasurement(shape, key) {
|
|
@@ -9,4 +9,5 @@ export interface MeasurementValueMap {
|
|
|
9
9
|
export type MeasurementKey = keyof MeasurementValueMap;
|
|
10
10
|
export declare function getCachedMeasurement<K extends MeasurementKey>(shape: object, key: K): MeasurementValueMap[K] | undefined;
|
|
11
11
|
export declare function setCachedMeasurement<K extends MeasurementKey>(shape: object, key: K, value: MeasurementValueMap[K]): void;
|
|
12
|
+
/** @testOnly Exercised by tests/measureCache.test.ts. */
|
|
12
13
|
export declare function clearMeasurementCache(shape?: object): void;
|
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-BtPAmRfH.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-D0e8tGSP.js";
|
|
2
2
|
export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
4
|
-
const require_shapeFns = require("./shapeFns-
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
|
|
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
|
-
import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, b as err, r as ioError } from "./errors-DNWJsfVU.js";
|
|
3
|
-
import { d as getSolids, n as getBounds } from "./topologyQueryFns-
|
|
4
|
-
import { O as getFaceOrigins } from "./shapeFns-
|
|
3
|
+
import { d as getSolids, n as getBounds } from "./topologyQueryFns-0BIOC7YH.js";
|
|
4
|
+
import { O as getFaceOrigins } from "./shapeFns-B0lN3o3r.js";
|
|
5
5
|
//#region src/topology/meshCache.ts
|
|
6
6
|
/**
|
|
7
7
|
* Build a parameter key for the inner cache map (excludes shape identity).
|
|
@@ -1681,6 +1681,33 @@ function approximatePoints(k, Module, points, options) {
|
|
|
1681
1681
|
vec.delete();
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
|
+
function curveDegreeElevate(k, edge, elevateBy) {
|
|
1685
|
+
return handle("edge", k.curveDegreeElevate(unwrap(edge), elevateBy));
|
|
1686
|
+
}
|
|
1687
|
+
function curveKnotInsert(k, edge, knot, times) {
|
|
1688
|
+
return handle("edge", k.curveKnotInsert(unwrap(edge), knot, times));
|
|
1689
|
+
}
|
|
1690
|
+
function curveKnotRemove(k, edge, knot, tolerance) {
|
|
1691
|
+
return handle("edge", k.curveKnotRemove(unwrap(edge), knot, tolerance));
|
|
1692
|
+
}
|
|
1693
|
+
function curveSplit(k, edge, param) {
|
|
1694
|
+
const vec = k.curveSplit(unwrap(edge), param);
|
|
1695
|
+
try {
|
|
1696
|
+
return [handle("edge", vec.get(0)), handle("edge", vec.get(1))];
|
|
1697
|
+
} finally {
|
|
1698
|
+
vec.delete();
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
function getBezierPenultimatePole(k, edge) {
|
|
1702
|
+
const data = getNurbsCurveData(k, edge);
|
|
1703
|
+
if (!data || data.poles.length < 2) return null;
|
|
1704
|
+
const pole = data.poles[data.poles.length - 2];
|
|
1705
|
+
return pole ? [
|
|
1706
|
+
pole[0],
|
|
1707
|
+
pole[1],
|
|
1708
|
+
pole[2]
|
|
1709
|
+
] : null;
|
|
1710
|
+
}
|
|
1684
1711
|
function getNurbsCurveData(k, edge) {
|
|
1685
1712
|
try {
|
|
1686
1713
|
const data = k.getNurbsCurveData(unwrap(edge));
|
|
@@ -4906,20 +4933,20 @@ var OcctWasmAdapter = class OcctWasmAdapter {
|
|
|
4906
4933
|
approximatePoints(points, options) {
|
|
4907
4934
|
return approximatePoints(this.k, this.Module, points, options);
|
|
4908
4935
|
}
|
|
4909
|
-
curveDegreeElevate(
|
|
4910
|
-
|
|
4936
|
+
curveDegreeElevate(edge, elevateBy) {
|
|
4937
|
+
return curveDegreeElevate(this.k, edge, elevateBy);
|
|
4911
4938
|
}
|
|
4912
|
-
curveKnotInsert(
|
|
4913
|
-
|
|
4939
|
+
curveKnotInsert(edge, knot, times) {
|
|
4940
|
+
return curveKnotInsert(this.k, edge, knot, times);
|
|
4914
4941
|
}
|
|
4915
|
-
curveKnotRemove(
|
|
4916
|
-
|
|
4942
|
+
curveKnotRemove(edge, knot, tolerance) {
|
|
4943
|
+
return curveKnotRemove(this.k, edge, knot, tolerance);
|
|
4917
4944
|
}
|
|
4918
|
-
curveSplit(
|
|
4919
|
-
|
|
4945
|
+
curveSplit(edge, param) {
|
|
4946
|
+
return curveSplit(this.k, edge, param);
|
|
4920
4947
|
}
|
|
4921
|
-
getBezierPenultimatePole(
|
|
4922
|
-
|
|
4948
|
+
getBezierPenultimatePole(edge) {
|
|
4949
|
+
return getBezierPenultimatePole(this.k, edge);
|
|
4923
4950
|
}
|
|
4924
4951
|
createCurveAdaptor(_shape) {
|
|
4925
4952
|
notImplemented("createCurveAdaptor");
|
|
@@ -1681,6 +1681,33 @@ function approximatePoints(k, Module, points, options) {
|
|
|
1681
1681
|
vec.delete();
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
|
+
function curveDegreeElevate(k, edge, elevateBy) {
|
|
1685
|
+
return handle("edge", k.curveDegreeElevate(unwrap(edge), elevateBy));
|
|
1686
|
+
}
|
|
1687
|
+
function curveKnotInsert(k, edge, knot, times) {
|
|
1688
|
+
return handle("edge", k.curveKnotInsert(unwrap(edge), knot, times));
|
|
1689
|
+
}
|
|
1690
|
+
function curveKnotRemove(k, edge, knot, tolerance) {
|
|
1691
|
+
return handle("edge", k.curveKnotRemove(unwrap(edge), knot, tolerance));
|
|
1692
|
+
}
|
|
1693
|
+
function curveSplit(k, edge, param) {
|
|
1694
|
+
const vec = k.curveSplit(unwrap(edge), param);
|
|
1695
|
+
try {
|
|
1696
|
+
return [handle("edge", vec.get(0)), handle("edge", vec.get(1))];
|
|
1697
|
+
} finally {
|
|
1698
|
+
vec.delete();
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
function getBezierPenultimatePole(k, edge) {
|
|
1702
|
+
const data = getNurbsCurveData(k, edge);
|
|
1703
|
+
if (!data || data.poles.length < 2) return null;
|
|
1704
|
+
const pole = data.poles[data.poles.length - 2];
|
|
1705
|
+
return pole ? [
|
|
1706
|
+
pole[0],
|
|
1707
|
+
pole[1],
|
|
1708
|
+
pole[2]
|
|
1709
|
+
] : null;
|
|
1710
|
+
}
|
|
1684
1711
|
function getNurbsCurveData(k, edge) {
|
|
1685
1712
|
try {
|
|
1686
1713
|
const data = k.getNurbsCurveData(unwrap(edge));
|
|
@@ -4906,20 +4933,20 @@ var OcctWasmAdapter = class OcctWasmAdapter {
|
|
|
4906
4933
|
approximatePoints(points, options) {
|
|
4907
4934
|
return approximatePoints(this.k, this.Module, points, options);
|
|
4908
4935
|
}
|
|
4909
|
-
curveDegreeElevate(
|
|
4910
|
-
|
|
4936
|
+
curveDegreeElevate(edge, elevateBy) {
|
|
4937
|
+
return curveDegreeElevate(this.k, edge, elevateBy);
|
|
4911
4938
|
}
|
|
4912
|
-
curveKnotInsert(
|
|
4913
|
-
|
|
4939
|
+
curveKnotInsert(edge, knot, times) {
|
|
4940
|
+
return curveKnotInsert(this.k, edge, knot, times);
|
|
4914
4941
|
}
|
|
4915
|
-
curveKnotRemove(
|
|
4916
|
-
|
|
4942
|
+
curveKnotRemove(edge, knot, tolerance) {
|
|
4943
|
+
return curveKnotRemove(this.k, edge, knot, tolerance);
|
|
4917
4944
|
}
|
|
4918
|
-
curveSplit(
|
|
4919
|
-
|
|
4945
|
+
curveSplit(edge, param) {
|
|
4946
|
+
return curveSplit(this.k, edge, param);
|
|
4920
4947
|
}
|
|
4921
|
-
getBezierPenultimatePole(
|
|
4922
|
-
|
|
4948
|
+
getBezierPenultimatePole(edge) {
|
|
4949
|
+
return getBezierPenultimatePole(this.k, edge);
|
|
4923
4950
|
}
|
|
4924
4951
|
createCurveAdaptor(_shape) {
|
|
4925
4952
|
notImplemented("createCurveAdaptor");
|
|
@@ -51,6 +51,7 @@ export declare function createAssembly(shapes?: ShapeOptions[]): AssemblyExporte
|
|
|
51
51
|
* ```
|
|
52
52
|
*
|
|
53
53
|
* @see {@link exporterFns!exportAssemblySTEP | exportAssemblySTEP} for the functional API equivalent.
|
|
54
|
+
* @testOnly Exercised by tests/operations-exporters.test.ts.
|
|
54
55
|
*/
|
|
55
56
|
export declare function exportSTEP(shapes?: ShapeOptions[], { unit, modelUnit }?: {
|
|
56
57
|
unit?: SupportedUnit;
|
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-BsRDNoSm.cjs");
|
|
3
|
+
const require_loftFns = require("./loftFns-C664R57e.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 findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ 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, q as exportAssemblySTEP, 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 createAssemblyNode } from "./threadFns-
|
|
2
|
-
import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-
|
|
1
|
+
import { A as setJointValue, B as findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ 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, q as exportAssemblySTEP, 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 createAssemblyNode } from "./threadFns-BWAL8cAZ.js";
|
|
2
|
+
import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-C8Ep9McS.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,9 +1,9 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
3
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
4
|
-
const require_shapeFns = require("./shapeFns-
|
|
5
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
6
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
4
|
+
const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
|
|
5
|
+
const require_surfaceBuilders = require("./surfaceBuilders-DvpxHHIm.cjs");
|
|
6
|
+
const require_solidBuilders = require("./solidBuilders-B_5FgvuK.cjs");
|
|
7
7
|
//#region src/topology/primitiveFns.ts
|
|
8
8
|
/**
|
|
9
9
|
* Create a box with the given dimensions.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Z as getKernel, c as createSolid, x as isClosedWire } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, c as createSolid, x as isClosedWire } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, v as andThen } from "./errors-DNWJsfVU.js";
|
|
3
3
|
import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
|
|
4
|
-
import { h as translate } from "./shapeFns-
|
|
5
|
-
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-
|
|
6
|
-
import { 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 } from "./solidBuilders-
|
|
4
|
+
import { h as translate } from "./shapeFns-B0lN3o3r.js";
|
|
5
|
+
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-BQx3TjMH.js";
|
|
6
|
+
import { 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 } from "./solidBuilders-Bb5_uC7F.js";
|
|
7
7
|
//#region src/topology/primitiveFns.ts
|
|
8
8
|
/**
|
|
9
9
|
* Create a box with the given dimensions.
|
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-IL7qYFaG.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-BA7CVtWJ.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-Cvrmxw4s.cjs");
|
|
3
|
+
const require_cornerFinder = require("./cornerFinder-DKyR_u8g.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-CKjmUSf0.js";
|
|
2
|
+
import { t as cornerFinder } from "./cornerFinder-7M1wdtcY.js";
|
|
3
3
|
export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Z as getKernel, t as castShape } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, t as castShape } from "./shapeTypes-BIcALNFv.js";
|
|
2
2
|
import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
|
|
3
|
-
import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-
|
|
3
|
+
import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-0BIOC7YH.js";
|
|
4
4
|
import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
|
|
5
5
|
//#region src/topology/metadata/originTrackingFns.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DwNTiXjG.cjs");
|
|
2
2
|
const require_errors = require("./errors-CXJtc4I7.cjs");
|
|
3
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
+
const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
|
|
4
4
|
const require_constants = require("./constants-BOVyEYGH.cjs");
|
|
5
5
|
//#region src/topology/metadata/originTrackingFns.ts
|
|
6
6
|
/**
|
package/dist/shapeRef.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_shapeRefFns = require("./shapeRefFns-
|
|
2
|
+
const require_shapeRefFns = require("./shapeRefFns-BsX2j-n3.cjs");
|
|
3
3
|
exports.assignRoles = require_shapeRefFns.assignRoles;
|
|
4
4
|
exports.captureHint = require_shapeRefFns.captureHint;
|
|
5
5
|
exports.createRef = require_shapeRefFns.createRef;
|
package/dist/shapeRef.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-
|
|
1
|
+
import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-C4JSc_jF.js";
|
|
2
2
|
export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_vec3 = require("./vec3-CFwOI0ZI.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-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-a2i0YhGF.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-DSdVqqVP.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-CeSEceUG.cjs");
|
|
5
|
+
const require_measureFns = require("./measureFns-BtPAmRfH.cjs");
|
|
6
6
|
//#region src/topology/shapeRef/scoring.ts
|
|
7
7
|
/**
|
|
8
8
|
* Default face scorer combining surface type, normal alignment, centroid proximity,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
|
|
2
|
-
import { 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 } from "./measureFns-
|
|
2
|
+
import { c as getFaces } from "./topologyQueryFns-0BIOC7YH.js";
|
|
3
|
+
import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-CmhEEB-L.js";
|
|
4
|
+
import { n as getHashCode } from "./shapeFns-B0lN3o3r.js";
|
|
5
|
+
import { n as measureArea } from "./measureFns-D0e8tGSP.js";
|
|
6
6
|
//#region src/topology/shapeRef/scoring.ts
|
|
7
7
|
/**
|
|
8
8
|
* Default face scorer combining surface type, normal alignment, centroid proximity,
|