brepjs 13.4.0 → 14.1.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 +15 -14
- package/dist/2d.js +6 -5
- package/dist/arrayAccess-CmulMesb.cjs +40 -0
- package/dist/arrayAccess-xxcB3YNq.js +23 -0
- package/dist/{blueprint-CB_85Lz_.js → blueprint-B3A5x7P9.js} +9 -9
- package/dist/{blueprint-CDnBM-tA.cjs → blueprint-D0XChcek.cjs} +13 -13
- package/dist/{blueprintFns-DVDommWB.js → blueprintFns-BwAMXY3t.js} +4 -125
- package/dist/{blueprintFns-D4YucGaQ.cjs → blueprintFns-COrEYX29.cjs} +3 -142
- package/dist/{boolean2D-lqfKJKUY.cjs → boolean2D-BPsyKImE.cjs} +19 -18
- package/dist/{boolean2D-Mzp-0g7o.js → boolean2D-D_Te-6N6.js} +12 -11
- package/dist/{booleanFns-Bw8sAMgI.cjs → booleanFns-B6M6Lm0V.cjs} +24 -22
- package/dist/{booleanFns-B46fgObh.js → booleanFns-CgsaJFBf.js} +8 -6
- package/dist/brepjs.cjs +301 -90
- package/dist/brepjs.js +189 -26
- package/dist/constants-B9u763C3.js +9 -0
- package/dist/constants-unWN8k4c.cjs +26 -0
- package/dist/core/errors.d.ts +5 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/kernelCall.d.ts.map +1 -1
- package/dist/core/kernelErrorTranslation.d.ts +2 -0
- package/dist/core/kernelErrorTranslation.d.ts.map +1 -1
- package/dist/core.cjs +8 -7
- package/dist/core.js +5 -4
- package/dist/{cornerFinder-aBLykolI.js → cornerFinder-AEFnAxt4.js} +3 -3
- package/dist/{cornerFinder-BszIcLqj.cjs → cornerFinder-DTt_SvtC.cjs} +4 -4
- package/dist/{curveFns-DY4dFcP-.js → curveFns-CcInoOEA.js} +2 -2
- package/dist/{curveFns-CZszKLQB.cjs → curveFns-DCEcwcpd.cjs} +2 -2
- package/dist/{drawFns-BHNDF8hb.cjs → drawFns-BOwBIzPa.cjs} +34 -17
- package/dist/{drawFns-l5CY2s-l.js → drawFns-n9qif7QN.js} +16 -14
- package/dist/{errors-BlC5ZWv4.cjs → errors-9zQcQK1H.cjs} +28 -0
- package/dist/{errors-BVOlxlIA.js → errors-C-cgQA3w.js} +23 -1
- package/dist/{extrudeFns-b0uLn4E4.js → extrudeFns-DrDr9-nU.js} +3 -3
- package/dist/{extrudeFns-GpCB_Uzs.cjs → extrudeFns-Rcut7h8S.cjs} +3 -3
- package/dist/{faceFns-Cat-4X74.js → faceFns-TSH54pPQ.js} +93 -3
- package/dist/{faceFns-BywUjlJ7.cjs → faceFns-cE2WxY6I.cjs} +110 -2
- package/dist/{helpers-1iCCEElA.cjs → helpers-DZje6XWE.cjs} +18 -17
- package/dist/{helpers-DgX1UucG.js → helpers-XrXlKm8D.js} +8 -7
- package/dist/{historyFns-BFwp8NLX.js → historyFns-2hCWrX_X.js} +10 -10
- package/dist/{historyFns-DqxDtXIZ.cjs → historyFns-BiQ9dmzp.cjs} +10 -10
- package/dist/{importFns-ChXEJAvu.cjs → importFns-DGE5nCSW.cjs} +4 -4
- package/dist/{importFns-Cb8fcldB.js → importFns-m0xyj0Zt.js} +4 -4
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/brepkit/brepkitAdapter.d.ts +149 -242
- package/dist/kernel/brepkit/brepkitAdapter.d.ts.map +1 -1
- package/dist/kernel/brepkit/evolutionOps.d.ts +1 -0
- package/dist/kernel/brepkit/evolutionOps.d.ts.map +1 -1
- package/dist/kernel/index.d.ts +1 -1
- package/dist/kernel/index.d.ts.map +1 -1
- package/dist/{measureFns-D3rAp1X1.js → measureFns-DHByqdmn.js} +9 -16
- package/dist/{measureFns-Bx-kl7_g.cjs → measureFns-D_QKZ5yg.cjs} +9 -16
- package/dist/measurement/measureFns.d.ts.map +1 -1
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-D3KAZ_ma.cjs → meshFns-CVe3Kc77.cjs} +4 -4
- package/dist/{meshFns-BPi0bhm9.js → meshFns-DL4Djz3w.js} +3 -3
- package/dist/ns/booleans.d.ts +10 -0
- package/dist/ns/booleans.d.ts.map +1 -0
- package/dist/ns/construction.d.ts +10 -0
- package/dist/ns/construction.d.ts.map +1 -0
- package/dist/ns/ioNs.d.ts +18 -0
- package/dist/ns/ioNs.d.ts.map +1 -0
- package/dist/ns/measurement.d.ts +6 -0
- package/dist/ns/measurement.d.ts.map +1 -0
- package/dist/ns/modifiers.d.ts +6 -0
- package/dist/ns/modifiers.d.ts.map +1 -0
- package/dist/ns/patterns.d.ts +5 -0
- package/dist/ns/patterns.d.ts.map +1 -0
- package/dist/ns/primitives.d.ts +7 -0
- package/dist/ns/primitives.d.ts.map +1 -0
- package/dist/ns/query.d.ts +6 -0
- package/dist/ns/query.d.ts.map +1 -0
- package/dist/ns/transforms.d.ts +5 -0
- package/dist/ns/transforms.d.ts.map +1 -0
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{planeOps-BqLav0Ir.cjs → planeOps-6Wu7dMDN.cjs} +4 -3
- package/dist/{planeOps-D88tfyJs.js → planeOps-gTOEarV2.js} +3 -2
- package/dist/{primitiveFns-BGh9A9jR.cjs → primitiveFns-CRPGjIFg.cjs} +69 -69
- package/dist/{primitiveFns-CnZkW6Bi.js → primitiveFns-CeKiYSSW.js} +7 -7
- package/dist/query.cjs +2 -2
- package/dist/query.js +2 -2
- package/dist/result.cjs +1 -1
- package/dist/result.js +1 -1
- package/dist/{arrayAccess-B5LgmXBo.js → shapeFns-DCi9O27X.js} +8 -30
- package/dist/{arrayAccess-t2dlxGSK.cjs → shapeFns-aEeSHNqX.cjs} +24 -64
- package/dist/shapeRef.cjs +8 -0
- package/dist/shapeRef.d.ts +5 -0
- package/dist/shapeRef.d.ts.map +1 -0
- package/dist/shapeRef.js +2 -0
- package/dist/shapeRefFns-B1TODUMl.js +194 -0
- package/dist/shapeRefFns-CVdS6jWS.cjs +229 -0
- package/dist/{shapeTypes-Di6GlhPk.js → shapeTypes-BO1aiDhi.js} +2642 -2546
- package/dist/{shapeTypes-8eK48l-X.cjs → shapeTypes-BqWQlrYE.cjs} +2642 -2546
- package/dist/sketching.cjs +2 -2
- package/dist/sketching.js +2 -2
- package/dist/{solidBuilders-D9KYP9sL.cjs → solidBuilders-0iVdiZUw.cjs} +3 -3
- package/dist/{solidBuilders-ctO_wFrm.js → solidBuilders-jk7HfWs8.js} +3 -3
- package/dist/{surfaceBuilders-CZzipftq.cjs → surfaceBuilders-C_8rs79F.cjs} +3 -3
- package/dist/{surfaceBuilders-BaqeZa0x.js → surfaceBuilders-DE5e6bp8.js} +3 -3
- package/dist/topology/api.d.ts +3 -3
- package/dist/topology/api.d.ts.map +1 -1
- package/dist/topology/shapeFns.d.ts +4 -3
- package/dist/topology/shapeFns.d.ts.map +1 -1
- package/dist/topology/shapeRef/index.d.ts +7 -0
- package/dist/topology/shapeRef/index.d.ts.map +1 -0
- package/dist/topology/shapeRef/scoring.d.ts +16 -0
- package/dist/topology/shapeRef/scoring.d.ts.map +1 -0
- package/dist/topology/shapeRef/shapeRefFns.d.ts +47 -0
- package/dist/topology/shapeRef/shapeRefFns.d.ts.map +1 -0
- package/dist/topology/shapeRef/shapeRefTypes.d.ts +40 -0
- package/dist/topology/shapeRef/shapeRefTypes.d.ts.map +1 -0
- package/dist/topology.cjs +20 -20
- package/dist/topology.js +6 -6
- package/dist/{vecOps-DKGelwGL.cjs → vecOps-BXvBYIor.cjs} +0 -26
- package/dist/{vecOps-DFfUfsmc.js → vecOps-D9etjPgV.js} +1 -9
- package/dist/vectors.cjs +5 -4
- package/dist/vectors.js +3 -2
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +1 -1
- package/package.json +14 -4
- /package/dist/{workerHandler-nLkvSOKX.cjs → workerHandler-C-7OUJsa.cjs} +0 -0
- /package/dist/{workerHandler-BrOTzYRI.js → workerHandler-o2xzAfFk.js} +0 -0
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,OAAO,EACP,SAAS,EACT,cAAc,EACd,UAAU,EACV,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,aAAa,EACb,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,SAAS,EAET,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AACjF,YAAY,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAI1F,OAAO,EACL,EAAE,EACF,GAAG,EACH,EAAE,EACF,IAAI,EACJ,KAAK,EACL,GAAG,EACH,OAAO,EACP,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,KAAK,EACL,OAAO,EACP,EAAE,EACF,MAAM,EACN,GAAG,IAAI,UAAU,EACjB,GAAG,EACH,GAAG,EACH,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,KAAK,MAAM,EACX,KAAK,EAAE,EACP,KAAK,GAAG,EACR,KAAK,IAAI,EACT,KAAK,cAAc,GACpB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CA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AI,EACJ,GAAG,EACH,SAAS,EACT,OAAO,EACP,aAAa,EACb,KAAK,EACL,KAAK,EAEL,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EAEP,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,cAAc,EACnB,KAAK,WAAW,IAAI,gBAAgB,EACpC,KAAK,YAAY,IAAI,iBAAiB,GACvC,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EACL,KAAK,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,kBAAkB,GACnB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,WAAW,GACjB,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,OAAO,EACP,SAAS,EACT,cAAc,EACd,UAAU,EACV,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,aAAa,EACb,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,SAAS,EAET,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EA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I,gBAAgB,EACpC,KAAK,YAAY,IAAI,iBAAiB,GACvC,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EACL,KAAK,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,kBAAkB,GACnB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,WAAW,GACjB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AACvC,OAAO,KAAK,YAAY,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC"}
|
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-CVe3Kc77.cjs");
|
|
3
|
+
const require_importFns = require("./importFns-DGE5nCSW.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-DL4Djz3w.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-m0xyj0Zt.js";
|
|
3
3
|
export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
|
|
@@ -2,25 +2,6 @@ import { BooleanOpType, CheckBooleanResult, KernelAdapter, KernelMeshResult, Ker
|
|
|
2
2
|
import { BulkMeasurement } from '../interfaces/measureOps.js';
|
|
3
3
|
import { TransformEntry } from '../interfaces/transformOps.js';
|
|
4
4
|
import { Curve2dHandle, BBox2dHandle } from '../kernel2dTypes.js';
|
|
5
|
-
/**
|
|
6
|
-
* Typed wrapper around a brepkit u32 arena handle.
|
|
7
|
-
*
|
|
8
|
-
* brepjs passes these around as opaque `KernelShape`. The adapter extracts
|
|
9
|
-
* the `.id` and `.type` when calling back into brepkit WASM.
|
|
10
|
-
*/
|
|
11
|
-
export interface BrepkitHandle {
|
|
12
|
-
readonly __brepkit: true;
|
|
13
|
-
readonly type: ShapeType;
|
|
14
|
-
/** Raw u32 arena index. */
|
|
15
|
-
readonly id: number;
|
|
16
|
-
/** No-op — arena-based allocation doesn't free individual handles.
|
|
17
|
-
* Present for compatibility with OCCT's wasm-bindgen `.delete()` convention. */
|
|
18
|
-
delete(): void;
|
|
19
|
-
/** OCCT-compatible hash code derived from the arena handle id. */
|
|
20
|
-
HashCode(upperBound: number): number;
|
|
21
|
-
/** OCCT-compatible null check — brepkit handles are never null. */
|
|
22
|
-
IsNull(): boolean;
|
|
23
|
-
}
|
|
24
5
|
export declare class BrepkitAdapter implements KernelAdapter {
|
|
25
6
|
readonly oc: KernelInstance;
|
|
26
7
|
readonly kernelId = "brepkit";
|
|
@@ -78,12 +59,34 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
78
59
|
transitionMode?: number;
|
|
79
60
|
}): KernelShape;
|
|
80
61
|
simplePipe(profile: KernelShape, spine: KernelShape): KernelShape;
|
|
62
|
+
helicalSweep(profile: KernelShape, axisOrigin: [number, number, number], axisDirection: [number, number, number], radius: number, pitch: number, turns: number): KernelShape;
|
|
63
|
+
sweepWithOptions(profile: KernelShape, pathEdge: KernelShape, contactMode: string, scaleValues: number[], segments: number): KernelShape;
|
|
64
|
+
sweepPipeShell(profile: KernelShape, spine: KernelShape, options?: Record<string, unknown>): KernelShape | {
|
|
65
|
+
shape: KernelShape;
|
|
66
|
+
firstShape: KernelShape;
|
|
67
|
+
lastShape: KernelShape;
|
|
68
|
+
};
|
|
69
|
+
loftAdvanced(wires: KernelShape[], options?: {
|
|
70
|
+
solid?: boolean;
|
|
71
|
+
ruled?: boolean;
|
|
72
|
+
startVertex?: KernelShape;
|
|
73
|
+
endVertex?: KernelShape;
|
|
74
|
+
tolerance?: number;
|
|
75
|
+
}): KernelShape;
|
|
76
|
+
buildExtrusionLaw(profile: 'linear' | 's-curve', length: number, endFactor: number): KernelType;
|
|
77
|
+
draftPrism(shape: KernelShape, face: KernelShape, _baseFace: KernelShape, height: number | null, _angleDeg: number, fuse: boolean): KernelShape;
|
|
81
78
|
fillet(shape: KernelShape, edges: KernelShape[], radius: number | [number, number] | ((edge: KernelShape) => number | [number, number])): KernelShape;
|
|
82
79
|
chamfer(shape: KernelShape, edges: KernelShape[], distance: number | [number, number] | ((edge: KernelShape) => number | [number, number])): KernelShape;
|
|
83
80
|
chamferDistAngle(shape: KernelShape, edges: KernelShape[], distance: number, angleDeg: number): KernelShape;
|
|
84
81
|
shell(shape: KernelShape, faces: KernelShape[], thickness: number, tolerance?: number): KernelShape;
|
|
85
82
|
thicken(shape: KernelShape, thickness: number): KernelShape;
|
|
86
83
|
offset(shape: KernelShape, distance: number, tolerance?: number): KernelShape;
|
|
84
|
+
filletVariable(shape: KernelShape, spec: string): KernelShape;
|
|
85
|
+
draft(shape: KernelShape, faces: KernelShape[], pullDirection: [number, number, number], neutralPlane: [number, number, number], angleDeg: number | ((face: KernelShape) => number)): KernelShape;
|
|
86
|
+
defeature(shape: KernelShape, faces: KernelShape[]): KernelShape;
|
|
87
|
+
simplify(shape: KernelShape): KernelShape;
|
|
88
|
+
reverseShape(shape: KernelShape): KernelShape;
|
|
89
|
+
offsetWire2D(wire: KernelShape, offset: number, _joinType?: number | 'arc' | 'intersection' | 'tangent'): KernelShape;
|
|
87
90
|
transform(shape: KernelShape, trsf: KernelType): KernelShape;
|
|
88
91
|
translate(shape: KernelShape, x: number, y: number, z: number): KernelShape;
|
|
89
92
|
rotate(shape: KernelShape, angle: number, axis?: readonly [number, number, number], center?: readonly [number, number, number]): KernelShape;
|
|
@@ -92,49 +95,15 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
92
95
|
transformBatch(entries: TransformEntry[]): KernelShape[];
|
|
93
96
|
generalTransform(shape: KernelShape, linear: readonly [number, number, number, number, number, number, number, number, number], translation: readonly [number, number, number], _isOrthogonal: boolean): KernelShape;
|
|
94
97
|
generalTransformNonOrthogonal(shape: KernelShape, linear: readonly [number, number, number, number, number, number, number, number, number], translation: readonly [number, number, number]): KernelShape;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
* The native API returns:
|
|
100
|
-
* `{"solid": u32, "evolution": {"modified": {inputFaceId: [outputFaceIds]}, "generated": {}, "deleted": [faceIds]}}`
|
|
101
|
-
*
|
|
102
|
-
* We convert face IDs → hashes via `id % hashUpperBound`.
|
|
103
|
-
*/
|
|
104
|
-
private parseNativeEvolution;
|
|
105
|
-
/**
|
|
106
|
-
* Build a ShapeEvolution by comparing input face hashes to output face hashes.
|
|
107
|
-
*
|
|
108
|
-
* For transforms: 1:1 mapping (modified = identity, no generated/deleted).
|
|
109
|
-
* For booleans/modifiers: compare sets to detect changes, with geometric
|
|
110
|
-
* fallback when hash matching fails (brepkit always creates new face IDs).
|
|
111
|
-
*/
|
|
112
|
-
private buildEvolution;
|
|
113
|
-
/**
|
|
114
|
-
* Chain an evolution map (modified or generated) through one step of a multi-step
|
|
115
|
-
* boolean. For each entry, each previous output hash is resolved against this
|
|
116
|
-
* step's evolution: if it was further modified, follow to the new outputs; if
|
|
117
|
-
* deleted, drop it; otherwise keep it unchanged.
|
|
118
|
-
*
|
|
119
|
-
* Mutates `map` in-place and records each resolved prevOut in `intermediateOutputs`.
|
|
120
|
-
* When `deleteOnEmpty` is provided, entries that reduce to no outputs are added to it.
|
|
121
|
-
*/
|
|
122
|
-
private static chainEvolutionMap;
|
|
123
|
-
/** Squared Euclidean distance between two 3-component centroids. */
|
|
124
|
-
private static centroidDistSq;
|
|
125
|
-
/** Compute face centroid as the average of tessellation vertices. */
|
|
126
|
-
private faceCentroidById;
|
|
127
|
-
/**
|
|
128
|
-
* Match input→output faces geometrically using normal dot product and centroid distance.
|
|
129
|
-
* Mirrors the algorithm in brepkit's `boolean_with_evolution`.
|
|
130
|
-
*/
|
|
131
|
-
private matchFacesGeometrically;
|
|
98
|
+
positionOnCurve(shape: KernelShape, spine: KernelShape, param: number): KernelShape;
|
|
99
|
+
linearPattern(shape: KernelShape, direction: [number, number, number], spacing: number, count: number): KernelShape[];
|
|
100
|
+
circularPattern(shape: KernelShape, center: [number, number, number], axis: [number, number, number], angleStep: number, count: number): KernelShape[];
|
|
101
|
+
gridPattern(shape: KernelShape, directionX: [number, number, number], directionY: [number, number, number], spacingX: number, spacingY: number, countX: number, countY: number): KernelShape;
|
|
132
102
|
translateWithHistory(shape: KernelShape, x: number, y: number, z: number, inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
133
103
|
rotateWithHistory(shape: KernelShape, angle: number, inputFaceHashes: number[], hashUpperBound: number, axis?: readonly [number, number, number], center?: readonly [number, number, number]): OperationResult;
|
|
134
104
|
mirrorWithHistory(shape: KernelShape, origin: readonly [number, number, number], normal: readonly [number, number, number], inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
135
105
|
scaleWithHistory(shape: KernelShape, center: readonly [number, number, number], factor: number, inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
136
106
|
generalTransformWithHistory(shape: KernelShape, linear: readonly [number, number, number, number, number, number, number, number, number], translation: readonly [number, number, number], isOrthogonal: boolean, inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
137
|
-
private booleanWithHistoryImpl;
|
|
138
107
|
fuseWithHistory(shape: KernelShape, tool: KernelShape, inputFaceHashes: number[], hashUpperBound: number, options?: BooleanOptions): DiagnosticOperationResult;
|
|
139
108
|
cutWithHistory(shape: KernelShape, tool: KernelShape, inputFaceHashes: number[], hashUpperBound: number, options?: BooleanOptions): DiagnosticOperationResult;
|
|
140
109
|
intersectWithHistory(shape: KernelShape, tool: KernelShape, inputFaceHashes: number[], hashUpperBound: number, options?: BooleanOptions): DiagnosticOperationResult;
|
|
@@ -144,8 +113,25 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
144
113
|
thickenWithHistory(shape: KernelShape, thickness: number, inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
145
114
|
offsetWithHistory(shape: KernelShape, distance: number, inputFaceHashes: number[], hashUpperBound: number, tolerance?: number): OperationResult;
|
|
146
115
|
draftWithHistory(shape: KernelShape, faces: KernelShape[], pullDirection: [number, number, number], neutralPlane: [number, number, number], angleDeg: number | ((face: KernelShape) => number), inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
116
|
+
applyComposedTransformWithHistory(shape: KernelShape, transformHandle: KernelType, inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
117
|
+
composeTransform(ops: Array<{
|
|
118
|
+
type: 'translate';
|
|
119
|
+
x: number;
|
|
120
|
+
y: number;
|
|
121
|
+
z: number;
|
|
122
|
+
} | {
|
|
123
|
+
type: 'rotate';
|
|
124
|
+
angle: number;
|
|
125
|
+
axis?: readonly [number, number, number];
|
|
126
|
+
center?: readonly [number, number, number];
|
|
127
|
+
}>): {
|
|
128
|
+
handle: KernelType;
|
|
129
|
+
dispose: () => void;
|
|
130
|
+
};
|
|
147
131
|
mesh(shape: KernelShape, options: MeshOptions): KernelMeshResult;
|
|
148
132
|
meshEdges(shape: KernelShape, tolerance: number, angularTolerance: number): KernelEdgeMeshResult;
|
|
133
|
+
hasTriangulation(_shape: KernelShape): boolean;
|
|
134
|
+
meshShape(_shape: KernelShape, _tolerance: number, _angularTolerance: number): void;
|
|
149
135
|
exportSTEP(shapes: KernelShape[]): string;
|
|
150
136
|
exportSTL(shape: KernelShape, binary?: boolean): string | ArrayBuffer;
|
|
151
137
|
importSTEP(data: string | ArrayBuffer): KernelShape[];
|
|
@@ -155,6 +141,37 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
155
141
|
exportSTEPAssembly(parts: StepAssemblyPart[], _options?: {
|
|
156
142
|
unit?: string;
|
|
157
143
|
}): string;
|
|
144
|
+
export3MF(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
145
|
+
exportGLB(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
146
|
+
exportOBJ(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
147
|
+
exportPLY(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
148
|
+
import3MF(data: ArrayBuffer): KernelShape[];
|
|
149
|
+
importOBJ(data: ArrayBuffer): KernelShape;
|
|
150
|
+
importGLB(data: ArrayBuffer): KernelShape;
|
|
151
|
+
toBREP(shape: KernelShape): string;
|
|
152
|
+
fromBREP(data: string): KernelShape;
|
|
153
|
+
createXCAFDocument(shapes: Array<{
|
|
154
|
+
shape: KernelShape;
|
|
155
|
+
name: string;
|
|
156
|
+
color?: [number, number, number, number];
|
|
157
|
+
}>): KernelType;
|
|
158
|
+
writeXCAFToSTEP(doc: KernelType, _options?: {
|
|
159
|
+
unit?: string;
|
|
160
|
+
modelUnit?: string;
|
|
161
|
+
}): string;
|
|
162
|
+
exportSTEPConfigured(shapes: Array<{
|
|
163
|
+
shape: KernelShape;
|
|
164
|
+
name?: string;
|
|
165
|
+
color?: [number, number, number, number];
|
|
166
|
+
}>, _options?: {
|
|
167
|
+
unit?: string;
|
|
168
|
+
modelUnit?: string;
|
|
169
|
+
schema?: number;
|
|
170
|
+
}): string;
|
|
171
|
+
wrapString(str: string): KernelType;
|
|
172
|
+
wrapColor(red: number, green: number, blue: number, alpha: number): KernelType;
|
|
173
|
+
configureStepUnits(_unit: string | undefined, _modelUnit: string | undefined): void;
|
|
174
|
+
configureStepWriter(_writer: KernelType): void;
|
|
158
175
|
volume(shape: KernelShape): number;
|
|
159
176
|
area(shape: KernelShape): number;
|
|
160
177
|
length(shape: KernelShape): number;
|
|
@@ -165,6 +182,24 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
165
182
|
max: [number, number, number];
|
|
166
183
|
};
|
|
167
184
|
measureBulk(shape: KernelShape, includeLinear?: boolean): BulkMeasurement;
|
|
185
|
+
distance(shape1: KernelShape, shape2: KernelShape): DistanceResult;
|
|
186
|
+
surfaceCurvature(face: KernelShape, u: number, v: number): {
|
|
187
|
+
gaussian: number;
|
|
188
|
+
mean: number;
|
|
189
|
+
max: number;
|
|
190
|
+
min: number;
|
|
191
|
+
maxDirection: [number, number, number];
|
|
192
|
+
minDirection: [number, number, number];
|
|
193
|
+
};
|
|
194
|
+
surfaceCenterOfMass(face: KernelShape): [number, number, number];
|
|
195
|
+
createDistanceQuery(referenceShape: KernelShape): {
|
|
196
|
+
distanceTo(shape: KernelShape): {
|
|
197
|
+
value: number;
|
|
198
|
+
point1: [number, number, number];
|
|
199
|
+
point2: [number, number, number];
|
|
200
|
+
};
|
|
201
|
+
dispose(): void;
|
|
202
|
+
};
|
|
168
203
|
iterShapes(shape: KernelShape, type: ShapeType): KernelShape[];
|
|
169
204
|
iterShapeList(list: KernelShape, callback: (item: KernelShape) => void): void;
|
|
170
205
|
shapeType(shape: KernelShape): ShapeType;
|
|
@@ -174,6 +209,10 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
174
209
|
hashCode(shape: KernelShape, upperBound: number): number;
|
|
175
210
|
isNull(shape: KernelShape): boolean;
|
|
176
211
|
shapeOrientation(shape: KernelShape): ShapeOrientation;
|
|
212
|
+
edgeToFaceMap(shape: KernelShape): string;
|
|
213
|
+
sharedEdges(faceA: KernelShape, faceB: KernelShape): KernelShape[];
|
|
214
|
+
adjacentFaces(shape: KernelShape, face: KernelShape): KernelShape[];
|
|
215
|
+
sew(shapes: KernelShape[], tolerance?: number): KernelShape;
|
|
177
216
|
vertexPosition(vertex: KernelShape): [number, number, number];
|
|
178
217
|
surfaceType(face: KernelShape): SurfaceType;
|
|
179
218
|
uvBounds(face: KernelShape): {
|
|
@@ -197,89 +236,24 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
197
236
|
curveIsPeriodic(shape: KernelShape): boolean;
|
|
198
237
|
curvePeriod(shape: KernelShape): number;
|
|
199
238
|
curveType(shape: KernelShape): string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
239
|
+
curveDegreeElevate(edge: KernelShape, elevateBy: number): KernelShape;
|
|
240
|
+
curveKnotInsert(edge: KernelShape, knot: number, times: number): KernelShape;
|
|
241
|
+
curveKnotRemove(edge: KernelShape, knot: number, tolerance: number): KernelShape;
|
|
242
|
+
curveSplit(edge: KernelShape, param: number): [KernelShape, KernelShape];
|
|
243
|
+
approximateSurfaceLspia(coords: number[], rows: number, cols: number, degreeU: number, degreeV: number, numCpsU: number, numCpsV: number, tolerance: number, maxIterations: number): KernelShape;
|
|
244
|
+
untrimFace(face: KernelShape, samplesPerCurve: number, interiorSamples: number): KernelShape;
|
|
245
|
+
createCurveAdaptor(shape: KernelShape): KernelType;
|
|
246
|
+
getBezierPenultimatePole(edge: KernelShape): [number, number, number] | null;
|
|
247
|
+
getSurfaceCylinderData(surface: KernelType): {
|
|
248
|
+
radius: number;
|
|
249
|
+
isDirect: boolean;
|
|
250
|
+
} | null;
|
|
251
|
+
reverseSurfaceU(surface: KernelType): KernelType;
|
|
209
252
|
classifyPointOnFace(face: KernelShape, u: number, v: number, tolerance?: number): 'in' | 'on' | 'out';
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
approximatePoints(points: [number, number, number][], options?: {
|
|
215
|
-
tolerance?: number;
|
|
216
|
-
degMin?: number;
|
|
217
|
-
degMax?: number;
|
|
218
|
-
smoothing?: [number, number, number] | null;
|
|
219
|
-
}): KernelShape;
|
|
220
|
-
toBREP(shape: KernelShape): string;
|
|
221
|
-
fromBREP(data: string): KernelShape;
|
|
222
|
-
hasTriangulation(_shape: KernelShape): boolean;
|
|
223
|
-
meshShape(_shape: KernelShape, _tolerance: number, _angularTolerance: number): void;
|
|
224
|
-
composeTransform(ops: Array<{
|
|
225
|
-
type: 'translate';
|
|
226
|
-
x: number;
|
|
227
|
-
y: number;
|
|
228
|
-
z: number;
|
|
229
|
-
} | {
|
|
230
|
-
type: 'rotate';
|
|
231
|
-
angle: number;
|
|
232
|
-
axis?: readonly [number, number, number];
|
|
233
|
-
center?: readonly [number, number, number];
|
|
234
|
-
}>): {
|
|
235
|
-
handle: KernelType;
|
|
236
|
-
dispose: () => void;
|
|
237
|
-
};
|
|
238
|
-
applyComposedTransformWithHistory(shape: KernelShape, transformHandle: KernelType, inputFaceHashes: number[], hashUpperBound: number): OperationResult;
|
|
239
|
-
sweepPipeShell(profile: KernelShape, spine: KernelShape, options?: Record<string, unknown>): KernelShape | {
|
|
240
|
-
shape: KernelShape;
|
|
241
|
-
firstShape: KernelShape;
|
|
242
|
-
lastShape: KernelShape;
|
|
243
|
-
};
|
|
244
|
-
loftAdvanced(wires: KernelShape[], options?: {
|
|
245
|
-
solid?: boolean;
|
|
246
|
-
ruled?: boolean;
|
|
247
|
-
startVertex?: KernelShape;
|
|
248
|
-
endVertex?: KernelShape;
|
|
249
|
-
tolerance?: number;
|
|
250
|
-
}): KernelShape;
|
|
251
|
-
buildExtrusionLaw(profile: 'linear' | 's-curve', length: number, endFactor: number): KernelType;
|
|
252
|
-
positionOnCurve(shape: KernelShape, spine: KernelShape, param: number): KernelShape;
|
|
253
|
-
linearPattern(shape: KernelShape, direction: [number, number, number], spacing: number, count: number): KernelShape[];
|
|
254
|
-
circularPattern(shape: KernelShape, center: [number, number, number], axis: [number, number, number], angleStep: number, count: number): KernelShape[];
|
|
255
|
-
gridPattern(shape: KernelShape, directionX: [number, number, number], directionY: [number, number, number], spacingX: number, spacingY: number, countX: number, countY: number): KernelShape;
|
|
256
|
-
makeNonPlanarFace(wire: KernelShape): KernelShape;
|
|
257
|
-
addHolesInFace(face: KernelShape, holeWires: KernelShape[]): KernelShape;
|
|
258
|
-
removeHolesFromFace(face: KernelShape): KernelShape;
|
|
259
|
-
makeFaceOnSurface(_surface: KernelType, wire: KernelShape): KernelShape;
|
|
260
|
-
bsplineSurface(points: [number, number, number][], rows: number, cols: number): KernelShape;
|
|
261
|
-
triangulatedSurface(points: [number, number, number][], rows: number, cols: number): KernelShape;
|
|
262
|
-
buildTriFace(a: [number, number, number], b: [number, number, number], c: [number, number, number]): KernelShape | null;
|
|
263
|
-
sewAndSolidify(faces: KernelShape[], tolerance: number): KernelShape;
|
|
264
|
-
fixShape(shape: KernelShape): KernelShape;
|
|
265
|
-
fixSelfIntersection(wire: KernelShape): KernelShape;
|
|
266
|
-
surfaceCurvature(face: KernelShape, u: number, v: number): {
|
|
267
|
-
gaussian: number;
|
|
268
|
-
mean: number;
|
|
269
|
-
max: number;
|
|
270
|
-
min: number;
|
|
271
|
-
maxDirection: [number, number, number];
|
|
272
|
-
minDirection: [number, number, number];
|
|
273
|
-
};
|
|
274
|
-
surfaceCenterOfMass(face: KernelShape): [number, number, number];
|
|
275
|
-
createDistanceQuery(referenceShape: KernelShape): {
|
|
276
|
-
distanceTo(shape: KernelShape): {
|
|
277
|
-
value: number;
|
|
278
|
-
point1: [number, number, number];
|
|
279
|
-
point2: [number, number, number];
|
|
280
|
-
};
|
|
281
|
-
dispose(): void;
|
|
282
|
-
};
|
|
253
|
+
classifyPointRobust(shape: KernelShape, point: [number, number, number], tolerance: number): string;
|
|
254
|
+
classifyPointWinding(shape: KernelShape, point: [number, number, number], tolerance: number): string;
|
|
255
|
+
detectSmallFeatures(shape: KernelShape, areaThreshold: number, tolerance: number): KernelShape[];
|
|
256
|
+
recognizeFeatures(shape: KernelShape, tolerance: number): string;
|
|
283
257
|
projectEdges(shape: KernelShape, _cameraOrigin: [number, number, number], _cameraDirection: [number, number, number], _cameraXAxis?: [number, number, number]): {
|
|
284
258
|
visible: {
|
|
285
259
|
outline: KernelShape;
|
|
@@ -292,59 +266,57 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
292
266
|
sharp: KernelShape;
|
|
293
267
|
};
|
|
294
268
|
};
|
|
295
|
-
draftPrism(shape: KernelShape, face: KernelShape, _baseFace: KernelShape, height: number | null, _angleDeg: number, fuse: boolean): KernelShape;
|
|
296
|
-
createXCAFDocument(shapes: Array<{
|
|
297
|
-
shape: KernelShape;
|
|
298
|
-
name: string;
|
|
299
|
-
color?: [number, number, number, number];
|
|
300
|
-
}>): KernelType;
|
|
301
|
-
writeXCAFToSTEP(doc: KernelType, _options?: {
|
|
302
|
-
unit?: string;
|
|
303
|
-
modelUnit?: string;
|
|
304
|
-
}): string;
|
|
305
|
-
exportSTEPConfigured(shapes: Array<{
|
|
306
|
-
shape: KernelShape;
|
|
307
|
-
name?: string;
|
|
308
|
-
color?: [number, number, number, number];
|
|
309
|
-
}>, _options?: {
|
|
310
|
-
unit?: string;
|
|
311
|
-
modelUnit?: string;
|
|
312
|
-
schema?: number;
|
|
313
|
-
}): string;
|
|
314
|
-
wrapString(str: string): KernelType;
|
|
315
|
-
wrapColor(red: number, green: number, blue: number, alpha: number): KernelType;
|
|
316
|
-
configureStepUnits(_unit: string | undefined, _modelUnit: string | undefined): void;
|
|
317
|
-
configureStepWriter(_writer: KernelType): void;
|
|
318
|
-
createCurveAdaptor(shape: KernelShape): KernelType;
|
|
319
|
-
getBezierPenultimatePole(edge: KernelShape): [number, number, number] | null;
|
|
320
|
-
getSurfaceCylinderData(surface: KernelType): {
|
|
321
|
-
radius: number;
|
|
322
|
-
isDirect: boolean;
|
|
323
|
-
} | null;
|
|
324
|
-
reverseSurfaceU(surface: KernelType): KernelType;
|
|
325
269
|
getNurbsCurveData(_edge: KernelShape): NurbsCurveData | null;
|
|
326
270
|
getNurbsSurfaceData(_face: KernelShape): NurbsSurfaceData | null;
|
|
271
|
+
isValid(shape: KernelShape): boolean;
|
|
272
|
+
isValidStrict(shape: KernelShape): boolean;
|
|
273
|
+
healSolid(shape: KernelShape): KernelShape | null;
|
|
274
|
+
healFace(shape: KernelShape): KernelShape;
|
|
275
|
+
healWire(wire: KernelShape, _face?: KernelShape): KernelShape;
|
|
276
|
+
fixShape(shape: KernelShape): KernelShape;
|
|
277
|
+
fixSelfIntersection(wire: KernelShape): KernelShape;
|
|
278
|
+
mergeCoincidentVertices(shape: KernelShape, tolerance: number): number;
|
|
279
|
+
removeDegenerateEdges(shape: KernelShape, tolerance: number): number;
|
|
280
|
+
fixFaceOrientations(shape: KernelShape): number;
|
|
281
|
+
validationDetails(shape: KernelShape): string | null;
|
|
282
|
+
makeNonPlanarFace(wire: KernelShape): KernelShape;
|
|
283
|
+
addHolesInFace(face: KernelShape, holeWires: KernelShape[]): KernelShape;
|
|
284
|
+
removeHolesFromFace(face: KernelShape): KernelShape;
|
|
285
|
+
makeFaceOnSurface(_surface: KernelType, wire: KernelShape): KernelShape;
|
|
286
|
+
bsplineSurface(points: [number, number, number][], rows: number, cols: number): KernelShape;
|
|
287
|
+
triangulatedSurface(points: [number, number, number][], rows: number, cols: number): KernelShape;
|
|
288
|
+
buildTriFace(a: [number, number, number], b: [number, number, number], c: [number, number, number]): KernelShape | null;
|
|
289
|
+
sewAndSolidify(faces: KernelShape[], tolerance: number): KernelShape;
|
|
290
|
+
interpolatePoints(points: [number, number, number][], options?: {
|
|
291
|
+
periodic?: boolean;
|
|
292
|
+
tolerance?: number;
|
|
293
|
+
}): KernelShape;
|
|
294
|
+
approximatePoints(points: [number, number, number][], options?: {
|
|
295
|
+
tolerance?: number;
|
|
296
|
+
degMin?: number;
|
|
297
|
+
degMax?: number;
|
|
298
|
+
smoothing?: [number, number, number] | null;
|
|
299
|
+
}): KernelShape;
|
|
327
300
|
createPoint3d(x: number, y: number, z: number): KernelType;
|
|
328
301
|
createDirection3d(x: number, y: number, z: number): KernelType;
|
|
329
302
|
createVector3d(x: number, y: number, z: number): KernelType;
|
|
330
303
|
createAxis1(cx: number, cy: number, cz: number, dx: number, dy: number, dz: number): KernelType;
|
|
331
304
|
createAxis2(ox: number, oy: number, oz: number, zx: number, zy: number, zz: number, xx?: number, xy?: number, xz?: number): KernelType;
|
|
332
305
|
createAxis3(ox: number, oy: number, oz: number, zx: number, zy: number, zz: number, xx?: number, xy?: number, xz?: number): KernelType;
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
306
|
+
meshBoolean(positionsA: number[], indicesA: number[], positionsB: number[], indicesB: number[], op: string, tolerance: number): KernelMeshResult;
|
|
307
|
+
sketchNew(): number;
|
|
308
|
+
sketchAddPoint(sketch: number, x: number, y: number, fixed: boolean): number;
|
|
309
|
+
sketchAddConstraint(sketch: number, constraintJson: string): void;
|
|
310
|
+
sketchSolve(sketch: number, maxIterations: number, tolerance: number): string;
|
|
311
|
+
sketchDof(sketch: number): string;
|
|
338
312
|
checkpoint(): number;
|
|
339
|
-
/** Get the current number of active checkpoints. */
|
|
340
313
|
checkpointCount(): number;
|
|
341
|
-
/** Restore arena to a checkpoint, freeing all handles created after it. */
|
|
342
314
|
restoreCheckpoint(cp: number): void;
|
|
343
|
-
/** Discard a checkpoint without restoring (keep all handles). */
|
|
344
315
|
discardCheckpoint(cp: number): void;
|
|
345
316
|
dispose(_handle: {
|
|
346
317
|
delete(): void;
|
|
347
318
|
}): void;
|
|
319
|
+
executeBatch(json: string): string;
|
|
348
320
|
createPoint2d(x: number, y: number): KernelType;
|
|
349
321
|
createDirection2d(x: number, y: number): KernelType;
|
|
350
322
|
createVector2d(x: number, y: number): KernelType;
|
|
@@ -441,70 +413,5 @@ export declare class BrepkitAdapter implements KernelAdapter {
|
|
|
441
413
|
buildCurves3d(_wire: KernelShape): void;
|
|
442
414
|
fixWireOnFace(wire: KernelShape, _face: KernelShape, _tolerance: number): KernelShape;
|
|
443
415
|
fillSurface(wires: KernelShape[], _options?: Record<string, unknown>): KernelShape;
|
|
444
|
-
private applyMatrix;
|
|
445
|
-
/** Tessellate a solid with per-face groups for brepjs mesh format. */
|
|
446
|
-
private meshSolid;
|
|
447
|
-
/**
|
|
448
|
-
* Batch tessellation via `tessellateSolidGrouped` — single WASM call for
|
|
449
|
-
* all faces. Falls back to `meshSolidPerFace` on error.
|
|
450
|
-
*
|
|
451
|
-
* When `includeUVs` is true, makes an additional `tessellateSolidUV` call
|
|
452
|
-
* to populate real surface parametrization coordinates.
|
|
453
|
-
*/
|
|
454
|
-
private meshSolidGrouped;
|
|
455
|
-
/** Per-face tessellation fallback — N WASM calls, one per face. */
|
|
456
|
-
private meshSolidPerFace;
|
|
457
|
-
/** Tessellate a single face and return brepjs mesh format. */
|
|
458
|
-
private meshSingleFace;
|
|
459
|
-
/**
|
|
460
|
-
* Extract NURBS curve data from an edge handle.
|
|
461
|
-
* Returns null for line edges (caller can build a linear NURBS).
|
|
462
|
-
* Returns {degree, knots, controlPoints, weights} for NURBS edges.
|
|
463
|
-
*/
|
|
464
|
-
private extractNurbsFromEdge;
|
|
465
|
-
/** Create a new constraint sketch. Returns an opaque sketch handle. */
|
|
466
|
-
sketchNew(): number;
|
|
467
|
-
/** Add a point to a constraint sketch. Returns the point index. */
|
|
468
|
-
sketchAddPoint(sketch: number, x: number, y: number, fixed: boolean): number;
|
|
469
|
-
/** Add a constraint to a sketch (JSON-encoded constraint descriptor). */
|
|
470
|
-
sketchAddConstraint(sketch: number, constraintJson: string): void;
|
|
471
|
-
/**
|
|
472
|
-
* Solve sketch constraints. Returns a JSON result with solved point positions.
|
|
473
|
-
* @param maxIterations — solver iteration limit (e.g. 100)
|
|
474
|
-
* @param tolerance — convergence tolerance (e.g. 1e-10)
|
|
475
|
-
*/
|
|
476
|
-
sketchSolve(sketch: number, maxIterations: number, tolerance: number): string;
|
|
477
|
-
/** Get degrees of freedom remaining in a solved or partially-constrained sketch. */
|
|
478
|
-
sketchDof(sketch: number): string;
|
|
479
|
-
export3MF(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
480
|
-
exportGLB(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
481
|
-
exportOBJ(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
482
|
-
exportPLY(shape: KernelShape, tolerance: number): ArrayBuffer;
|
|
483
|
-
import3MF(data: ArrayBuffer): KernelShape[];
|
|
484
|
-
importOBJ(data: ArrayBuffer): KernelShape;
|
|
485
|
-
importGLB(data: ArrayBuffer): KernelShape;
|
|
486
|
-
filletVariable(shape: KernelShape, spec: string): KernelShape;
|
|
487
|
-
helicalSweep(profile: KernelShape, axisOrigin: [number, number, number], axisDirection: [number, number, number], radius: number, pitch: number, turns: number): KernelShape;
|
|
488
|
-
sweepWithOptions(profile: KernelShape, pathEdge: KernelShape, contactMode: string, scaleValues: number[], segments: number): KernelShape;
|
|
489
|
-
draft(shape: KernelShape, faces: KernelShape[], pullDirection: [number, number, number], neutralPlane: [number, number, number], angleDeg: number | ((face: KernelShape) => number)): KernelShape;
|
|
490
|
-
defeature(shape: KernelShape, faces: KernelShape[]): KernelShape;
|
|
491
|
-
detectSmallFeatures(shape: KernelShape, areaThreshold: number, tolerance: number): KernelShape[];
|
|
492
|
-
recognizeFeatures(shape: KernelShape, tolerance: number): string;
|
|
493
|
-
meshBoolean(positionsA: number[], indicesA: number[], positionsB: number[], indicesB: number[], op: string, tolerance: number): KernelMeshResult;
|
|
494
|
-
edgeToFaceMap(shape: KernelShape): string;
|
|
495
|
-
sharedEdges(faceA: KernelShape, faceB: KernelShape): KernelShape[];
|
|
496
|
-
adjacentFaces(shape: KernelShape, face: KernelShape): KernelShape[];
|
|
497
|
-
curveDegreeElevate(edge: KernelShape, elevateBy: number): KernelShape;
|
|
498
|
-
curveKnotInsert(edge: KernelShape, knot: number, times: number): KernelShape;
|
|
499
|
-
curveKnotRemove(edge: KernelShape, knot: number, tolerance: number): KernelShape;
|
|
500
|
-
curveSplit(edge: KernelShape, param: number): [KernelShape, KernelShape];
|
|
501
|
-
approximateSurfaceLspia(coords: number[], rows: number, cols: number, degreeU: number, degreeV: number, numCpsU: number, numCpsV: number, tolerance: number, maxIterations: number): KernelShape;
|
|
502
|
-
untrimFace(face: KernelShape, samplesPerCurve: number, interiorSamples: number): KernelShape;
|
|
503
|
-
mergeCoincidentVertices(shape: KernelShape, tolerance: number): number;
|
|
504
|
-
removeDegenerateEdges(shape: KernelShape, tolerance: number): number;
|
|
505
|
-
fixFaceOrientations(shape: KernelShape): number;
|
|
506
|
-
classifyPointRobust(shape: KernelShape, point: [number, number, number], tolerance: number): string;
|
|
507
|
-
classifyPointWinding(shape: KernelShape, point: [number, number, number], tolerance: number): string;
|
|
508
|
-
executeBatch(json: string): string;
|
|
509
416
|
}
|
|
510
417
|
//# sourceMappingURL=brepkitAdapter.d.ts.map
|