@cadaclysm/wasm 0.17.0-dev.1 → 0.17.0-dev.3

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/cadaclysm.d.ts CHANGED
@@ -571,6 +571,12 @@ export class View {
571
571
  * are held while it is in flight.
572
572
  */
573
573
  clothPositions(id: number): Promise<Float32Array>;
574
+ /**
575
+ * The id of item `id`'s cloth's trims item (`showClothTrims`) as it stands (a resync that
576
+ * changes the trims shows it again under a new id); `undefined` when none is shown.
577
+ * Throws for an item that is no cloth shown with `showCloth`.
578
+ */
579
+ clothTrimsItem(id: number): number | undefined;
574
580
  /**
575
581
  * A viewer drawing on `canvas` (an HTMLCanvasElement or an OffscreenCanvas).
576
582
  * Options: `background` [r,g,b] or colour text (`"#rgb"`, `"#rrggbb"`, a CSS colour
@@ -932,7 +938,7 @@ export class View {
932
938
  /**
933
939
  * Sets clip-plane slot `slot` (0..5): what lies on the side `normal` points to is hidden,
934
940
  * and with `cap` (`[r, g, b]`) the cut of every body is filled, hatched with `hatch`
935
- * (`[r, g, b]`, needs a cap) in lines `hatchAngle` degrees from the plane's first axis (45),
941
+ * (`[r, g, b]`, needs a cap) in lines `hatchAngle` radians from the plane's first axis (π/4, 45°),
936
942
  * `hatchSpacing` apart in model units (0: automatic) and `hatchWidth` points wide (1); with
937
943
  * `outline` (`[r, g, b]`) the cut is drawn as a line `outlineWidth` points wide (1).
938
944
  * `point` and `normal` are `[x, y, z]`; every other key optional. `null` clears the slot.
@@ -1264,13 +1270,13 @@ export class View {
1264
1270
  setSnap(settings: { kinds?: 'default' | 'all' | string[]; aperturePx?: number; marker?: boolean } | null): void;
1265
1271
  /**
1266
1272
  * The angle lock: snaps that land on no point kind are turned about `point` (world
1267
- * coordinates) onto the nearest multiple of `stepDeg` (default 15, in (0, 180]), in the
1268
- * work plane's directions or the plane facing the eye; the snap then answers kind
1269
- * `"plane"`, its `lockedAngle` in degrees and one guide from `point`. `null` clears it.
1273
+ * coordinates) onto the nearest multiple of `step` radians (default 15°, 0.2618; in (0, π]), in
1274
+ * the work plane's directions or the plane facing the eye; the snap then answers kind
1275
+ * `"plane"`, its `lockedAngle` in radians and one guide from `point`. `null` clears it.
1270
1276
  * Throws, changing nothing, for a point that is not three finite numbers or a bad step.
1271
1277
  * See `View::set_snap_base`.
1272
1278
  */
1273
- setSnapBase(point: [number, number, number] | Float64Array | Float32Array | null, step_deg?: number | null): void;
1279
+ setSnapBase(point: [number, number, number] | Float64Array | Float32Array | null, step?: number | null): void;
1274
1280
  /**
1275
1281
  * Points item `id` snaps to as `"point"` (in `showPoints`' forms: three numbers a point,
1276
1282
  * in world coordinates, moving with the item's placement), with `label` (at most 31 bytes;
@@ -1418,6 +1424,22 @@ export class View {
1418
1424
  * with the intersection analysis off, whatever they say; `setClothOptions` never turns it on.
1419
1425
  */
1420
1426
  showCloth(cloth: number, options: { colour?: string | [number, number, number] | null, colours?: Float32Array | ArrayLike<number> | null, gia?: boolean, thickness?: boolean, uvs?: Float32Array | ArrayLike<number> | null, decalUvs?: Float32Array | ArrayLike<number> | null, material?: { textures?: { image: Uint8Array, wrap?: 'repeat' | 'mirror' | 'clamp' | ['repeat' | 'mirror' | 'clamp', 'repeat' | 'mirror' | 'clamp'] }[], groups?: Uint16Array | ArrayLike<number> | null, sets: { base?: number | null, normal?: number | null, roughness?: number | null, decal?: number | null, roughnessFactor?: number, normalStrength?: number, sheen?: string | [number, number, number] | null, sheenRoughness?: number }[] } | null } | null): number;
1427
+ /**
1428
+ * Draws item `id`'s cloth's trims (see the module docs) as one mesh item, written by the
1429
+ * GPU's attach pass on every `stepCloth`; returns the item's id. The trims are the kernel
1430
+ * cloth's own, set with `cadaclysm_blacksmith_cloth_set_trims` before `showCloth`;
1431
+ * `templates` and `instances` are the arrays given to it (checked against the cloth's
1432
+ * trims), or `null` for the cloth's own. Options: `colour` (colour text or `[r, g, b]`,
1433
+ * every trim; default a dark grey), `colours` (three numbers in 0..1 a template, over
1434
+ * `colour`), `metallic` (true or false for every template, or one boolean a template;
1435
+ * default false, the View's plain look; a metal template draws glossy, estimated values).
1436
+ * Showing them again replaces the item. `remove` of the cloth removes it too; `remove` of
1437
+ * the trims item stops its writes. Throws -- the CPU path draws its trims itself
1438
+ * (`cloth_trim_vertices`) -- on WebGL2 (`clothGpu` false) or where the item gets no GPU
1439
+ * vertex target, for an item that is no cloth shown with `showCloth`, a cloth with no
1440
+ * trims, arrays unlike its trims, or options of the wrong shape.
1441
+ */
1442
+ showClothTrims(id: number, templates: Float64Array | number[] | null | undefined, instances: Float64Array | number[] | null | undefined, options: { colour?: string | [number, number, number] | null, colours?: Float32Array | ArrayLike<number> | null, metallic?: boolean | boolean[] | null } | null | undefined): number;
1421
1443
  /**
1422
1444
  * Free curves -- a sketch, a preview -- as one item: `beziers` sixteen floats a curve,
1423
1445
  * a rational cubic's four control points as `x, y, z, weight` (the forge's
@@ -1486,7 +1508,7 @@ export class View {
1486
1508
  * - `programs`: `[{ tool, gcode }]` in run order, each read by the strict Grbl
1487
1509
  * reader; a tool is `{ number, shape: "flat" | "ball" | "drill" | "vbit" |
1488
1510
  * "bullnose", diameter, flute_length, angle?, corner_radius? }` (`angle` a V-bit's
1489
- * included angle, `corner_radius` a bull-nose's);
1511
+ * included angle in radians, `corner_radius` a bull-nose's);
1490
1512
  * - `part` (optional): a kernel solid's handle, or `{ positions, indices }`, for
1491
1513
  * colouring by deviation;
1492
1514
  * - `cell` (optional, mm): by default the smaller of 0.1 and the smallest tool's
@@ -1722,7 +1744,7 @@ export class View {
1722
1744
  * item's Bezier, a solid's kernel edge; `null` for a face, grid, plane or point snap),
1723
1745
  * `tangent` the edge's unit direction there, `axis` and `radius` a circular edge's (zeros
1724
1746
  * otherwise), `distancePx` how far the cursor was, `label` a `"point"` snap's
1725
- * `setSnapPoints` label (else the kind's name), `lockedAngle` the angle in degrees (0..360)
1747
+ * `setSnapPoints` label (else the kind's name), `lockedAngle` the angle in radians (0..2π)
1726
1748
  * `setSnapBase`'s lock turned the point to (`null` unlocked), and `guides` 0 to 2 `{ from,
1727
1749
  * to }` world points: an alignment snap's guides, or the lock's ray from its base. `null`
1728
1750
  * where nothing in the kinds lies there, and always while snapping is off. The View draws
@@ -2163,6 +2185,47 @@ export function cadaclysm_blacksmith_assembly_3dm_bytes(assembly: number, unit:
2163
2185
  */
2164
2186
  export function cadaclysm_blacksmith_assembly_base(assembly: number, link: string): void;
2165
2187
 
2188
+ /**
2189
+ * `assembly`'s bill of materials as JSON (or CSV when `csv`), as C's `assembly_bom`:
2190
+ * `mode` `top`, `indented` or `parts`; `columns_json` a JSON list of column names.
2191
+ */
2192
+ export function cadaclysm_blacksmith_assembly_bom(assembly: number, mode: string, group_by: string | null | undefined, columns_json: string | null | undefined, csv: boolean): string;
2193
+
2194
+ /**
2195
+ * [`cadaclysm_blacksmith_assembly_expand`](../cadaclysm_blacksmith_capi): how many placements
2196
+ * were expanded; `placement` `undefined`/`null` expands every compound part in the tree.
2197
+ */
2198
+ export function cadaclysm_blacksmith_assembly_expand(assembly: number, placement?: string | null): number;
2199
+
2200
+ /**
2201
+ * Exploded view `explode` as a new animation handle, as C's `assembly_explode_animation`.
2202
+ */
2203
+ export function cadaclysm_blacksmith_assembly_explode_animation(assembly: number, explode: string, seconds_per_step: number): number;
2204
+
2205
+ /**
2206
+ * Appends a step to `assembly`'s exploded view `explode`, as C's `assembly_explode_step`:
2207
+ * `components` placement paths, `kind` 0 translate / 1 rotate / 2 radial, `direction` 3
2208
+ * numbers, `pivot` null or 3 numbers; answers the step's index.
2209
+ */
2210
+ export function cadaclysm_blacksmith_assembly_explode_step(assembly: number, explode: string, components: string[], kind: number, direction: Float64Array, pivot: Float64Array | null | undefined, amount: number): number;
2211
+
2212
+ /**
2213
+ * How many steps exploded view `explode` has, as C's `assembly_explode_step_count`.
2214
+ */
2215
+ export function cadaclysm_blacksmith_assembly_explode_step_count(assembly: number, explode: string): number;
2216
+
2217
+ /**
2218
+ * Solid `part`'s explode line in exploded view `explode`, as C's `assembly_explode_trail`:
2219
+ * 3 numbers a point.
2220
+ */
2221
+ export function cadaclysm_blacksmith_assembly_explode_trail(assembly: number, explode: string, part: number): Float64Array;
2222
+
2223
+ /**
2224
+ * Every solid's placement at `t` of exploded view `explode`, as C's
2225
+ * `assembly_exploded_placements`: 12 numbers a solid, in `assembly_parts`' order.
2226
+ */
2227
+ export function cadaclysm_blacksmith_assembly_exploded_placements(assembly: number, explode: string, t: number): Float64Array;
2228
+
2166
2229
  /**
2167
2230
  * Releases one handle to the assembly. Does **not** free the assembly itself
2168
2231
  * if it is still placed somewhere else: `Assembly` is `Arc`-shared, as the C
@@ -2181,6 +2244,13 @@ export function cadaclysm_blacksmith_assembly_joint(assembly: number, name: stri
2181
2244
  */
2182
2245
  export function cadaclysm_blacksmith_assembly_link(assembly: number, name: string, placements: string[]): void;
2183
2246
 
2247
+ /**
2248
+ * `assembly`'s mass properties at rest as JSON text, as C's `assembly_mass_properties`:
2249
+ * densities by placement path, ancestor path or solid name (`densities` a JSON object, absent
2250
+ * for none), else `density`; each distinct body measured once to `accuracy` (0: the default).
2251
+ */
2252
+ export function cadaclysm_blacksmith_assembly_mass_properties(assembly: number, density: number, densities: string | null | undefined, accuracy: number): string;
2253
+
2184
2254
  export function cadaclysm_blacksmith_assembly_name(assembly: number): string;
2185
2255
 
2186
2256
  export function cadaclysm_blacksmith_assembly_new(name: string): number;
@@ -2248,12 +2318,28 @@ export function cadaclysm_blacksmith_assembly_posed(assembly: number, joints: st
2248
2318
  */
2249
2319
  export function cadaclysm_blacksmith_assembly_posed_placements(assembly: number, joints: string[], counts: Uint32Array, values: Float64Array, state?: string | null, ground?: string | null): Float64Array;
2250
2320
 
2321
+ /**
2322
+ * `assembly`'s own part properties as a JSON object, as C's `assembly_properties`.
2323
+ */
2324
+ export function cadaclysm_blacksmith_assembly_properties(assembly: number): string;
2325
+
2326
+ /**
2327
+ * [`cadaclysm_blacksmith_assembly_rescale`](../cadaclysm_blacksmith_capi).
2328
+ */
2329
+ export function cadaclysm_blacksmith_assembly_rescale(assembly: number, factor: number): void;
2330
+
2251
2331
  /**
2252
2332
  * [`cadaclysm_blacksmith_assembly_sequence`](../cadaclysm_blacksmith_capi): `states`,
2253
2333
  * `ts` and `interpolations` one entry per segment.
2254
2334
  */
2255
2335
  export function cadaclysm_blacksmith_assembly_sequence(assembly: number, name: string, states: string[], ts: Float64Array, interpolations: string[], seconds: boolean): void;
2256
2336
 
2337
+ /**
2338
+ * Set `assembly`'s own part property `key` to `value_json` (absent removes it), as C's
2339
+ * `assembly_set_property`.
2340
+ */
2341
+ export function cadaclysm_blacksmith_assembly_set_property(assembly: number, key: string, value_json?: string | null): boolean;
2342
+
2257
2343
  /**
2258
2344
  * [`cadaclysm_blacksmith_assembly_state`](../cadaclysm_blacksmith_capi): `joints`
2259
2345
  * and `counts` one entry per row, `values` every row's values end to end, as the C
@@ -2299,6 +2385,14 @@ export function cadaclysm_blacksmith_attribute_keys(solid: number): string[];
2299
2385
  */
2300
2386
  export function cadaclysm_blacksmith_attribute_values(solid: number): string[];
2301
2387
 
2388
+ export function cadaclysm_blacksmith_axis_normal(solid: number, face: number, point: Float64Array): Float64Array;
2389
+
2390
+ export function cadaclysm_blacksmith_axis_of_edge(solid: number, edge: number): Float64Array;
2391
+
2392
+ export function cadaclysm_blacksmith_axis_of_face(solid: number, face: number): Float64Array;
2393
+
2394
+ export function cadaclysm_blacksmith_axis_of_planes(a: Float64Array, b: Float64Array): Float64Array;
2395
+
2302
2396
  /**
2303
2397
  * A sheet spanning from `a`'s side to `b`'s, as C's `blend_sides`.
2304
2398
  */
@@ -2310,6 +2404,14 @@ export function cadaclysm_blacksmith_blend_sides(a: number, face_a: number, side
2310
2404
  */
2311
2405
  export function cadaclysm_blacksmith_body_draft(solid: number, edges: Uint32Array, pull: Float64Array, above: number, below: number, tolerance: number): number;
2312
2406
 
2407
+ /**
2408
+ * `targets` combined with `tools` by `op` (0 join, 1 cut, 2 common), as C's `boolean_many`: the
2409
+ * new solid handles (one for a join, one per target otherwise). Where any body failed it throws
2410
+ * C's combined `last_error` (`boolean_many: target i: ...`), the bodies that did come back
2411
+ * freed -- C's NULL entries have no handle to stand for them.
2412
+ */
2413
+ export function cadaclysm_blacksmith_boolean_many(targets: Uint32Array, tools: Uint32Array, op: number, tolerance: number): Uint32Array;
2414
+
2313
2415
  export function cadaclysm_blacksmith_bounds(solid: number, tolerance: number): Float64Array;
2314
2416
 
2315
2417
  /**
@@ -2368,8 +2470,30 @@ export function cadaclysm_blacksmith_build(): string;
2368
2470
  */
2369
2471
  export function cadaclysm_blacksmith_build_date(): string;
2370
2472
 
2473
+ /**
2474
+ * Cell `index` of `solid` as a closed solid, as C's `cell`.
2475
+ */
2476
+ export function cadaclysm_blacksmith_cell(solid: number, index: number): number;
2477
+
2478
+ /**
2479
+ * How many cells `solid` holds, as C's `cell_count`.
2480
+ */
2481
+ export function cadaclysm_blacksmith_cell_count(solid: number): number;
2482
+
2371
2483
  export function cadaclysm_blacksmith_chamfer(solid: number, edges: Uint32Array, distance: number, tolerance: number): number;
2372
2484
 
2485
+ /**
2486
+ * The edges cut back `distance` along face `face`, the bevel leaving it at `angle`, as C's
2487
+ * `chamfer_angle`: the solid handle.
2488
+ */
2489
+ export function cadaclysm_blacksmith_chamfer_angle(solid: number, edges: Uint32Array, face: number, distance: number, angle: number, tolerance: number): number;
2490
+
2491
+ /**
2492
+ * The edges cut back `distance` along face `face` and `distance_other` along their other faces,
2493
+ * as C's `chamfer_two_distances`: the solid handle.
2494
+ */
2495
+ export function cadaclysm_blacksmith_chamfer_two_distances(solid: number, edges: Uint32Array, face: number, distance: number, distance_other: number, tolerance: number): number;
2496
+
2373
2497
  /**
2374
2498
  * What is wrong with `a` (and `b`, 0 for none) as the arguments of `operation` (absent or
2375
2499
  * empty for none), as a check handle: read it with `check_count` / `check_finding`,
@@ -2529,6 +2653,14 @@ export function cadaclysm_blacksmith_cloth_positions(h: number): Float32Array;
2529
2653
  */
2530
2654
  export function cadaclysm_blacksmith_cloth_remesh_pattern(h: number, g: number, pattern: number): void;
2531
2655
 
2656
+ /**
2657
+ * `cloth_remesh_pattern` that also replaces every trim with `placements` and `templates`, laid
2658
+ * out as for `cloth_set_trims` (pass the edited garment's `garment_trim_instances`). Valid at
2659
+ * any frame. A placement off its piece is dropped with every placement of its trim and named
2660
+ * by `cloth_skipped_trims`; a bad record or template throws, changing nothing.
2661
+ */
2662
+ export function cadaclysm_blacksmith_cloth_remesh_pattern_trims(h: number, g: number, pattern: number, placements: Float64Array, templates: Float64Array): void;
2663
+
2532
2664
  /**
2533
2665
  * Each sim vertex's arranged start position in 3D, xyz triples in mm (a `Float32Array` copy).
2534
2666
  * `cloth_remesh_pattern` changes the counts.
@@ -2541,6 +2673,27 @@ export function cadaclysm_blacksmith_cloth_rest(h: number): Float32Array;
2541
2673
  */
2542
2674
  export function cadaclysm_blacksmith_cloth_set_options(h: number, options: Float64Array): void;
2543
2675
 
2676
+ /**
2677
+ * Sets the cloth's trims, once, before the first step: `placements` 8 numbers each, `{trim,
2678
+ * pattern, x, y, angle, offset, template, mass}` (the rest of a `garment_trim_instances` record
2679
+ * with `template` an index into `templates`); `templates` one after another, `{n,
2680
+ * positions[3n], normals[3n], m, indices[m]}` (mm, the template's frame, +z out of the cloth's
2681
+ * front). Each placement's mass weighs the particles under it. Throws on a refusal (no trims
2682
+ * kept).
2683
+ */
2684
+ export function cadaclysm_blacksmith_cloth_set_trims(h: number, placements: Float64Array, templates: Float64Array): void;
2685
+
2686
+ /**
2687
+ * Why the `i`-th of `cloth_skipped_trims` was dropped; throws past them.
2688
+ */
2689
+ export function cadaclysm_blacksmith_cloth_skipped_trim_reason(h: number, i: number): string;
2690
+
2691
+ /**
2692
+ * The garment trims the latest re-mesh dropped because they no longer fit, once each (a
2693
+ * `Uint32Array` copy).
2694
+ */
2695
+ export function cadaclysm_blacksmith_cloth_skipped_trims(h: number): Uint32Array;
2696
+
2544
2697
  /**
2545
2698
  * The status: 8 doubles `{frame, vertices, triangles, seam_pairs, welded_pairs, non_finite,
2546
2699
  * dropped, max_speed}`. `seam_pairs` is the seam pairs in the sim mesh: sewing is done when
@@ -2604,6 +2757,22 @@ export function cadaclysm_blacksmith_cloth_tape_path(positions: Float64Array, in
2604
2757
  */
2605
2758
  export function cadaclysm_blacksmith_cloth_triangles(h: number): Uint32Array;
2606
2759
 
2760
+ /**
2761
+ * The trims' triangles, index triples into `cloth_trim_vertices` (a `Uint32Array` copy).
2762
+ */
2763
+ export function cadaclysm_blacksmith_cloth_trim_indices(h: number): Uint32Array;
2764
+
2765
+ /**
2766
+ * The trim vertices (0 without trims).
2767
+ */
2768
+ export function cadaclysm_blacksmith_cloth_trim_vertex_count(h: number): number;
2769
+
2770
+ /**
2771
+ * Every trim vertex placed for the current positions (a `Float32Array` copy): the xyz
2772
+ * positions, 3 per vertex, then the normals, 3 per vertex.
2773
+ */
2774
+ export function cadaclysm_blacksmith_cloth_trim_vertices(h: number): Float32Array;
2775
+
2607
2776
  /**
2608
2777
  * Releases a pin. Throws for a vertex that is not a sim vertex.
2609
2778
  */
@@ -2779,6 +2948,11 @@ export function cadaclysm_blacksmith_composite_curve_projected(curve: number, so
2779
2948
  */
2780
2949
  export function cadaclysm_blacksmith_composite_curve_to_nurbs(curve: number): number;
2781
2950
 
2951
+ /**
2952
+ * `solids` as one compsolid, each shared face kept once as a wall, as C's `compsolid`.
2953
+ */
2954
+ export function cadaclysm_blacksmith_compsolid(solids: Uint32Array, tolerance: number): number;
2955
+
2782
2956
  export function cadaclysm_blacksmith_cone(r: number, h: number): number;
2783
2957
 
2784
2958
  /**
@@ -2793,6 +2967,12 @@ export function cadaclysm_blacksmith_contact_settle(driver: number, driver_pivot
2793
2967
  */
2794
2968
  export function cadaclysm_blacksmith_contains(solid: number, point: Float64Array, tolerance: number): number;
2795
2969
 
2970
+ /**
2971
+ * The free edges of `solids` running along one another, as C's `contiguous_edges`: nine
2972
+ * numbers a row, no count call.
2973
+ */
2974
+ export function cadaclysm_blacksmith_contiguous_edges(solids: Uint32Array, tolerance: number): Float64Array;
2975
+
2796
2976
  /**
2797
2977
  * How well two faces meet along their sides, as C's `continuity`: `continuity_doubles`' 13 numbers.
2798
2978
  */
@@ -2853,6 +3033,12 @@ export function cadaclysm_blacksmith_curve_value_tangent_at(kind: number, value:
2853
3033
  */
2854
3034
  export function cadaclysm_blacksmith_curve_value_to_nurbs(kind: number, value: Float64Array): number;
2855
3035
 
3036
+ /**
3037
+ * The pieces of `curves` inside (`op` 2) or outside (`op` 0, 1) the closed `solid`, as C's
3038
+ * `curves_boolean`: `{ curves, info }` (`curve_list_object`).
3039
+ */
3040
+ export function cadaclysm_blacksmith_curves_boolean(solid: number, curves: Uint32Array, op: number, tolerance: number): any;
3041
+
2856
3042
  export function cadaclysm_blacksmith_cut(a: number, b: number, tolerance: number, progress?: Function | null): number;
2857
3043
 
2858
3044
  /**
@@ -2889,6 +3075,11 @@ export function cadaclysm_blacksmith_cut_list_group_tag(h: number, g: number): s
2889
3075
 
2890
3076
  export function cadaclysm_blacksmith_cylinder(r: number, h: number): number;
2891
3077
 
3078
+ /**
3079
+ * Define (or redefine) a user material from `material_json`, as C's `define_material`.
3080
+ */
3081
+ export function cadaclysm_blacksmith_define_material(material_json: string): boolean;
3082
+
2892
3083
  /**
2893
3084
  * Applies one op (JSON) and records it as one commit, with `message` (absent or empty: none).
2894
3085
  * The changed set as JSON; a refused op throws its reason.
@@ -2917,6 +3108,14 @@ export function cadaclysm_blacksmith_document_branch_rename(doc: number, old: st
2917
3108
  */
2918
3109
  export function cadaclysm_blacksmith_document_branch_switch(doc: number, name_or_commit_id: string): string;
2919
3110
 
3111
+ /**
3112
+ * Every linked component and jig against its source, as C's `document_check_links_from`: `sources` is
3113
+ * a JSON object `{path: text | null}` keyed by the links' paths (a page has no file system, so
3114
+ * it fetches or picks the files; null or absent is missing). A JSON list of `{name, path,
3115
+ * auto_update, status, hash, source_hash?, message?}`; nothing changes.
3116
+ */
3117
+ export function cadaclysm_blacksmith_document_check_links_from(doc: number, sources: string): string;
3118
+
2920
3119
  /**
2921
3120
  * The history started again from the document as it is: undo has nothing to take back, the head
2922
3121
  * is `c0`. Throws while a batch, a preview or a probe is open.
@@ -2988,6 +3187,12 @@ export function cadaclysm_blacksmith_document_load(text: string): number;
2988
3187
  */
2989
3188
  export function cadaclysm_blacksmith_document_log(doc: number, branch?: string | null): string;
2990
3189
 
3190
+ /**
3191
+ * The document's own physical materials as a JSON object by name, as C's
3192
+ * `document_materials`.
3193
+ */
3194
+ export function cadaclysm_blacksmith_document_materials(doc: number): string;
3195
+
2991
3196
  /**
2992
3197
  * App `app`'s own data about the document as JSON text (what the last `meta` op set), or
2993
3198
  * `undefined` when it keeps none.
@@ -3101,6 +3306,11 @@ export function cadaclysm_blacksmith_document_result_subd(doc: number, id: strin
3101
3306
  */
3102
3307
  export function cadaclysm_blacksmith_document_revision(doc: number): number;
3103
3308
 
3309
+ /**
3310
+ * The rollback marker, as C's `document_rollback`: the nodes before it are evaluated; -1 for none.
3311
+ */
3312
+ export function cadaclysm_blacksmith_document_rollback(doc: number): number;
3313
+
3104
3314
  /**
3105
3315
  * The document as canonical JSON text; an open batch or preview is not in it.
3106
3316
  */
@@ -3124,8 +3334,20 @@ export function cadaclysm_blacksmith_document_tips(doc: number): string;
3124
3334
  */
3125
3335
  export function cadaclysm_blacksmith_document_undo(doc: number): string;
3126
3336
 
3337
+ /**
3338
+ * Replaces linked copies from the sources handed in, one commit, as C's
3339
+ * `document_update_links_from`: `name` (none or empty: every changed link), `auto_only`, `message`
3340
+ * (none or empty: "update links"). `{links: [..., each with updated], changed: {...}}`.
3341
+ */
3342
+ export function cadaclysm_blacksmith_document_update_links_from(doc: number, sources: string, name: string | null | undefined, auto_only: boolean, message?: string | null): string;
3343
+
3127
3344
  export function cadaclysm_blacksmith_document_value(doc: number, id: string): string;
3128
3345
 
3346
+ /**
3347
+ * The body with a dome on planar face `face`, as C's `dome`: the solid handle.
3348
+ */
3349
+ export function cadaclysm_blacksmith_dome(solid: number, face: number, height: number, shape: number, inward: boolean, tolerance: number): number;
3350
+
3129
3351
  /**
3130
3352
  * Faces `faces` of `solid` drafted to `angle` (radians) about the neutral plane `plane` (a frame,
3131
3353
  * 12 numbers; z the pull), as C's `draft`.
@@ -3145,6 +3367,11 @@ export function cadaclysm_blacksmith_draft_analysis(solid: number, pull: Float64
3145
3367
  */
3146
3368
  export function cadaclysm_blacksmith_draft_angle_at(solid: number, face: number, point: Float64Array, pull: Float64Array): Float64Array;
3147
3369
 
3370
+ /**
3371
+ * The draft sheet of `profile` (see the C `draft_sheet`); `stop` a solid's handle or none.
3372
+ */
3373
+ export function cadaclysm_blacksmith_draft_sheet(profile: number, frame: Float64Array, angle: number, length: number, stop: number | null | undefined, tolerance: number): number;
3374
+
3148
3375
  /**
3149
3376
  * Faces `faces` of `solid` drafted both ways from the neutral plane `plane`, `above` against
3150
3377
  * its z and `below` against -z, as C's `draft_two_sided`.
@@ -3233,6 +3460,12 @@ export function cadaclysm_blacksmith_edge_id(solid: number, edge: number): bigin
3233
3460
  */
3234
3461
  export function cadaclysm_blacksmith_edge_inner_point(solid: number, edge: number): Float64Array;
3235
3462
 
3463
+ /**
3464
+ * Whether edge `edge` is tolerant above `threshold`, as C's `edge_is_tolerant`: 1 or 0; throws
3465
+ * where C returns -1.
3466
+ */
3467
+ export function cadaclysm_blacksmith_edge_is_tolerant(solid: number, edge: number, threshold: number): number;
3468
+
3236
3469
  /**
3237
3470
  * Edge `edge` of `solid` (the index `edge` and `fillet` use), its length to a relative `accuracy`
3238
3471
  * (0 or less: the default), as `length_doubles`. Throws for an index past the end or an edge with
@@ -3302,6 +3535,13 @@ export function cadaclysm_blacksmith_edges_coloured(solid: number, edges: Uint32
3302
3535
  */
3303
3536
  export function cadaclysm_blacksmith_edges_convexity(solid: number, angular_tolerance: number): Uint32Array;
3304
3537
 
3538
+ /**
3539
+ * The edges `edges` of `solid` as one wire, as C's `edges_mass`: `length_mass_doubles`' 33.
3540
+ * Throws for no edges, an edge past the end or named twice, an edge with no exact curve, and an
3541
+ * accuracy that is a NaN or infinite.
3542
+ */
3543
+ export function cadaclysm_blacksmith_edges_mass(solid: number, edges: Uint32Array, accuracy: number): Float64Array;
3544
+
3305
3545
  /**
3306
3546
  * The tolerance a verb given 0 or NaN works at over `solids` (see the C call): 0 for none.
3307
3547
  */
@@ -3309,12 +3549,28 @@ export function cadaclysm_blacksmith_effective_tolerance(solids: Uint32Array): n
3309
3549
 
3310
3550
  export function cadaclysm_blacksmith_ellipse_from_circle(value: Float64Array): Float64Array;
3311
3551
 
3552
+ /**
3553
+ * The least distance between two chosen entities, as C's `entity_distance`: thirteen numbers.
3554
+ */
3555
+ export function cadaclysm_blacksmith_entity_distance(a: number, kind_a: number, index_a: number, b: number, kind_b: number, index_b: number, tolerance: number): Float64Array;
3556
+
3557
+ /**
3558
+ * `spine` evolved by `profile` (see the C `evolved`).
3559
+ */
3560
+ export function cadaclysm_blacksmith_evolved(spine: number, frame: Float64Array, profile: number, closed: boolean, join: number, tolerance: number): number;
3561
+
3312
3562
  export function cadaclysm_blacksmith_extrude(profile: number, frame: Float64Array, height: number): number;
3313
3563
 
3314
3564
  export function cadaclysm_blacksmith_extrude_between(profile: number, frame: Float64Array, bottom: Float64Array, top: Float64Array): number;
3315
3565
 
3316
3566
  export function cadaclysm_blacksmith_extrude_faces(sheet: number, height: number): number;
3317
3567
 
3568
+ /**
3569
+ * `profile` extruded as a feature (see the C `extrude_feature`); `target` and `bound` a
3570
+ * solid's handle or none.
3571
+ */
3572
+ export function cadaclysm_blacksmith_extrude_feature(profile: number, frame: Float64Array, spec: Float64Array, target: number | null | undefined, bound: number | null | undefined, tolerance: number): number;
3573
+
3318
3574
  export function cadaclysm_blacksmith_extrude_open(profile: number, frame: Float64Array, height: number): number;
3319
3575
 
3320
3576
  export function cadaclysm_blacksmith_extrude_open_between(profile: number, frame: Float64Array, bottom: Float64Array, top: Float64Array): number;
@@ -3339,6 +3595,12 @@ export function cadaclysm_blacksmith_face(profile: number, frame: Float64Array):
3339
3595
  */
3340
3596
  export function cadaclysm_blacksmith_face_area(solid: number, face: number, accuracy: number): Float64Array;
3341
3597
 
3598
+ /**
3599
+ * Face `face`'s area, centroid x y z and centroid error bound, five numbers, as C's
3600
+ * `face_area_properties`.
3601
+ */
3602
+ export function cadaclysm_blacksmith_face_area_properties(solid: number, face: number, accuracy: number): Float64Array;
3603
+
3342
3604
  /**
3343
3605
  * Face `face`'s attribute `key`, `undefined` where it has none.
3344
3606
  */
@@ -3365,6 +3627,17 @@ export function cadaclysm_blacksmith_face_count(solid: number): number;
3365
3627
 
3366
3628
  export function cadaclysm_blacksmith_face_frame(solid: number, face: number): Float64Array;
3367
3629
 
3630
+ /**
3631
+ * Face `face`'s surface as data, as C's `face_geometry`: sixteen numbers, the kind, a frame,
3632
+ * `a`, `b`, `reversed`.
3633
+ */
3634
+ export function cadaclysm_blacksmith_face_geometry(solid: number, face: number): Float64Array;
3635
+
3636
+ /**
3637
+ * The profile of a revolution or extrusion face, as C's `face_geometry_profile`.
3638
+ */
3639
+ export function cadaclysm_blacksmith_face_geometry_profile(solid: number, face: number): number;
3640
+
3368
3641
  /**
3369
3642
  * Face `face`'s id, 0 where `solid` is untracked; throws for a face it does not have.
3370
3643
  */
@@ -3420,6 +3693,15 @@ export function cadaclysm_blacksmith_face_size(solid: number, face: number): Flo
3420
3693
  */
3421
3694
  export function cadaclysm_blacksmith_face_with_id(solid: number, id: bigint): number;
3422
3695
 
3696
+ /**
3697
+ * The faces `faces` of `solid` as one thin shell, as C's `faces_mass`: **32 doubles**,
3698
+ * `CadaclysmBlacksmithAreaMass`'s field order -- `area`, `area_error`, `centroid` 3,
3699
+ * `centroid_error`, `inertia` 9 (row-major), `inertia_error`, `principal_moments` 3,
3700
+ * `principal_axes` 9, `radii` 3 and `accuracy_met` as 1 or 0. Throws for no faces, a face past
3701
+ * the end or named twice, and an accuracy that is a NaN or infinite.
3702
+ */
3703
+ export function cadaclysm_blacksmith_faces_mass(solid: number, faces: Uint32Array, accuracy: number): Float64Array;
3704
+
3423
3705
  /**
3424
3706
  * One solid meshed for a solver: nodes welded by bits, triangles wound outward, each node
3425
3707
  * tagged with the lowest-dimension B-rep entity it lies on, and every crack reported rather
@@ -3540,6 +3822,13 @@ export function cadaclysm_blacksmith_fem_mesh_view(m: number): any;
3540
3822
  */
3541
3823
  export function cadaclysm_blacksmith_fill_cells(bodies: Uint32Array, points: Float64Array, fuse: boolean, tolerance: number): number;
3542
3824
 
3825
+ /**
3826
+ * The tool copied over planar face `face` on a grid, as C's `fill_pattern`: `[solid, instances,
3827
+ * skipped, booleans, missed]` (C's `counts_out` returned beside the handle); `origin` absent for
3828
+ * the face's boundary centroid.
3829
+ */
3830
+ export function cadaclysm_blacksmith_fill_pattern(solid: number, face: number, tool: number, op: number, layout: number, spacing: number, margin: number, angle: number, origin: Float64Array | null | undefined, tolerance: number): Uint32Array;
3831
+
3543
3832
  export function cadaclysm_blacksmith_fillet(solid: number, edges: Uint32Array, radius: number, tolerance: number, progress?: Function | null): number;
3544
3833
 
3545
3834
  /**
@@ -3658,6 +3947,12 @@ export function cadaclysm_blacksmith_flat_pattern_form_outline(h: number, i: num
3658
3947
  */
3659
3948
  export function cadaclysm_blacksmith_flat_pattern_form_point_count(h: number, i: number): number;
3660
3949
 
3950
+ /**
3951
+ * The flat blank with formed features `forms` left standing (every form when empty), as C's
3952
+ * `flat_pattern_formed_body`: a new solid handle.
3953
+ */
3954
+ export function cadaclysm_blacksmith_flat_pattern_formed_body(h: number, forms: Uint32Array, tolerance: number): number;
3955
+
3661
3956
  /**
3662
3957
  * The flat's frame: 12 numbers.
3663
3958
  */
@@ -3676,12 +3971,25 @@ export function cadaclysm_blacksmith_flat_pattern_profile(h: number): number;
3676
3971
  */
3677
3972
  export function cadaclysm_blacksmith_flat_pattern_trim(h: number, relief: number, relief_size: number, corner_break: number, break_size: number, tolerance: number): number;
3678
3973
 
3974
+ /**
3975
+ * The solid with the faces `faces` turned the other side out (all of them when empty), as C's
3976
+ * `flip_faces`: the solid handle.
3977
+ */
3978
+ export function cadaclysm_blacksmith_flip_faces(solid: number, faces: Uint32Array): number;
3979
+
3679
3980
  /**
3680
3981
  * A flat outline folded, as C's `fold_flat`: `bends` 7 numbers a bend (`line (4), angle,
3681
3982
  * radius, k_factor`).
3682
3983
  */
3683
3984
  export function cadaclysm_blacksmith_fold_flat(profile: number, frame: Float64Array, bends: Float64Array, rule: Float64Array, tolerance: number): number;
3684
3985
 
3986
+ /**
3987
+ * Remove the user material `name`; whether there was one, as C's `forget_material`.
3988
+ */
3989
+ export function cadaclysm_blacksmith_forget_material(name: string): boolean;
3990
+
3991
+ export function cadaclysm_blacksmith_frame_at_angle(solid: number, edge: number, angle: number, face: number): Float64Array;
3992
+
3685
3993
  /**
3686
3994
  * 13 numbers: the frame, then the largest distance a point sits off it (C's `deviation_out`).
3687
3995
  */
@@ -3689,8 +3997,14 @@ export function cadaclysm_blacksmith_frame_fit(xyz: Float64Array): Float64Array;
3689
3997
 
3690
3998
  export function cadaclysm_blacksmith_frame_midplane(a: Float64Array, b: Float64Array): Float64Array;
3691
3999
 
4000
+ export function cadaclysm_blacksmith_frame_normal_to_edge(solid: number, edge: number, length: number): Float64Array;
4001
+
4002
+ export function cadaclysm_blacksmith_frame_tangent(solid: number, face: number, point: Float64Array): Float64Array;
4003
+
3692
4004
  export function cadaclysm_blacksmith_frame_through(p: Float64Array, q: Float64Array, r: Float64Array): Float64Array;
3693
4005
 
4006
+ export function cadaclysm_blacksmith_frame_through_edges(solid: number, edge_a: number, edge_b: number): Float64Array;
4007
+
3694
4008
  /**
3695
4009
  * The mesh of `positions` (x, y, z per vertex) and `indices` (three vertex indices per
3696
4010
  * triangle) made a B-rep, as C's `from_mesh`: `[solid, closed, faces, edges, vertices, holes,
@@ -3704,6 +4018,18 @@ export function cadaclysm_blacksmith_frame_through(p: Float64Array, q: Float64Ar
3704
4018
  */
3705
4019
  export function cadaclysm_blacksmith_from_mesh(positions: Float64Array, indices: Uint32Array, weld_tolerance: number, angle_tolerance: number, distance_tolerance: number, mode: number): Uint32Array;
3706
4020
 
4021
+ /**
4022
+ * A rigid button on pattern `pattern` centred at `(x, y)` (at least its radius in from the
4023
+ * edge): `diameter`, `thickness`, `holes` 0, 2 or 4, `mass` (g, above 0). Its id.
4024
+ */
4025
+ export function cadaclysm_blacksmith_garment_add_button(h: number, pattern: number, x: number, y: number, diameter: number, thickness: number, holes: number, r: number, g: number, b: number, mass: number, accuracy: number): number;
4026
+
4027
+ /**
4028
+ * A buttonhole on pattern `pattern` centred at `(x, y)`, `length` long along `angle`; both ends
4029
+ * on the piece. Its id.
4030
+ */
4031
+ export function cadaclysm_blacksmith_garment_add_buttonhole(h: number, pattern: number, x: number, y: number, angle: number, length: number, r: number, g: number, b: number, accuracy: number): number;
4032
+
3707
4033
  /**
3708
4034
  * Adds an elastic along pattern `pattern`'s internal line `index`: rest length `ratio` (in
3709
4035
  * (0, 1]) of the line's, pulled with `stiffness` (above 0, g mm/s^2). Its id, never reused.
@@ -3756,6 +4082,27 @@ export function cadaclysm_blacksmith_garment_add_seam_loops(h: number, pa: numbe
3756
4082
  */
3757
4083
  export function cadaclysm_blacksmith_garment_add_tack(h: number, pa: number, ua: number, va: number, pb: number, ub: number, vb: number): number;
3758
4084
 
4085
+ /**
4086
+ * Topstitch along pattern `pattern`'s internal line `index` (no offset; a second row `gap` to
4087
+ * the line's left). Its id.
4088
+ */
4089
+ export function cadaclysm_blacksmith_garment_add_topstitch_internal(h: number, pattern: number, index: number, stitch_length: number, thread: number, rows: number, gap: number, r: number, g: number, b: number, accuracy: number): number;
4090
+
4091
+ /**
4092
+ * Topstitch along pattern `pattern`'s outline loop `loop_index` (0 the outer loop, `k` hole
4093
+ * `k - 1`) between the arc lengths `from` and `to`: the first row `offset` in (at least 0), one
4094
+ * stitch every `stitch_length` (at least `thread`, the thread's diameter), `rows` 1 or 2, the
4095
+ * second `gap` further in, colour `(r, g, b)`. Drawn only: no change to the drape. Its id.
4096
+ */
4097
+ export function cadaclysm_blacksmith_garment_add_topstitch_outline(h: number, pattern: number, from: number, to: number, loop_index: number, offset: number, stitch_length: number, thread: number, rows: number, gap: number, r: number, g: number, b: number, accuracy: number): number;
4098
+
4099
+ /**
4100
+ * A closed zipper along seam `seam`: tape `tape_width` wide each side, teeth alternating sides
4101
+ * every `tooth_pitch`, each `tooth_mass` g; `stiffness` (at least 1) multiplies the seam's
4102
+ * strength. Its id.
4103
+ */
4104
+ export function cadaclysm_blacksmith_garment_add_zipper(h: number, seam: number, tape_width: number, tooth_pitch: number, tooth_mass: number, stiffness: number, r: number, g: number, b: number, accuracy: number): number;
4105
+
3759
4106
  /**
3760
4107
  * Closes pattern `pattern`'s dart (internal line `internal`, drawn `a`, apex, `b`) by cutting
3761
4108
  * it out: the outline between `a` and `b` becomes the two legs, the mark is removed (later
@@ -3765,7 +4112,7 @@ export function cadaclysm_blacksmith_garment_close_dart_cut(h: number, pattern:
3765
4112
 
3766
4113
  /**
3767
4114
  * Closes pattern `pattern`'s dart `internal` by folding it under: the mark becomes leg
3768
- * apex-to-`a`; leg apex-to-`b` and the centre fold (360 degrees) are appended; tacks pair the
4115
+ * apex-to-`a`; leg apex-to-`b` and the centre fold (2π radians) are appended; tacks pair the
3769
4116
  * legs. The number of tacks made (the newest ids, the `a`-`b` tack last).
3770
4117
  */
3771
4118
  export function cadaclysm_blacksmith_garment_close_dart_folded(h: number, pattern: number, internal: number, accuracy: number): number;
@@ -3796,6 +4143,12 @@ export function cadaclysm_blacksmith_garment_fabric_params(h: number, id: number
3796
4143
  */
3797
4144
  export function cadaclysm_blacksmith_garment_fabrics(h: number): Uint32Array;
3798
4145
 
4146
+ /**
4147
+ * Fastens button `button` through buttonhole `hole` (at least the button's diameter plus 2 mm
4148
+ * long) with a tack between their centres. The fastening's id.
4149
+ */
4150
+ export function cadaclysm_blacksmith_garment_fasten(h: number, button: number, hole: number, accuracy: number): number;
4151
+
3799
4152
  /**
3800
4153
  * The fold on pattern `pattern`'s internal line `index`: 2 doubles `{angle, strength}`, or
3801
4154
  * `undefined` when none is set.
@@ -3829,6 +4182,11 @@ export function cadaclysm_blacksmith_garment_issue(h: number, i: number): Float6
3829
4182
  */
3830
4183
  export function cadaclysm_blacksmith_garment_issue_message(h: number, i: number): string;
3831
4184
 
4185
+ /**
4186
+ * Moves button or buttonhole `id`'s centre to `(x, y)`; its fastening's tack end follows.
4187
+ */
4188
+ export function cadaclysm_blacksmith_garment_move_trim(h: number, id: number, x: number, y: number, accuracy: number): void;
4189
+
3832
4190
  /**
3833
4191
  * A new, empty garment: its handle (never 0). Free it with `garment_free`.
3834
4192
  */
@@ -3961,6 +4319,11 @@ export function cadaclysm_blacksmith_garment_remove_seam(h: number, id: number):
3961
4319
  */
3962
4320
  export function cadaclysm_blacksmith_garment_remove_tack(h: number, id: number): void;
3963
4321
 
4322
+ /**
4323
+ * Removes trim `id`: a fastening takes its tack; a button or buttonhole its fastening.
4324
+ */
4325
+ export function cadaclysm_blacksmith_garment_remove_trim(h: number, id: number): void;
4326
+
3964
4327
  /**
3965
4328
  * Moves pattern `pattern`'s dart `internal` to the outline arc length `to`, pivoting on its
3966
4329
  * apex (the stretch between rotates by the dart angle).
@@ -3984,8 +4347,8 @@ export function cadaclysm_blacksmith_garment_seam_strength(h: number, seam: numb
3984
4347
  export function cadaclysm_blacksmith_garment_seams(h: number): Uint32Array;
3985
4348
 
3986
4349
  /**
3987
- * Sets the fold on pattern `pattern`'s internal line `index` (a fold line): `angle` in degrees
3988
- * in [0, 360] (180 is flat), `strength` at least 0. A NaN `angle` clears it.
4350
+ * Sets the fold on pattern `pattern`'s internal line `index` (a fold line): `angle` in radians
4351
+ * in [0, 2π] (π is flat), `strength` at least 0. A NaN `angle` clears it.
3989
4352
  */
3990
4353
  export function cadaclysm_blacksmith_garment_set_fold(h: number, pattern: number, index: number, angle: number, strength: number): void;
3991
4354
 
@@ -4044,6 +4407,36 @@ export function cadaclysm_blacksmith_garment_tacks(h: number): Float64Array;
4044
4407
  */
4045
4408
  export function cadaclysm_blacksmith_garment_to_aama(h: number, tolerance: number, author?: string | null): string;
4046
4409
 
4410
+ /**
4411
+ * Whether trim `id` still lays out (what `garment_trim_instances` checks per trim): false for
4412
+ * an unknown id or an `accuracy` not in (0, 1).
4413
+ */
4414
+ export function cadaclysm_blacksmith_garment_trim_fits(h: number, id: number, accuracy: number): boolean;
4415
+
4416
+ /**
4417
+ * Every trim that fits laid out as instances, 14 numbers each (a `Float64Array`): `{trim,
4418
+ * pattern, x, y, angle, offset, template, size0, size1, size2, r, g, b, mass}`, `template` 0
4419
+ * stitch, 1 button, 2 buttonhole bar, 3 tooth, 4 tape, 5 slider. A trim that no longer fits is
4420
+ * left out (`garment_trim_skipped`).
4421
+ */
4422
+ export function cadaclysm_blacksmith_garment_trim_instances(h: number, accuracy: number): Float64Array;
4423
+
4424
+ /**
4425
+ * The trims `garment_trim_instances` leaves out, pairs `{trim, issue}` (22 bad trim, or 11
4426
+ * unmeasurable for every trim when `accuracy` is not in (0, 1)).
4427
+ */
4428
+ export function cadaclysm_blacksmith_garment_trim_skipped(h: number, accuracy: number): Float64Array;
4429
+
4430
+ /**
4431
+ * The trims, by ascending id, 15 numbers each, NaN past the kind's own (a `Float64Array`):
4432
+ * `{id, 0 topstitch, pattern, path (0 outline, 1 internal), from (or the line index), to, loop,
4433
+ * offset, stitch_length, thread, rows, gap, r, g, b}`, `{id, 1 button, pattern, x, y, diameter,
4434
+ * thickness, holes, r, g, b, mass}`, `{id, 2 buttonhole, pattern, x, y, angle, length, r, g,
4435
+ * b}`, `{id, 3 fastening, button, hole, tack}`, `{id, 4 zipper, seam, tape_width, tooth_pitch,
4436
+ * tooth_mass, stiffness, r, g, b}`.
4437
+ */
4438
+ export function cadaclysm_blacksmith_garment_trims(h: number): Float64Array;
4439
+
4047
4440
  /**
4048
4441
  * Checks the garment at `accuracy` and caches the issues: the issue count.
4049
4442
  */
@@ -4055,6 +4448,18 @@ export function cadaclysm_blacksmith_garment_validate(h: number, accuracy: numbe
4055
4448
  */
4056
4449
  export function cadaclysm_blacksmith_gear_centre_distance_involute(module: number, teeth_first: number, teeth_second: number, shift_first: number, shift_second: number, pressure_angle: number): number;
4057
4450
 
4451
+ /**
4452
+ * `solids` glued into one with no boolean run, the whole faces they share dropped, as C's
4453
+ * `glue`.
4454
+ */
4455
+ export function cadaclysm_blacksmith_glue(solids: Uint32Array, tolerance: number): number;
4456
+
4457
+ /**
4458
+ * The solid on `point`'s side of face `face`'s surface, bounded to cover `reach`, as C's
4459
+ * `half_space`: the solid handle.
4460
+ */
4461
+ export function cadaclysm_blacksmith_half_space(solid: number, face: number, point: Float64Array, reach: number, tolerance: number): number;
4462
+
4058
4463
  /**
4059
4464
  * The solid with its small features removed: `{ solid, ...report }`, `solid` a new handle the
4060
4465
  * caller frees, the rest `Scene.healed`'s report rows. `flags` 1 edges, 2 faces, 4 holes.
@@ -4194,6 +4599,13 @@ export function cadaclysm_blacksmith_hlr_report(hlr: number): any;
4194
4599
  */
4195
4600
  export function cadaclysm_blacksmith_hole(solid: number, points: Float64Array, diameter: number, direction: Float64Array | null | undefined, extent: number, depth: number, tip_angle: number, face: number, head: number, head_diameter: number, head_depth: number, head_angle: number, tolerance: number): Float64Array;
4196
4601
 
4602
+ /**
4603
+ * The bodies drilled along one axis by one hole series, as C's `hole_series`: `3 n` numbers for
4604
+ * `n` bodies -- the `n` new solid handles in the order given (C's `out`), then each one's role
4605
+ * (C's `roles_out`), then each one's entry distance (C's `entries_out`, NaN for a body missed).
4606
+ */
4607
+ export function cadaclysm_blacksmith_hole_series(solids: Uint32Array, point: Float64Array, direction: Float64Array, start_diameter: number, head: number, head_diameter: number, head_depth: number, head_angle: number, middle_diameter: number, end_diameter: number, end_depth: number, tip_angle: number, tolerance: number): Float64Array;
4608
+
4197
4609
  /**
4198
4610
  * The body drilled and tapped at every point, as C's `hole_threaded`: `[solid, holes,
4199
4611
  * faces_added, bottom..., thread_depth...]`, one bottom and one thread depth a point.
@@ -4210,6 +4622,13 @@ export function cadaclysm_blacksmith_hole_threaded_tool(solid: number, points: F
4210
4622
  */
4211
4623
  export function cadaclysm_blacksmith_hole_tool(solid: number, points: Float64Array, diameter: number, direction: Float64Array | null | undefined, extent: number, depth: number, tip_angle: number, face: number, head: number, head_diameter: number, head_depth: number, head_angle: number, tolerance: number): number;
4212
4624
 
4625
+ /**
4626
+ * The joints `a` and `b` suggest, best first, as C's `infer_joints`: `frame_a` / `frame_b`
4627
+ * null or 12 numbers, `pick_a` / `pick_b` a face (or, with `pick_*_edge`, an edge-table edge)
4628
+ * or -1 the whole body. A candidate list handle.
4629
+ */
4630
+ export function cadaclysm_blacksmith_infer_joints(a: number, frame_a: Float64Array | null | undefined, pick_a: number, pick_a_edge: boolean, b: number, frame_b: Float64Array | null | undefined, pick_b: number, pick_b_edge: boolean, tolerance: number): number;
4631
+
4213
4632
  /**
4214
4633
  * The value at the fractional index `t` by `mode`, `dimension` doubles. Throws for a `t` that is
4215
4634
  * not finite and a mode that is not one of the five.
@@ -4366,6 +4785,29 @@ export function cadaclysm_blacksmith_join(a: number, b: number, tolerance: numbe
4366
4785
  */
4367
4786
  export function cadaclysm_blacksmith_join_sheets(sheets: Uint32Array, tolerance: number): Float64Array;
4368
4787
 
4788
+ /**
4789
+ * Candidate `i` as C's `joint_candidate`: 17 numbers, `frame[12], score, face_a, face_b,
4790
+ * edge_a, edge_b`.
4791
+ */
4792
+ export function cadaclysm_blacksmith_joint_candidate(h: number, i: number): Float64Array;
4793
+
4794
+ /**
4795
+ * Candidate `i`'s kind, as C's `joint_candidate_kind`.
4796
+ */
4797
+ export function cadaclysm_blacksmith_joint_candidate_kind(h: number, i: number): string;
4798
+
4799
+ /**
4800
+ * Candidate `i`'s reason, as C's `joint_candidate_reason`.
4801
+ */
4802
+ export function cadaclysm_blacksmith_joint_candidate_reason(h: number, i: number): string;
4803
+
4804
+ /**
4805
+ * How many candidates, as C's `joint_candidates_count`.
4806
+ */
4807
+ export function cadaclysm_blacksmith_joint_candidates_count(h: number): number;
4808
+
4809
+ export function cadaclysm_blacksmith_joint_candidates_free(h: number): void;
4810
+
4369
4811
  export function cadaclysm_blacksmith_leaked_edges(solid: number, tolerance: number): number;
4370
4812
 
4371
4813
  export function cadaclysm_blacksmith_license_info(): string;
@@ -4381,6 +4823,12 @@ export function cadaclysm_blacksmith_license_set(text?: string | null): boolean;
4381
4823
 
4382
4824
  export function cadaclysm_blacksmith_loft(a: number, frame_a: Float64Array, b: number, frame_b: Float64Array): number;
4383
4825
 
4826
+ /**
4827
+ * The sections lofted through `rails` or round `centreline` by the JSON `options`, as C's
4828
+ * `loft_along`: `[solid, error]`; `centreline` absent for none.
4829
+ */
4830
+ export function cadaclysm_blacksmith_loft_along(sections: Uint32Array, rails: Uint32Array, centreline: number | null | undefined, options: string | null | undefined, tolerance: number): Float64Array;
4831
+
4384
4832
  /**
4385
4833
  * The sheet lofted through the section curves `sections`, as C's `loft_curves`.
4386
4834
  */
@@ -4396,6 +4844,12 @@ export function cadaclysm_blacksmith_lump(solid: number, index: number): number;
4396
4844
 
4397
4845
  export function cadaclysm_blacksmith_lump_count(solid: number): number;
4398
4846
 
4847
+ /**
4848
+ * `solid` trimmed to its periods along x, y, z (`period` and `first` three numbers each), as
4849
+ * C's `make_periodic`.
4850
+ */
4851
+ export function cadaclysm_blacksmith_make_periodic(solid: number, period: Float64Array, first: Float64Array, tolerance: number): number;
4852
+
4399
4853
  export function cadaclysm_blacksmith_manifold(solid: number): Uint32Array;
4400
4854
 
4401
4855
  /**
@@ -4428,6 +4882,16 @@ export function cadaclysm_blacksmith_mass_properties(solid: number, accuracy: nu
4428
4882
  */
4429
4883
  export function cadaclysm_blacksmith_match_side(a: number, face_a: number, side_a: number, b: number, face_b: number, side_b: number, level: number): number;
4430
4884
 
4885
+ /**
4886
+ * The physical material called `name` as a JSON object, as C's `material`.
4887
+ */
4888
+ export function cadaclysm_blacksmith_material(name: string): string;
4889
+
4890
+ /**
4891
+ * Every physical material as a JSON array, as C's `materials`.
4892
+ */
4893
+ export function cadaclysm_blacksmith_materials(): string;
4894
+
4431
4895
  /**
4432
4896
  * `a` and `b` merged into one non-manifold solid that keeps every piece (see
4433
4897
  * `cadaclysm_blacksmith_merge` in the C header); progress as `join`'s.
@@ -4455,6 +4919,12 @@ export function cadaclysm_blacksmith_mesh_face_triangles(solid: number, toleranc
4455
4919
  */
4456
4920
  export function cadaclysm_blacksmith_mesh_file(solids: Uint32Array, format: string, names: string[] | null | undefined, looks: Float64Array | null | undefined, tolerance: number): Uint8Array;
4457
4921
 
4922
+ /**
4923
+ * The silhouette of a triangle mesh seen along `v` (or from the eye at `v` when
4924
+ * `perspective`), as C's `mesh_silhouette`; `plane` null or 6 numbers (a point, a normal).
4925
+ */
4926
+ export function cadaclysm_blacksmith_mesh_silhouette(mesh: number, perspective: boolean, v: Float64Array, boundary: boolean, plane?: Float64Array | null): any;
4927
+
4458
4928
  /**
4459
4929
  * The nearest-opposing-wall rule on meshes laid end to end: mesh m's vertices are the next
4460
4930
  * `vertex_counts[m]` triples of `positions`, its triangles the next `triangle_counts[m]`
@@ -4476,6 +4946,12 @@ export function cadaclysm_blacksmith_mesh_thicknesses_count(thicknesses: number)
4476
4946
 
4477
4947
  export function cadaclysm_blacksmith_mesh_thicknesses_free(h: number): void;
4478
4948
 
4949
+ /**
4950
+ * The box of least volume found holding the solid, as C's `minimal_box`: 15 numbers, the
4951
+ * `CadaclysmBlacksmithOrientedBox` fields in order (centre, three axes, half extents).
4952
+ */
4953
+ export function cadaclysm_blacksmith_minimal_box(solid: number, accuracy: number): Float64Array;
4954
+
4479
4955
  export function cadaclysm_blacksmith_mirror(solid: number, plane: Float64Array): number;
4480
4956
 
4481
4957
  /**
@@ -4595,6 +5071,48 @@ export function cadaclysm_blacksmith_naca_spline(airfoil: Float64Array, chord: n
4595
5071
 
4596
5072
  export function cadaclysm_blacksmith_named(solid: number, name: string): number;
4597
5073
 
5074
+ /**
5075
+ * Nests `profiles`, as C's `nest`; `quantities` and `priorities` null or one per profile.
5076
+ */
5077
+ export function cadaclysm_blacksmith_nest(profiles: Uint32Array, quantities: Uint32Array | null | undefined, priorities: Float64Array | null | undefined, sheet_width: number, sheet_height: number, max_sheets: number, spacing: number, margin: number, rotations: number, resolution: number, tolerance: number): number;
5078
+
5079
+ export function cadaclysm_blacksmith_nest_free(h: number): void;
5080
+
5081
+ /**
5082
+ * Placement `i` as C's `nest_placement`: 10 numbers, `transform (6), angle, part, copy, sheet`.
5083
+ */
5084
+ export function cadaclysm_blacksmith_nest_placement(h: number, i: number): Float64Array;
5085
+
5086
+ /**
5087
+ * How many copies were placed, as C's `nest_placement_count`.
5088
+ */
5089
+ export function cadaclysm_blacksmith_nest_placement_count(h: number): number;
5090
+
5091
+ /**
5092
+ * How many sheets were used, as C's `nest_sheet_count`.
5093
+ */
5094
+ export function cadaclysm_blacksmith_nest_sheet_count(h: number): number;
5095
+
5096
+ /**
5097
+ * Sheet `sheet`'s utilisation, as C's `nest_sheet_utilisation`.
5098
+ */
5099
+ export function cadaclysm_blacksmith_nest_sheet_utilisation(h: number, sheet: number): number;
5100
+
5101
+ /**
5102
+ * Unplaced copy `i` as C's `nest_unplaced`: 2 numbers, part and copy.
5103
+ */
5104
+ export function cadaclysm_blacksmith_nest_unplaced(h: number, i: number): Uint32Array;
5105
+
5106
+ /**
5107
+ * How many copies fit no sheet, as C's `nest_unplaced_count`.
5108
+ */
5109
+ export function cadaclysm_blacksmith_nest_unplaced_count(h: number): number;
5110
+
5111
+ /**
5112
+ * The overall utilisation, as C's `nest_utilisation`.
5113
+ */
5114
+ export function cadaclysm_blacksmith_nest_utilisation(h: number): number;
5115
+
4598
5116
  /**
4599
5117
  * The Gordon sheet of a curve network, as C's `network_surface`: `[solid, error]`.
4600
5118
  */
@@ -4661,13 +5179,23 @@ export function cadaclysm_blacksmith_nurbs_curve_control_points(curve: number):
4661
5179
  */
4662
5180
  export function cadaclysm_blacksmith_nurbs_curve_curvature(curve: number, t: number): Float64Array;
4663
5181
 
4664
- export function cadaclysm_blacksmith_nurbs_curve_degree(curve: number): number;
4665
-
5182
+ /**
5183
+ * Where two curves meet, as C's `nurbs_curve_curve_hits`: nineteen numbers a row, no count call.
5184
+ */
5185
+ export function cadaclysm_blacksmith_nurbs_curve_curve_hits(a: number, b: number, tolerance: number): Float64Array;
5186
+
5187
+ export function cadaclysm_blacksmith_nurbs_curve_degree(curve: number): number;
5188
+
4666
5189
  /**
4667
5190
  * The point and its derivatives at `t` up to `order`, three doubles each.
4668
5191
  */
4669
5192
  export function cadaclysm_blacksmith_nurbs_curve_derivatives(curve: number, t: number, order: number): Float64Array;
4670
5193
 
5194
+ /**
5195
+ * How far apart two curves run, as C's `nurbs_curve_deviation`: the eighteen numbers C fills.
5196
+ */
5197
+ export function cadaclysm_blacksmith_nurbs_curve_deviation(a: number, b: number, tolerance: number): Float64Array;
5198
+
4671
5199
  /**
4672
5200
  * Whether `b` runs the same way as `a`: C's 1 or 0 as a bool; its -1 throws.
4673
5201
  */
@@ -4742,11 +5270,23 @@ export function cadaclysm_blacksmith_nurbs_curve_free(h: number): void;
4742
5270
  */
4743
5271
  export function cadaclysm_blacksmith_nurbs_curve_from_edge(solid: number, edge: number): number;
4744
5272
 
5273
+ /**
5274
+ * The curve of the formulas `x`, `y`, `z` over `t0` to `t1`, as C's `nurbs_curve_from_equation`:
5275
+ * `[handle, error, samples]`; `y`, `z`, `var`, `params` and `frame` absent for their defaults.
5276
+ */
5277
+ export function cadaclysm_blacksmith_nurbs_curve_from_equation(x: string, y: string | null | undefined, z: string | null | undefined, _var: string | null | undefined, t0: number, t1: number, params: string | null | undefined, tolerance: number, degree: number, closed: number, max_points: number, frame?: Float64Array | null): Float64Array;
5278
+
4745
5279
  /**
4746
5280
  * The isocurve of face `face` of `solid`'s surface.
4747
5281
  */
4748
5282
  export function cadaclysm_blacksmith_nurbs_curve_from_face_isocurve(solid: number, face: number, along_u: boolean, at: number): number;
4749
5283
 
5284
+ /**
5285
+ * The space curve(s) whose projections along `direction_a` and `direction_b` are `a` and `b`,
5286
+ * as C's `nurbs_curve_from_two_views`: `{ curves, info }` (`curve_list_object`).
5287
+ */
5288
+ export function cadaclysm_blacksmith_nurbs_curve_from_two_views(a: number, direction_a: Float64Array, b: number, direction_b: Float64Array, tolerance: number): any;
5289
+
4750
5290
  /**
4751
5291
  * The Greville abscissae and the curve's points there, as C's `nurbs_curve_greville` writes
4752
5292
  * its two out-arrays one after the other: `n` parameters, then `3 n` coordinates.
@@ -5038,6 +5578,12 @@ export function cadaclysm_blacksmith_nurbs_surface_free(h: number): void;
5038
5578
  */
5039
5579
  export function cadaclysm_blacksmith_nurbs_surface_hermite(u: Float64Array, v: Float64Array, points: Float64Array, du: Float64Array, dv: Float64Array, twists: Float64Array): number;
5040
5580
 
5581
+ /**
5582
+ * Where two untrimmed surfaces meet, as an intersection handle read and released as
5583
+ * `intersect`'s (C's `nurbs_surface_intersect`).
5584
+ */
5585
+ export function cadaclysm_blacksmith_nurbs_surface_intersect(a: number, b: number, tolerance: number, progress?: Function | null): number;
5586
+
5041
5587
  /**
5042
5588
  * The knot `t` inserted `times` times along `dir`, a new handle.
5043
5589
  */
@@ -5176,6 +5722,17 @@ export function cadaclysm_blacksmith_oriented_box(solid: number, accuracy: numbe
5176
5722
  */
5177
5723
  export function cadaclysm_blacksmith_origins_through(out: number, via: number): number;
5178
5724
 
5725
+ /**
5726
+ * A view derived from view `parent`: projected, auxiliary, section or detail (see the C
5727
+ * call); its number.
5728
+ */
5729
+ export function cadaclysm_blacksmith_page_add_derived_view(page: number, parent: number, options_json?: string | null): number;
5730
+
5731
+ /**
5732
+ * A drawing dimension on view `view`, or the auto set (see the C call); how many were added.
5733
+ */
5734
+ export function cadaclysm_blacksmith_page_add_dimension(page: number, view: number, options_json?: string | null): number;
5735
+
5179
5736
  /**
5180
5737
  * The flat pattern drawn on `page` at (`x`, `y`), as C's `page_add_flat_pattern`: how many
5181
5738
  * entities were added.
@@ -5188,11 +5745,26 @@ export function cadaclysm_blacksmith_page_add_flat_pattern(page: number, flat_pa
5188
5745
  */
5189
5746
  export function cadaclysm_blacksmith_page_add_hatch(page: number, profile: number, layer: string | null | undefined, pattern: string, angle: number, scale: number, x: number, y: number): void;
5190
5747
 
5748
+ /**
5749
+ * A hole table for view `view` (see the C call); how many holes it lists.
5750
+ */
5751
+ export function cadaclysm_blacksmith_page_add_hole_table(page: number, view: number, options_json?: string | null): number;
5752
+
5753
+ /**
5754
+ * A model view of `solids` on the page (see the C call for the options JSON); its number.
5755
+ */
5756
+ export function cadaclysm_blacksmith_page_add_model_view(page: number, solids: Uint32Array, options_json?: string | null): number;
5757
+
5191
5758
  /**
5192
5759
  * `profile`'s outline and holes on `layer` (null: `0`), moved by (`x`, `y`).
5193
5760
  */
5194
5761
  export function cadaclysm_blacksmith_page_add_profile(page: number, profile: number, layer: string | null | undefined, x: number, y: number): void;
5195
5762
 
5763
+ /**
5764
+ * A sketch's dimensional constraints placed on view `view` (see the C call); how many.
5765
+ */
5766
+ export function cadaclysm_blacksmith_page_add_sketch_dimensions(page: number, view: number, sketch: number, options_json?: string | null): number;
5767
+
5196
5768
  /**
5197
5769
  * One line of `text` on `layer` (null: `text`) at (`x`, `y`), `height` tall, turned `angle`
5198
5770
  * radians; `halign` (null: left) and `valign` (null: baseline) as the C ABI's.
@@ -5204,6 +5776,11 @@ export function cadaclysm_blacksmith_page_add_text(page: number, text: string, l
5204
5776
  */
5205
5777
  export function cadaclysm_blacksmith_page_add_view(page: number, hlr: number, x: number, y: number, scale: number): void;
5206
5778
 
5779
+ /**
5780
+ * A break on view `view` (see the C call); the band's number on that view.
5781
+ */
5782
+ export function cadaclysm_blacksmith_page_add_view_break(page: number, view: number, options_json?: string | null): number;
5783
+
5207
5784
  /**
5208
5785
  * The page as DXF R2000 (`AC1015`) text.
5209
5786
  */
@@ -5213,6 +5790,11 @@ export function cadaclysm_blacksmith_page_entity_count(page: number): number;
5213
5790
 
5214
5791
  export function cadaclysm_blacksmith_page_free(h: number): void;
5215
5792
 
5793
+ /**
5794
+ * The page's views, dimensions and tables as JSON (see the C call).
5795
+ */
5796
+ export function cadaclysm_blacksmith_page_info_json(page: number): string;
5797
+
5216
5798
  /**
5217
5799
  * An empty page in `units`, the DXF unit codes (0 unitless, 1 in, 2 ft, 4 mm, 5 cm, 6 m), a
5218
5800
  * handle released with `page_free`.
@@ -5300,6 +5882,12 @@ export function cadaclysm_blacksmith_pattern_rectangular(direction1: Float64Arra
5300
5882
 
5301
5883
  export function cadaclysm_blacksmith_pipe(path: number, radius: number, thickness: number): number;
5302
5884
 
5885
+ /**
5886
+ * A pipe of `radius` (hollow where `thickness` is above zero) along `rail` by the JSON
5887
+ * `options`, as C's `pipe_along`: `[solid, error]`.
5888
+ */
5889
+ export function cadaclysm_blacksmith_pipe_along(rail: number, radius: number, thickness: number, options: string | null | undefined, tolerance: number): Float64Array;
5890
+
5303
5891
  export function cadaclysm_blacksmith_place(solid: number, frame: Float64Array): number;
5304
5892
 
5305
5893
  /**
@@ -5313,6 +5901,14 @@ export function cadaclysm_blacksmith_pmi_items(solid: number): string;
5313
5901
  */
5314
5902
  export function cadaclysm_blacksmith_pmi_views(solid: number): string;
5315
5903
 
5904
+ export function cadaclysm_blacksmith_point_centre(solid: number, edge: number): Float64Array;
5905
+
5906
+ export function cadaclysm_blacksmith_point_edge_edge(solid: number, edge_a: number, edge_b: number, tolerance: number): Float64Array;
5907
+
5908
+ export function cadaclysm_blacksmith_point_edge_plane(solid: number, edge: number, frame: Float64Array): Float64Array;
5909
+
5910
+ export function cadaclysm_blacksmith_point_three_planes(a: Float64Array, b: Float64Array, c: Float64Array): Float64Array;
5911
+
5316
5912
  export function cadaclysm_blacksmith_polygon_set_area(h: number): number;
5317
5913
 
5318
5914
  export function cadaclysm_blacksmith_polygon_set_boundary_distance(h: number, x: number, y: number): number;
@@ -5499,11 +6095,23 @@ export function cadaclysm_blacksmith_profile_divide_by_length(profile: number, s
5499
6095
 
5500
6096
  export function cadaclysm_blacksmith_profile_ellipse(cx: number, cy: number, rx: number, ry: number): number;
5501
6097
 
6098
+ /**
6099
+ * The planar curve of the formulas `x`, `y` as a profile, as C's `profile_equation`:
6100
+ * `[handle, error]`.
6101
+ */
6102
+ export function cadaclysm_blacksmith_profile_equation(x: string, y: string | null | undefined, _var: string | null | undefined, t0: number, t1: number, params: string | null | undefined, tolerance: number, degree: number, closed: number, max_points: number): Float64Array;
6103
+
5502
6104
  /**
5503
6105
  * A sketch fillet between two curves meeting at an end: JSON text `{"a", "b", "arc"}`.
5504
6106
  */
5505
6107
  export function cadaclysm_blacksmith_profile_fillet_corner(a: number, b: number, radius: number, tolerance: number): string;
5506
6108
 
6109
+ /**
6110
+ * A planar spline fitted to `xy` (see the C `profile_fit`): two numbers, the profile's handle and
6111
+ * the largest distance from a point to it.
6112
+ */
6113
+ export function cadaclysm_blacksmith_profile_fit(xy: Float64Array, degree: number, tolerance: number): Float64Array;
6114
+
5507
6115
  export function cadaclysm_blacksmith_profile_free(h: number): void;
5508
6116
 
5509
6117
  /**
@@ -5571,6 +6179,13 @@ export function cadaclysm_blacksmith_profile_loops(pieces: Uint32Array, toleranc
5571
6179
  */
5572
6180
  export function cadaclysm_blacksmith_profile_make_closed(p: number, tolerance: number): number;
5573
6181
 
6182
+ /**
6183
+ * The medial axis of `profile` (see the C `profile_medial_axis`) as one flat array: the branch
6184
+ * count, then per branch its point count `n`, its spline profile's handle, the spline's error,
6185
+ * and `n` points as `x, y, radius`.
6186
+ */
6187
+ export function cadaclysm_blacksmith_profile_medial_axis(profile: number, tolerance: number): Float64Array;
6188
+
5574
6189
  /**
5575
6190
  * `p` with neighbouring segments that are one curve made one (see the C
5576
6191
  * `profile_merge_colinear`).
@@ -5702,6 +6317,11 @@ export function cadaclysm_blacksmith_profile_star(cx: number, cy: number, outer:
5702
6317
  */
5703
6318
  export function cadaclysm_blacksmith_profile_text(text: string, size: number, font: string, font_bytes: Uint8Array | null | undefined, halign: string, valign: string, spacing: number, direction: string): number;
5704
6319
 
6320
+ /**
6321
+ * The planar spline through `xy` (see the C `profile_through`); `start` / `end` 2 numbers or none.
6322
+ */
6323
+ export function cadaclysm_blacksmith_profile_through(xy: Float64Array, degree: number, closed: boolean, start?: Float64Array | null, end?: Float64Array | null): number;
6324
+
5705
6325
  /**
5706
6326
  * `p` fitted to arcs and lines within `tolerance` -- the only curves a toolpath
5707
6327
  * is written in.
@@ -5776,6 +6396,21 @@ export function cadaclysm_blacksmith_quaternion_slerp(a: Float64Array, b: Float6
5776
6396
 
5777
6397
  export function cadaclysm_blacksmith_quaternion_to_transform(q: Float64Array, centre: Float64Array): Float64Array;
5778
6398
 
6399
+ /**
6400
+ * The edges an edges `query` picks on `solid`, ascending edge-table rows, as C's `query_edges`.
6401
+ */
6402
+ export function cadaclysm_blacksmith_query_edges(solid: number, query: string): Uint32Array;
6403
+
6404
+ /**
6405
+ * The faces a faces `query` (JSON) picks on `solid`, ascending, as C's `query_faces`.
6406
+ */
6407
+ export function cadaclysm_blacksmith_query_faces(solid: number, query: string): Uint32Array;
6408
+
6409
+ /**
6410
+ * The vertices a vertices `query` picks on `solid`, ascending, as C's `query_vertices`.
6411
+ */
6412
+ export function cadaclysm_blacksmith_query_vertices(solid: number, query: string): Uint32Array;
6413
+
5779
6414
  /**
5780
6415
  * The rail-revolved sheet, or with `solid` the closed body, as C's `rail_revolve`.
5781
6416
  */
@@ -5788,6 +6423,11 @@ export function cadaclysm_blacksmith_ray_closest_point(value: Float64Array, poin
5788
6423
 
5789
6424
  export function cadaclysm_blacksmith_ray_point_at(value: Float64Array, t: number): Float64Array;
5790
6425
 
6426
+ /**
6427
+ * A ray shot through `solids` with reflections, as C's `ray_shoot`: eight numbers a strike.
6428
+ */
6429
+ export function cadaclysm_blacksmith_ray_shoot(solids: Uint32Array, origin: Float64Array, direction: Float64Array, max_reflections: number, tolerance: number): Float64Array;
6430
+
5791
6431
  /**
5792
6432
  * The sheet with an opening recessed into it, as C's `recess`: `[solid, sheet_faces,
5793
6433
  * fillet_faces, wall_faces, pane_faces]`.
@@ -5831,6 +6471,12 @@ export function cadaclysm_blacksmith_region_solid(solid: number, region: number)
5831
6471
  */
5832
6472
  export function cadaclysm_blacksmith_regions(solid: number): Float64Array;
5833
6473
 
6474
+ /**
6475
+ * `counts` (three) copies of `solid` a `period` (three numbers) apart along x, y, z, glued where
6476
+ * they share whole faces, as C's `repeat`.
6477
+ */
6478
+ export function cadaclysm_blacksmith_repeat(solid: number, period: Float64Array, counts: Uint32Array, tolerance: number): number;
6479
+
5834
6480
  /**
5835
6481
  * x, y, z of item `i`'s location -- as `face_ref` returns a face's plane.
5836
6482
  */
@@ -5854,8 +6500,19 @@ export function cadaclysm_blacksmith_report_text(r: number): string;
5854
6500
 
5855
6501
  export function cadaclysm_blacksmith_report_top(r: number, i: number): number;
5856
6502
 
6503
+ /**
6504
+ * The solid with its edge and vertex tolerances worked out from its geometry, as C's
6505
+ * `reset_tolerances`: the solid handle.
6506
+ */
6507
+ export function cadaclysm_blacksmith_reset_tolerances(solid: number): number;
6508
+
5857
6509
  export function cadaclysm_blacksmith_revolve(profile: number, axis: Float64Array, angle: number): number;
5858
6510
 
6511
+ /**
6512
+ * `profile` revolved as a feature (see the C `revolve_feature`).
6513
+ */
6514
+ export function cadaclysm_blacksmith_revolve_feature(profile: number, frame: Float64Array, axis: Float64Array, spec: Float64Array, target: number | null | undefined, bound: number | null | undefined, tolerance: number): number;
6515
+
5859
6516
  export function cadaclysm_blacksmith_revolve_in_plane(profile: number, frame: Float64Array, axis: Float64Array, angle: number): number;
5860
6517
 
5861
6518
  export function cadaclysm_blacksmith_revolve_open(profile: number, axis: Float64Array, angle: number): number;
@@ -6000,8 +6657,6 @@ export function cadaclysm_blacksmith_section_names(): string;
6000
6657
  */
6001
6658
  export function cadaclysm_blacksmith_section_profile(designation: string): number;
6002
6659
 
6003
- export function cadaclysm_blacksmith_select_face(solid: number, kind: number, v: Float64Array, index: number): number;
6004
-
6005
6660
  /**
6006
6661
  * Where `solid` passes through itself, as an intersection handle read and released as
6007
6662
  * `intersect`'s, with `solid` on both sides: never along its own edges and vertices, a
@@ -6083,6 +6738,12 @@ export function cadaclysm_blacksmith_sheet_fold(solid: number, face: number, lin
6083
6738
  */
6084
6739
  export function cadaclysm_blacksmith_sheet_form(solid: number, face: number, point: Float64Array, direction: Float64Array, kind: number, length: number, width: number, depth: number, radius: number, rule: Float64Array, tolerance: number): number;
6085
6740
 
6741
+ /**
6742
+ * `count` gussets across the bend whose face is `face`, the first `at` along the bend's line,
6743
+ * as C's `sheet_gusset`.
6744
+ */
6745
+ export function cadaclysm_blacksmith_sheet_gusset(solid: number, face: number, at: number, width: number, depth: number, draft: number, rounded: boolean, count: number, spacing: number, rule: Float64Array, tolerance: number): number;
6746
+
6086
6747
  /**
6087
6748
  * Hems on `edges`, as C's `sheet_hem` (`kind` C's `CADACLYSM_BLACKSMITH_HEM_*`).
6088
6749
  */
@@ -6111,6 +6772,12 @@ export function cadaclysm_blacksmith_sheet_join(solid: number, edge_a: number, e
6111
6772
  */
6112
6773
  export function cadaclysm_blacksmith_sheet_lofted_flange(a: Float64Array, b: Float64Array, rule: Float64Array, tolerance: number): number;
6113
6774
 
6775
+ /**
6776
+ * A form punched into flat face `face` by the tool body `tool`, the tool's faces `removal`
6777
+ * opened, as C's `sheet_punch`.
6778
+ */
6779
+ export function cadaclysm_blacksmith_sheet_punch(solid: number, face: number, tool: number, removal: Uint32Array, rule: Float64Array, tolerance: number): number;
6780
+
6114
6781
  /**
6115
6782
  * Rips along `edges`, a slot `gap` wide, as C's `sheet_rip`.
6116
6783
  */
@@ -6151,6 +6818,23 @@ export function cadaclysm_blacksmith_silhouette_beziers(solid: number, words: Fl
6151
6818
  */
6152
6819
  export function cadaclysm_blacksmith_sketch_add_arc(h: number, centre: number, start: number, end: number): number;
6153
6820
 
6821
+ /**
6822
+ * A counter-clockwise arc about a new point at (`cx`, `cy`) from a new point at (`sx`, `sy`)
6823
+ * to a new point at (`ex`, `ey`): 4 ids, `[centre, start, end, arc]`.
6824
+ */
6825
+ export function cadaclysm_blacksmith_sketch_add_arc_at(h: number, cx: number, cy: number, sx: number, sy: number, ex: number, ey: number): Uint32Array;
6826
+
6827
+ /**
6828
+ * An arc slot on the centreline arc about (`cx`, `cy`) from (`sx`, `sy`) to (`ex`, `ey`):
6829
+ * `[centre, start, end, centreline, outer, inner, cap_start, cap_end]`.
6830
+ */
6831
+ export function cadaclysm_blacksmith_sketch_add_arc_slot_at(h: number, cx: number, cy: number, sx: number, sy: number, ex: number, ey: number, width: number): Uint32Array;
6832
+
6833
+ /**
6834
+ * An arc slot on the centreline arc through three points: as `add_arc_slot_at`.
6835
+ */
6836
+ export function cadaclysm_blacksmith_sketch_add_arc_slot_through_at(h: number, sx: number, sy: number, mx: number, my: number, ex: number, ey: number, width: number): Uint32Array;
6837
+
6154
6838
  /**
6155
6839
  * A cubic Bezier from the point `start` through two controls to a new end point.
6156
6840
  */
@@ -6161,11 +6845,71 @@ export function cadaclysm_blacksmith_sketch_add_bezier(h: number, start: number,
6161
6845
  */
6162
6846
  export function cadaclysm_blacksmith_sketch_add_circle(h: number, centre: number, r: number): number;
6163
6847
 
6848
+ /**
6849
+ * A circle of radius `r` about a new point at (`cx`, `cy`): 2 ids, `[centre, circle]`.
6850
+ */
6851
+ export function cadaclysm_blacksmith_sketch_add_circle_at(h: number, cx: number, cy: number, r: number): Uint32Array;
6852
+
6853
+ /**
6854
+ * A circle tangent to `a`, `b` and `c` on the hint's sides: `[centre, circle, tangent_a,
6855
+ * tangent_b, tangent_c]`.
6856
+ */
6857
+ export function cadaclysm_blacksmith_sketch_add_circle_three_tangents(h: number, a: number, b: number, c: number, hx: number, hy: number): Uint32Array;
6858
+
6859
+ /**
6860
+ * A circle of radius `r` tangent to `a` and `b` on the hint's sides: `[centre, circle,
6861
+ * tangent_a, tangent_b, radius]`.
6862
+ */
6863
+ export function cadaclysm_blacksmith_sketch_add_circle_two_tangents(h: number, a: number, b: number, r: number, hx: number, hy: number): Uint32Array;
6864
+
6164
6865
  /**
6165
6866
  * A conic from the point `start` with the control (`cx`, `cy`) and `weight` to a new end point.
6166
6867
  */
6167
6868
  export function cadaclysm_blacksmith_sketch_add_conic(h: number, start: number, cx: number, cy: number, x: number, y: number, weight: number): number;
6168
6869
 
6870
+ /**
6871
+ * An ellipse about the point `centre`, its major radius to the point `major`, its minor
6872
+ * to the point `minor` (held square to the major).
6873
+ */
6874
+ export function cadaclysm_blacksmith_sketch_add_ellipse(h: number, centre: number, major: number, minor: number): number;
6875
+
6876
+ /**
6877
+ * An ellipse about a new point at (`cx`, `cy`), its major radius to (`mx`, `my`), its
6878
+ * minor `minor`: 4 ids, `[centre, major, minor, ellipse]`.
6879
+ */
6880
+ export function cadaclysm_blacksmith_sketch_add_ellipse_at(h: number, cx: number, cy: number, mx: number, my: number, minor: number): Uint32Array;
6881
+
6882
+ /**
6883
+ * An elliptical arc on the ellipse of `centre`, `major`, `minor`, counter-clockwise from
6884
+ * the point `start` to the point `end`.
6885
+ */
6886
+ export function cadaclysm_blacksmith_sketch_add_elliptical_arc(h: number, centre: number, major: number, minor: number, start: number, end: number): number;
6887
+
6888
+ /**
6889
+ * An elliptical arc from (`sx`, `sy`) to (`ex`, `ey`) on the ellipse of `add_ellipse_at`:
6890
+ * 6 ids, `[centre, major, minor, start, end, arc]`.
6891
+ */
6892
+ export function cadaclysm_blacksmith_sketch_add_elliptical_arc_at(h: number, cx: number, cy: number, mx: number, my: number, minor: number, sx: number, sy: number, ex: number, ey: number): Uint32Array;
6893
+
6894
+ /**
6895
+ * A rigid curve from the formulas `x`, `y` over `t0` to `t1` (`var` none: `"t"`; `params` a
6896
+ * JSON object of numbers or `"=expressions"`; tolerance 0 or NaN: 1e-4): 3 ids,
6897
+ * `[start, end, curve]`.
6898
+ */
6899
+ export function cadaclysm_blacksmith_sketch_add_equation_curve_at(h: number, x: string, y: string, _var: string | null | undefined, t0: number, t1: number, params: string | null | undefined, tolerance: number): Uint32Array;
6900
+
6901
+ /**
6902
+ * A fitted spline through the points `points`; `start_handle` / `end_handle` tangent
6903
+ * handle points or NO_ENTITY.
6904
+ */
6905
+ export function cadaclysm_blacksmith_sketch_add_fitted_spline(h: number, points: Uint32Array, start_handle: number, end_handle: number): number;
6906
+
6907
+ /**
6908
+ * A fitted spline through new points at the pairs `xy`, handles at (`shx`, `shy`) and
6909
+ * (`ehx`, `ehy`) (NaN: none): `[spline, start_handle, end_handle, points...]`.
6910
+ */
6911
+ export function cadaclysm_blacksmith_sketch_add_fitted_spline_at(h: number, xy: Float64Array, shx: number, shy: number, ehx: number, ehy: number): Uint32Array;
6912
+
6169
6913
  /**
6170
6914
  * A line between the points `a` and `b`.
6171
6915
  */
@@ -6186,19 +6930,47 @@ export function cadaclysm_blacksmith_sketch_add_point(h: number, x: number, y: n
6186
6930
  * A regular polygon of `sides` (3 to 1024) about (`cx`, `cy`), corner 0 at (`vx`, `vy`):
6187
6931
  * `3 + 2 * sides` ids, `[centre, circumcircle, incircle, corners..., sides...]`.
6188
6932
  */
6189
- export function cadaclysm_blacksmith_sketch_add_polygon(h: number, cx: number, cy: number, vx: number, vy: number, sides: number): Uint32Array;
6933
+ export function cadaclysm_blacksmith_sketch_add_polygon_at(h: number, cx: number, cy: number, vx: number, vy: number, sides: number): Uint32Array;
6190
6934
 
6191
6935
  /**
6192
- * As `sketch_add_polygon`, `sides_expr` (none or empty for `sides`) an `"=expression"` for the
6936
+ * As `sketch_add_polygon_at`, `sides_expr` (none or empty for `sides`) an `"=expression"` for the
6193
6937
  * side count, evaluated before every solve: `[feature, centre, circumcircle, incircle,
6194
6938
  * corners..., sides...]`.
6195
6939
  */
6196
- export function cadaclysm_blacksmith_sketch_add_polygon_expr(h: number, cx: number, cy: number, vx: number, vy: number, sides: number, sides_expr?: string | null): Uint32Array;
6940
+ export function cadaclysm_blacksmith_sketch_add_polygon_at_expr(h: number, cx: number, cy: number, vx: number, vy: number, sides: number, sides_expr?: string | null): Uint32Array;
6197
6941
 
6198
6942
  /**
6199
6943
  * A rectangle: 8 ids, the corners 0-3 then the sides 0-3 (side `i` from corner `i`).
6200
6944
  */
6201
- export function cadaclysm_blacksmith_sketch_add_rect(h: number, x0: number, y0: number, x1: number, y1: number): Uint32Array;
6945
+ export function cadaclysm_blacksmith_sketch_add_rect_at(h: number, x0: number, y0: number, x1: number, y1: number): Uint32Array;
6946
+
6947
+ /**
6948
+ * A straight slot between arc centres (`ax`, `ay`) and (`bx`, `by`): `[centre_0,
6949
+ * centre_1, centreline, arc_0, arc_1, side_0, side_1, points...]`.
6950
+ */
6951
+ export function cadaclysm_blacksmith_sketch_add_slot_at(h: number, ax: number, ay: number, bx: number, by: number, width: number): Uint32Array;
6952
+
6953
+ /**
6954
+ * A straight slot centred on (`cx`, `cy`) with an arc centre at (`ex`, `ey`): as `add_slot_at`.
6955
+ */
6956
+ export function cadaclysm_blacksmith_sketch_add_slot_centre_at(h: number, cx: number, cy: number, ex: number, ey: number, width: number): Uint32Array;
6957
+
6958
+ /**
6959
+ * A straight slot from tip (`ax`, `ay`) to tip (`bx`, `by`) overall: as `add_slot_at`.
6960
+ */
6961
+ export function cadaclysm_blacksmith_sketch_add_slot_overall_at(h: number, ax: number, ay: number, bx: number, by: number, width: number): Uint32Array;
6962
+
6963
+ /**
6964
+ * A line of text from the point `anchor` with the point `top` above it; `font` absent or
6965
+ * empty for the built-in font.
6966
+ */
6967
+ export function cadaclysm_blacksmith_sketch_add_text(h: number, anchor: number, top: number, text: string, font?: string | null): number;
6968
+
6969
+ /**
6970
+ * A line of text at a new anchor (`x`, `y`), `size` high, turned `angle` radians: 3 ids,
6971
+ * `[anchor, top, text]`.
6972
+ */
6973
+ export function cadaclysm_blacksmith_sketch_add_text_at(h: number, x: number, y: number, size: number, angle: number, text: string, font?: string | null): Uint32Array;
6202
6974
 
6203
6975
  /**
6204
6976
  * Adds the constraints the geometry already satisfies within `tolerance` (0 or NaN: 1e-6
@@ -6206,6 +6978,11 @@ export function cadaclysm_blacksmith_sketch_add_rect(h: number, x0: number, y0:
6206
6978
  */
6207
6979
  export function cadaclysm_blacksmith_sketch_auto_constrain(h: number, tolerance: number, dimensions: boolean): Uint32Array;
6208
6980
 
6981
+ /**
6982
+ * Breaks `curve` at the crossings either side of (`x`, `y`): the pieces in order.
6983
+ */
6984
+ export function cadaclysm_blacksmith_sketch_break(h: number, curve: number, x: number, y: number): Uint32Array;
6985
+
6209
6986
  /**
6210
6987
  * The centre point of the circle or arc `id`.
6211
6988
  */
@@ -6319,6 +7096,11 @@ export function cadaclysm_blacksmith_sketch_entities(h: number): Uint32Array;
6319
7096
  */
6320
7097
  export function cadaclysm_blacksmith_sketch_expression(h: number, id: number): string | undefined;
6321
7098
 
7099
+ /**
7100
+ * Extends `curve` from its end `end` to the nearest curve ahead: `[point, target, constraint]`.
7101
+ */
7102
+ export function cadaclysm_blacksmith_sketch_extend(h: number, curve: number, end: number): Uint32Array;
7103
+
6322
7104
  /**
6323
7105
  * A feature as it is now, in its `_expr` verb's list.
6324
7106
  */
@@ -6334,6 +7116,14 @@ export function cadaclysm_blacksmith_sketch_feature_kind(h: number, feature: num
6334
7116
  */
6335
7117
  export function cadaclysm_blacksmith_sketch_features(h: number): Uint32Array;
6336
7118
 
7119
+ /**
7120
+ * Rounds the corner where the lines `a` and `b` meet with a tangent arc of `radius`
7121
+ * (`radius_expr`, none or empty for the number, an `"=expression"` the radius dimension
7122
+ * holds): 8 ids, `[arc, point_a, point_b, centre, corner, tangent_a, tangent_b,
7123
+ * radius_dimension]`.
7124
+ */
7125
+ export function cadaclysm_blacksmith_sketch_fillet(h: number, a: number, b: number, radius: number, radius_expr?: string | null): Uint32Array;
7126
+
6337
7127
  /**
6338
7128
  * Frees a sketch; an unknown or freed handle is a no-op.
6339
7129
  */
@@ -6350,6 +7140,11 @@ export function cadaclysm_blacksmith_sketch_from_json(text: string): number;
6350
7140
  */
6351
7141
  export function cadaclysm_blacksmith_sketch_from_profile(profile: number, infer: boolean, tolerance: number): number;
6352
7142
 
7143
+ /**
7144
+ * Where the plane of `frame` cuts `solid`, as fixed geometry, as C's `sketch_intersect_plane`.
7145
+ */
7146
+ export function cadaclysm_blacksmith_sketch_intersect_plane(h: number, solid: number, frame: Float64Array, construction: boolean, tolerance: number): Uint32Array;
7147
+
6353
7148
  /**
6354
7149
  * Whether the entity `id` is construction geometry (false for an unknown id).
6355
7150
  */
@@ -6386,6 +7181,12 @@ export function cadaclysm_blacksmith_sketch_mirror(h: number, ids: Uint32Array,
6386
7181
  */
6387
7182
  export function cadaclysm_blacksmith_sketch_new(): number;
6388
7183
 
7184
+ /**
7185
+ * Offsets the chain `curves` by `distance` (to the left of travel), or both sides:
7186
+ * `[k, m, copies (k * m)..., c, connectors..., d, dimensions...]`.
7187
+ */
7188
+ export function cadaclysm_blacksmith_sketch_offset(h: number, curves: Uint32Array, distance: number, two_sided: boolean): Uint32Array;
7189
+
6389
7190
  /**
6390
7191
  * The open chains as a profile-list handle.
6391
7192
  */
@@ -6415,7 +7216,8 @@ export function cadaclysm_blacksmith_sketch_pattern_circular(h: number, ids: Uin
6415
7216
 
6416
7217
  /**
6417
7218
  * As `sketch_pattern_circular`, `count_expr` (none or empty for `count`) an `"=expression"` for
6418
- * the count and `step_expr` (none or empty for `step` radians) one in degrees for the step:
7219
+ * the count and `step_expr` (none or empty for `step` radians) one in radians for the step
7220
+ * (`"=deg(360) / holes"`):
6419
7221
  * `[feature, k, m, s, d, copies..., steps..., dimensions...]`.
6420
7222
  */
6421
7223
  export function cadaclysm_blacksmith_sketch_pattern_circular_expr(h: number, ids: Uint32Array, centre: number, count: number, count_expr: string | null | undefined, step: number, step_expr?: string | null): Uint32Array;
@@ -6442,6 +7244,18 @@ export function cadaclysm_blacksmith_sketch_point(h: number, id: number): Float6
6442
7244
  */
6443
7245
  export function cadaclysm_blacksmith_sketch_profiles(h: number, tolerance: number): number;
6444
7246
 
7247
+ /**
7248
+ * `solid`'s `edges` projected onto the plane of `frame` (twelve doubles) as fixed geometry,
7249
+ * as C's `sketch_project_edges`: one entity id an edge, in order.
7250
+ */
7251
+ export function cadaclysm_blacksmith_sketch_project_edges(h: number, solid: number, edges: Uint32Array, frame: Float64Array, construction: boolean): Uint32Array;
7252
+
7253
+ /**
7254
+ * Every boundary edge of `solid`'s `faces` projected as `sketch_project_edges`, as C's
7255
+ * `sketch_project_faces`.
7256
+ */
7257
+ export function cadaclysm_blacksmith_sketch_project_faces(h: number, solid: number, faces: Uint32Array, frame: Float64Array, construction: boolean): Uint32Array;
7258
+
6445
7259
  /**
6446
7260
  * The radius of the circle or arc `id`.
6447
7261
  */
@@ -6512,6 +7326,11 @@ export function cadaclysm_blacksmith_sketch_set_point(h: number, id: number, x:
6512
7326
  */
6513
7327
  export function cadaclysm_blacksmith_sketch_set_radius(h: number, id: number, r: number): void;
6514
7328
 
7329
+ /**
7330
+ * Replaces a text entity's string.
7331
+ */
7332
+ export function cadaclysm_blacksmith_sketch_set_text(h: number, id: number, text: string): void;
7333
+
6515
7334
  /**
6516
7335
  * Sets the dimension `id` and re-solves: `[status, iterations, max_residual]`.
6517
7336
  */
@@ -6522,11 +7341,36 @@ export function cadaclysm_blacksmith_sketch_set_value(h: number, id: number, val
6522
7341
  */
6523
7342
  export function cadaclysm_blacksmith_sketch_solve(h: number): Float64Array;
6524
7343
 
7344
+ /**
7345
+ * A fitted spline's handles, `[start, end]` (NO_ENTITY where absent).
7346
+ */
7347
+ export function cadaclysm_blacksmith_sketch_spline_handles(h: number, id: number): Uint32Array;
7348
+
7349
+ /**
7350
+ * Splits `curve` at the point on it nearest (`x`, `y`): `[point, second]`.
7351
+ */
7352
+ export function cadaclysm_blacksmith_sketch_split(h: number, curve: number, x: number, y: number): Uint32Array;
7353
+
7354
+ /**
7355
+ * A text entity's string.
7356
+ */
7357
+ export function cadaclysm_blacksmith_sketch_text(h: number, id: number): string;
7358
+
7359
+ /**
7360
+ * A text entity's font (empty: the built-in one).
7361
+ */
7362
+ export function cadaclysm_blacksmith_sketch_text_font(h: number, id: number): string;
7363
+
6525
7364
  /**
6526
7365
  * The sketch as JSON: entities, constraints (names and expressions kept) and parameters.
6527
7366
  */
6528
7367
  export function cadaclysm_blacksmith_sketch_to_json(h: number): string;
6529
7368
 
7369
+ /**
7370
+ * Trims the stretch of `curve` picked at (`x`, `y`): the pieces left in order.
7371
+ */
7372
+ export function cadaclysm_blacksmith_sketch_trim(h: number, curve: number, x: number, y: number): Uint32Array;
7373
+
6530
7374
  /**
6531
7375
  * Refreshes the reference `id` from `other` and re-solves: `[status, iterations, max_residual]`.
6532
7376
  */
@@ -6560,12 +7404,30 @@ export function cadaclysm_blacksmith_solid_contour_curves(solid: number, from: F
6560
7404
 
6561
7405
  export function cadaclysm_blacksmith_solid_convert_to_nurbs(solid: number, level: number): Uint32Array;
6562
7406
 
7407
+ /**
7408
+ * `solid` with its quadrics as surfaces of revolution, as C's `solid_convert_to_revolution`:
7409
+ * `[solid, converted]`.
7410
+ */
7411
+ export function cadaclysm_blacksmith_solid_convert_to_revolution(solid: number): Uint32Array;
7412
+
7413
+ /**
7414
+ * Where a curve meets a solid's faces (`face` negative: every face), as C's
7415
+ * `solid_curve_hits`: eighteen numbers a row, no count call.
7416
+ */
7417
+ export function cadaclysm_blacksmith_solid_curve_hits(solid: number, curve: number, face: number, tolerance: number): Float64Array;
7418
+
6563
7419
  /**
6564
7420
  * `solid` with its faces divided along their isolines, `how` 0 closed (into `figure` pieces), 1
6565
7421
  * angle (`figure` radians), 2 area (`figure`), 3 continuity, as C's `solid_divide_faces`.
6566
7422
  */
6567
7423
  export function cadaclysm_blacksmith_solid_divide_faces(solid: number, how: number, figure: number, tolerance: number): number;
6568
7424
 
7425
+ /**
7426
+ * Each edge's deviation from each of its faces, as C's `solid_edge_deviations`: five numbers a
7427
+ * row (edge, face, deviation, parameter, pcurve parameter), no count call.
7428
+ */
7429
+ export function cadaclysm_blacksmith_solid_edge_deviations(solid: number): Float64Array;
7430
+
6569
7431
  /**
6570
7432
  * `solid` with faces `face_a` and `face_b` extended until they meet, as C's
6571
7433
  * `solid_extend_faces_to_connect`.
@@ -6608,6 +7470,22 @@ export function cadaclysm_blacksmith_solid_material(solid: number): string;
6608
7470
  */
6609
7471
  export function cadaclysm_blacksmith_solid_merge_surfaces(a: number, b: number, tolerance: number): number;
6610
7472
 
7473
+ /**
7474
+ * The mid-surface of a thin body, as C's `solid_mid_surface`.
7475
+ */
7476
+ export function cadaclysm_blacksmith_solid_mid_surface(solid: number, max_thickness: number, tolerance: number): number;
7477
+
7478
+ /**
7479
+ * The mid-surface's patches and unmatched faces, as C's `solid_mid_surface_patches`: five
7480
+ * numbers a row, no count call.
7481
+ */
7482
+ export function cadaclysm_blacksmith_solid_mid_surface_patches(solid: number, max_thickness: number, tolerance: number): Float64Array;
7483
+
7484
+ /**
7485
+ * The middle path from face `start` to face `end`, as C's `solid_middle_path`: `[handle, error]`.
7486
+ */
7487
+ export function cadaclysm_blacksmith_solid_middle_path(solid: number, start: number, end: number, tolerance: number): Float64Array;
7488
+
6611
7489
  /**
6612
7490
  * `solid`'s name, or an empty string when it has none -- the shim's `if raw`
6613
7491
  * check on the returned bytes reads an empty JS string the same way it reads
@@ -6627,6 +7505,23 @@ export function cadaclysm_blacksmith_solid_offset(solid: number, distance: numbe
6627
7505
  */
6628
7506
  export function cadaclysm_blacksmith_solid_offset_face(solid: number, face: number, distance: number, tolerance: number): number;
6629
7507
 
7508
+ /**
7509
+ * The body's faces sampled as points, as C's `solid_point_cloud`: seven numbers a point (x, y,
7510
+ * z, the outward normal, the face), no count call; `seed` a `BigInt`.
7511
+ */
7512
+ export function cadaclysm_blacksmith_solid_point_cloud(solid: number, count: number, density: number, seed: bigint, tolerance: number): Float64Array;
7513
+
7514
+ /**
7515
+ * A point inside a closed solid, as C's `solid_point_inside`: three numbers.
7516
+ */
7517
+ export function cadaclysm_blacksmith_solid_point_inside(solid: number, tolerance: number): Float64Array;
7518
+
7519
+ /**
7520
+ * `solid` through a healing pipeline, as C's `solid_process`: `[solid, report]`, the handle as a
7521
+ * number and the per-step report as JSON text.
7522
+ */
7523
+ export function cadaclysm_blacksmith_solid_process(solid: number, steps: string): Array<any>;
7524
+
6630
7525
  /**
6631
7526
  * Where `profile`, placed on `frame` (12 doubles), crosses, touches or runs along
6632
7527
  * `solid`'s faces, as a hits handle: the hits read with `hit_count` / `hit` (a
@@ -6637,6 +7532,22 @@ export function cadaclysm_blacksmith_solid_offset_face(solid: number, face: numb
6637
7532
  */
6638
7533
  export function cadaclysm_blacksmith_solid_profile_hits(solid: number, profile: number, frame: Float64Array, tolerance: number, progress?: Function | null): number;
6639
7534
 
7535
+ /**
7536
+ * `solid`'s part properties as a JSON object, keys sorted, as C's `solid_properties`.
7537
+ */
7538
+ export function cadaclysm_blacksmith_solid_properties(solid: number): string;
7539
+
7540
+ /**
7541
+ * `solid` placed by `matrix` made rigid, as C's `solid_purge_placement`: `[solid, the rigid
7542
+ * rest's 16 numbers, inexact]`, C's outs in order.
7543
+ */
7544
+ export function cadaclysm_blacksmith_solid_purge_placement(solid: number, matrix: Float64Array): Float64Array;
7545
+
7546
+ /**
7547
+ * Where a ray meets a solid's faces, as C's `solid_ray_hits`: eighteen numbers a row.
7548
+ */
7549
+ export function cadaclysm_blacksmith_solid_ray_hits(solid: number, origin: Float64Array, direction: Float64Array, tolerance: number): Float64Array;
7550
+
6640
7551
  /**
6641
7552
  * `solid` with the faces at `faces` replaced by face `target_face` of `target`, as C's
6642
7553
  * `solid_replace_faces`.
@@ -6650,6 +7561,12 @@ export function cadaclysm_blacksmith_solid_replace_faces(solid: number, faces: U
6650
7561
  */
6651
7562
  export function cadaclysm_blacksmith_solid_reshape(solid: number, remove_faces: Uint32Array, replace_faces: Uint32Array, sheets: Uint32Array, remove_edges: Uint32Array, replace_edges: Uint32Array, curves: Uint32Array, remove_vertices: Uint32Array, replace_vertices: Uint32Array, points: Float64Array, tolerance: number): number;
6652
7563
 
7564
+ /**
7565
+ * `solid` with its NURBS faces and edge curves restricted, as C's `solid_restrict_bsplines`:
7566
+ * `[solid, tolerance, surfaces, curves, max_deviation, refused]` (C's `report_out` after the handle).
7567
+ */
7568
+ export function cadaclysm_blacksmith_solid_restrict_bsplines(solid: number, max_degree: number, max_segments: number, continuity: number, tolerance: number): Float64Array;
7569
+
6653
7570
  /**
6654
7571
  * A sheet of ruled faces off `edges`, as C's `solid_ruled_from_edges`.
6655
7572
  */
@@ -6739,6 +7656,18 @@ export function cadaclysm_blacksmith_solid_value_volume(kind: number, value: Flo
6739
7656
  */
6740
7657
  export function cadaclysm_blacksmith_solid_weld_bead(solid: number, edge: number, size: number): Float64Array;
6741
7658
 
7659
+ /**
7660
+ * `solid` with the `part:<key>` properties among `pairs_json` (`[name, text]` pairs), as C's
7661
+ * `solid_with_file_properties`.
7662
+ */
7663
+ export function cadaclysm_blacksmith_solid_with_file_properties(solid: number, pairs_json: string): number;
7664
+
7665
+ /**
7666
+ * `solid` with part property `key` set to `value_json` (a JSON string, number or
7667
+ * `{"date": "YYYY-MM-DD"}`), as C's `solid_with_property`.
7668
+ */
7669
+ export function cadaclysm_blacksmith_solid_with_property(solid: number, key: string, value_json: string): number;
7670
+
6742
7671
  /**
6743
7672
  * A new solid: `solid` declaring `absolute` and `angular` (radians) instead; `undefined`,
6744
7673
  * `null`, 0 or NaN declares nothing for that field (JS hands `undefined` over as NaN, `null` as
@@ -6746,6 +7675,11 @@ export function cadaclysm_blacksmith_solid_weld_bead(solid: number, edge: number
6746
7675
  */
6747
7676
  export function cadaclysm_blacksmith_solid_with_tolerances(solid: number, absolute: number, angular: number): number;
6748
7677
 
7678
+ /**
7679
+ * `solid` without part property `key`, as C's `solid_without_property`.
7680
+ */
7681
+ export function cadaclysm_blacksmith_solid_without_property(solid: number, key: string): number;
7682
+
6749
7683
  export function cadaclysm_blacksmith_sphere(r: number): number;
6750
7684
 
6751
7685
  export function cadaclysm_blacksmith_split(solid: number, tool: number, tolerance: number, progress?: Function | null): number;
@@ -6858,6 +7792,92 @@ export function cadaclysm_blacksmith_stock_box(min_x: number, min_y: number, min
6858
7792
 
6859
7793
  export function cadaclysm_blacksmith_stock_free(h: number): void;
6860
7794
 
7795
+ /**
7796
+ * A member along a straight edge of `solid`, as C's `structure_add_edge`.
7797
+ */
7798
+ export function cadaclysm_blacksmith_structure_add_edge(s: number, profile: number, solid: number, edge: number, anchor: number, offset_x: number, offset_y: number, rotation: number, mirror: boolean, up?: Float64Array | null, tag?: string | null): number;
7799
+
7800
+ /**
7801
+ * A member where two planes meet between two more (24 numbers), as C's `structure_add_planes`.
7802
+ */
7803
+ export function cadaclysm_blacksmith_structure_add_planes(s: number, profile: number, planes: Float64Array, anchor: number, offset_x: number, offset_y: number, rotation: number, mirror: boolean, up?: Float64Array | null, tag?: string | null): number;
7804
+
7805
+ /**
7806
+ * A member from `line` (6 numbers), as C's `structure_add_points`; `up` null (+Z) or 3
7807
+ * numbers, `tag` null for empty.
7808
+ */
7809
+ export function cadaclysm_blacksmith_structure_add_points(s: number, profile: number, line: Float64Array, anchor: number, offset_x: number, offset_y: number, rotation: number, mirror: boolean, up?: Float64Array | null, tag?: string | null): number;
7810
+
7811
+ /**
7812
+ * A member along a sketch line placed by `frame` (12 numbers), as C's
7813
+ * `structure_add_sketch_line`.
7814
+ */
7815
+ export function cadaclysm_blacksmith_structure_add_sketch_line(s: number, profile: number, sketch: number, line: number, frame: Float64Array, anchor: number, offset_x: number, offset_y: number, rotation: number, mirror: boolean, up?: Float64Array | null, tag?: string | null): number;
7816
+
7817
+ /**
7818
+ * Body `i`: a new solid handle.
7819
+ */
7820
+ export function cadaclysm_blacksmith_structure_body(s: number, i: number): number;
7821
+
7822
+ /**
7823
+ * How many bodies, as C's `structure_body_count`.
7824
+ */
7825
+ export function cadaclysm_blacksmith_structure_body_count(s: number): number;
7826
+
7827
+ /**
7828
+ * Corner `i` as C's `structure_corner`: 9 numbers, `point (3), cap_thickness, cap_offset,
7829
+ * member_count, rule, top, cap_inward`.
7830
+ */
7831
+ export function cadaclysm_blacksmith_structure_corner(s: number, i: number): Float64Array;
7832
+
7833
+ /**
7834
+ * How many corners, as C's `structure_corner_count`.
7835
+ */
7836
+ export function cadaclysm_blacksmith_structure_corner_count(s: number): number;
7837
+
7838
+ /**
7839
+ * Corner `i`'s members as C's `structure_corner_members`: two numbers each, member and end code.
7840
+ */
7841
+ export function cadaclysm_blacksmith_structure_corner_members(s: number, i: number): Uint32Array;
7842
+
7843
+ /**
7844
+ * The cut list of every body, as C's `structure_cut_list`: a cut list handle.
7845
+ */
7846
+ export function cadaclysm_blacksmith_structure_cut_list(s: number, tolerance: number): number;
7847
+
7848
+ export function cadaclysm_blacksmith_structure_free(h: number): void;
7849
+
7850
+ /**
7851
+ * Member `i`'s solid: a new solid handle.
7852
+ */
7853
+ export function cadaclysm_blacksmith_structure_member(s: number, i: number): number;
7854
+
7855
+ /**
7856
+ * How many members, as C's `structure_member_count`.
7857
+ */
7858
+ export function cadaclysm_blacksmith_structure_member_count(s: number): number;
7859
+
7860
+ /**
7861
+ * Member `i` as C's `structure_member_info`: 24 numbers, as `weldment_member_info`'s.
7862
+ */
7863
+ export function cadaclysm_blacksmith_structure_member_info(s: number, i: number): Float64Array;
7864
+
7865
+ /**
7866
+ * Member `i`'s tag and how its path was given, as C's `structure_member_tag`: an object
7867
+ * `{ tag, source }` (source 0 points, 1 planes, 2 edge, 3 sketch line).
7868
+ */
7869
+ export function cadaclysm_blacksmith_structure_member_tag(s: number, i: number): any;
7870
+
7871
+ /**
7872
+ * An empty structure system, as C's `structure_new`.
7873
+ */
7874
+ export function cadaclysm_blacksmith_structure_new(tolerance: number): number;
7875
+
7876
+ /**
7877
+ * Sets corner `i`'s rule, as C's `structure_set_corner`.
7878
+ */
7879
+ export function cadaclysm_blacksmith_structure_set_corner(s: number, i: number, rule: number, top: number, thickness: number, offset: number, inward: boolean): void;
7880
+
6861
7881
  export function cadaclysm_blacksmith_styled(solid: number, location?: string | null, identification?: string | null): number;
6862
7882
 
6863
7883
  /**
@@ -6967,11 +7987,19 @@ export function cadaclysm_blacksmith_subd_subdivide(subd: number, faces: Uint32A
6967
7987
  /**
6968
7988
  * The cage as an exact solid and what the conversion did, as `[solid, report]`, where C
6969
7989
  * writes the report through an out-pointer: `report` is `{regular, refined, steps,
6970
- * levels, deviation, g1_angle_deg, deviation_at, g1_at}`, the two points `Float64Array`s of
6971
- * xyz. `tolerance <= 0`, `g1_angle_deg <= 0` and `max_levels` 0 take the defaults; a
7990
+ * levels, deviation, g1_angle, deviation_at, g1_at}`, the two points `Float64Array`s of
7991
+ * xyz, `g1_angle` in radians. `tolerance <= 0`, `g1_angle <= 0` (radians) and `max_levels` 0 take the defaults; a
6972
7992
  * cage the conversion cannot hold within them throws with the figures it measured.
6973
7993
  */
6974
- export function cadaclysm_blacksmith_subd_to_solid(subd: number, tolerance: number, g1_angle_deg: number, max_levels: number): any;
7994
+ export function cadaclysm_blacksmith_subd_to_solid(subd: number, tolerance: number, g1_angle: number, max_levels: number): any;
7995
+
7996
+ /**
7997
+ * [`cadaclysm_blacksmith_subd_to_solid`] with packing a choice, as `[solid, report]`:
7998
+ * `pack` false gives one face per patch, and the report carries C's two out-structs'
7999
+ * fields in one object, `{regular, refined, steps, levels, deviation, g1_angle,
8000
+ * deviation_at, g1_at, faces, packed_faces}`.
8001
+ */
8002
+ export function cadaclysm_blacksmith_subd_to_solid_with(subd: number, tolerance: number, g1_angle: number, max_levels: number, pack: boolean): any;
6975
8003
 
6976
8004
  /**
6977
8005
  * A torus around +Z: `around` steps about the axis at `major`, `tube` round the tube of `minor`.
@@ -6990,6 +8018,17 @@ export function cadaclysm_blacksmith_subd_transform(subd: number, kind: number,
6990
8018
  */
6991
8019
  export function cadaclysm_blacksmith_surface_faired(solid: number, face: number, tolerance: number, degree: number, controls_u: number, controls_v: number, keep: Int32Array, no_inflection: number): Float64Array;
6992
8020
 
8021
+ /**
8022
+ * Where two analytic surfaces meet, as C's `surface_intersect`: sixteen numbers a row, no count
8023
+ * call.
8024
+ */
8025
+ export function cadaclysm_blacksmith_surface_intersect(kind_a: number, a: Float64Array, kind_b: number, b: Float64Array, tolerance: number): Float64Array;
8026
+
8027
+ /**
8028
+ * Row `index` of `surface_intersect`'s answer as a NURBS curve.
8029
+ */
8030
+ export function cadaclysm_blacksmith_surface_intersect_curve(kind_a: number, a: Float64Array, kind_b: number, b: Float64Array, tolerance: number, index: number): number;
8031
+
6993
8032
  export function cadaclysm_blacksmith_surface_value_closest_point(kind: number, value: Float64Array, point: Float64Array): Float64Array;
6994
8033
 
6995
8034
  export function cadaclysm_blacksmith_surface_value_domain(kind: number, value: Float64Array): Float64Array;
@@ -7013,6 +8052,17 @@ export function cadaclysm_blacksmith_svg_text(solids: Uint32Array, words: Float6
7013
8052
 
7014
8053
  export function cadaclysm_blacksmith_sweep(profile: number, frame: Float64Array, path: number): number;
7015
8054
 
8055
+ /**
8056
+ * The sections swept along `rail` by the JSON `options`, as C's `sweep_along`: `[solid,
8057
+ * error]`; `guide` absent for none.
8058
+ */
8059
+ export function cadaclysm_blacksmith_sweep_along(rail: number, sections: Uint32Array, guide: number | null | undefined, options: string | null | undefined, tolerance: number): Float64Array;
8060
+
8061
+ /**
8062
+ * `profile` swept along `path` as a feature (see the C `sweep_feature`).
8063
+ */
8064
+ export function cadaclysm_blacksmith_sweep_feature(profile: number, frame: Float64Array, path: number, spec: Float64Array, target: number | null | undefined, bound: number | null | undefined, tolerance: number): number;
8065
+
7016
8066
  export function cadaclysm_blacksmith_sweep_open(profile: number, frame: Float64Array, path: number): number;
7017
8067
 
7018
8068
  export function cadaclysm_blacksmith_sweep_path_along(curve: number, frame: Float64Array, tolerance: number, open: boolean): number;
@@ -7202,7 +8252,7 @@ export function cadaclysm_blacksmith_thread_size_size(index: number): string;
7202
8252
  export function cadaclysm_blacksmith_thread_tool(solid: number, face: number, designation: string | null | undefined, pitch: number, diameter: number, angle: number, length: number, offset: number, flags: number, tolerance: number): number;
7203
8253
 
7204
8254
  /**
7205
- * A V-bit's included angle in degrees; `NaN` for any other shape, as in C.
8255
+ * A V-bit's included angle in radians; `NaN` for any other shape, as in C.
7206
8256
  */
7207
8257
  export function cadaclysm_blacksmith_tool_angle(t: number): number;
7208
8258
 
@@ -7239,7 +8289,7 @@ export function cadaclysm_blacksmith_tool_number(t: number): number;
7239
8289
  */
7240
8290
  export function cadaclysm_blacksmith_tool_shape(t: number): string;
7241
8291
 
7242
- export function cadaclysm_blacksmith_tool_with_ramp_angle(t: number, degrees: number): number;
8292
+ export function cadaclysm_blacksmith_tool_with_ramp_angle(t: number, angle: number): number;
7243
8293
 
7244
8294
  export function cadaclysm_blacksmith_torus(major: number, minor: number): number;
7245
8295
 
@@ -7302,11 +8352,22 @@ export function cadaclysm_blacksmith_triangle_closest_point(value: Float64Array,
7302
8352
 
7303
8353
  export function cadaclysm_blacksmith_triangle_edge(value: Float64Array, index: number): Float64Array;
7304
8354
 
8355
+ /**
8356
+ * The boolean `op` (0 union, 1 difference, 2 intersection) of two closed meshes, a handle.
8357
+ * Throws on an open mesh and an empty result.
8358
+ */
8359
+ export function cadaclysm_blacksmith_triangle_mesh_boolean(mesh: number, other: number, op: number): number;
8360
+
7305
8361
  /**
7306
8362
  * The six numbers `min x, min y, min z, max x, max y, max z` of every vertex.
7307
8363
  */
7308
8364
  export function cadaclysm_blacksmith_triangle_mesh_bounds(mesh: number): Float64Array;
7309
8365
 
8366
+ /**
8367
+ * A closed box from `min` to `max`, each face a grid of `nx`, `ny`, `nz` cells, a handle.
8368
+ */
8369
+ export function cadaclysm_blacksmith_triangle_mesh_box(min: Float64Array, max: Float64Array, nx: number, ny: number, nz: number): number;
8370
+
7310
8371
  /**
7311
8372
  * The mesh's defects as twelve numbers, in the C call's order: vertices, triangles, unused
7312
8373
  * vertices, degenerate triangles, duplicate triangles, boundary edges, boundary loops,
@@ -7314,6 +8375,13 @@ export function cadaclysm_blacksmith_triangle_mesh_bounds(mesh: number): Float64
7314
8375
  */
7315
8376
  export function cadaclysm_blacksmith_triangle_mesh_check(mesh: number): Uint32Array;
7316
8377
 
8378
+ /**
8379
+ * The pairs of triangle meshes that penetrate, touch or come within `clearance`, as C's
8380
+ * `triangle_mesh_clash`: `b` empty for `a` against itself; `allowed` flat index pairs;
8381
+ * fourteen numbers a row, no count call.
8382
+ */
8383
+ export function cadaclysm_blacksmith_triangle_mesh_clash(a: Uint32Array, b: Uint32Array, clearance: number, tolerance: number, allowed: Uint32Array): Float64Array;
8384
+
7317
8385
  /**
7318
8386
  * The nearest point of the mesh to the 3-number `point` as `{point, distance, triangle,
7319
8387
  * barycentric, kind, vertices}` (see `mesh_point`), or `null` beyond `max_distance` (NaN or +inf:
@@ -7321,6 +8389,22 @@ export function cadaclysm_blacksmith_triangle_mesh_check(mesh: number): Uint32Ar
7321
8389
  */
7322
8390
  export function cadaclysm_blacksmith_triangle_mesh_closest_point(mesh: number, point: Float64Array, max_distance: number): any;
7323
8391
 
8392
+ /**
8393
+ * The mesh with its edges shorter than `min_length` collapsed, as `[handle, collapsed]`.
8394
+ */
8395
+ export function cadaclysm_blacksmith_triangle_mesh_collapse_short_edges(mesh: number, min_length: number): Uint32Array;
8396
+
8397
+ /**
8398
+ * A cone from the circle round `base` to `apex`, its base capped where `cap`, a handle.
8399
+ */
8400
+ export function cadaclysm_blacksmith_triangle_mesh_cone(base: Float64Array, apex: Float64Array, radius: number, segments: number, cap: boolean): number;
8401
+
8402
+ /**
8403
+ * Where a point lies against a triangle mesh, as C's `triangle_mesh_contains`: the containment
8404
+ * code.
8405
+ */
8406
+ export function cadaclysm_blacksmith_triangle_mesh_contains(mesh: number, point: Float64Array, tolerance: number): number;
8407
+
7324
8408
  /**
7325
8409
  * The nearest points of `curve` and the mesh as `{distance, t, point_on_curve, mesh, crossing}`
7326
8410
  * (see `curve_mesh`), or `null` beyond `max_distance`. Throws on an invalid curve or a negative
@@ -7328,6 +8412,16 @@ export function cadaclysm_blacksmith_triangle_mesh_closest_point(mesh: number, p
7328
8412
  */
7329
8413
  export function cadaclysm_blacksmith_triangle_mesh_curve_closest_points(mesh: number, curve: number, max_distance: number): any;
7330
8414
 
8415
+ /**
8416
+ * A cylinder from `base` to `top`, capped where `caps`, a handle.
8417
+ */
8418
+ export function cadaclysm_blacksmith_triangle_mesh_cylinder(base: Float64Array, top: Float64Array, radius: number, segments: number, caps: boolean): number;
8419
+
8420
+ /**
8421
+ * The open strip curve `curve` sweeps moved by `direction`, a handle.
8422
+ */
8423
+ export function cadaclysm_blacksmith_triangle_mesh_extrusion(curve: number, direction: Float64Array, tolerance: number): number;
8424
+
7331
8425
  /**
7332
8426
  * The mesh with its holes of at most `max_edges` edges (0: all) filled, as `[handle, filled]`
7333
8427
  * (the C call's `filled` after the new handle).
@@ -7336,11 +8430,33 @@ export function cadaclysm_blacksmith_triangle_mesh_fill_holes(mesh: number, max_
7336
8430
 
7337
8431
  export function cadaclysm_blacksmith_triangle_mesh_free(h: number): void;
7338
8432
 
8433
+ /**
8434
+ * The planar region inside closed polylines: `points` cut into loops of `loop_counts` points,
8435
+ * the first the outline, the rest holes, a handle.
8436
+ */
8437
+ export function cadaclysm_blacksmith_triangle_mesh_from_polylines(points: Float64Array, loop_counts: Uint32Array): number;
8438
+
8439
+ /**
8440
+ * The mesh with its naked edges within `distance` healed, as `[handle, healed]`.
8441
+ */
8442
+ export function cadaclysm_blacksmith_triangle_mesh_heal_naked_edges(mesh: number, distance: number): Uint32Array;
8443
+
8444
+ /**
8445
+ * An icosahedron split `subdivisions` times onto the sphere, a handle.
8446
+ */
8447
+ export function cadaclysm_blacksmith_triangle_mesh_ico_sphere(centre: Float64Array, radius: number, subdivisions: number): number;
8448
+
7339
8449
  /**
7340
8450
  * Every triangle's three vertex indices in turn.
7341
8451
  */
7342
8452
  export function cadaclysm_blacksmith_triangle_mesh_indices(mesh: number): Uint32Array;
7343
8453
 
8454
+ /**
8455
+ * Where a line over `[t0, t1]` meets a triangle mesh, as C's `triangle_mesh_line_hits`: eight
8456
+ * numbers a row.
8457
+ */
8458
+ export function cadaclysm_blacksmith_triangle_mesh_line_hits(mesh: number, origin: Float64Array, direction: Float64Array, t0: number, t1: number): Float64Array;
8459
+
7344
8460
  /**
7345
8461
  * A triangle mesh of `positions` (x, y, z per vertex) and `indices` (three vertex indices per
7346
8462
  * triangle, any winding), a handle; both are copied. Throws on lengths that are not multiples of
@@ -7349,11 +8465,58 @@ export function cadaclysm_blacksmith_triangle_mesh_indices(mesh: number): Uint32
7349
8465
  */
7350
8466
  export function cadaclysm_blacksmith_triangle_mesh_new(positions: Float64Array, indices: Uint32Array): number;
7351
8467
 
8468
+ /**
8469
+ * The unit normal at `barycentric` on `triangle`, 3 numbers.
8470
+ */
8471
+ export function cadaclysm_blacksmith_triangle_mesh_normal_at(mesh: number, triangle: number, barycentric: Float64Array): Float64Array;
8472
+
8473
+ /**
8474
+ * The lone offset surface `distance` along the normals, a new handle.
8475
+ */
8476
+ export function cadaclysm_blacksmith_triangle_mesh_offset(mesh: number, distance: number): number;
8477
+
8478
+ /**
8479
+ * A tube of `radius` along curve `curve`, capped where `caps`, a handle.
8480
+ */
8481
+ export function cadaclysm_blacksmith_triangle_mesh_pipe(curve: number, radius: number, segments: number, tolerance: number, caps: boolean): number;
8482
+
8483
+ /**
8484
+ * An open grid of `nx` × `ny` cells over `origin + s x_axis + t y_axis`, a handle.
8485
+ */
8486
+ export function cadaclysm_blacksmith_triangle_mesh_plane(origin: Float64Array, x_axis: Float64Array, y_axis: Float64Array, nx: number, ny: number): number;
8487
+
8488
+ /**
8489
+ * A triangle mesh cut by a plane (6 numbers: a point, a normal), as C's
8490
+ * `triangle_mesh_plane_section`.
8491
+ */
8492
+ export function cadaclysm_blacksmith_triangle_mesh_plane_section(mesh: number, plane: Float64Array): any;
8493
+
8494
+ /**
8495
+ * The point at `barycentric` on `triangle`, 3 numbers.
8496
+ */
8497
+ export function cadaclysm_blacksmith_triangle_mesh_point_at(mesh: number, triangle: number, barycentric: Float64Array): Float64Array;
8498
+
8499
+ /**
8500
+ * Where a polyline (three numbers a point) meets a triangle mesh, as C's
8501
+ * `triangle_mesh_polyline_hits`: eight numbers a row.
8502
+ */
8503
+ export function cadaclysm_blacksmith_triangle_mesh_polyline_hits(mesh: number, points: Float64Array): Float64Array;
8504
+
7352
8505
  /**
7353
8506
  * Every vertex, x, y, z in turn.
7354
8507
  */
7355
8508
  export function cadaclysm_blacksmith_triangle_mesh_positions(mesh: number): Float64Array;
7356
8509
 
8510
+ /**
8511
+ * A cube of `subdivisions` squared cells a face onto the sphere, a handle.
8512
+ */
8513
+ export function cadaclysm_blacksmith_triangle_mesh_quad_sphere(centre: Float64Array, radius: number, subdivisions: number): number;
8514
+
8515
+ /**
8516
+ * The mesh reduced to at most `target_triangles`, a new handle.
8517
+ */
8518
+ export function cadaclysm_blacksmith_triangle_mesh_reduce(mesh: number, target_triangles: number): number;
8519
+
7357
8520
  /**
7358
8521
  * The repaired mesh as `[handle, welded vertices, unused vertices, degenerate triangles,
7359
8522
  * duplicate triangles, flipped triangles]` (the C call's `report` after the new handle). Throws
@@ -7378,8 +8541,41 @@ export function cadaclysm_blacksmith_triangle_mesh_shell(mesh: number, thickness
7378
8541
  */
7379
8542
  export function cadaclysm_blacksmith_triangle_mesh_smooth(mesh: number, iterations: number, factor: number, method: number, keep_boundary: boolean): number;
7380
8543
 
8544
+ /**
8545
+ * A UV sphere, each pole one vertex, a handle.
8546
+ */
8547
+ export function cadaclysm_blacksmith_triangle_mesh_sphere(centre: Float64Array, radius: number, segments: number, rings: number): number;
8548
+
8549
+ /**
8550
+ * `mesh` split by `other` as `[outside, inside]` handles, `CADACLYSM_BLACKSMITH_NONE`
8551
+ * (4294967295) for an empty part (C's null).
8552
+ */
8553
+ export function cadaclysm_blacksmith_triangle_mesh_split(mesh: number, other: number): Uint32Array;
8554
+
8555
+ /**
8556
+ * The mesh subdivided `levels` times, Loop where `smooth`, a new handle.
8557
+ */
8558
+ export function cadaclysm_blacksmith_triangle_mesh_subdivide(mesh: number, levels: number, smooth: boolean): number;
8559
+
8560
+ /**
8561
+ * A torus round `axis` through `centre`, a handle.
8562
+ */
8563
+ export function cadaclysm_blacksmith_triangle_mesh_torus(centre: Float64Array, axis: Float64Array, major: number, minor: number, segments: number, tube_segments: number): number;
8564
+
7381
8565
  export function cadaclysm_blacksmith_triangle_mesh_triangle_count(mesh: number): number;
7382
8566
 
8567
+ /**
8568
+ * The mesh unwelded across edges of at least `angle` radians, a new handle.
8569
+ */
8570
+ export function cadaclysm_blacksmith_triangle_mesh_unweld(mesh: number, angle: number): number;
8571
+
8572
+ /**
8573
+ * The mesh unwrapped: `[chart_count, chart of each triangle..., u, v of each corner...]` -- one
8574
+ * number, then `triangle_count`, then `6 * triangle_count` (the C call's `chart_count`, `charts`
8575
+ * and `uvs`).
8576
+ */
8577
+ export function cadaclysm_blacksmith_triangle_mesh_unwrap(mesh: number, max_angle: number): Float64Array;
8578
+
7383
8579
  export function cadaclysm_blacksmith_triangle_mesh_vertex_count(mesh: number): number;
7384
8580
 
7385
8581
  export function cadaclysm_blacksmith_triangle_perimeter(value: Float64Array): number;
@@ -7399,6 +8595,26 @@ export function cadaclysm_blacksmith_unchamfer(solid: number, face: number): num
7399
8595
 
7400
8596
  export function cadaclysm_blacksmith_unfillet(solid: number, face: number): number;
7401
8597
 
8598
+ /**
8599
+ * `value` in unit `from` as a number in unit `to`, as C's `units_convert`.
8600
+ */
8601
+ export function cadaclysm_blacksmith_units_convert(value: number, from: string, to: string): number;
8602
+
8603
+ /**
8604
+ * A unit expression with no names as a number in `unit`, as C's `units_evaluate`.
8605
+ */
8606
+ export function cadaclysm_blacksmith_units_evaluate(text: string, unit: string): number;
8607
+
8608
+ /**
8609
+ * `value` (in `unit`) with `precision` decimals and the unit, as C's `units_format`.
8610
+ */
8611
+ export function cadaclysm_blacksmith_units_format(value: number, unit: string, precision: number): string;
8612
+
8613
+ /**
8614
+ * The unit words as JSON text, as C's `units_list`.
8615
+ */
8616
+ export function cadaclysm_blacksmith_units_list(): string;
8617
+
7402
8618
  export function cadaclysm_blacksmith_unpaired_edges(solid: number, tolerance: number): number;
7403
8619
 
7404
8620
  /**
@@ -7467,6 +8683,13 @@ export function cadaclysm_blacksmith_value_size(kind: number): number;
7467
8683
 
7468
8684
  export function cadaclysm_blacksmith_value_transform(kind: number, value: Float64Array, matrix: Float64Array): Float64Array;
7469
8685
 
8686
+ /**
8687
+ * The section sketch `section` (its JSON) swept along `path`, solved again at every station,
8688
+ * guide `i` pinning the point `options.guide_points[i]` names, as C's `varsweep`: `[solid,
8689
+ * error]`.
8690
+ */
8691
+ export function cadaclysm_blacksmith_varsweep(path: number, section: string, guides: Uint32Array, options: string | null | undefined, tolerance: number): Float64Array;
8692
+
7470
8693
  export function cadaclysm_blacksmith_version(): string;
7471
8694
 
7472
8695
  /**
@@ -7605,6 +8828,12 @@ export function cadaclysm_blacksmith_without_pmi(solid: number, index: number):
7605
8828
  */
7606
8829
  export function cadaclysm_blacksmith_without_pmi_view(solid: number, index: number): number;
7607
8830
 
8831
+ /**
8832
+ * The convex solid enclosing `solids`, its faces `offset` out, as C's `wrap`: `planes` six
8833
+ * numbers a plane (origin, normal), at most eight, empty for none. A solid handle.
8834
+ */
8835
+ export function cadaclysm_blacksmith_wrap(solids: Uint32Array, offset: number, tolerance: number, planes: Float64Array): number;
8836
+
7608
8837
  /**
7609
8838
  * `setColourBy`'s mode, checked without a GPU: the same two refusals `Machining.
7610
8839
  * setColourBy` throws ("colourBy: mode must be ..." or "showMachining: colour by
@@ -7663,8 +8892,13 @@ export function loadFont(bytes: Uint8Array | ArrayBuffer): number;
7663
8892
  * tolerance, as `Brep.recognize` would -- NURBS planes, cylinders, cones, spheres and tori
7664
8893
  * exact. Omitted or 0 is off; `1e-6` is the usual ask. Meshes are unchanged. A negative, NaN
7665
8894
  * or infinite tolerance throws.
8895
+ *
8896
+ * `heal`: every B-rep body the scene hands out runs through a healing pipeline, after the
8897
+ * recognition -- the JSON steps the kernel's `Solid.process` takes (a list, or `{"name",
8898
+ * "steps"}`; each `{"op": ..., parameters}`). Omitted is off; steps that do not parse throw,
8899
+ * and a body a step refuses comes back as read, the refusal among the diagnostics.
7666
8900
  */
7667
- export function open(bytes: Uint8Array, format: string, schema?: string | null, convention?: string | null, lightmap_resolution?: number | null, recognize_tolerance?: number | null): Scene;
8901
+ export function open(bytes: Uint8Array, format: string, schema?: string | null, convention?: string | null, lightmap_resolution?: number | null, recognize_tolerance?: number | null, heal?: string | null): Scene;
7668
8902
 
7669
8903
  /**
7670
8904
  * Colour text as red, green and blue from 0 to 1, read by the parser every colour
@@ -7795,9 +9029,17 @@ export interface InitOutput {
7795
9029
  readonly cadaclysm_blacksmith_arc_through: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7796
9030
  readonly cadaclysm_blacksmith_assembly_3dm_bytes: (a: number, b: number, c: number) => void;
7797
9031
  readonly cadaclysm_blacksmith_assembly_base: (a: number, b: number, c: number, d: number) => void;
9032
+ readonly cadaclysm_blacksmith_assembly_bom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9033
+ readonly cadaclysm_blacksmith_assembly_expand: (a: number, b: number, c: number, d: number) => void;
9034
+ readonly cadaclysm_blacksmith_assembly_explode_animation: (a: number, b: number, c: number, d: number, e: number) => void;
9035
+ readonly cadaclysm_blacksmith_assembly_explode_step: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
9036
+ readonly cadaclysm_blacksmith_assembly_explode_step_count: (a: number, b: number, c: number, d: number) => void;
9037
+ readonly cadaclysm_blacksmith_assembly_explode_trail: (a: number, b: number, c: number, d: number, e: number) => void;
9038
+ readonly cadaclysm_blacksmith_assembly_exploded_placements: (a: number, b: number, c: number, d: number, e: number) => void;
7798
9039
  readonly cadaclysm_blacksmith_assembly_free: (a: number) => void;
7799
9040
  readonly cadaclysm_blacksmith_assembly_joint: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7800
9041
  readonly cadaclysm_blacksmith_assembly_link: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9042
+ readonly cadaclysm_blacksmith_assembly_mass_properties: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7801
9043
  readonly cadaclysm_blacksmith_assembly_name: (a: number, b: number) => void;
7802
9044
  readonly cadaclysm_blacksmith_assembly_new: (a: number, b: number, c: number) => void;
7803
9045
  readonly cadaclysm_blacksmith_assembly_pair: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
@@ -7808,15 +9050,23 @@ export interface InitOutput {
7808
9050
  readonly cadaclysm_blacksmith_assembly_place_solid: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7809
9051
  readonly cadaclysm_blacksmith_assembly_posed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
7810
9052
  readonly cadaclysm_blacksmith_assembly_posed_placements: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
9053
+ readonly cadaclysm_blacksmith_assembly_properties: (a: number, b: number) => void;
9054
+ readonly cadaclysm_blacksmith_assembly_rescale: (a: number, b: number, c: number) => void;
7811
9055
  readonly cadaclysm_blacksmith_assembly_sequence: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
9056
+ readonly cadaclysm_blacksmith_assembly_set_property: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7812
9057
  readonly cadaclysm_blacksmith_assembly_state: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
7813
9058
  readonly cadaclysm_blacksmith_assembly_step: (a: number, b: number, c: number, d: number, e: number) => void;
7814
9059
  readonly cadaclysm_blacksmith_assembly_swept_clash: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number) => void;
7815
9060
  readonly cadaclysm_blacksmith_attribute: (a: number, b: number, c: number, d: number) => void;
7816
9061
  readonly cadaclysm_blacksmith_attribute_keys: (a: number, b: number) => void;
7817
9062
  readonly cadaclysm_blacksmith_attribute_values: (a: number, b: number) => void;
9063
+ readonly cadaclysm_blacksmith_axis_normal: (a: number, b: number, c: number, d: number, e: number) => void;
9064
+ readonly cadaclysm_blacksmith_axis_of_edge: (a: number, b: number, c: number) => void;
9065
+ readonly cadaclysm_blacksmith_axis_of_face: (a: number, b: number, c: number) => void;
9066
+ readonly cadaclysm_blacksmith_axis_of_planes: (a: number, b: number, c: number, d: number, e: number) => void;
7818
9067
  readonly cadaclysm_blacksmith_blend_sides: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
7819
9068
  readonly cadaclysm_blacksmith_body_draft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9069
+ readonly cadaclysm_blacksmith_boolean_many: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7820
9070
  readonly cadaclysm_blacksmith_bounds: (a: number, b: number, c: number) => void;
7821
9071
  readonly cadaclysm_blacksmith_bounds64: (a: number, b: number, c: number) => void;
7822
9072
  readonly cadaclysm_blacksmith_box: (a: number, b: number) => void;
@@ -7827,7 +9077,11 @@ export interface InitOutput {
7827
9077
  readonly cadaclysm_blacksmith_brep_layout_id: (a: number) => void;
7828
9078
  readonly cadaclysm_blacksmith_brep_text: (a: number, b: number, c: number) => void;
7829
9079
  readonly cadaclysm_blacksmith_build: (a: number) => void;
9080
+ readonly cadaclysm_blacksmith_cell: (a: number, b: number, c: number) => void;
9081
+ readonly cadaclysm_blacksmith_cell_count: (a: number, b: number) => void;
7830
9082
  readonly cadaclysm_blacksmith_chamfer: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9083
+ readonly cadaclysm_blacksmith_chamfer_angle: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9084
+ readonly cadaclysm_blacksmith_chamfer_two_distances: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7831
9085
  readonly cadaclysm_blacksmith_check: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7832
9086
  readonly cadaclysm_blacksmith_check_count: (a: number, b: number) => void;
7833
9087
  readonly cadaclysm_blacksmith_check_finding: (a: number, b: number, c: number) => void;
@@ -7855,8 +9109,12 @@ export interface InitOutput {
7855
9109
  readonly cadaclysm_blacksmith_cloth_pin: (a: number, b: number, c: number, d: number) => void;
7856
9110
  readonly cadaclysm_blacksmith_cloth_positions: (a: number, b: number) => void;
7857
9111
  readonly cadaclysm_blacksmith_cloth_remesh_pattern: (a: number, b: number, c: number, d: number) => void;
9112
+ readonly cadaclysm_blacksmith_cloth_remesh_pattern_trims: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7858
9113
  readonly cadaclysm_blacksmith_cloth_rest: (a: number, b: number) => void;
7859
9114
  readonly cadaclysm_blacksmith_cloth_set_options: (a: number, b: number, c: number, d: number) => void;
9115
+ readonly cadaclysm_blacksmith_cloth_set_trims: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9116
+ readonly cadaclysm_blacksmith_cloth_skipped_trim_reason: (a: number, b: number, c: number) => void;
9117
+ readonly cadaclysm_blacksmith_cloth_skipped_trims: (a: number, b: number) => void;
7860
9118
  readonly cadaclysm_blacksmith_cloth_status: (a: number, b: number) => void;
7861
9119
  readonly cadaclysm_blacksmith_cloth_step: (a: number, b: number, c: number) => void;
7862
9120
  readonly cadaclysm_blacksmith_cloth_strain: (a: number, b: number, c: number, d: number) => void;
@@ -7865,6 +9123,9 @@ export interface InitOutput {
7865
9123
  readonly cadaclysm_blacksmith_cloth_tape_girth: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
7866
9124
  readonly cadaclysm_blacksmith_cloth_tape_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7867
9125
  readonly cadaclysm_blacksmith_cloth_triangles: (a: number, b: number) => void;
9126
+ readonly cadaclysm_blacksmith_cloth_trim_indices: (a: number, b: number) => void;
9127
+ readonly cadaclysm_blacksmith_cloth_trim_vertex_count: (a: number, b: number) => void;
9128
+ readonly cadaclysm_blacksmith_cloth_trim_vertices: (a: number, b: number) => void;
7868
9129
  readonly cadaclysm_blacksmith_cloth_unpin: (a: number, b: number, c: number) => void;
7869
9130
  readonly cadaclysm_blacksmith_cloth_vertex_link: (a: number, b: number, c: number) => void;
7870
9131
  readonly cadaclysm_blacksmith_cloth_vertex_links: (a: number, b: number) => void;
@@ -7899,9 +9160,11 @@ export interface InitOutput {
7899
9160
  readonly cadaclysm_blacksmith_composite_curve_point: (a: number, b: number, c: number) => void;
7900
9161
  readonly cadaclysm_blacksmith_composite_curve_projected: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
7901
9162
  readonly cadaclysm_blacksmith_composite_curve_to_nurbs: (a: number, b: number) => void;
9163
+ readonly cadaclysm_blacksmith_compsolid: (a: number, b: number, c: number, d: number) => void;
7902
9164
  readonly cadaclysm_blacksmith_cone: (a: number, b: number, c: number) => void;
7903
9165
  readonly cadaclysm_blacksmith_contact_settle: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
7904
9166
  readonly cadaclysm_blacksmith_contains: (a: number, b: number, c: number, d: number, e: number) => void;
9167
+ readonly cadaclysm_blacksmith_contiguous_edges: (a: number, b: number, c: number, d: number) => void;
7905
9168
  readonly cadaclysm_blacksmith_continuity: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7906
9169
  readonly cadaclysm_blacksmith_cosmetic_thread: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
7907
9170
  readonly cadaclysm_blacksmith_cuboid: (a: number, b: number, c: number, d: number) => void;
@@ -7918,6 +9181,7 @@ export interface InitOutput {
7918
9181
  readonly cadaclysm_blacksmith_curve_value_point_at: (a: number, b: number, c: number, d: number, e: number) => void;
7919
9182
  readonly cadaclysm_blacksmith_curve_value_tangent_at: (a: number, b: number, c: number, d: number, e: number) => void;
7920
9183
  readonly cadaclysm_blacksmith_curve_value_to_nurbs: (a: number, b: number, c: number, d: number) => void;
9184
+ readonly cadaclysm_blacksmith_curves_boolean: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7921
9185
  readonly cadaclysm_blacksmith_cut: (a: number, b: number, c: number, d: number, e: number) => void;
7922
9186
  readonly cadaclysm_blacksmith_cut_list: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7923
9187
  readonly cadaclysm_blacksmith_cut_list_csv: (a: number, b: number) => void;
@@ -7927,6 +9191,7 @@ export interface InitOutput {
7927
9191
  readonly cadaclysm_blacksmith_cut_list_group_count: (a: number, b: number) => void;
7928
9192
  readonly cadaclysm_blacksmith_cut_list_group_tag: (a: number, b: number, c: number) => void;
7929
9193
  readonly cadaclysm_blacksmith_cylinder: (a: number, b: number, c: number) => void;
9194
+ readonly cadaclysm_blacksmith_define_material: (a: number, b: number, c: number) => void;
7930
9195
  readonly cadaclysm_blacksmith_document_apply: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7931
9196
  readonly cadaclysm_blacksmith_document_batch_abort: (a: number, b: number) => void;
7932
9197
  readonly cadaclysm_blacksmith_document_batch_begin: (a: number, b: number, c: number, d: number) => void;
@@ -7936,6 +9201,7 @@ export interface InitOutput {
7936
9201
  readonly cadaclysm_blacksmith_document_branch_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7937
9202
  readonly cadaclysm_blacksmith_document_branch_rename: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7938
9203
  readonly cadaclysm_blacksmith_document_branch_switch: (a: number, b: number, c: number, d: number) => void;
9204
+ readonly cadaclysm_blacksmith_document_check_links_from: (a: number, b: number, c: number, d: number) => void;
7939
9205
  readonly cadaclysm_blacksmith_document_clear_history: (a: number, b: number) => void;
7940
9206
  readonly cadaclysm_blacksmith_document_configuration: (a: number, b: number) => void;
7941
9207
  readonly cadaclysm_blacksmith_document_configurations: (a: number, b: number) => void;
@@ -7950,6 +9216,7 @@ export interface InitOutput {
7950
9216
  readonly cadaclysm_blacksmith_document_kinds: (a: number) => void;
7951
9217
  readonly cadaclysm_blacksmith_document_load: (a: number, b: number, c: number) => void;
7952
9218
  readonly cadaclysm_blacksmith_document_log: (a: number, b: number, c: number, d: number) => void;
9219
+ readonly cadaclysm_blacksmith_document_materials: (a: number, b: number) => void;
7953
9220
  readonly cadaclysm_blacksmith_document_meta: (a: number, b: number, c: number, d: number) => void;
7954
9221
  readonly cadaclysm_blacksmith_document_new: (a: number, b: number, c: number) => void;
7955
9222
  readonly cadaclysm_blacksmith_document_nodes: (a: number, b: number, c: number, d: number) => void;
@@ -7972,15 +9239,19 @@ export interface InitOutput {
7972
9239
  readonly cadaclysm_blacksmith_document_result_solid: (a: number, b: number, c: number, d: number) => void;
7973
9240
  readonly cadaclysm_blacksmith_document_result_subd: (a: number, b: number, c: number, d: number) => void;
7974
9241
  readonly cadaclysm_blacksmith_document_revision: (a: number, b: number) => void;
9242
+ readonly cadaclysm_blacksmith_document_rollback: (a: number, b: number) => void;
7975
9243
  readonly cadaclysm_blacksmith_document_save: (a: number, b: number) => void;
7976
9244
  readonly cadaclysm_blacksmith_document_set_skip: (a: number, b: number, c: number, d: number) => void;
7977
9245
  readonly cadaclysm_blacksmith_document_solid_body: (a: number, b: number) => void;
7978
9246
  readonly cadaclysm_blacksmith_document_tips: (a: number, b: number) => void;
7979
9247
  readonly cadaclysm_blacksmith_document_undo: (a: number, b: number) => void;
9248
+ readonly cadaclysm_blacksmith_document_update_links_from: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
7980
9249
  readonly cadaclysm_blacksmith_document_value: (a: number, b: number, c: number, d: number) => void;
9250
+ readonly cadaclysm_blacksmith_dome: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7981
9251
  readonly cadaclysm_blacksmith_draft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
7982
9252
  readonly cadaclysm_blacksmith_draft_analysis: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7983
9253
  readonly cadaclysm_blacksmith_draft_angle_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9254
+ readonly cadaclysm_blacksmith_draft_sheet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7984
9255
  readonly cadaclysm_blacksmith_draft_two_sided: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
7985
9256
  readonly cadaclysm_blacksmith_drawing_svg_text: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7986
9257
  readonly cadaclysm_blacksmith_drop_faces: (a: number, b: number, c: number, d: number) => void;
@@ -7999,6 +9270,7 @@ export interface InitOutput {
7999
9270
  readonly cadaclysm_blacksmith_edge_history: (a: number, b: number, c: number, d: number) => void;
8000
9271
  readonly cadaclysm_blacksmith_edge_id: (a: number, b: number, c: number) => void;
8001
9272
  readonly cadaclysm_blacksmith_edge_inner_point: (a: number, b: number, c: number) => void;
9273
+ readonly cadaclysm_blacksmith_edge_is_tolerant: (a: number, b: number, c: number, d: number) => void;
8002
9274
  readonly cadaclysm_blacksmith_edge_length: (a: number, b: number, c: number, d: number) => void;
8003
9275
  readonly cadaclysm_blacksmith_edge_origin_at: (a: number, b: number, c: number, d: number) => void;
8004
9276
  readonly cadaclysm_blacksmith_edge_origin_count: (a: number, b: number, c: number) => void;
@@ -8012,11 +9284,15 @@ export interface InitOutput {
8012
9284
  readonly cadaclysm_blacksmith_edge_with_id: (a: number, b: number, c: bigint) => void;
8013
9285
  readonly cadaclysm_blacksmith_edges_coloured: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8014
9286
  readonly cadaclysm_blacksmith_edges_convexity: (a: number, b: number, c: number) => void;
9287
+ readonly cadaclysm_blacksmith_edges_mass: (a: number, b: number, c: number, d: number, e: number) => void;
8015
9288
  readonly cadaclysm_blacksmith_effective_tolerance: (a: number, b: number, c: number) => void;
8016
9289
  readonly cadaclysm_blacksmith_ellipse_from_circle: (a: number, b: number, c: number) => void;
9290
+ readonly cadaclysm_blacksmith_entity_distance: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9291
+ readonly cadaclysm_blacksmith_evolved: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8017
9292
  readonly cadaclysm_blacksmith_extrude: (a: number, b: number, c: number, d: number, e: number) => void;
8018
9293
  readonly cadaclysm_blacksmith_extrude_between: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8019
9294
  readonly cadaclysm_blacksmith_extrude_faces: (a: number, b: number, c: number) => void;
9295
+ readonly cadaclysm_blacksmith_extrude_feature: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8020
9296
  readonly cadaclysm_blacksmith_extrude_open: (a: number, b: number, c: number, d: number, e: number) => void;
8021
9297
  readonly cadaclysm_blacksmith_extrude_open_between: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8022
9298
  readonly cadaclysm_blacksmith_extrude_open_tapered: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8024,6 +9300,7 @@ export interface InitOutput {
8024
9300
  readonly cadaclysm_blacksmith_extrude_to: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8025
9301
  readonly cadaclysm_blacksmith_face: (a: number, b: number, c: number, d: number) => void;
8026
9302
  readonly cadaclysm_blacksmith_face_area: (a: number, b: number, c: number, d: number) => void;
9303
+ readonly cadaclysm_blacksmith_face_area_properties: (a: number, b: number, c: number, d: number) => void;
8027
9304
  readonly cadaclysm_blacksmith_face_attribute: (a: number, b: number, c: number, d: number, e: number) => void;
8028
9305
  readonly cadaclysm_blacksmith_face_attribute_keys: (a: number, b: number, c: number) => void;
8029
9306
  readonly cadaclysm_blacksmith_face_attribute_values: (a: number, b: number, c: number) => void;
@@ -8031,6 +9308,8 @@ export interface InitOutput {
8031
9308
  readonly cadaclysm_blacksmith_face_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
8032
9309
  readonly cadaclysm_blacksmith_face_count: (a: number, b: number) => void;
8033
9310
  readonly cadaclysm_blacksmith_face_frame: (a: number, b: number, c: number) => void;
9311
+ readonly cadaclysm_blacksmith_face_geometry: (a: number, b: number, c: number) => void;
9312
+ readonly cadaclysm_blacksmith_face_geometry_profile: (a: number, b: number, c: number) => void;
8034
9313
  readonly cadaclysm_blacksmith_face_id: (a: number, b: number, c: number) => void;
8035
9314
  readonly cadaclysm_blacksmith_face_inner_point: (a: number, b: number, c: number) => void;
8036
9315
  readonly cadaclysm_blacksmith_face_iso_intervals: (a: number, b: number, c: number, d: number, e: number) => void;
@@ -8044,6 +9323,7 @@ export interface InitOutput {
8044
9323
  readonly cadaclysm_blacksmith_face_sheet: (a: number, b: number, c: number) => void;
8045
9324
  readonly cadaclysm_blacksmith_face_size: (a: number, b: number, c: number) => void;
8046
9325
  readonly cadaclysm_blacksmith_face_with_id: (a: number, b: number, c: bigint) => void;
9326
+ readonly cadaclysm_blacksmith_faces_mass: (a: number, b: number, c: number, d: number, e: number) => void;
8047
9327
  readonly cadaclysm_blacksmith_fem_mesh: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8048
9328
  readonly cadaclysm_blacksmith_fem_mesh_crossing: (a: number, b: number, c: number) => void;
8049
9329
  readonly cadaclysm_blacksmith_fem_mesh_crossing_count: (a: number, b: number) => void;
@@ -8056,6 +9336,7 @@ export interface InitOutput {
8056
9336
  readonly cadaclysm_blacksmith_fem_mesh_vertex: (a: number, b: number, c: number) => void;
8057
9337
  readonly cadaclysm_blacksmith_fem_mesh_view: (a: number, b: number) => void;
8058
9338
  readonly cadaclysm_blacksmith_fill_cells: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9339
+ readonly cadaclysm_blacksmith_fill_pattern: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
8059
9340
  readonly cadaclysm_blacksmith_fillet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8060
9341
  readonly cadaclysm_blacksmith_fillet_asymmetric: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8061
9342
  readonly cadaclysm_blacksmith_fillet_chord: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8079,15 +9360,24 @@ export interface InitOutput {
8079
9360
  readonly cadaclysm_blacksmith_flat_pattern_form_count: (a: number, b: number) => void;
8080
9361
  readonly cadaclysm_blacksmith_flat_pattern_form_outline: (a: number, b: number, c: number) => void;
8081
9362
  readonly cadaclysm_blacksmith_flat_pattern_form_point_count: (a: number, b: number, c: number) => void;
9363
+ readonly cadaclysm_blacksmith_flat_pattern_formed_body: (a: number, b: number, c: number, d: number, e: number) => void;
8082
9364
  readonly cadaclysm_blacksmith_flat_pattern_frame: (a: number, b: number) => void;
8083
9365
  readonly cadaclysm_blacksmith_flat_pattern_free: (a: number) => void;
8084
9366
  readonly cadaclysm_blacksmith_flat_pattern_profile: (a: number, b: number) => void;
8085
9367
  readonly cadaclysm_blacksmith_flat_pattern_trim: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9368
+ readonly cadaclysm_blacksmith_flip_faces: (a: number, b: number, c: number, d: number) => void;
8086
9369
  readonly cadaclysm_blacksmith_fold_flat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9370
+ readonly cadaclysm_blacksmith_forget_material: (a: number, b: number) => number;
9371
+ readonly cadaclysm_blacksmith_frame_at_angle: (a: number, b: number, c: number, d: number, e: number) => void;
8087
9372
  readonly cadaclysm_blacksmith_frame_fit: (a: number, b: number, c: number) => void;
8088
9373
  readonly cadaclysm_blacksmith_frame_midplane: (a: number, b: number, c: number, d: number, e: number) => void;
9374
+ readonly cadaclysm_blacksmith_frame_normal_to_edge: (a: number, b: number, c: number, d: number) => void;
9375
+ readonly cadaclysm_blacksmith_frame_tangent: (a: number, b: number, c: number, d: number, e: number) => void;
8089
9376
  readonly cadaclysm_blacksmith_frame_through: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9377
+ readonly cadaclysm_blacksmith_frame_through_edges: (a: number, b: number, c: number, d: number) => void;
8090
9378
  readonly cadaclysm_blacksmith_from_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9379
+ readonly cadaclysm_blacksmith_garment_add_button: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
9380
+ readonly cadaclysm_blacksmith_garment_add_buttonhole: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8091
9381
  readonly cadaclysm_blacksmith_garment_add_elastic_internal: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8092
9382
  readonly cadaclysm_blacksmith_garment_add_elastic_outline: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8093
9383
  readonly cadaclysm_blacksmith_garment_add_fabric: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8096,6 +9386,9 @@ export interface InitOutput {
8096
9386
  readonly cadaclysm_blacksmith_garment_add_seam: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8097
9387
  readonly cadaclysm_blacksmith_garment_add_seam_loops: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8098
9388
  readonly cadaclysm_blacksmith_garment_add_tack: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9389
+ readonly cadaclysm_blacksmith_garment_add_topstitch_internal: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
9390
+ readonly cadaclysm_blacksmith_garment_add_topstitch_outline: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
9391
+ readonly cadaclysm_blacksmith_garment_add_zipper: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8099
9392
  readonly cadaclysm_blacksmith_garment_close_dart_cut: (a: number, b: number, c: number, d: number, e: number) => void;
8100
9393
  readonly cadaclysm_blacksmith_garment_close_dart_folded: (a: number, b: number, c: number, d: number, e: number) => void;
8101
9394
  readonly cadaclysm_blacksmith_garment_cut_line: (a: number, b: number, c: number, d: number) => void;
@@ -8103,12 +9396,14 @@ export interface InitOutput {
8103
9396
  readonly cadaclysm_blacksmith_garment_fabric_name: (a: number, b: number, c: number) => void;
8104
9397
  readonly cadaclysm_blacksmith_garment_fabric_params: (a: number, b: number, c: number) => void;
8105
9398
  readonly cadaclysm_blacksmith_garment_fabrics: (a: number, b: number) => void;
9399
+ readonly cadaclysm_blacksmith_garment_fasten: (a: number, b: number, c: number, d: number, e: number) => void;
8106
9400
  readonly cadaclysm_blacksmith_garment_fold: (a: number, b: number, c: number, d: number) => void;
8107
9401
  readonly cadaclysm_blacksmith_garment_fold_prefold: (a: number, b: number, c: number, d: number) => void;
8108
9402
  readonly cadaclysm_blacksmith_garment_free: (a: number) => void;
8109
9403
  readonly cadaclysm_blacksmith_garment_from_aama: (a: number, b: number, c: number) => void;
8110
9404
  readonly cadaclysm_blacksmith_garment_issue: (a: number, b: number, c: number) => void;
8111
9405
  readonly cadaclysm_blacksmith_garment_issue_message: (a: number, b: number, c: number) => void;
9406
+ readonly cadaclysm_blacksmith_garment_move_trim: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8112
9407
  readonly cadaclysm_blacksmith_garment_new: (a: number) => void;
8113
9408
  readonly cadaclysm_blacksmith_garment_pattern_add_internal: (a: number, b: number, c: number, d: number, e: number) => void;
8114
9409
  readonly cadaclysm_blacksmith_garment_pattern_add_notch: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8134,6 +9429,7 @@ export interface InitOutput {
8134
9429
  readonly cadaclysm_blacksmith_garment_remove_pleats: (a: number, b: number, c: number) => void;
8135
9430
  readonly cadaclysm_blacksmith_garment_remove_seam: (a: number, b: number, c: number) => void;
8136
9431
  readonly cadaclysm_blacksmith_garment_remove_tack: (a: number, b: number, c: number) => void;
9432
+ readonly cadaclysm_blacksmith_garment_remove_trim: (a: number, b: number, c: number) => void;
8137
9433
  readonly cadaclysm_blacksmith_garment_rotate_dart: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8138
9434
  readonly cadaclysm_blacksmith_garment_seam: (a: number, b: number, c: number) => void;
8139
9435
  readonly cadaclysm_blacksmith_garment_seam_strength: (a: number, b: number, c: number) => void;
@@ -8149,8 +9445,14 @@ export interface InitOutput {
8149
9445
  readonly cadaclysm_blacksmith_garment_sim_options: (a: number, b: number) => void;
8150
9446
  readonly cadaclysm_blacksmith_garment_tacks: (a: number, b: number) => void;
8151
9447
  readonly cadaclysm_blacksmith_garment_to_aama: (a: number, b: number, c: number, d: number, e: number) => void;
9448
+ readonly cadaclysm_blacksmith_garment_trim_fits: (a: number, b: number, c: number, d: number) => void;
9449
+ readonly cadaclysm_blacksmith_garment_trim_instances: (a: number, b: number, c: number) => void;
9450
+ readonly cadaclysm_blacksmith_garment_trim_skipped: (a: number, b: number, c: number) => void;
9451
+ readonly cadaclysm_blacksmith_garment_trims: (a: number, b: number) => void;
8152
9452
  readonly cadaclysm_blacksmith_garment_validate: (a: number, b: number, c: number) => void;
8153
9453
  readonly cadaclysm_blacksmith_gear_centre_distance_involute: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9454
+ readonly cadaclysm_blacksmith_glue: (a: number, b: number, c: number, d: number) => void;
9455
+ readonly cadaclysm_blacksmith_half_space: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8154
9456
  readonly cadaclysm_blacksmith_healed: (a: number, b: number, c: number, d: number) => void;
8155
9457
  readonly cadaclysm_blacksmith_health: (a: number, b: number, c: number, d: number) => void;
8156
9458
  readonly cadaclysm_blacksmith_highlight_kink: (a: number, b: number, c: number, d: number) => void;
@@ -8183,9 +9485,11 @@ export interface InitOutput {
8183
9485
  readonly cadaclysm_blacksmith_hlr_mesh: (a: number, b: number, c: number, d: number, e: number) => void;
8184
9486
  readonly cadaclysm_blacksmith_hlr_report: (a: number, b: number) => void;
8185
9487
  readonly cadaclysm_blacksmith_hole: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => void;
9488
+ readonly cadaclysm_blacksmith_hole_series: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number) => void;
8186
9489
  readonly cadaclysm_blacksmith_hole_threaded: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number) => void;
8187
9490
  readonly cadaclysm_blacksmith_hole_threaded_tool: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number) => void;
8188
9491
  readonly cadaclysm_blacksmith_hole_tool: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => void;
9492
+ readonly cadaclysm_blacksmith_infer_joints: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
8189
9493
  readonly cadaclysm_blacksmith_interpolator_at: (a: number, b: number, c: number, d: number) => void;
8190
9494
  readonly cadaclysm_blacksmith_interpolator_count: (a: number, b: number) => void;
8191
9495
  readonly cadaclysm_blacksmith_interpolator_cyclic: (a: number, b: number) => void;
@@ -8224,31 +9528,42 @@ export interface InitOutput {
8224
9528
  readonly cadaclysm_blacksmith_job_stock: (a: number, b: number) => void;
8225
9529
  readonly cadaclysm_blacksmith_join: (a: number, b: number, c: number, d: number, e: number) => void;
8226
9530
  readonly cadaclysm_blacksmith_join_sheets: (a: number, b: number, c: number, d: number) => void;
9531
+ readonly cadaclysm_blacksmith_joint_candidate: (a: number, b: number, c: number) => void;
9532
+ readonly cadaclysm_blacksmith_joint_candidate_kind: (a: number, b: number, c: number) => void;
9533
+ readonly cadaclysm_blacksmith_joint_candidate_reason: (a: number, b: number, c: number) => void;
9534
+ readonly cadaclysm_blacksmith_joint_candidates_count: (a: number, b: number) => void;
9535
+ readonly cadaclysm_blacksmith_joint_candidates_free: (a: number) => void;
8227
9536
  readonly cadaclysm_blacksmith_leaked_edges: (a: number, b: number, c: number) => void;
8228
9537
  readonly cadaclysm_blacksmith_license_info: (a: number) => void;
8229
9538
  readonly cadaclysm_blacksmith_license_notice_count: () => number;
8230
9539
  readonly cadaclysm_blacksmith_license_set: (a: number, b: number, c: number) => void;
8231
9540
  readonly cadaclysm_blacksmith_loft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9541
+ readonly cadaclysm_blacksmith_loft_along: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8232
9542
  readonly cadaclysm_blacksmith_loft_curves: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8233
9543
  readonly cadaclysm_blacksmith_loft_open: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8234
9544
  readonly cadaclysm_blacksmith_loft_through: (a: number, b: number, c: number, d: number, e: number) => void;
8235
9545
  readonly cadaclysm_blacksmith_loft_through_open: (a: number, b: number, c: number, d: number, e: number) => void;
8236
9546
  readonly cadaclysm_blacksmith_lump: (a: number, b: number, c: number) => void;
8237
9547
  readonly cadaclysm_blacksmith_lump_count: (a: number, b: number) => void;
9548
+ readonly cadaclysm_blacksmith_make_periodic: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8238
9549
  readonly cadaclysm_blacksmith_manifold: (a: number, b: number) => void;
8239
9550
  readonly cadaclysm_blacksmith_manifold_flaws: (a: number, b: number) => void;
8240
9551
  readonly cadaclysm_blacksmith_mass_properties: (a: number, b: number, c: number) => void;
8241
9552
  readonly cadaclysm_blacksmith_match_side: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9553
+ readonly cadaclysm_blacksmith_material: (a: number, b: number, c: number) => void;
9554
+ readonly cadaclysm_blacksmith_materials: (a: number) => void;
8242
9555
  readonly cadaclysm_blacksmith_merge: (a: number, b: number, c: number, d: number, e: number) => void;
8243
9556
  readonly cadaclysm_blacksmith_merge_flush: (a: number, b: number) => void;
8244
9557
  readonly cadaclysm_blacksmith_mesh: (a: number, b: number, c: number) => void;
8245
9558
  readonly cadaclysm_blacksmith_mesh64: (a: number, b: number, c: number) => void;
8246
9559
  readonly cadaclysm_blacksmith_mesh_face_triangles: (a: number, b: number, c: number) => void;
8247
9560
  readonly cadaclysm_blacksmith_mesh_file: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
9561
+ readonly cadaclysm_blacksmith_mesh_silhouette: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8248
9562
  readonly cadaclysm_blacksmith_mesh_thickness: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8249
9563
  readonly cadaclysm_blacksmith_mesh_thicknesses_at: (a: number, b: number, c: number) => void;
8250
9564
  readonly cadaclysm_blacksmith_mesh_thicknesses_count: (a: number, b: number) => void;
8251
9565
  readonly cadaclysm_blacksmith_mesh_thicknesses_free: (a: number) => void;
9566
+ readonly cadaclysm_blacksmith_minimal_box: (a: number, b: number, c: number) => void;
8252
9567
  readonly cadaclysm_blacksmith_mirror: (a: number, b: number, c: number, d: number) => void;
8253
9568
  readonly cadaclysm_blacksmith_mirror_join: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8254
9569
  readonly cadaclysm_blacksmith_morph_bend: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
@@ -8273,6 +9588,15 @@ export interface InitOutput {
8273
9588
  readonly cadaclysm_blacksmith_naca_points: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8274
9589
  readonly cadaclysm_blacksmith_naca_spline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8275
9590
  readonly cadaclysm_blacksmith_named: (a: number, b: number, c: number, d: number) => void;
9591
+ readonly cadaclysm_blacksmith_nest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
9592
+ readonly cadaclysm_blacksmith_nest_free: (a: number) => void;
9593
+ readonly cadaclysm_blacksmith_nest_placement: (a: number, b: number, c: number) => void;
9594
+ readonly cadaclysm_blacksmith_nest_placement_count: (a: number, b: number) => void;
9595
+ readonly cadaclysm_blacksmith_nest_sheet_count: (a: number, b: number) => void;
9596
+ readonly cadaclysm_blacksmith_nest_sheet_utilisation: (a: number, b: number, c: number) => void;
9597
+ readonly cadaclysm_blacksmith_nest_unplaced: (a: number, b: number, c: number) => void;
9598
+ readonly cadaclysm_blacksmith_nest_unplaced_count: (a: number, b: number) => void;
9599
+ readonly cadaclysm_blacksmith_nest_utilisation: (a: number, b: number) => void;
8276
9600
  readonly cadaclysm_blacksmith_network_surface: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8277
9601
  readonly cadaclysm_blacksmith_nurbs_curve_blend: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8278
9602
  readonly cadaclysm_blacksmith_nurbs_curve_clone: (a: number, b: number) => void;
@@ -8285,8 +9609,10 @@ export interface InitOutput {
8285
9609
  readonly cadaclysm_blacksmith_nurbs_curve_control_count: (a: number, b: number) => void;
8286
9610
  readonly cadaclysm_blacksmith_nurbs_curve_control_points: (a: number, b: number) => void;
8287
9611
  readonly cadaclysm_blacksmith_nurbs_curve_curvature: (a: number, b: number, c: number) => void;
9612
+ readonly cadaclysm_blacksmith_nurbs_curve_curve_hits: (a: number, b: number, c: number, d: number) => void;
8288
9613
  readonly cadaclysm_blacksmith_nurbs_curve_degree: (a: number, b: number) => void;
8289
9614
  readonly cadaclysm_blacksmith_nurbs_curve_derivatives: (a: number, b: number, c: number, d: number) => void;
9615
+ readonly cadaclysm_blacksmith_nurbs_curve_deviation: (a: number, b: number, c: number, d: number) => void;
8290
9616
  readonly cadaclysm_blacksmith_nurbs_curve_directions_match: (a: number, b: number, c: number, d: number) => void;
8291
9617
  readonly cadaclysm_blacksmith_nurbs_curve_divide_as_contour: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8292
9618
  readonly cadaclysm_blacksmith_nurbs_curve_divide_by_count: (a: number, b: number, c: number, d: number) => void;
@@ -8303,7 +9629,9 @@ export interface InitOutput {
8303
9629
  readonly cadaclysm_blacksmith_nurbs_curve_fitted_to_face: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8304
9630
  readonly cadaclysm_blacksmith_nurbs_curve_free: (a: number) => void;
8305
9631
  readonly cadaclysm_blacksmith_nurbs_curve_from_edge: (a: number, b: number, c: number) => void;
9632
+ readonly cadaclysm_blacksmith_nurbs_curve_from_equation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number) => void;
8306
9633
  readonly cadaclysm_blacksmith_nurbs_curve_from_face_isocurve: (a: number, b: number, c: number, d: number, e: number) => void;
9634
+ readonly cadaclysm_blacksmith_nurbs_curve_from_two_views: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8307
9635
  readonly cadaclysm_blacksmith_nurbs_curve_greville: (a: number, b: number) => void;
8308
9636
  readonly cadaclysm_blacksmith_nurbs_curve_inflections: (a: number, b: number) => void;
8309
9637
  readonly cadaclysm_blacksmith_nurbs_curve_is_closed: (a: number, b: number) => void;
@@ -8362,6 +9690,7 @@ export interface InitOutput {
8362
9690
  readonly cadaclysm_blacksmith_nurbs_surface_extended: (a: number, b: number, c: number, d: number) => void;
8363
9691
  readonly cadaclysm_blacksmith_nurbs_surface_free: (a: number) => void;
8364
9692
  readonly cadaclysm_blacksmith_nurbs_surface_hermite: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
9693
+ readonly cadaclysm_blacksmith_nurbs_surface_intersect: (a: number, b: number, c: number, d: number, e: number) => void;
8365
9694
  readonly cadaclysm_blacksmith_nurbs_surface_knot_inserted: (a: number, b: number, c: number, d: number, e: number) => void;
8366
9695
  readonly cadaclysm_blacksmith_nurbs_surface_knot_removed: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8367
9696
  readonly cadaclysm_blacksmith_nurbs_surface_knots: (a: number, b: number, c: number) => void;
@@ -8389,14 +9718,21 @@ export interface InitOutput {
8389
9718
  readonly cadaclysm_blacksmith_option_set: (a: number, b: number, c: number, d: number) => void;
8390
9719
  readonly cadaclysm_blacksmith_oriented_box: (a: number, b: number, c: number) => void;
8391
9720
  readonly cadaclysm_blacksmith_origins_through: (a: number, b: number, c: number) => void;
9721
+ readonly cadaclysm_blacksmith_page_add_derived_view: (a: number, b: number, c: number, d: number, e: number) => void;
9722
+ readonly cadaclysm_blacksmith_page_add_dimension: (a: number, b: number, c: number, d: number, e: number) => void;
8392
9723
  readonly cadaclysm_blacksmith_page_add_flat_pattern: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8393
9724
  readonly cadaclysm_blacksmith_page_add_hatch: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
9725
+ readonly cadaclysm_blacksmith_page_add_hole_table: (a: number, b: number, c: number, d: number, e: number) => void;
9726
+ readonly cadaclysm_blacksmith_page_add_model_view: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8394
9727
  readonly cadaclysm_blacksmith_page_add_profile: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9728
+ readonly cadaclysm_blacksmith_page_add_sketch_dimensions: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8395
9729
  readonly cadaclysm_blacksmith_page_add_text: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
8396
9730
  readonly cadaclysm_blacksmith_page_add_view: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9731
+ readonly cadaclysm_blacksmith_page_add_view_break: (a: number, b: number, c: number, d: number, e: number) => void;
8397
9732
  readonly cadaclysm_blacksmith_page_dxf_text: (a: number, b: number) => void;
8398
9733
  readonly cadaclysm_blacksmith_page_entity_count: (a: number, b: number) => void;
8399
9734
  readonly cadaclysm_blacksmith_page_free: (a: number) => void;
9735
+ readonly cadaclysm_blacksmith_page_info_json: (a: number, b: number) => void;
8400
9736
  readonly cadaclysm_blacksmith_page_new: (a: number, b: number) => void;
8401
9737
  readonly cadaclysm_blacksmith_page_svg_text: (a: number, b: number) => void;
8402
9738
  readonly cadaclysm_blacksmith_pair_freedom_count: (a: number, b: number) => number;
@@ -8421,9 +9757,14 @@ export interface InitOutput {
8421
9757
  readonly cadaclysm_blacksmith_pattern_mirror: (a: number, b: number, c: number) => void;
8422
9758
  readonly cadaclysm_blacksmith_pattern_rectangular: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
8423
9759
  readonly cadaclysm_blacksmith_pipe: (a: number, b: number, c: number, d: number) => void;
9760
+ readonly cadaclysm_blacksmith_pipe_along: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8424
9761
  readonly cadaclysm_blacksmith_place: (a: number, b: number, c: number, d: number) => void;
8425
9762
  readonly cadaclysm_blacksmith_pmi_items: (a: number, b: number) => void;
8426
9763
  readonly cadaclysm_blacksmith_pmi_views: (a: number, b: number) => void;
9764
+ readonly cadaclysm_blacksmith_point_centre: (a: number, b: number, c: number) => void;
9765
+ readonly cadaclysm_blacksmith_point_edge_edge: (a: number, b: number, c: number, d: number, e: number) => void;
9766
+ readonly cadaclysm_blacksmith_point_edge_plane: (a: number, b: number, c: number, d: number, e: number) => void;
9767
+ readonly cadaclysm_blacksmith_point_three_planes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8427
9768
  readonly cadaclysm_blacksmith_polygon_set_area: (a: number, b: number) => void;
8428
9769
  readonly cadaclysm_blacksmith_polygon_set_boundary_distance: (a: number, b: number, c: number, d: number) => void;
8429
9770
  readonly cadaclysm_blacksmith_polygon_set_bounds: (a: number, b: number) => void;
@@ -8475,7 +9816,9 @@ export interface InitOutput {
8475
9816
  readonly cadaclysm_blacksmith_profile_divide_by_count: (a: number, b: number, c: number, d: number) => void;
8476
9817
  readonly cadaclysm_blacksmith_profile_divide_by_length: (a: number, b: number, c: number, d: number) => void;
8477
9818
  readonly cadaclysm_blacksmith_profile_ellipse: (a: number, b: number, c: number, d: number, e: number) => void;
9819
+ readonly cadaclysm_blacksmith_profile_equation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
8478
9820
  readonly cadaclysm_blacksmith_profile_fillet_corner: (a: number, b: number, c: number, d: number, e: number) => void;
9821
+ readonly cadaclysm_blacksmith_profile_fit: (a: number, b: number, c: number, d: number, e: number) => void;
8479
9822
  readonly cadaclysm_blacksmith_profile_free: (a: number) => void;
8480
9823
  readonly cadaclysm_blacksmith_profile_from_beziers: (a: number, b: number, c: number, d: number) => void;
8481
9824
  readonly cadaclysm_blacksmith_profile_from_loops: (a: number, b: number, c: number) => void;
@@ -8492,6 +9835,7 @@ export interface InitOutput {
8492
9835
  readonly cadaclysm_blacksmith_profile_list_get: (a: number, b: number, c: number) => void;
8493
9836
  readonly cadaclysm_blacksmith_profile_loops: (a: number, b: number, c: number, d: number) => void;
8494
9837
  readonly cadaclysm_blacksmith_profile_make_closed: (a: number, b: number, c: number) => void;
9838
+ readonly cadaclysm_blacksmith_profile_medial_axis: (a: number, b: number, c: number) => void;
8495
9839
  readonly cadaclysm_blacksmith_profile_merge_colinear: (a: number, b: number, c: number, d: number, e: number) => void;
8496
9840
  readonly cadaclysm_blacksmith_profile_mirror: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8497
9841
  readonly cadaclysm_blacksmith_profile_naca: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8522,6 +9866,7 @@ export interface InitOutput {
8522
9866
  readonly cadaclysm_blacksmith_profile_spline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8523
9867
  readonly cadaclysm_blacksmith_profile_star: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8524
9868
  readonly cadaclysm_blacksmith_profile_text: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
9869
+ readonly cadaclysm_blacksmith_profile_through: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8525
9870
  readonly cadaclysm_blacksmith_profile_to_arcs: (a: number, b: number, c: number) => void;
8526
9871
  readonly cadaclysm_blacksmith_profile_transform2d: (a: number, b: number, c: number, d: number) => void;
8527
9872
  readonly cadaclysm_blacksmith_profile_trim_chain: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8546,9 +9891,13 @@ export interface InitOutput {
8546
9891
  readonly cadaclysm_blacksmith_quaternion_from_transform: (a: number, b: number, c: number) => void;
8547
9892
  readonly cadaclysm_blacksmith_quaternion_slerp: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8548
9893
  readonly cadaclysm_blacksmith_quaternion_to_transform: (a: number, b: number, c: number, d: number, e: number) => void;
9894
+ readonly cadaclysm_blacksmith_query_edges: (a: number, b: number, c: number, d: number) => void;
9895
+ readonly cadaclysm_blacksmith_query_faces: (a: number, b: number, c: number, d: number) => void;
9896
+ readonly cadaclysm_blacksmith_query_vertices: (a: number, b: number, c: number, d: number) => void;
8549
9897
  readonly cadaclysm_blacksmith_rail_revolve: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8550
9898
  readonly cadaclysm_blacksmith_ray_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
8551
9899
  readonly cadaclysm_blacksmith_ray_point_at: (a: number, b: number, c: number, d: number) => void;
9900
+ readonly cadaclysm_blacksmith_ray_shoot: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8552
9901
  readonly cadaclysm_blacksmith_recess: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8553
9902
  readonly cadaclysm_blacksmith_rechamfer: (a: number, b: number, c: number, d: number, e: number) => void;
8554
9903
  readonly cadaclysm_blacksmith_recognized: (a: number, b: number, c: number) => void;
@@ -8560,6 +9909,7 @@ export interface InitOutput {
8560
9909
  readonly cadaclysm_blacksmith_refillet: (a: number, b: number, c: number, d: number, e: number) => void;
8561
9910
  readonly cadaclysm_blacksmith_region_solid: (a: number, b: number, c: number) => void;
8562
9911
  readonly cadaclysm_blacksmith_regions: (a: number, b: number) => void;
9912
+ readonly cadaclysm_blacksmith_repeat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8563
9913
  readonly cadaclysm_blacksmith_report_at: (a: number, b: number, c: number) => void;
8564
9914
  readonly cadaclysm_blacksmith_report_bottom: (a: number, b: number, c: number) => void;
8565
9915
  readonly cadaclysm_blacksmith_report_count: (a: number, b: number) => void;
@@ -8570,7 +9920,9 @@ export interface InitOutput {
8570
9920
  readonly cadaclysm_blacksmith_report_size: (a: number, b: number, c: number) => void;
8571
9921
  readonly cadaclysm_blacksmith_report_text: (a: number, b: number) => void;
8572
9922
  readonly cadaclysm_blacksmith_report_top: (a: number, b: number, c: number) => void;
9923
+ readonly cadaclysm_blacksmith_reset_tolerances: (a: number, b: number) => void;
8573
9924
  readonly cadaclysm_blacksmith_revolve: (a: number, b: number, c: number, d: number, e: number) => void;
9925
+ readonly cadaclysm_blacksmith_revolve_feature: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8574
9926
  readonly cadaclysm_blacksmith_revolve_in_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8575
9927
  readonly cadaclysm_blacksmith_revolve_open: (a: number, b: number, c: number, d: number, e: number) => void;
8576
9928
  readonly cadaclysm_blacksmith_revolve_open_in_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8601,7 +9953,6 @@ export interface InitOutput {
8601
9953
  readonly cadaclysm_blacksmith_section_dimensions: (a: number, b: number, c: number) => void;
8602
9954
  readonly cadaclysm_blacksmith_section_names: (a: number) => void;
8603
9955
  readonly cadaclysm_blacksmith_section_profile: (a: number, b: number, c: number) => void;
8604
- readonly cadaclysm_blacksmith_select_face: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8605
9956
  readonly cadaclysm_blacksmith_self_intersect: (a: number, b: number, c: number, d: number) => void;
8606
9957
  readonly cadaclysm_blacksmith_set_progress_hook: (a: number) => void;
8607
9958
  readonly cadaclysm_blacksmith_sheet_base: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8616,11 +9967,13 @@ export interface InitOutput {
8616
9967
  readonly cadaclysm_blacksmith_sheet_flange: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8617
9968
  readonly cadaclysm_blacksmith_sheet_fold: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8618
9969
  readonly cadaclysm_blacksmith_sheet_form: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
9970
+ readonly cadaclysm_blacksmith_sheet_gusset: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
8619
9971
  readonly cadaclysm_blacksmith_sheet_hem: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
8620
9972
  readonly cadaclysm_blacksmith_sheet_info: (a: number, b: number, c: number, d: number) => void;
8621
9973
  readonly cadaclysm_blacksmith_sheet_jog: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
8622
9974
  readonly cadaclysm_blacksmith_sheet_join: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8623
9975
  readonly cadaclysm_blacksmith_sheet_lofted_flange: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9976
+ readonly cadaclysm_blacksmith_sheet_punch: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8624
9977
  readonly cadaclysm_blacksmith_sheet_rip: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8625
9978
  readonly cadaclysm_blacksmith_sheet_rip_face: (a: number, b: number, c: number, d: number) => void;
8626
9979
  readonly cadaclysm_blacksmith_sheet_rip_points: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8628,16 +9981,35 @@ export interface InitOutput {
8628
9981
  readonly cadaclysm_blacksmith_shell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8629
9982
  readonly cadaclysm_blacksmith_silhouette_beziers: (a: number, b: number, c: number, d: number) => void;
8630
9983
  readonly cadaclysm_blacksmith_sketch_add_arc: (a: number, b: number, c: number, d: number, e: number) => void;
9984
+ readonly cadaclysm_blacksmith_sketch_add_arc_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9985
+ readonly cadaclysm_blacksmith_sketch_add_arc_slot_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9986
+ readonly cadaclysm_blacksmith_sketch_add_arc_slot_through_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8631
9987
  readonly cadaclysm_blacksmith_sketch_add_bezier: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8632
9988
  readonly cadaclysm_blacksmith_sketch_add_circle: (a: number, b: number, c: number, d: number) => void;
9989
+ readonly cadaclysm_blacksmith_sketch_add_circle_at: (a: number, b: number, c: number, d: number, e: number) => void;
9990
+ readonly cadaclysm_blacksmith_sketch_add_circle_three_tangents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9991
+ readonly cadaclysm_blacksmith_sketch_add_circle_two_tangents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8633
9992
  readonly cadaclysm_blacksmith_sketch_add_conic: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9993
+ readonly cadaclysm_blacksmith_sketch_add_ellipse: (a: number, b: number, c: number, d: number, e: number) => void;
9994
+ readonly cadaclysm_blacksmith_sketch_add_ellipse_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9995
+ readonly cadaclysm_blacksmith_sketch_add_elliptical_arc: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9996
+ readonly cadaclysm_blacksmith_sketch_add_elliptical_arc_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
9997
+ readonly cadaclysm_blacksmith_sketch_add_equation_curve_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
9998
+ readonly cadaclysm_blacksmith_sketch_add_fitted_spline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9999
+ readonly cadaclysm_blacksmith_sketch_add_fitted_spline_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8634
10000
  readonly cadaclysm_blacksmith_sketch_add_line: (a: number, b: number, c: number, d: number) => void;
8635
10001
  readonly cadaclysm_blacksmith_sketch_add_nurbs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8636
10002
  readonly cadaclysm_blacksmith_sketch_add_point: (a: number, b: number, c: number, d: number) => void;
8637
- readonly cadaclysm_blacksmith_sketch_add_polygon: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8638
- readonly cadaclysm_blacksmith_sketch_add_polygon_expr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8639
- readonly cadaclysm_blacksmith_sketch_add_rect: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10003
+ readonly cadaclysm_blacksmith_sketch_add_polygon_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
10004
+ readonly cadaclysm_blacksmith_sketch_add_polygon_at_expr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
10005
+ readonly cadaclysm_blacksmith_sketch_add_rect_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10006
+ readonly cadaclysm_blacksmith_sketch_add_slot_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
10007
+ readonly cadaclysm_blacksmith_sketch_add_slot_centre_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
10008
+ readonly cadaclysm_blacksmith_sketch_add_slot_overall_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
10009
+ readonly cadaclysm_blacksmith_sketch_add_text: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10010
+ readonly cadaclysm_blacksmith_sketch_add_text_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
8640
10011
  readonly cadaclysm_blacksmith_sketch_auto_constrain: (a: number, b: number, c: number, d: number) => void;
10012
+ readonly cadaclysm_blacksmith_sketch_break: (a: number, b: number, c: number, d: number, e: number) => void;
8641
10013
  readonly cadaclysm_blacksmith_sketch_centre: (a: number, b: number, c: number) => void;
8642
10014
  readonly cadaclysm_blacksmith_sketch_chamfer: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8643
10015
  readonly cadaclysm_blacksmith_sketch_chamfer_angle: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8660,12 +10032,15 @@ export interface InitOutput {
8660
10032
  readonly cadaclysm_blacksmith_sketch_ends: (a: number, b: number, c: number) => void;
8661
10033
  readonly cadaclysm_blacksmith_sketch_entities: (a: number, b: number) => void;
8662
10034
  readonly cadaclysm_blacksmith_sketch_expression: (a: number, b: number, c: number) => void;
10035
+ readonly cadaclysm_blacksmith_sketch_extend: (a: number, b: number, c: number, d: number) => void;
8663
10036
  readonly cadaclysm_blacksmith_sketch_feature_ids: (a: number, b: number, c: number) => void;
8664
10037
  readonly cadaclysm_blacksmith_sketch_feature_kind: (a: number, b: number, c: number) => void;
8665
10038
  readonly cadaclysm_blacksmith_sketch_features: (a: number, b: number) => void;
10039
+ readonly cadaclysm_blacksmith_sketch_fillet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8666
10040
  readonly cadaclysm_blacksmith_sketch_free: (a: number) => void;
8667
10041
  readonly cadaclysm_blacksmith_sketch_from_json: (a: number, b: number, c: number) => void;
8668
10042
  readonly cadaclysm_blacksmith_sketch_from_profile: (a: number, b: number, c: number, d: number) => void;
10043
+ readonly cadaclysm_blacksmith_sketch_intersect_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8669
10044
  readonly cadaclysm_blacksmith_sketch_is_construction: (a: number, b: number, c: number) => void;
8670
10045
  readonly cadaclysm_blacksmith_sketch_is_joint_tangent: (a: number, b: number, c: number) => void;
8671
10046
  readonly cadaclysm_blacksmith_sketch_is_reference: (a: number, b: number, c: number) => void;
@@ -8673,6 +10048,7 @@ export interface InitOutput {
8673
10048
  readonly cadaclysm_blacksmith_sketch_measure: (a: number, b: number, c: number) => void;
8674
10049
  readonly cadaclysm_blacksmith_sketch_mirror: (a: number, b: number, c: number, d: number, e: number) => void;
8675
10050
  readonly cadaclysm_blacksmith_sketch_new: (a: number) => void;
10051
+ readonly cadaclysm_blacksmith_sketch_offset: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8676
10052
  readonly cadaclysm_blacksmith_sketch_open_chains: (a: number, b: number, c: number) => void;
8677
10053
  readonly cadaclysm_blacksmith_sketch_param_remove: (a: number, b: number, c: number, d: number) => void;
8678
10054
  readonly cadaclysm_blacksmith_sketch_param_set: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8683,6 +10059,8 @@ export interface InitOutput {
8683
10059
  readonly cadaclysm_blacksmith_sketch_pattern_rectangular_expr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
8684
10060
  readonly cadaclysm_blacksmith_sketch_point: (a: number, b: number, c: number) => void;
8685
10061
  readonly cadaclysm_blacksmith_sketch_profiles: (a: number, b: number, c: number) => void;
10062
+ readonly cadaclysm_blacksmith_sketch_project_edges: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10063
+ readonly cadaclysm_blacksmith_sketch_project_faces: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8686
10064
  readonly cadaclysm_blacksmith_sketch_radius: (a: number, b: number, c: number) => void;
8687
10065
  readonly cadaclysm_blacksmith_sketch_reference: (a: number, b: number, c: number, d: number) => void;
8688
10066
  readonly cadaclysm_blacksmith_sketch_remove: (a: number, b: number, c: number) => void;
@@ -8696,9 +10074,15 @@ export interface InitOutput {
8696
10074
  readonly cadaclysm_blacksmith_sketch_set_expression: (a: number, b: number, c: number, d: number, e: number) => void;
8697
10075
  readonly cadaclysm_blacksmith_sketch_set_point: (a: number, b: number, c: number, d: number, e: number) => void;
8698
10076
  readonly cadaclysm_blacksmith_sketch_set_radius: (a: number, b: number, c: number, d: number) => void;
10077
+ readonly cadaclysm_blacksmith_sketch_set_text: (a: number, b: number, c: number, d: number, e: number) => void;
8699
10078
  readonly cadaclysm_blacksmith_sketch_set_value: (a: number, b: number, c: number, d: number) => void;
8700
10079
  readonly cadaclysm_blacksmith_sketch_solve: (a: number, b: number) => void;
10080
+ readonly cadaclysm_blacksmith_sketch_spline_handles: (a: number, b: number, c: number) => void;
10081
+ readonly cadaclysm_blacksmith_sketch_split: (a: number, b: number, c: number, d: number, e: number) => void;
10082
+ readonly cadaclysm_blacksmith_sketch_text: (a: number, b: number, c: number) => void;
10083
+ readonly cadaclysm_blacksmith_sketch_text_font: (a: number, b: number, c: number) => void;
8701
10084
  readonly cadaclysm_blacksmith_sketch_to_json: (a: number, b: number) => void;
10085
+ readonly cadaclysm_blacksmith_sketch_trim: (a: number, b: number, c: number, d: number, e: number) => void;
8702
10086
  readonly cadaclysm_blacksmith_sketch_update_reference: (a: number, b: number, c: number, d: number) => void;
8703
10087
  readonly cadaclysm_blacksmith_slant_of_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8704
10088
  readonly cadaclysm_blacksmith_solid_bounds_box: (a: number, b: number, c: number) => void;
@@ -8706,7 +10090,10 @@ export interface InitOutput {
8706
10090
  readonly cadaclysm_blacksmith_solid_coincidence_transform: (a: number, b: number, c: number, d: number) => void;
8707
10091
  readonly cadaclysm_blacksmith_solid_contour_curves: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8708
10092
  readonly cadaclysm_blacksmith_solid_convert_to_nurbs: (a: number, b: number, c: number) => void;
10093
+ readonly cadaclysm_blacksmith_solid_convert_to_revolution: (a: number, b: number) => void;
10094
+ readonly cadaclysm_blacksmith_solid_curve_hits: (a: number, b: number, c: number, d: number, e: number) => void;
8709
10095
  readonly cadaclysm_blacksmith_solid_divide_faces: (a: number, b: number, c: number, d: number, e: number) => void;
10096
+ readonly cadaclysm_blacksmith_solid_edge_deviations: (a: number, b: number) => void;
8710
10097
  readonly cadaclysm_blacksmith_solid_extend_faces_to_connect: (a: number, b: number, c: number, d: number, e: number) => void;
8711
10098
  readonly cadaclysm_blacksmith_solid_face_surface: (a: number, b: number, c: number) => void;
8712
10099
  readonly cadaclysm_blacksmith_solid_face_tree: (a: number, b: number) => void;
@@ -8715,12 +10102,22 @@ export interface InitOutput {
8715
10102
  readonly cadaclysm_blacksmith_solid_is_tracked: (a: number, b: number) => void;
8716
10103
  readonly cadaclysm_blacksmith_solid_material: (a: number, b: number) => void;
8717
10104
  readonly cadaclysm_blacksmith_solid_merge_surfaces: (a: number, b: number, c: number, d: number) => void;
10105
+ readonly cadaclysm_blacksmith_solid_mid_surface: (a: number, b: number, c: number, d: number) => void;
10106
+ readonly cadaclysm_blacksmith_solid_mid_surface_patches: (a: number, b: number, c: number, d: number) => void;
10107
+ readonly cadaclysm_blacksmith_solid_middle_path: (a: number, b: number, c: number, d: number, e: number) => void;
8718
10108
  readonly cadaclysm_blacksmith_solid_name: (a: number, b: number) => void;
8719
10109
  readonly cadaclysm_blacksmith_solid_offset: (a: number, b: number, c: number, d: number) => void;
8720
10110
  readonly cadaclysm_blacksmith_solid_offset_face: (a: number, b: number, c: number, d: number, e: number) => void;
10111
+ readonly cadaclysm_blacksmith_solid_point_cloud: (a: number, b: number, c: number, d: number, e: bigint, f: number) => void;
10112
+ readonly cadaclysm_blacksmith_solid_point_inside: (a: number, b: number, c: number) => void;
10113
+ readonly cadaclysm_blacksmith_solid_process: (a: number, b: number, c: number, d: number) => void;
8721
10114
  readonly cadaclysm_blacksmith_solid_profile_hits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
10115
+ readonly cadaclysm_blacksmith_solid_properties: (a: number, b: number) => void;
10116
+ readonly cadaclysm_blacksmith_solid_purge_placement: (a: number, b: number, c: number, d: number) => void;
10117
+ readonly cadaclysm_blacksmith_solid_ray_hits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8722
10118
  readonly cadaclysm_blacksmith_solid_replace_faces: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8723
10119
  readonly cadaclysm_blacksmith_solid_reshape: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number) => void;
10120
+ readonly cadaclysm_blacksmith_solid_restrict_bsplines: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8724
10121
  readonly cadaclysm_blacksmith_solid_ruled_from_edges: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
8725
10122
  readonly cadaclysm_blacksmith_solid_section: (a: number, b: number, c: number, d: number) => void;
8726
10123
  readonly cadaclysm_blacksmith_solid_section_curves: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8740,7 +10137,10 @@ export interface InitOutput {
8740
10137
  readonly cadaclysm_blacksmith_solid_value_to_solid: (a: number, b: number, c: number, d: number) => void;
8741
10138
  readonly cadaclysm_blacksmith_solid_value_volume: (a: number, b: number, c: number, d: number) => void;
8742
10139
  readonly cadaclysm_blacksmith_solid_weld_bead: (a: number, b: number, c: number, d: number) => void;
10140
+ readonly cadaclysm_blacksmith_solid_with_file_properties: (a: number, b: number, c: number, d: number) => void;
10141
+ readonly cadaclysm_blacksmith_solid_with_property: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8743
10142
  readonly cadaclysm_blacksmith_solid_with_tolerances: (a: number, b: number, c: number, d: number) => void;
10143
+ readonly cadaclysm_blacksmith_solid_without_property: (a: number, b: number, c: number, d: number) => void;
8744
10144
  readonly cadaclysm_blacksmith_sphere: (a: number, b: number) => void;
8745
10145
  readonly cadaclysm_blacksmith_split: (a: number, b: number, c: number, d: number, e: number) => void;
8746
10146
  readonly cadaclysm_blacksmith_split_along_curve: (a: number, b: number, c: number, d: number) => void;
@@ -8767,6 +10167,23 @@ export interface InitOutput {
8767
10167
  readonly cadaclysm_blacksmith_stock_around: (a: number, b: number, c: number) => void;
8768
10168
  readonly cadaclysm_blacksmith_stock_box: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8769
10169
  readonly cadaclysm_blacksmith_stock_free: (a: number) => void;
10170
+ readonly cadaclysm_blacksmith_structure_add_edge: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
10171
+ readonly cadaclysm_blacksmith_structure_add_planes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
10172
+ readonly cadaclysm_blacksmith_structure_add_points: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
10173
+ readonly cadaclysm_blacksmith_structure_add_sketch_line: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => void;
10174
+ readonly cadaclysm_blacksmith_structure_body: (a: number, b: number, c: number) => void;
10175
+ readonly cadaclysm_blacksmith_structure_body_count: (a: number, b: number) => void;
10176
+ readonly cadaclysm_blacksmith_structure_corner: (a: number, b: number, c: number) => void;
10177
+ readonly cadaclysm_blacksmith_structure_corner_count: (a: number, b: number) => void;
10178
+ readonly cadaclysm_blacksmith_structure_corner_members: (a: number, b: number, c: number) => void;
10179
+ readonly cadaclysm_blacksmith_structure_cut_list: (a: number, b: number, c: number) => void;
10180
+ readonly cadaclysm_blacksmith_structure_free: (a: number) => void;
10181
+ readonly cadaclysm_blacksmith_structure_member: (a: number, b: number, c: number) => void;
10182
+ readonly cadaclysm_blacksmith_structure_member_count: (a: number, b: number) => void;
10183
+ readonly cadaclysm_blacksmith_structure_member_info: (a: number, b: number, c: number) => void;
10184
+ readonly cadaclysm_blacksmith_structure_member_tag: (a: number, b: number, c: number) => void;
10185
+ readonly cadaclysm_blacksmith_structure_new: (a: number, b: number) => void;
10186
+ readonly cadaclysm_blacksmith_structure_set_corner: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8770
10187
  readonly cadaclysm_blacksmith_styled: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8771
10188
  readonly cadaclysm_blacksmith_subd_cuboid: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8772
10189
  readonly cadaclysm_blacksmith_subd_cylinder: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8787,9 +10204,12 @@ export interface InitOutput {
8787
10204
  readonly cadaclysm_blacksmith_subd_sphere: (a: number, b: number, c: number) => void;
8788
10205
  readonly cadaclysm_blacksmith_subd_subdivide: (a: number, b: number, c: number, d: number) => void;
8789
10206
  readonly cadaclysm_blacksmith_subd_to_solid: (a: number, b: number, c: number, d: number, e: number) => void;
10207
+ readonly cadaclysm_blacksmith_subd_to_solid_with: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8790
10208
  readonly cadaclysm_blacksmith_subd_torus: (a: number, b: number, c: number, d: number, e: number) => void;
8791
10209
  readonly cadaclysm_blacksmith_subd_transform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8792
10210
  readonly cadaclysm_blacksmith_surface_faired: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
10211
+ readonly cadaclysm_blacksmith_surface_intersect: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10212
+ readonly cadaclysm_blacksmith_surface_intersect_curve: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8793
10213
  readonly cadaclysm_blacksmith_surface_value_closest_point: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8794
10214
  readonly cadaclysm_blacksmith_surface_value_domain: (a: number, b: number, c: number, d: number) => void;
8795
10215
  readonly cadaclysm_blacksmith_surface_value_normal_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8797,6 +10217,8 @@ export interface InitOutput {
8797
10217
  readonly cadaclysm_blacksmith_surface_value_point_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8798
10218
  readonly cadaclysm_blacksmith_svg_text: (a: number, b: number, c: number, d: number, e: number) => void;
8799
10219
  readonly cadaclysm_blacksmith_sweep: (a: number, b: number, c: number, d: number, e: number) => void;
10220
+ readonly cadaclysm_blacksmith_sweep_along: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10221
+ readonly cadaclysm_blacksmith_sweep_feature: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
8800
10222
  readonly cadaclysm_blacksmith_sweep_open: (a: number, b: number, c: number, d: number, e: number) => void;
8801
10223
  readonly cadaclysm_blacksmith_sweep_path_along: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8802
10224
  readonly cadaclysm_blacksmith_sweep_path_along_composite: (a: number, b: number, c: number) => void;
@@ -8872,20 +10294,47 @@ export interface InitOutput {
8872
10294
  readonly cadaclysm_blacksmith_triangle_circumcircle: (a: number, b: number, c: number) => void;
8873
10295
  readonly cadaclysm_blacksmith_triangle_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
8874
10296
  readonly cadaclysm_blacksmith_triangle_edge: (a: number, b: number, c: number, d: number) => void;
10297
+ readonly cadaclysm_blacksmith_triangle_mesh_boolean: (a: number, b: number, c: number, d: number) => void;
8875
10298
  readonly cadaclysm_blacksmith_triangle_mesh_bounds: (a: number, b: number) => void;
10299
+ readonly cadaclysm_blacksmith_triangle_mesh_box: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8876
10300
  readonly cadaclysm_blacksmith_triangle_mesh_check: (a: number, b: number) => void;
10301
+ readonly cadaclysm_blacksmith_triangle_mesh_clash: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8877
10302
  readonly cadaclysm_blacksmith_triangle_mesh_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
10303
+ readonly cadaclysm_blacksmith_triangle_mesh_collapse_short_edges: (a: number, b: number, c: number) => void;
10304
+ readonly cadaclysm_blacksmith_triangle_mesh_cone: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10305
+ readonly cadaclysm_blacksmith_triangle_mesh_contains: (a: number, b: number, c: number, d: number, e: number) => void;
8878
10306
  readonly cadaclysm_blacksmith_triangle_mesh_curve_closest_points: (a: number, b: number, c: number, d: number) => void;
10307
+ readonly cadaclysm_blacksmith_triangle_mesh_cylinder: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10308
+ readonly cadaclysm_blacksmith_triangle_mesh_extrusion: (a: number, b: number, c: number, d: number, e: number) => void;
8879
10309
  readonly cadaclysm_blacksmith_triangle_mesh_fill_holes: (a: number, b: number, c: number) => void;
8880
10310
  readonly cadaclysm_blacksmith_triangle_mesh_free: (a: number) => void;
10311
+ readonly cadaclysm_blacksmith_triangle_mesh_from_polylines: (a: number, b: number, c: number, d: number, e: number) => void;
10312
+ readonly cadaclysm_blacksmith_triangle_mesh_heal_naked_edges: (a: number, b: number, c: number) => void;
10313
+ readonly cadaclysm_blacksmith_triangle_mesh_ico_sphere: (a: number, b: number, c: number, d: number, e: number) => void;
8881
10314
  readonly cadaclysm_blacksmith_triangle_mesh_indices: (a: number, b: number) => void;
10315
+ readonly cadaclysm_blacksmith_triangle_mesh_line_hits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8882
10316
  readonly cadaclysm_blacksmith_triangle_mesh_new: (a: number, b: number, c: number, d: number, e: number) => void;
10317
+ readonly cadaclysm_blacksmith_triangle_mesh_normal_at: (a: number, b: number, c: number, d: number, e: number) => void;
10318
+ readonly cadaclysm_blacksmith_triangle_mesh_offset: (a: number, b: number, c: number) => void;
10319
+ readonly cadaclysm_blacksmith_triangle_mesh_pipe: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10320
+ readonly cadaclysm_blacksmith_triangle_mesh_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
10321
+ readonly cadaclysm_blacksmith_triangle_mesh_plane_section: (a: number, b: number, c: number, d: number) => void;
10322
+ readonly cadaclysm_blacksmith_triangle_mesh_point_at: (a: number, b: number, c: number, d: number, e: number) => void;
10323
+ readonly cadaclysm_blacksmith_triangle_mesh_polyline_hits: (a: number, b: number, c: number, d: number) => void;
8883
10324
  readonly cadaclysm_blacksmith_triangle_mesh_positions: (a: number, b: number) => void;
10325
+ readonly cadaclysm_blacksmith_triangle_mesh_quad_sphere: (a: number, b: number, c: number, d: number, e: number) => void;
10326
+ readonly cadaclysm_blacksmith_triangle_mesh_reduce: (a: number, b: number, c: number) => void;
8884
10327
  readonly cadaclysm_blacksmith_triangle_mesh_repair: (a: number, b: number, c: number) => void;
8885
10328
  readonly cadaclysm_blacksmith_triangle_mesh_self_intersections: (a: number, b: number) => void;
8886
10329
  readonly cadaclysm_blacksmith_triangle_mesh_shell: (a: number, b: number, c: number, d: number) => void;
8887
10330
  readonly cadaclysm_blacksmith_triangle_mesh_smooth: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10331
+ readonly cadaclysm_blacksmith_triangle_mesh_sphere: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10332
+ readonly cadaclysm_blacksmith_triangle_mesh_split: (a: number, b: number, c: number) => void;
10333
+ readonly cadaclysm_blacksmith_triangle_mesh_subdivide: (a: number, b: number, c: number, d: number) => void;
10334
+ readonly cadaclysm_blacksmith_triangle_mesh_torus: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8888
10335
  readonly cadaclysm_blacksmith_triangle_mesh_triangle_count: (a: number, b: number) => void;
10336
+ readonly cadaclysm_blacksmith_triangle_mesh_unweld: (a: number, b: number, c: number) => void;
10337
+ readonly cadaclysm_blacksmith_triangle_mesh_unwrap: (a: number, b: number, c: number) => void;
8889
10338
  readonly cadaclysm_blacksmith_triangle_mesh_vertex_count: (a: number, b: number) => void;
8890
10339
  readonly cadaclysm_blacksmith_triangle_perimeter: (a: number, b: number, c: number) => void;
8891
10340
  readonly cadaclysm_blacksmith_triangle_point_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8894,6 +10343,10 @@ export interface InitOutput {
8894
10343
  readonly cadaclysm_blacksmith_trim_by_curve: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8895
10344
  readonly cadaclysm_blacksmith_unchamfer: (a: number, b: number, c: number) => void;
8896
10345
  readonly cadaclysm_blacksmith_unfillet: (a: number, b: number, c: number) => void;
10346
+ readonly cadaclysm_blacksmith_units_convert: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10347
+ readonly cadaclysm_blacksmith_units_evaluate: (a: number, b: number, c: number, d: number, e: number) => void;
10348
+ readonly cadaclysm_blacksmith_units_format: (a: number, b: number, c: number, d: number, e: number) => void;
10349
+ readonly cadaclysm_blacksmith_units_list: (a: number) => void;
8897
10350
  readonly cadaclysm_blacksmith_unpaired_edges: (a: number, b: number, c: number) => void;
8898
10351
  readonly cadaclysm_blacksmith_unroll: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
8899
10352
  readonly cadaclysm_blacksmith_unrolled_curve_piece: (a: number, b: number, c: number, d: number) => void;
@@ -8911,6 +10364,7 @@ export interface InitOutput {
8911
10364
  readonly cadaclysm_blacksmith_value_check: (a: number, b: number, c: number, d: number) => void;
8912
10365
  readonly cadaclysm_blacksmith_value_size: (a: number, b: number) => void;
8913
10366
  readonly cadaclysm_blacksmith_value_transform: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10367
+ readonly cadaclysm_blacksmith_varsweep: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8914
10368
  readonly cadaclysm_blacksmith_version: (a: number) => void;
8915
10369
  readonly cadaclysm_blacksmith_vertex_count: (a: number, b: number) => void;
8916
10370
  readonly cadaclysm_blacksmith_vertex_ref: (a: number, b: number, c: number) => void;
@@ -8942,6 +10396,7 @@ export interface InitOutput {
8942
10396
  readonly cadaclysm_blacksmith_without_face_attribute: (a: number, b: number, c: number, d: number, e: number) => void;
8943
10397
  readonly cadaclysm_blacksmith_without_pmi: (a: number, b: number, c: number) => void;
8944
10398
  readonly cadaclysm_blacksmith_without_pmi_view: (a: number, b: number, c: number) => void;
10399
+ readonly cadaclysm_blacksmith_wrap: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8945
10400
  readonly checkColourBy: (a: number, b: number, c: number, d: number) => void;
8946
10401
  readonly checkMoveNamed: (a: number, b: number, c: number, d: number, e: number) => void;
8947
10402
  readonly gestures_feed: (a: number, b: number, c: number) => void;
@@ -8976,7 +10431,7 @@ export interface InitOutput {
8976
10431
  readonly mechanismmotion_id: (a: number) => number;
8977
10432
  readonly mechanismmotion_track: (a: number) => number;
8978
10433
  readonly mechanismmotion_valuesJson: (a: number, b: number, c: number) => void;
8979
- readonly open: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
10434
+ readonly open: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
8980
10435
  readonly parseColour: (a: number, b: number, c: number) => void;
8981
10436
  readonly parseMachiningOptions: (a: number, b: number) => void;
8982
10437
  readonly parseMotionOptions: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -9046,6 +10501,7 @@ export interface InitOutput {
9046
10501
  readonly view_clothGpu: (a: number) => number;
9047
10502
  readonly view_clothHealth: (a: number, b: number, c: number) => void;
9048
10503
  readonly view_clothPositions: (a: number, b: number, c: number) => void;
10504
+ readonly view_clothTrimsItem: (a: number, b: number, c: number) => void;
9049
10505
  readonly view_create: (a: number, b: number) => number;
9050
10506
  readonly view_curveColour: (a: number, b: number) => void;
9051
10507
  readonly view_dolly: (a: number, b: number, c: number) => void;
@@ -9149,6 +10605,7 @@ export interface InitOutput {
9149
10605
  readonly view_setWorkPlane: (a: number, b: number, c: number) => void;
9150
10606
  readonly view_setXray: (a: number, b: number, c: number, d: number) => void;
9151
10607
  readonly view_showCloth: (a: number, b: number, c: number, d: number) => void;
10608
+ readonly view_showClothTrims: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9152
10609
  readonly view_showCurves: (a: number, b: number, c: number, d: number) => void;
9153
10610
  readonly view_showExact: (a: number, b: number, c: number) => void;
9154
10611
  readonly view_showGlyphs: (a: number, b: number, c: number, d: number) => void;
@@ -9188,17 +10645,17 @@ export interface InitOutput {
9188
10645
  readonly cadaclysm_blacksmith_build_date: (a: number) => void;
9189
10646
  readonly version: (a: number) => void;
9190
10647
  readonly start: () => void;
9191
- readonly __wasm_bindgen_func_elem_30174: (a: number, b: number, c: number, d: number) => void;
9192
- readonly __wasm_bindgen_func_elem_9546: (a: number, b: number, c: number, d: number) => void;
9193
- readonly __wasm_bindgen_func_elem_9546_7: (a: number, b: number, c: number, d: number) => void;
9194
- readonly __wasm_bindgen_func_elem_9546_8: (a: number, b: number, c: number, d: number) => void;
9195
- readonly __wasm_bindgen_func_elem_30195: (a: number, b: number, c: number, d: number) => void;
9196
- readonly __wasm_bindgen_func_elem_1022: (a: number, b: number, c: number) => number;
9197
- readonly __wasm_bindgen_func_elem_7607: (a: number, b: number, c: number) => number;
9198
- readonly __wasm_bindgen_func_elem_9551: (a: number, b: number, c: number) => void;
9199
- readonly __wasm_bindgen_func_elem_9551_5: (a: number, b: number, c: number) => void;
9200
- readonly __wasm_bindgen_func_elem_1024: (a: number, b: number, c: number) => void;
9201
- readonly __wasm_bindgen_func_elem_1026: (a: number, b: number) => void;
10648
+ readonly __wasm_bindgen_func_elem_33006: (a: number, b: number, c: number, d: number) => void;
10649
+ readonly __wasm_bindgen_func_elem_10099: (a: number, b: number, c: number, d: number) => void;
10650
+ readonly __wasm_bindgen_func_elem_10099_7: (a: number, b: number, c: number, d: number) => void;
10651
+ readonly __wasm_bindgen_func_elem_10099_8: (a: number, b: number, c: number, d: number) => void;
10652
+ readonly __wasm_bindgen_func_elem_33027: (a: number, b: number, c: number, d: number) => void;
10653
+ readonly __wasm_bindgen_func_elem_1038: (a: number, b: number, c: number) => number;
10654
+ readonly __wasm_bindgen_func_elem_8184: (a: number, b: number, c: number) => number;
10655
+ readonly __wasm_bindgen_func_elem_10104: (a: number, b: number, c: number) => void;
10656
+ readonly __wasm_bindgen_func_elem_10104_5: (a: number, b: number, c: number) => void;
10657
+ readonly __wasm_bindgen_func_elem_1040: (a: number, b: number, c: number) => void;
10658
+ readonly __wasm_bindgen_func_elem_1042: (a: number, b: number) => void;
9202
10659
  readonly __wbindgen_export: (a: number, b: number) => number;
9203
10660
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
9204
10661
  readonly __wbindgen_export3: (a: number) => void;