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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
@@ -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
@@ -2163,6 +2185,41 @@ 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
+ * [`cadaclysm_blacksmith_assembly_expand`](../cadaclysm_blacksmith_capi): how many placements
2190
+ * were expanded; `placement` `undefined`/`null` expands every compound part in the tree.
2191
+ */
2192
+ export function cadaclysm_blacksmith_assembly_expand(assembly: number, placement?: string | null): number;
2193
+
2194
+ /**
2195
+ * Exploded view `explode` as a new animation handle, as C's `assembly_explode_animation`.
2196
+ */
2197
+ export function cadaclysm_blacksmith_assembly_explode_animation(assembly: number, explode: string, seconds_per_step: number): number;
2198
+
2199
+ /**
2200
+ * Appends a step to `assembly`'s exploded view `explode`, as C's `assembly_explode_step`:
2201
+ * `components` placement paths, `kind` 0 translate / 1 rotate / 2 radial, `direction` 3
2202
+ * numbers, `pivot` null or 3 numbers; answers the step's index.
2203
+ */
2204
+ export function cadaclysm_blacksmith_assembly_explode_step(assembly: number, explode: string, components: string[], kind: number, direction: Float64Array, pivot: Float64Array | null | undefined, amount: number): number;
2205
+
2206
+ /**
2207
+ * How many steps exploded view `explode` has, as C's `assembly_explode_step_count`.
2208
+ */
2209
+ export function cadaclysm_blacksmith_assembly_explode_step_count(assembly: number, explode: string): number;
2210
+
2211
+ /**
2212
+ * Solid `part`'s explode line in exploded view `explode`, as C's `assembly_explode_trail`:
2213
+ * 3 numbers a point.
2214
+ */
2215
+ export function cadaclysm_blacksmith_assembly_explode_trail(assembly: number, explode: string, part: number): Float64Array;
2216
+
2217
+ /**
2218
+ * Every solid's placement at `t` of exploded view `explode`, as C's
2219
+ * `assembly_exploded_placements`: 12 numbers a solid, in `assembly_parts`' order.
2220
+ */
2221
+ export function cadaclysm_blacksmith_assembly_exploded_placements(assembly: number, explode: string, t: number): Float64Array;
2222
+
2166
2223
  /**
2167
2224
  * Releases one handle to the assembly. Does **not** free the assembly itself
2168
2225
  * if it is still placed somewhere else: `Assembly` is `Arc`-shared, as the C
@@ -2248,6 +2305,11 @@ export function cadaclysm_blacksmith_assembly_posed(assembly: number, joints: st
2248
2305
  */
2249
2306
  export function cadaclysm_blacksmith_assembly_posed_placements(assembly: number, joints: string[], counts: Uint32Array, values: Float64Array, state?: string | null, ground?: string | null): Float64Array;
2250
2307
 
2308
+ /**
2309
+ * [`cadaclysm_blacksmith_assembly_rescale`](../cadaclysm_blacksmith_capi).
2310
+ */
2311
+ export function cadaclysm_blacksmith_assembly_rescale(assembly: number, factor: number): void;
2312
+
2251
2313
  /**
2252
2314
  * [`cadaclysm_blacksmith_assembly_sequence`](../cadaclysm_blacksmith_capi): `states`,
2253
2315
  * `ts` and `interpolations` one entry per segment.
@@ -2299,6 +2361,14 @@ export function cadaclysm_blacksmith_attribute_keys(solid: number): string[];
2299
2361
  */
2300
2362
  export function cadaclysm_blacksmith_attribute_values(solid: number): string[];
2301
2363
 
2364
+ export function cadaclysm_blacksmith_axis_normal(solid: number, face: number, point: Float64Array): Float64Array;
2365
+
2366
+ export function cadaclysm_blacksmith_axis_of_edge(solid: number, edge: number): Float64Array;
2367
+
2368
+ export function cadaclysm_blacksmith_axis_of_face(solid: number, face: number): Float64Array;
2369
+
2370
+ export function cadaclysm_blacksmith_axis_of_planes(a: Float64Array, b: Float64Array): Float64Array;
2371
+
2302
2372
  /**
2303
2373
  * A sheet spanning from `a`'s side to `b`'s, as C's `blend_sides`.
2304
2374
  */
@@ -2310,6 +2380,14 @@ export function cadaclysm_blacksmith_blend_sides(a: number, face_a: number, side
2310
2380
  */
2311
2381
  export function cadaclysm_blacksmith_body_draft(solid: number, edges: Uint32Array, pull: Float64Array, above: number, below: number, tolerance: number): number;
2312
2382
 
2383
+ /**
2384
+ * `targets` combined with `tools` by `op` (0 join, 1 cut, 2 common), as C's `boolean_many`: the
2385
+ * new solid handles (one for a join, one per target otherwise). Where any body failed it throws
2386
+ * C's combined `last_error` (`boolean_many: target i: ...`), the bodies that did come back
2387
+ * freed -- C's NULL entries have no handle to stand for them.
2388
+ */
2389
+ export function cadaclysm_blacksmith_boolean_many(targets: Uint32Array, tools: Uint32Array, op: number, tolerance: number): Uint32Array;
2390
+
2313
2391
  export function cadaclysm_blacksmith_bounds(solid: number, tolerance: number): Float64Array;
2314
2392
 
2315
2393
  /**
@@ -2368,8 +2446,30 @@ export function cadaclysm_blacksmith_build(): string;
2368
2446
  */
2369
2447
  export function cadaclysm_blacksmith_build_date(): string;
2370
2448
 
2449
+ /**
2450
+ * Cell `index` of `solid` as a closed solid, as C's `cell`.
2451
+ */
2452
+ export function cadaclysm_blacksmith_cell(solid: number, index: number): number;
2453
+
2454
+ /**
2455
+ * How many cells `solid` holds, as C's `cell_count`.
2456
+ */
2457
+ export function cadaclysm_blacksmith_cell_count(solid: number): number;
2458
+
2371
2459
  export function cadaclysm_blacksmith_chamfer(solid: number, edges: Uint32Array, distance: number, tolerance: number): number;
2372
2460
 
2461
+ /**
2462
+ * The edges cut back `distance` along face `face`, the bevel leaving it at `angle`, as C's
2463
+ * `chamfer_angle`: the solid handle.
2464
+ */
2465
+ export function cadaclysm_blacksmith_chamfer_angle(solid: number, edges: Uint32Array, face: number, distance: number, angle: number, tolerance: number): number;
2466
+
2467
+ /**
2468
+ * The edges cut back `distance` along face `face` and `distance_other` along their other faces,
2469
+ * as C's `chamfer_two_distances`: the solid handle.
2470
+ */
2471
+ export function cadaclysm_blacksmith_chamfer_two_distances(solid: number, edges: Uint32Array, face: number, distance: number, distance_other: number, tolerance: number): number;
2472
+
2373
2473
  /**
2374
2474
  * What is wrong with `a` (and `b`, 0 for none) as the arguments of `operation` (absent or
2375
2475
  * empty for none), as a check handle: read it with `check_count` / `check_finding`,
@@ -2529,6 +2629,14 @@ export function cadaclysm_blacksmith_cloth_positions(h: number): Float32Array;
2529
2629
  */
2530
2630
  export function cadaclysm_blacksmith_cloth_remesh_pattern(h: number, g: number, pattern: number): void;
2531
2631
 
2632
+ /**
2633
+ * `cloth_remesh_pattern` that also replaces every trim with `placements` and `templates`, laid
2634
+ * out as for `cloth_set_trims` (pass the edited garment's `garment_trim_instances`). Valid at
2635
+ * any frame. A placement off its piece is dropped with every placement of its trim and named
2636
+ * by `cloth_skipped_trims`; a bad record or template throws, changing nothing.
2637
+ */
2638
+ export function cadaclysm_blacksmith_cloth_remesh_pattern_trims(h: number, g: number, pattern: number, placements: Float64Array, templates: Float64Array): void;
2639
+
2532
2640
  /**
2533
2641
  * Each sim vertex's arranged start position in 3D, xyz triples in mm (a `Float32Array` copy).
2534
2642
  * `cloth_remesh_pattern` changes the counts.
@@ -2541,6 +2649,27 @@ export function cadaclysm_blacksmith_cloth_rest(h: number): Float32Array;
2541
2649
  */
2542
2650
  export function cadaclysm_blacksmith_cloth_set_options(h: number, options: Float64Array): void;
2543
2651
 
2652
+ /**
2653
+ * Sets the cloth's trims, once, before the first step: `placements` 8 numbers each, `{trim,
2654
+ * pattern, x, y, angle, offset, template, mass}` (the rest of a `garment_trim_instances` record
2655
+ * with `template` an index into `templates`); `templates` one after another, `{n,
2656
+ * positions[3n], normals[3n], m, indices[m]}` (mm, the template's frame, +z out of the cloth's
2657
+ * front). Each placement's mass weighs the particles under it. Throws on a refusal (no trims
2658
+ * kept).
2659
+ */
2660
+ export function cadaclysm_blacksmith_cloth_set_trims(h: number, placements: Float64Array, templates: Float64Array): void;
2661
+
2662
+ /**
2663
+ * Why the `i`-th of `cloth_skipped_trims` was dropped; throws past them.
2664
+ */
2665
+ export function cadaclysm_blacksmith_cloth_skipped_trim_reason(h: number, i: number): string;
2666
+
2667
+ /**
2668
+ * The garment trims the latest re-mesh dropped because they no longer fit, once each (a
2669
+ * `Uint32Array` copy).
2670
+ */
2671
+ export function cadaclysm_blacksmith_cloth_skipped_trims(h: number): Uint32Array;
2672
+
2544
2673
  /**
2545
2674
  * The status: 8 doubles `{frame, vertices, triangles, seam_pairs, welded_pairs, non_finite,
2546
2675
  * dropped, max_speed}`. `seam_pairs` is the seam pairs in the sim mesh: sewing is done when
@@ -2604,6 +2733,22 @@ export function cadaclysm_blacksmith_cloth_tape_path(positions: Float64Array, in
2604
2733
  */
2605
2734
  export function cadaclysm_blacksmith_cloth_triangles(h: number): Uint32Array;
2606
2735
 
2736
+ /**
2737
+ * The trims' triangles, index triples into `cloth_trim_vertices` (a `Uint32Array` copy).
2738
+ */
2739
+ export function cadaclysm_blacksmith_cloth_trim_indices(h: number): Uint32Array;
2740
+
2741
+ /**
2742
+ * The trim vertices (0 without trims).
2743
+ */
2744
+ export function cadaclysm_blacksmith_cloth_trim_vertex_count(h: number): number;
2745
+
2746
+ /**
2747
+ * Every trim vertex placed for the current positions (a `Float32Array` copy): the xyz
2748
+ * positions, 3 per vertex, then the normals, 3 per vertex.
2749
+ */
2750
+ export function cadaclysm_blacksmith_cloth_trim_vertices(h: number): Float32Array;
2751
+
2607
2752
  /**
2608
2753
  * Releases a pin. Throws for a vertex that is not a sim vertex.
2609
2754
  */
@@ -2779,6 +2924,11 @@ export function cadaclysm_blacksmith_composite_curve_projected(curve: number, so
2779
2924
  */
2780
2925
  export function cadaclysm_blacksmith_composite_curve_to_nurbs(curve: number): number;
2781
2926
 
2927
+ /**
2928
+ * `solids` as one compsolid, each shared face kept once as a wall, as C's `compsolid`.
2929
+ */
2930
+ export function cadaclysm_blacksmith_compsolid(solids: Uint32Array, tolerance: number): number;
2931
+
2782
2932
  export function cadaclysm_blacksmith_cone(r: number, h: number): number;
2783
2933
 
2784
2934
  /**
@@ -2793,6 +2943,12 @@ export function cadaclysm_blacksmith_contact_settle(driver: number, driver_pivot
2793
2943
  */
2794
2944
  export function cadaclysm_blacksmith_contains(solid: number, point: Float64Array, tolerance: number): number;
2795
2945
 
2946
+ /**
2947
+ * The free edges of `solids` running along one another, as C's `contiguous_edges`: nine
2948
+ * numbers a row, no count call.
2949
+ */
2950
+ export function cadaclysm_blacksmith_contiguous_edges(solids: Uint32Array, tolerance: number): Float64Array;
2951
+
2796
2952
  /**
2797
2953
  * How well two faces meet along their sides, as C's `continuity`: `continuity_doubles`' 13 numbers.
2798
2954
  */
@@ -2853,6 +3009,12 @@ export function cadaclysm_blacksmith_curve_value_tangent_at(kind: number, value:
2853
3009
  */
2854
3010
  export function cadaclysm_blacksmith_curve_value_to_nurbs(kind: number, value: Float64Array): number;
2855
3011
 
3012
+ /**
3013
+ * The pieces of `curves` inside (`op` 2) or outside (`op` 0, 1) the closed `solid`, as C's
3014
+ * `curves_boolean`: `{ curves, info }` (`curve_list_object`).
3015
+ */
3016
+ export function cadaclysm_blacksmith_curves_boolean(solid: number, curves: Uint32Array, op: number, tolerance: number): any;
3017
+
2856
3018
  export function cadaclysm_blacksmith_cut(a: number, b: number, tolerance: number, progress?: Function | null): number;
2857
3019
 
2858
3020
  /**
@@ -2917,6 +3079,14 @@ export function cadaclysm_blacksmith_document_branch_rename(doc: number, old: st
2917
3079
  */
2918
3080
  export function cadaclysm_blacksmith_document_branch_switch(doc: number, name_or_commit_id: string): string;
2919
3081
 
3082
+ /**
3083
+ * Every linked component and jig against its source, as C's `document_check_links_from`: `sources` is
3084
+ * a JSON object `{path: text | null}` keyed by the links' paths (a page has no file system, so
3085
+ * it fetches or picks the files; null or absent is missing). A JSON list of `{name, path,
3086
+ * auto_update, status, hash, source_hash?, message?}`; nothing changes.
3087
+ */
3088
+ export function cadaclysm_blacksmith_document_check_links_from(doc: number, sources: string): string;
3089
+
2920
3090
  /**
2921
3091
  * The history started again from the document as it is: undo has nothing to take back, the head
2922
3092
  * is `c0`. Throws while a batch, a preview or a probe is open.
@@ -3124,8 +3294,20 @@ export function cadaclysm_blacksmith_document_tips(doc: number): string;
3124
3294
  */
3125
3295
  export function cadaclysm_blacksmith_document_undo(doc: number): string;
3126
3296
 
3297
+ /**
3298
+ * Replaces linked copies from the sources handed in, one commit, as C's
3299
+ * `document_update_links_from`: `name` (none or empty: every changed link), `auto_only`, `message`
3300
+ * (none or empty: "update links"). `{links: [..., each with updated], changed: {...}}`.
3301
+ */
3302
+ export function cadaclysm_blacksmith_document_update_links_from(doc: number, sources: string, name: string | null | undefined, auto_only: boolean, message?: string | null): string;
3303
+
3127
3304
  export function cadaclysm_blacksmith_document_value(doc: number, id: string): string;
3128
3305
 
3306
+ /**
3307
+ * The body with a dome on planar face `face`, as C's `dome`: the solid handle.
3308
+ */
3309
+ export function cadaclysm_blacksmith_dome(solid: number, face: number, height: number, shape: number, inward: boolean, tolerance: number): number;
3310
+
3129
3311
  /**
3130
3312
  * Faces `faces` of `solid` drafted to `angle` (radians) about the neutral plane `plane` (a frame,
3131
3313
  * 12 numbers; z the pull), as C's `draft`.
@@ -3145,6 +3327,11 @@ export function cadaclysm_blacksmith_draft_analysis(solid: number, pull: Float64
3145
3327
  */
3146
3328
  export function cadaclysm_blacksmith_draft_angle_at(solid: number, face: number, point: Float64Array, pull: Float64Array): Float64Array;
3147
3329
 
3330
+ /**
3331
+ * The draft sheet of `profile` (see the C `draft_sheet`); `stop` a solid's handle or none.
3332
+ */
3333
+ export function cadaclysm_blacksmith_draft_sheet(profile: number, frame: Float64Array, angle: number, length: number, stop: number | null | undefined, tolerance: number): number;
3334
+
3148
3335
  /**
3149
3336
  * Faces `faces` of `solid` drafted both ways from the neutral plane `plane`, `above` against
3150
3337
  * its z and `below` against -z, as C's `draft_two_sided`.
@@ -3233,6 +3420,12 @@ export function cadaclysm_blacksmith_edge_id(solid: number, edge: number): bigin
3233
3420
  */
3234
3421
  export function cadaclysm_blacksmith_edge_inner_point(solid: number, edge: number): Float64Array;
3235
3422
 
3423
+ /**
3424
+ * Whether edge `edge` is tolerant above `threshold`, as C's `edge_is_tolerant`: 1 or 0; throws
3425
+ * where C returns -1.
3426
+ */
3427
+ export function cadaclysm_blacksmith_edge_is_tolerant(solid: number, edge: number, threshold: number): number;
3428
+
3236
3429
  /**
3237
3430
  * Edge `edge` of `solid` (the index `edge` and `fillet` use), its length to a relative `accuracy`
3238
3431
  * (0 or less: the default), as `length_doubles`. Throws for an index past the end or an edge with
@@ -3302,6 +3495,13 @@ export function cadaclysm_blacksmith_edges_coloured(solid: number, edges: Uint32
3302
3495
  */
3303
3496
  export function cadaclysm_blacksmith_edges_convexity(solid: number, angular_tolerance: number): Uint32Array;
3304
3497
 
3498
+ /**
3499
+ * The edges `edges` of `solid` as one wire, as C's `edges_mass`: `length_mass_doubles`' 33.
3500
+ * Throws for no edges, an edge past the end or named twice, an edge with no exact curve, and an
3501
+ * accuracy that is a NaN or infinite.
3502
+ */
3503
+ export function cadaclysm_blacksmith_edges_mass(solid: number, edges: Uint32Array, accuracy: number): Float64Array;
3504
+
3305
3505
  /**
3306
3506
  * The tolerance a verb given 0 or NaN works at over `solids` (see the C call): 0 for none.
3307
3507
  */
@@ -3309,12 +3509,28 @@ export function cadaclysm_blacksmith_effective_tolerance(solids: Uint32Array): n
3309
3509
 
3310
3510
  export function cadaclysm_blacksmith_ellipse_from_circle(value: Float64Array): Float64Array;
3311
3511
 
3512
+ /**
3513
+ * The least distance between two chosen entities, as C's `entity_distance`: thirteen numbers.
3514
+ */
3515
+ 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;
3516
+
3517
+ /**
3518
+ * `spine` evolved by `profile` (see the C `evolved`).
3519
+ */
3520
+ export function cadaclysm_blacksmith_evolved(spine: number, frame: Float64Array, profile: number, closed: boolean, join: number, tolerance: number): number;
3521
+
3312
3522
  export function cadaclysm_blacksmith_extrude(profile: number, frame: Float64Array, height: number): number;
3313
3523
 
3314
3524
  export function cadaclysm_blacksmith_extrude_between(profile: number, frame: Float64Array, bottom: Float64Array, top: Float64Array): number;
3315
3525
 
3316
3526
  export function cadaclysm_blacksmith_extrude_faces(sheet: number, height: number): number;
3317
3527
 
3528
+ /**
3529
+ * `profile` extruded as a feature (see the C `extrude_feature`); `target` and `bound` a
3530
+ * solid's handle or none.
3531
+ */
3532
+ export function cadaclysm_blacksmith_extrude_feature(profile: number, frame: Float64Array, spec: Float64Array, target: number | null | undefined, bound: number | null | undefined, tolerance: number): number;
3533
+
3318
3534
  export function cadaclysm_blacksmith_extrude_open(profile: number, frame: Float64Array, height: number): number;
3319
3535
 
3320
3536
  export function cadaclysm_blacksmith_extrude_open_between(profile: number, frame: Float64Array, bottom: Float64Array, top: Float64Array): number;
@@ -3365,6 +3581,17 @@ export function cadaclysm_blacksmith_face_count(solid: number): number;
3365
3581
 
3366
3582
  export function cadaclysm_blacksmith_face_frame(solid: number, face: number): Float64Array;
3367
3583
 
3584
+ /**
3585
+ * Face `face`'s surface as data, as C's `face_geometry`: sixteen numbers, the kind, a frame,
3586
+ * `a`, `b`, `reversed`.
3587
+ */
3588
+ export function cadaclysm_blacksmith_face_geometry(solid: number, face: number): Float64Array;
3589
+
3590
+ /**
3591
+ * The profile of a revolution or extrusion face, as C's `face_geometry_profile`.
3592
+ */
3593
+ export function cadaclysm_blacksmith_face_geometry_profile(solid: number, face: number): number;
3594
+
3368
3595
  /**
3369
3596
  * Face `face`'s id, 0 where `solid` is untracked; throws for a face it does not have.
3370
3597
  */
@@ -3420,6 +3647,15 @@ export function cadaclysm_blacksmith_face_size(solid: number, face: number): Flo
3420
3647
  */
3421
3648
  export function cadaclysm_blacksmith_face_with_id(solid: number, id: bigint): number;
3422
3649
 
3650
+ /**
3651
+ * The faces `faces` of `solid` as one thin shell, as C's `faces_mass`: **32 doubles**,
3652
+ * `CadaclysmBlacksmithAreaMass`'s field order -- `area`, `area_error`, `centroid` 3,
3653
+ * `centroid_error`, `inertia` 9 (row-major), `inertia_error`, `principal_moments` 3,
3654
+ * `principal_axes` 9, `radii` 3 and `accuracy_met` as 1 or 0. Throws for no faces, a face past
3655
+ * the end or named twice, and an accuracy that is a NaN or infinite.
3656
+ */
3657
+ export function cadaclysm_blacksmith_faces_mass(solid: number, faces: Uint32Array, accuracy: number): Float64Array;
3658
+
3423
3659
  /**
3424
3660
  * One solid meshed for a solver: nodes welded by bits, triangles wound outward, each node
3425
3661
  * tagged with the lowest-dimension B-rep entity it lies on, and every crack reported rather
@@ -3540,6 +3776,13 @@ export function cadaclysm_blacksmith_fem_mesh_view(m: number): any;
3540
3776
  */
3541
3777
  export function cadaclysm_blacksmith_fill_cells(bodies: Uint32Array, points: Float64Array, fuse: boolean, tolerance: number): number;
3542
3778
 
3779
+ /**
3780
+ * The tool copied over planar face `face` on a grid, as C's `fill_pattern`: `[solid, instances,
3781
+ * skipped, booleans, missed]` (C's `counts_out` returned beside the handle); `origin` absent for
3782
+ * the face's boundary centroid.
3783
+ */
3784
+ 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;
3785
+
3543
3786
  export function cadaclysm_blacksmith_fillet(solid: number, edges: Uint32Array, radius: number, tolerance: number, progress?: Function | null): number;
3544
3787
 
3545
3788
  /**
@@ -3658,6 +3901,12 @@ export function cadaclysm_blacksmith_flat_pattern_form_outline(h: number, i: num
3658
3901
  */
3659
3902
  export function cadaclysm_blacksmith_flat_pattern_form_point_count(h: number, i: number): number;
3660
3903
 
3904
+ /**
3905
+ * The flat blank with formed features `forms` left standing (every form when empty), as C's
3906
+ * `flat_pattern_formed_body`: a new solid handle.
3907
+ */
3908
+ export function cadaclysm_blacksmith_flat_pattern_formed_body(h: number, forms: Uint32Array, tolerance: number): number;
3909
+
3661
3910
  /**
3662
3911
  * The flat's frame: 12 numbers.
3663
3912
  */
@@ -3676,12 +3925,20 @@ export function cadaclysm_blacksmith_flat_pattern_profile(h: number): number;
3676
3925
  */
3677
3926
  export function cadaclysm_blacksmith_flat_pattern_trim(h: number, relief: number, relief_size: number, corner_break: number, break_size: number, tolerance: number): number;
3678
3927
 
3928
+ /**
3929
+ * The solid with the faces `faces` turned the other side out (all of them when empty), as C's
3930
+ * `flip_faces`: the solid handle.
3931
+ */
3932
+ export function cadaclysm_blacksmith_flip_faces(solid: number, faces: Uint32Array): number;
3933
+
3679
3934
  /**
3680
3935
  * A flat outline folded, as C's `fold_flat`: `bends` 7 numbers a bend (`line (4), angle,
3681
3936
  * radius, k_factor`).
3682
3937
  */
3683
3938
  export function cadaclysm_blacksmith_fold_flat(profile: number, frame: Float64Array, bends: Float64Array, rule: Float64Array, tolerance: number): number;
3684
3939
 
3940
+ export function cadaclysm_blacksmith_frame_at_angle(solid: number, edge: number, angle: number, face: number): Float64Array;
3941
+
3685
3942
  /**
3686
3943
  * 13 numbers: the frame, then the largest distance a point sits off it (C's `deviation_out`).
3687
3944
  */
@@ -3689,8 +3946,14 @@ export function cadaclysm_blacksmith_frame_fit(xyz: Float64Array): Float64Array;
3689
3946
 
3690
3947
  export function cadaclysm_blacksmith_frame_midplane(a: Float64Array, b: Float64Array): Float64Array;
3691
3948
 
3949
+ export function cadaclysm_blacksmith_frame_normal_to_edge(solid: number, edge: number, length: number): Float64Array;
3950
+
3951
+ export function cadaclysm_blacksmith_frame_tangent(solid: number, face: number, point: Float64Array): Float64Array;
3952
+
3692
3953
  export function cadaclysm_blacksmith_frame_through(p: Float64Array, q: Float64Array, r: Float64Array): Float64Array;
3693
3954
 
3955
+ export function cadaclysm_blacksmith_frame_through_edges(solid: number, edge_a: number, edge_b: number): Float64Array;
3956
+
3694
3957
  /**
3695
3958
  * The mesh of `positions` (x, y, z per vertex) and `indices` (three vertex indices per
3696
3959
  * triangle) made a B-rep, as C's `from_mesh`: `[solid, closed, faces, edges, vertices, holes,
@@ -3704,6 +3967,18 @@ export function cadaclysm_blacksmith_frame_through(p: Float64Array, q: Float64Ar
3704
3967
  */
3705
3968
  export function cadaclysm_blacksmith_from_mesh(positions: Float64Array, indices: Uint32Array, weld_tolerance: number, angle_tolerance: number, distance_tolerance: number, mode: number): Uint32Array;
3706
3969
 
3970
+ /**
3971
+ * A rigid button on pattern `pattern` centred at `(x, y)` (at least its radius in from the
3972
+ * edge): `diameter`, `thickness`, `holes` 0, 2 or 4, `mass` (g, above 0). Its id.
3973
+ */
3974
+ 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;
3975
+
3976
+ /**
3977
+ * A buttonhole on pattern `pattern` centred at `(x, y)`, `length` long along `angle`; both ends
3978
+ * on the piece. Its id.
3979
+ */
3980
+ 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;
3981
+
3707
3982
  /**
3708
3983
  * Adds an elastic along pattern `pattern`'s internal line `index`: rest length `ratio` (in
3709
3984
  * (0, 1]) of the line's, pulled with `stiffness` (above 0, g mm/s^2). Its id, never reused.
@@ -3756,6 +4031,27 @@ export function cadaclysm_blacksmith_garment_add_seam_loops(h: number, pa: numbe
3756
4031
  */
3757
4032
  export function cadaclysm_blacksmith_garment_add_tack(h: number, pa: number, ua: number, va: number, pb: number, ub: number, vb: number): number;
3758
4033
 
4034
+ /**
4035
+ * Topstitch along pattern `pattern`'s internal line `index` (no offset; a second row `gap` to
4036
+ * the line's left). Its id.
4037
+ */
4038
+ 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;
4039
+
4040
+ /**
4041
+ * Topstitch along pattern `pattern`'s outline loop `loop_index` (0 the outer loop, `k` hole
4042
+ * `k - 1`) between the arc lengths `from` and `to`: the first row `offset` in (at least 0), one
4043
+ * stitch every `stitch_length` (at least `thread`, the thread's diameter), `rows` 1 or 2, the
4044
+ * second `gap` further in, colour `(r, g, b)`. Drawn only: no change to the drape. Its id.
4045
+ */
4046
+ 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;
4047
+
4048
+ /**
4049
+ * A closed zipper along seam `seam`: tape `tape_width` wide each side, teeth alternating sides
4050
+ * every `tooth_pitch`, each `tooth_mass` g; `stiffness` (at least 1) multiplies the seam's
4051
+ * strength. Its id.
4052
+ */
4053
+ 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;
4054
+
3759
4055
  /**
3760
4056
  * Closes pattern `pattern`'s dart (internal line `internal`, drawn `a`, apex, `b`) by cutting
3761
4057
  * it out: the outline between `a` and `b` becomes the two legs, the mark is removed (later
@@ -3796,6 +4092,12 @@ export function cadaclysm_blacksmith_garment_fabric_params(h: number, id: number
3796
4092
  */
3797
4093
  export function cadaclysm_blacksmith_garment_fabrics(h: number): Uint32Array;
3798
4094
 
4095
+ /**
4096
+ * Fastens button `button` through buttonhole `hole` (at least the button's diameter plus 2 mm
4097
+ * long) with a tack between their centres. The fastening's id.
4098
+ */
4099
+ export function cadaclysm_blacksmith_garment_fasten(h: number, button: number, hole: number, accuracy: number): number;
4100
+
3799
4101
  /**
3800
4102
  * The fold on pattern `pattern`'s internal line `index`: 2 doubles `{angle, strength}`, or
3801
4103
  * `undefined` when none is set.
@@ -3829,6 +4131,11 @@ export function cadaclysm_blacksmith_garment_issue(h: number, i: number): Float6
3829
4131
  */
3830
4132
  export function cadaclysm_blacksmith_garment_issue_message(h: number, i: number): string;
3831
4133
 
4134
+ /**
4135
+ * Moves button or buttonhole `id`'s centre to `(x, y)`; its fastening's tack end follows.
4136
+ */
4137
+ export function cadaclysm_blacksmith_garment_move_trim(h: number, id: number, x: number, y: number, accuracy: number): void;
4138
+
3832
4139
  /**
3833
4140
  * A new, empty garment: its handle (never 0). Free it with `garment_free`.
3834
4141
  */
@@ -3961,6 +4268,11 @@ export function cadaclysm_blacksmith_garment_remove_seam(h: number, id: number):
3961
4268
  */
3962
4269
  export function cadaclysm_blacksmith_garment_remove_tack(h: number, id: number): void;
3963
4270
 
4271
+ /**
4272
+ * Removes trim `id`: a fastening takes its tack; a button or buttonhole its fastening.
4273
+ */
4274
+ export function cadaclysm_blacksmith_garment_remove_trim(h: number, id: number): void;
4275
+
3964
4276
  /**
3965
4277
  * Moves pattern `pattern`'s dart `internal` to the outline arc length `to`, pivoting on its
3966
4278
  * apex (the stretch between rotates by the dart angle).
@@ -4044,6 +4356,36 @@ export function cadaclysm_blacksmith_garment_tacks(h: number): Float64Array;
4044
4356
  */
4045
4357
  export function cadaclysm_blacksmith_garment_to_aama(h: number, tolerance: number, author?: string | null): string;
4046
4358
 
4359
+ /**
4360
+ * Whether trim `id` still lays out (what `garment_trim_instances` checks per trim): false for
4361
+ * an unknown id or an `accuracy` not in (0, 1).
4362
+ */
4363
+ export function cadaclysm_blacksmith_garment_trim_fits(h: number, id: number, accuracy: number): boolean;
4364
+
4365
+ /**
4366
+ * Every trim that fits laid out as instances, 14 numbers each (a `Float64Array`): `{trim,
4367
+ * pattern, x, y, angle, offset, template, size0, size1, size2, r, g, b, mass}`, `template` 0
4368
+ * stitch, 1 button, 2 buttonhole bar, 3 tooth, 4 tape, 5 slider. A trim that no longer fits is
4369
+ * left out (`garment_trim_skipped`).
4370
+ */
4371
+ export function cadaclysm_blacksmith_garment_trim_instances(h: number, accuracy: number): Float64Array;
4372
+
4373
+ /**
4374
+ * The trims `garment_trim_instances` leaves out, pairs `{trim, issue}` (22 bad trim, or 11
4375
+ * unmeasurable for every trim when `accuracy` is not in (0, 1)).
4376
+ */
4377
+ export function cadaclysm_blacksmith_garment_trim_skipped(h: number, accuracy: number): Float64Array;
4378
+
4379
+ /**
4380
+ * The trims, by ascending id, 15 numbers each, NaN past the kind's own (a `Float64Array`):
4381
+ * `{id, 0 topstitch, pattern, path (0 outline, 1 internal), from (or the line index), to, loop,
4382
+ * offset, stitch_length, thread, rows, gap, r, g, b}`, `{id, 1 button, pattern, x, y, diameter,
4383
+ * thickness, holes, r, g, b, mass}`, `{id, 2 buttonhole, pattern, x, y, angle, length, r, g,
4384
+ * b}`, `{id, 3 fastening, button, hole, tack}`, `{id, 4 zipper, seam, tape_width, tooth_pitch,
4385
+ * tooth_mass, stiffness, r, g, b}`.
4386
+ */
4387
+ export function cadaclysm_blacksmith_garment_trims(h: number): Float64Array;
4388
+
4047
4389
  /**
4048
4390
  * Checks the garment at `accuracy` and caches the issues: the issue count.
4049
4391
  */
@@ -4055,6 +4397,18 @@ export function cadaclysm_blacksmith_garment_validate(h: number, accuracy: numbe
4055
4397
  */
4056
4398
  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
4399
 
4400
+ /**
4401
+ * `solids` glued into one with no boolean run, the whole faces they share dropped, as C's
4402
+ * `glue`.
4403
+ */
4404
+ export function cadaclysm_blacksmith_glue(solids: Uint32Array, tolerance: number): number;
4405
+
4406
+ /**
4407
+ * The solid on `point`'s side of face `face`'s surface, bounded to cover `reach`, as C's
4408
+ * `half_space`: the solid handle.
4409
+ */
4410
+ export function cadaclysm_blacksmith_half_space(solid: number, face: number, point: Float64Array, reach: number, tolerance: number): number;
4411
+
4058
4412
  /**
4059
4413
  * The solid with its small features removed: `{ solid, ...report }`, `solid` a new handle the
4060
4414
  * caller frees, the rest `Scene.healed`'s report rows. `flags` 1 edges, 2 faces, 4 holes.
@@ -4194,6 +4548,13 @@ export function cadaclysm_blacksmith_hlr_report(hlr: number): any;
4194
4548
  */
4195
4549
  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
4550
 
4551
+ /**
4552
+ * The bodies drilled along one axis by one hole series, as C's `hole_series`: `3 n` numbers for
4553
+ * `n` bodies -- the `n` new solid handles in the order given (C's `out`), then each one's role
4554
+ * (C's `roles_out`), then each one's entry distance (C's `entries_out`, NaN for a body missed).
4555
+ */
4556
+ 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;
4557
+
4197
4558
  /**
4198
4559
  * The body drilled and tapped at every point, as C's `hole_threaded`: `[solid, holes,
4199
4560
  * faces_added, bottom..., thread_depth...]`, one bottom and one thread depth a point.
@@ -4210,6 +4571,13 @@ export function cadaclysm_blacksmith_hole_threaded_tool(solid: number, points: F
4210
4571
  */
4211
4572
  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
4573
 
4574
+ /**
4575
+ * The joints `a` and `b` suggest, best first, as C's `infer_joints`: `frame_a` / `frame_b`
4576
+ * null or 12 numbers, `pick_a` / `pick_b` a face (or, with `pick_*_edge`, an edge-table edge)
4577
+ * or -1 the whole body. A candidate list handle.
4578
+ */
4579
+ 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;
4580
+
4213
4581
  /**
4214
4582
  * The value at the fractional index `t` by `mode`, `dimension` doubles. Throws for a `t` that is
4215
4583
  * not finite and a mode that is not one of the five.
@@ -4366,6 +4734,29 @@ export function cadaclysm_blacksmith_join(a: number, b: number, tolerance: numbe
4366
4734
  */
4367
4735
  export function cadaclysm_blacksmith_join_sheets(sheets: Uint32Array, tolerance: number): Float64Array;
4368
4736
 
4737
+ /**
4738
+ * Candidate `i` as C's `joint_candidate`: 17 numbers, `frame[12], score, face_a, face_b,
4739
+ * edge_a, edge_b`.
4740
+ */
4741
+ export function cadaclysm_blacksmith_joint_candidate(h: number, i: number): Float64Array;
4742
+
4743
+ /**
4744
+ * Candidate `i`'s kind, as C's `joint_candidate_kind`.
4745
+ */
4746
+ export function cadaclysm_blacksmith_joint_candidate_kind(h: number, i: number): string;
4747
+
4748
+ /**
4749
+ * Candidate `i`'s reason, as C's `joint_candidate_reason`.
4750
+ */
4751
+ export function cadaclysm_blacksmith_joint_candidate_reason(h: number, i: number): string;
4752
+
4753
+ /**
4754
+ * How many candidates, as C's `joint_candidates_count`.
4755
+ */
4756
+ export function cadaclysm_blacksmith_joint_candidates_count(h: number): number;
4757
+
4758
+ export function cadaclysm_blacksmith_joint_candidates_free(h: number): void;
4759
+
4369
4760
  export function cadaclysm_blacksmith_leaked_edges(solid: number, tolerance: number): number;
4370
4761
 
4371
4762
  export function cadaclysm_blacksmith_license_info(): string;
@@ -4381,6 +4772,12 @@ export function cadaclysm_blacksmith_license_set(text?: string | null): boolean;
4381
4772
 
4382
4773
  export function cadaclysm_blacksmith_loft(a: number, frame_a: Float64Array, b: number, frame_b: Float64Array): number;
4383
4774
 
4775
+ /**
4776
+ * The sections lofted through `rails` or round `centreline` by the JSON `options`, as C's
4777
+ * `loft_along`: `[solid, error]`; `centreline` absent for none.
4778
+ */
4779
+ export function cadaclysm_blacksmith_loft_along(sections: Uint32Array, rails: Uint32Array, centreline: number | null | undefined, options: string | null | undefined, tolerance: number): Float64Array;
4780
+
4384
4781
  /**
4385
4782
  * The sheet lofted through the section curves `sections`, as C's `loft_curves`.
4386
4783
  */
@@ -4396,6 +4793,12 @@ export function cadaclysm_blacksmith_lump(solid: number, index: number): number;
4396
4793
 
4397
4794
  export function cadaclysm_blacksmith_lump_count(solid: number): number;
4398
4795
 
4796
+ /**
4797
+ * `solid` trimmed to its periods along x, y, z (`period` and `first` three numbers each), as
4798
+ * C's `make_periodic`.
4799
+ */
4800
+ export function cadaclysm_blacksmith_make_periodic(solid: number, period: Float64Array, first: Float64Array, tolerance: number): number;
4801
+
4399
4802
  export function cadaclysm_blacksmith_manifold(solid: number): Uint32Array;
4400
4803
 
4401
4804
  /**
@@ -4455,6 +4858,12 @@ export function cadaclysm_blacksmith_mesh_face_triangles(solid: number, toleranc
4455
4858
  */
4456
4859
  export function cadaclysm_blacksmith_mesh_file(solids: Uint32Array, format: string, names: string[] | null | undefined, looks: Float64Array | null | undefined, tolerance: number): Uint8Array;
4457
4860
 
4861
+ /**
4862
+ * The silhouette of a triangle mesh seen along `v` (or from the eye at `v` when
4863
+ * `perspective`), as C's `mesh_silhouette`; `plane` null or 6 numbers (a point, a normal).
4864
+ */
4865
+ export function cadaclysm_blacksmith_mesh_silhouette(mesh: number, perspective: boolean, v: Float64Array, boundary: boolean, plane?: Float64Array | null): any;
4866
+
4458
4867
  /**
4459
4868
  * The nearest-opposing-wall rule on meshes laid end to end: mesh m's vertices are the next
4460
4869
  * `vertex_counts[m]` triples of `positions`, its triangles the next `triangle_counts[m]`
@@ -4476,6 +4885,12 @@ export function cadaclysm_blacksmith_mesh_thicknesses_count(thicknesses: number)
4476
4885
 
4477
4886
  export function cadaclysm_blacksmith_mesh_thicknesses_free(h: number): void;
4478
4887
 
4888
+ /**
4889
+ * The box of least volume found holding the solid, as C's `minimal_box`: 15 numbers, the
4890
+ * `CadaclysmBlacksmithOrientedBox` fields in order (centre, three axes, half extents).
4891
+ */
4892
+ export function cadaclysm_blacksmith_minimal_box(solid: number, accuracy: number): Float64Array;
4893
+
4479
4894
  export function cadaclysm_blacksmith_mirror(solid: number, plane: Float64Array): number;
4480
4895
 
4481
4896
  /**
@@ -4595,6 +5010,48 @@ export function cadaclysm_blacksmith_naca_spline(airfoil: Float64Array, chord: n
4595
5010
 
4596
5011
  export function cadaclysm_blacksmith_named(solid: number, name: string): number;
4597
5012
 
5013
+ /**
5014
+ * Nests `profiles`, as C's `nest`; `quantities` and `priorities` null or one per profile.
5015
+ */
5016
+ 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;
5017
+
5018
+ export function cadaclysm_blacksmith_nest_free(h: number): void;
5019
+
5020
+ /**
5021
+ * Placement `i` as C's `nest_placement`: 10 numbers, `transform (6), angle, part, copy, sheet`.
5022
+ */
5023
+ export function cadaclysm_blacksmith_nest_placement(h: number, i: number): Float64Array;
5024
+
5025
+ /**
5026
+ * How many copies were placed, as C's `nest_placement_count`.
5027
+ */
5028
+ export function cadaclysm_blacksmith_nest_placement_count(h: number): number;
5029
+
5030
+ /**
5031
+ * How many sheets were used, as C's `nest_sheet_count`.
5032
+ */
5033
+ export function cadaclysm_blacksmith_nest_sheet_count(h: number): number;
5034
+
5035
+ /**
5036
+ * Sheet `sheet`'s utilisation, as C's `nest_sheet_utilisation`.
5037
+ */
5038
+ export function cadaclysm_blacksmith_nest_sheet_utilisation(h: number, sheet: number): number;
5039
+
5040
+ /**
5041
+ * Unplaced copy `i` as C's `nest_unplaced`: 2 numbers, part and copy.
5042
+ */
5043
+ export function cadaclysm_blacksmith_nest_unplaced(h: number, i: number): Uint32Array;
5044
+
5045
+ /**
5046
+ * How many copies fit no sheet, as C's `nest_unplaced_count`.
5047
+ */
5048
+ export function cadaclysm_blacksmith_nest_unplaced_count(h: number): number;
5049
+
5050
+ /**
5051
+ * The overall utilisation, as C's `nest_utilisation`.
5052
+ */
5053
+ export function cadaclysm_blacksmith_nest_utilisation(h: number): number;
5054
+
4598
5055
  /**
4599
5056
  * The Gordon sheet of a curve network, as C's `network_surface`: `[solid, error]`.
4600
5057
  */
@@ -4661,6 +5118,11 @@ export function cadaclysm_blacksmith_nurbs_curve_control_points(curve: number):
4661
5118
  */
4662
5119
  export function cadaclysm_blacksmith_nurbs_curve_curvature(curve: number, t: number): Float64Array;
4663
5120
 
5121
+ /**
5122
+ * Where two curves meet, as C's `nurbs_curve_curve_hits`: nineteen numbers a row, no count call.
5123
+ */
5124
+ export function cadaclysm_blacksmith_nurbs_curve_curve_hits(a: number, b: number, tolerance: number): Float64Array;
5125
+
4664
5126
  export function cadaclysm_blacksmith_nurbs_curve_degree(curve: number): number;
4665
5127
 
4666
5128
  /**
@@ -4668,6 +5130,11 @@ export function cadaclysm_blacksmith_nurbs_curve_degree(curve: number): number;
4668
5130
  */
4669
5131
  export function cadaclysm_blacksmith_nurbs_curve_derivatives(curve: number, t: number, order: number): Float64Array;
4670
5132
 
5133
+ /**
5134
+ * How far apart two curves run, as C's `nurbs_curve_deviation`: the eighteen numbers C fills.
5135
+ */
5136
+ export function cadaclysm_blacksmith_nurbs_curve_deviation(a: number, b: number, tolerance: number): Float64Array;
5137
+
4671
5138
  /**
4672
5139
  * Whether `b` runs the same way as `a`: C's 1 or 0 as a bool; its -1 throws.
4673
5140
  */
@@ -4742,11 +5209,23 @@ export function cadaclysm_blacksmith_nurbs_curve_free(h: number): void;
4742
5209
  */
4743
5210
  export function cadaclysm_blacksmith_nurbs_curve_from_edge(solid: number, edge: number): number;
4744
5211
 
5212
+ /**
5213
+ * The curve of the formulas `x`, `y`, `z` over `t0` to `t1`, as C's `nurbs_curve_from_equation`:
5214
+ * `[handle, error, samples]`; `y`, `z`, `var`, `params` and `frame` absent for their defaults.
5215
+ */
5216
+ 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;
5217
+
4745
5218
  /**
4746
5219
  * The isocurve of face `face` of `solid`'s surface.
4747
5220
  */
4748
5221
  export function cadaclysm_blacksmith_nurbs_curve_from_face_isocurve(solid: number, face: number, along_u: boolean, at: number): number;
4749
5222
 
5223
+ /**
5224
+ * The space curve(s) whose projections along `direction_a` and `direction_b` are `a` and `b`,
5225
+ * as C's `nurbs_curve_from_two_views`: `{ curves, info }` (`curve_list_object`).
5226
+ */
5227
+ export function cadaclysm_blacksmith_nurbs_curve_from_two_views(a: number, direction_a: Float64Array, b: number, direction_b: Float64Array, tolerance: number): any;
5228
+
4750
5229
  /**
4751
5230
  * The Greville abscissae and the curve's points there, as C's `nurbs_curve_greville` writes
4752
5231
  * its two out-arrays one after the other: `n` parameters, then `3 n` coordinates.
@@ -5038,6 +5517,12 @@ export function cadaclysm_blacksmith_nurbs_surface_free(h: number): void;
5038
5517
  */
5039
5518
  export function cadaclysm_blacksmith_nurbs_surface_hermite(u: Float64Array, v: Float64Array, points: Float64Array, du: Float64Array, dv: Float64Array, twists: Float64Array): number;
5040
5519
 
5520
+ /**
5521
+ * Where two untrimmed surfaces meet, as an intersection handle read and released as
5522
+ * `intersect`'s (C's `nurbs_surface_intersect`).
5523
+ */
5524
+ export function cadaclysm_blacksmith_nurbs_surface_intersect(a: number, b: number, tolerance: number, progress?: Function | null): number;
5525
+
5041
5526
  /**
5042
5527
  * The knot `t` inserted `times` times along `dir`, a new handle.
5043
5528
  */
@@ -5176,6 +5661,17 @@ export function cadaclysm_blacksmith_oriented_box(solid: number, accuracy: numbe
5176
5661
  */
5177
5662
  export function cadaclysm_blacksmith_origins_through(out: number, via: number): number;
5178
5663
 
5664
+ /**
5665
+ * A view derived from view `parent`: projected, auxiliary, section or detail (see the C
5666
+ * call); its number.
5667
+ */
5668
+ export function cadaclysm_blacksmith_page_add_derived_view(page: number, parent: number, options_json?: string | null): number;
5669
+
5670
+ /**
5671
+ * A drawing dimension on view `view`, or the auto set (see the C call); how many were added.
5672
+ */
5673
+ export function cadaclysm_blacksmith_page_add_dimension(page: number, view: number, options_json?: string | null): number;
5674
+
5179
5675
  /**
5180
5676
  * The flat pattern drawn on `page` at (`x`, `y`), as C's `page_add_flat_pattern`: how many
5181
5677
  * entities were added.
@@ -5188,11 +5684,26 @@ export function cadaclysm_blacksmith_page_add_flat_pattern(page: number, flat_pa
5188
5684
  */
5189
5685
  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
5686
 
5687
+ /**
5688
+ * A hole table for view `view` (see the C call); how many holes it lists.
5689
+ */
5690
+ export function cadaclysm_blacksmith_page_add_hole_table(page: number, view: number, options_json?: string | null): number;
5691
+
5692
+ /**
5693
+ * A model view of `solids` on the page (see the C call for the options JSON); its number.
5694
+ */
5695
+ export function cadaclysm_blacksmith_page_add_model_view(page: number, solids: Uint32Array, options_json?: string | null): number;
5696
+
5191
5697
  /**
5192
5698
  * `profile`'s outline and holes on `layer` (null: `0`), moved by (`x`, `y`).
5193
5699
  */
5194
5700
  export function cadaclysm_blacksmith_page_add_profile(page: number, profile: number, layer: string | null | undefined, x: number, y: number): void;
5195
5701
 
5702
+ /**
5703
+ * A sketch's dimensional constraints placed on view `view` (see the C call); how many.
5704
+ */
5705
+ export function cadaclysm_blacksmith_page_add_sketch_dimensions(page: number, view: number, sketch: number, options_json?: string | null): number;
5706
+
5196
5707
  /**
5197
5708
  * One line of `text` on `layer` (null: `text`) at (`x`, `y`), `height` tall, turned `angle`
5198
5709
  * radians; `halign` (null: left) and `valign` (null: baseline) as the C ABI's.
@@ -5204,6 +5715,11 @@ export function cadaclysm_blacksmith_page_add_text(page: number, text: string, l
5204
5715
  */
5205
5716
  export function cadaclysm_blacksmith_page_add_view(page: number, hlr: number, x: number, y: number, scale: number): void;
5206
5717
 
5718
+ /**
5719
+ * A break on view `view` (see the C call); the band's number on that view.
5720
+ */
5721
+ export function cadaclysm_blacksmith_page_add_view_break(page: number, view: number, options_json?: string | null): number;
5722
+
5207
5723
  /**
5208
5724
  * The page as DXF R2000 (`AC1015`) text.
5209
5725
  */
@@ -5214,8 +5730,13 @@ export function cadaclysm_blacksmith_page_entity_count(page: number): number;
5214
5730
  export function cadaclysm_blacksmith_page_free(h: number): void;
5215
5731
 
5216
5732
  /**
5217
- * An empty page in `units`, the DXF unit codes (0 unitless, 1 in, 2 ft, 4 mm, 5 cm, 6 m), a
5218
- * handle released with `page_free`.
5733
+ * The page's views, dimensions and tables as JSON (see the C call).
5734
+ */
5735
+ export function cadaclysm_blacksmith_page_info_json(page: number): string;
5736
+
5737
+ /**
5738
+ * An empty page in `units`, the DXF unit codes (0 unitless, 1 in, 2 ft, 4 mm, 5 cm, 6 m), a
5739
+ * handle released with `page_free`.
5219
5740
  */
5220
5741
  export function cadaclysm_blacksmith_page_new(units: number): number;
5221
5742
 
@@ -5300,6 +5821,12 @@ export function cadaclysm_blacksmith_pattern_rectangular(direction1: Float64Arra
5300
5821
 
5301
5822
  export function cadaclysm_blacksmith_pipe(path: number, radius: number, thickness: number): number;
5302
5823
 
5824
+ /**
5825
+ * A pipe of `radius` (hollow where `thickness` is above zero) along `rail` by the JSON
5826
+ * `options`, as C's `pipe_along`: `[solid, error]`.
5827
+ */
5828
+ export function cadaclysm_blacksmith_pipe_along(rail: number, radius: number, thickness: number, options: string | null | undefined, tolerance: number): Float64Array;
5829
+
5303
5830
  export function cadaclysm_blacksmith_place(solid: number, frame: Float64Array): number;
5304
5831
 
5305
5832
  /**
@@ -5313,6 +5840,14 @@ export function cadaclysm_blacksmith_pmi_items(solid: number): string;
5313
5840
  */
5314
5841
  export function cadaclysm_blacksmith_pmi_views(solid: number): string;
5315
5842
 
5843
+ export function cadaclysm_blacksmith_point_centre(solid: number, edge: number): Float64Array;
5844
+
5845
+ export function cadaclysm_blacksmith_point_edge_edge(solid: number, edge_a: number, edge_b: number, tolerance: number): Float64Array;
5846
+
5847
+ export function cadaclysm_blacksmith_point_edge_plane(solid: number, edge: number, frame: Float64Array): Float64Array;
5848
+
5849
+ export function cadaclysm_blacksmith_point_three_planes(a: Float64Array, b: Float64Array, c: Float64Array): Float64Array;
5850
+
5316
5851
  export function cadaclysm_blacksmith_polygon_set_area(h: number): number;
5317
5852
 
5318
5853
  export function cadaclysm_blacksmith_polygon_set_boundary_distance(h: number, x: number, y: number): number;
@@ -5499,11 +6034,23 @@ export function cadaclysm_blacksmith_profile_divide_by_length(profile: number, s
5499
6034
 
5500
6035
  export function cadaclysm_blacksmith_profile_ellipse(cx: number, cy: number, rx: number, ry: number): number;
5501
6036
 
6037
+ /**
6038
+ * The planar curve of the formulas `x`, `y` as a profile, as C's `profile_equation`:
6039
+ * `[handle, error]`.
6040
+ */
6041
+ 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;
6042
+
5502
6043
  /**
5503
6044
  * A sketch fillet between two curves meeting at an end: JSON text `{"a", "b", "arc"}`.
5504
6045
  */
5505
6046
  export function cadaclysm_blacksmith_profile_fillet_corner(a: number, b: number, radius: number, tolerance: number): string;
5506
6047
 
6048
+ /**
6049
+ * A planar spline fitted to `xy` (see the C `profile_fit`): two numbers, the profile's handle and
6050
+ * the largest distance from a point to it.
6051
+ */
6052
+ export function cadaclysm_blacksmith_profile_fit(xy: Float64Array, degree: number, tolerance: number): Float64Array;
6053
+
5507
6054
  export function cadaclysm_blacksmith_profile_free(h: number): void;
5508
6055
 
5509
6056
  /**
@@ -5571,6 +6118,13 @@ export function cadaclysm_blacksmith_profile_loops(pieces: Uint32Array, toleranc
5571
6118
  */
5572
6119
  export function cadaclysm_blacksmith_profile_make_closed(p: number, tolerance: number): number;
5573
6120
 
6121
+ /**
6122
+ * The medial axis of `profile` (see the C `profile_medial_axis`) as one flat array: the branch
6123
+ * count, then per branch its point count `n`, its spline profile's handle, the spline's error,
6124
+ * and `n` points as `x, y, radius`.
6125
+ */
6126
+ export function cadaclysm_blacksmith_profile_medial_axis(profile: number, tolerance: number): Float64Array;
6127
+
5574
6128
  /**
5575
6129
  * `p` with neighbouring segments that are one curve made one (see the C
5576
6130
  * `profile_merge_colinear`).
@@ -5702,6 +6256,11 @@ export function cadaclysm_blacksmith_profile_star(cx: number, cy: number, outer:
5702
6256
  */
5703
6257
  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
6258
 
6259
+ /**
6260
+ * The planar spline through `xy` (see the C `profile_through`); `start` / `end` 2 numbers or none.
6261
+ */
6262
+ export function cadaclysm_blacksmith_profile_through(xy: Float64Array, degree: number, closed: boolean, start?: Float64Array | null, end?: Float64Array | null): number;
6263
+
5705
6264
  /**
5706
6265
  * `p` fitted to arcs and lines within `tolerance` -- the only curves a toolpath
5707
6266
  * is written in.
@@ -5788,6 +6347,11 @@ export function cadaclysm_blacksmith_ray_closest_point(value: Float64Array, poin
5788
6347
 
5789
6348
  export function cadaclysm_blacksmith_ray_point_at(value: Float64Array, t: number): Float64Array;
5790
6349
 
6350
+ /**
6351
+ * A ray shot through `solids` with reflections, as C's `ray_shoot`: eight numbers a strike.
6352
+ */
6353
+ export function cadaclysm_blacksmith_ray_shoot(solids: Uint32Array, origin: Float64Array, direction: Float64Array, max_reflections: number, tolerance: number): Float64Array;
6354
+
5791
6355
  /**
5792
6356
  * The sheet with an opening recessed into it, as C's `recess`: `[solid, sheet_faces,
5793
6357
  * fillet_faces, wall_faces, pane_faces]`.
@@ -5831,6 +6395,12 @@ export function cadaclysm_blacksmith_region_solid(solid: number, region: number)
5831
6395
  */
5832
6396
  export function cadaclysm_blacksmith_regions(solid: number): Float64Array;
5833
6397
 
6398
+ /**
6399
+ * `counts` (three) copies of `solid` a `period` (three numbers) apart along x, y, z, glued where
6400
+ * they share whole faces, as C's `repeat`.
6401
+ */
6402
+ export function cadaclysm_blacksmith_repeat(solid: number, period: Float64Array, counts: Uint32Array, tolerance: number): number;
6403
+
5834
6404
  /**
5835
6405
  * x, y, z of item `i`'s location -- as `face_ref` returns a face's plane.
5836
6406
  */
@@ -5854,8 +6424,19 @@ export function cadaclysm_blacksmith_report_text(r: number): string;
5854
6424
 
5855
6425
  export function cadaclysm_blacksmith_report_top(r: number, i: number): number;
5856
6426
 
6427
+ /**
6428
+ * The solid with its edge and vertex tolerances worked out from its geometry, as C's
6429
+ * `reset_tolerances`: the solid handle.
6430
+ */
6431
+ export function cadaclysm_blacksmith_reset_tolerances(solid: number): number;
6432
+
5857
6433
  export function cadaclysm_blacksmith_revolve(profile: number, axis: Float64Array, angle: number): number;
5858
6434
 
6435
+ /**
6436
+ * `profile` revolved as a feature (see the C `revolve_feature`).
6437
+ */
6438
+ 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;
6439
+
5859
6440
  export function cadaclysm_blacksmith_revolve_in_plane(profile: number, frame: Float64Array, axis: Float64Array, angle: number): number;
5860
6441
 
5861
6442
  export function cadaclysm_blacksmith_revolve_open(profile: number, axis: Float64Array, angle: number): number;
@@ -6083,6 +6664,12 @@ export function cadaclysm_blacksmith_sheet_fold(solid: number, face: number, lin
6083
6664
  */
6084
6665
  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
6666
 
6667
+ /**
6668
+ * `count` gussets across the bend whose face is `face`, the first `at` along the bend's line,
6669
+ * as C's `sheet_gusset`.
6670
+ */
6671
+ 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;
6672
+
6086
6673
  /**
6087
6674
  * Hems on `edges`, as C's `sheet_hem` (`kind` C's `CADACLYSM_BLACKSMITH_HEM_*`).
6088
6675
  */
@@ -6111,6 +6698,12 @@ export function cadaclysm_blacksmith_sheet_join(solid: number, edge_a: number, e
6111
6698
  */
6112
6699
  export function cadaclysm_blacksmith_sheet_lofted_flange(a: Float64Array, b: Float64Array, rule: Float64Array, tolerance: number): number;
6113
6700
 
6701
+ /**
6702
+ * A form punched into flat face `face` by the tool body `tool`, the tool's faces `removal`
6703
+ * opened, as C's `sheet_punch`.
6704
+ */
6705
+ export function cadaclysm_blacksmith_sheet_punch(solid: number, face: number, tool: number, removal: Uint32Array, rule: Float64Array, tolerance: number): number;
6706
+
6114
6707
  /**
6115
6708
  * Rips along `edges`, a slot `gap` wide, as C's `sheet_rip`.
6116
6709
  */
@@ -6151,6 +6744,23 @@ export function cadaclysm_blacksmith_silhouette_beziers(solid: number, words: Fl
6151
6744
  */
6152
6745
  export function cadaclysm_blacksmith_sketch_add_arc(h: number, centre: number, start: number, end: number): number;
6153
6746
 
6747
+ /**
6748
+ * A counter-clockwise arc about a new point at (`cx`, `cy`) from a new point at (`sx`, `sy`)
6749
+ * to a new point at (`ex`, `ey`): 4 ids, `[centre, start, end, arc]`.
6750
+ */
6751
+ export function cadaclysm_blacksmith_sketch_add_arc_at(h: number, cx: number, cy: number, sx: number, sy: number, ex: number, ey: number): Uint32Array;
6752
+
6753
+ /**
6754
+ * An arc slot on the centreline arc about (`cx`, `cy`) from (`sx`, `sy`) to (`ex`, `ey`):
6755
+ * `[centre, start, end, centreline, outer, inner, cap_start, cap_end]`.
6756
+ */
6757
+ 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;
6758
+
6759
+ /**
6760
+ * An arc slot on the centreline arc through three points: as `add_arc_slot_at`.
6761
+ */
6762
+ 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;
6763
+
6154
6764
  /**
6155
6765
  * A cubic Bezier from the point `start` through two controls to a new end point.
6156
6766
  */
@@ -6161,11 +6771,71 @@ export function cadaclysm_blacksmith_sketch_add_bezier(h: number, start: number,
6161
6771
  */
6162
6772
  export function cadaclysm_blacksmith_sketch_add_circle(h: number, centre: number, r: number): number;
6163
6773
 
6774
+ /**
6775
+ * A circle of radius `r` about a new point at (`cx`, `cy`): 2 ids, `[centre, circle]`.
6776
+ */
6777
+ export function cadaclysm_blacksmith_sketch_add_circle_at(h: number, cx: number, cy: number, r: number): Uint32Array;
6778
+
6779
+ /**
6780
+ * A circle tangent to `a`, `b` and `c` on the hint's sides: `[centre, circle, tangent_a,
6781
+ * tangent_b, tangent_c]`.
6782
+ */
6783
+ export function cadaclysm_blacksmith_sketch_add_circle_three_tangents(h: number, a: number, b: number, c: number, hx: number, hy: number): Uint32Array;
6784
+
6785
+ /**
6786
+ * A circle of radius `r` tangent to `a` and `b` on the hint's sides: `[centre, circle,
6787
+ * tangent_a, tangent_b, radius]`.
6788
+ */
6789
+ export function cadaclysm_blacksmith_sketch_add_circle_two_tangents(h: number, a: number, b: number, r: number, hx: number, hy: number): Uint32Array;
6790
+
6164
6791
  /**
6165
6792
  * A conic from the point `start` with the control (`cx`, `cy`) and `weight` to a new end point.
6166
6793
  */
6167
6794
  export function cadaclysm_blacksmith_sketch_add_conic(h: number, start: number, cx: number, cy: number, x: number, y: number, weight: number): number;
6168
6795
 
6796
+ /**
6797
+ * An ellipse about the point `centre`, its major radius to the point `major`, its minor
6798
+ * to the point `minor` (held square to the major).
6799
+ */
6800
+ export function cadaclysm_blacksmith_sketch_add_ellipse(h: number, centre: number, major: number, minor: number): number;
6801
+
6802
+ /**
6803
+ * An ellipse about a new point at (`cx`, `cy`), its major radius to (`mx`, `my`), its
6804
+ * minor `minor`: 4 ids, `[centre, major, minor, ellipse]`.
6805
+ */
6806
+ export function cadaclysm_blacksmith_sketch_add_ellipse_at(h: number, cx: number, cy: number, mx: number, my: number, minor: number): Uint32Array;
6807
+
6808
+ /**
6809
+ * An elliptical arc on the ellipse of `centre`, `major`, `minor`, counter-clockwise from
6810
+ * the point `start` to the point `end`.
6811
+ */
6812
+ export function cadaclysm_blacksmith_sketch_add_elliptical_arc(h: number, centre: number, major: number, minor: number, start: number, end: number): number;
6813
+
6814
+ /**
6815
+ * An elliptical arc from (`sx`, `sy`) to (`ex`, `ey`) on the ellipse of `add_ellipse_at`:
6816
+ * 6 ids, `[centre, major, minor, start, end, arc]`.
6817
+ */
6818
+ 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;
6819
+
6820
+ /**
6821
+ * A rigid curve from the formulas `x`, `y` over `t0` to `t1` (`var` none: `"t"`; `params` a
6822
+ * JSON object of numbers or `"=expressions"`; tolerance 0 or NaN: 1e-4): 3 ids,
6823
+ * `[start, end, curve]`.
6824
+ */
6825
+ 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;
6826
+
6827
+ /**
6828
+ * A fitted spline through the points `points`; `start_handle` / `end_handle` tangent
6829
+ * handle points or NO_ENTITY.
6830
+ */
6831
+ export function cadaclysm_blacksmith_sketch_add_fitted_spline(h: number, points: Uint32Array, start_handle: number, end_handle: number): number;
6832
+
6833
+ /**
6834
+ * A fitted spline through new points at the pairs `xy`, handles at (`shx`, `shy`) and
6835
+ * (`ehx`, `ehy`) (NaN: none): `[spline, start_handle, end_handle, points...]`.
6836
+ */
6837
+ export function cadaclysm_blacksmith_sketch_add_fitted_spline_at(h: number, xy: Float64Array, shx: number, shy: number, ehx: number, ehy: number): Uint32Array;
6838
+
6169
6839
  /**
6170
6840
  * A line between the points `a` and `b`.
6171
6841
  */
@@ -6186,19 +6856,47 @@ export function cadaclysm_blacksmith_sketch_add_point(h: number, x: number, y: n
6186
6856
  * A regular polygon of `sides` (3 to 1024) about (`cx`, `cy`), corner 0 at (`vx`, `vy`):
6187
6857
  * `3 + 2 * sides` ids, `[centre, circumcircle, incircle, corners..., sides...]`.
6188
6858
  */
6189
- export function cadaclysm_blacksmith_sketch_add_polygon(h: number, cx: number, cy: number, vx: number, vy: number, sides: number): Uint32Array;
6859
+ export function cadaclysm_blacksmith_sketch_add_polygon_at(h: number, cx: number, cy: number, vx: number, vy: number, sides: number): Uint32Array;
6190
6860
 
6191
6861
  /**
6192
- * As `sketch_add_polygon`, `sides_expr` (none or empty for `sides`) an `"=expression"` for the
6862
+ * As `sketch_add_polygon_at`, `sides_expr` (none or empty for `sides`) an `"=expression"` for the
6193
6863
  * side count, evaluated before every solve: `[feature, centre, circumcircle, incircle,
6194
6864
  * corners..., sides...]`.
6195
6865
  */
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;
6866
+ 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
6867
 
6198
6868
  /**
6199
6869
  * A rectangle: 8 ids, the corners 0-3 then the sides 0-3 (side `i` from corner `i`).
6200
6870
  */
6201
- export function cadaclysm_blacksmith_sketch_add_rect(h: number, x0: number, y0: number, x1: number, y1: number): Uint32Array;
6871
+ export function cadaclysm_blacksmith_sketch_add_rect_at(h: number, x0: number, y0: number, x1: number, y1: number): Uint32Array;
6872
+
6873
+ /**
6874
+ * A straight slot between arc centres (`ax`, `ay`) and (`bx`, `by`): `[centre_0,
6875
+ * centre_1, centreline, arc_0, arc_1, side_0, side_1, points...]`.
6876
+ */
6877
+ export function cadaclysm_blacksmith_sketch_add_slot_at(h: number, ax: number, ay: number, bx: number, by: number, width: number): Uint32Array;
6878
+
6879
+ /**
6880
+ * A straight slot centred on (`cx`, `cy`) with an arc centre at (`ex`, `ey`): as `add_slot_at`.
6881
+ */
6882
+ export function cadaclysm_blacksmith_sketch_add_slot_centre_at(h: number, cx: number, cy: number, ex: number, ey: number, width: number): Uint32Array;
6883
+
6884
+ /**
6885
+ * A straight slot from tip (`ax`, `ay`) to tip (`bx`, `by`) overall: as `add_slot_at`.
6886
+ */
6887
+ export function cadaclysm_blacksmith_sketch_add_slot_overall_at(h: number, ax: number, ay: number, bx: number, by: number, width: number): Uint32Array;
6888
+
6889
+ /**
6890
+ * A line of text from the point `anchor` with the point `top` above it; `font` absent or
6891
+ * empty for the built-in font.
6892
+ */
6893
+ export function cadaclysm_blacksmith_sketch_add_text(h: number, anchor: number, top: number, text: string, font?: string | null): number;
6894
+
6895
+ /**
6896
+ * A line of text at a new anchor (`x`, `y`), `size` high, turned `angle` radians: 3 ids,
6897
+ * `[anchor, top, text]`.
6898
+ */
6899
+ 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
6900
 
6203
6901
  /**
6204
6902
  * Adds the constraints the geometry already satisfies within `tolerance` (0 or NaN: 1e-6
@@ -6206,6 +6904,11 @@ export function cadaclysm_blacksmith_sketch_add_rect(h: number, x0: number, y0:
6206
6904
  */
6207
6905
  export function cadaclysm_blacksmith_sketch_auto_constrain(h: number, tolerance: number, dimensions: boolean): Uint32Array;
6208
6906
 
6907
+ /**
6908
+ * Breaks `curve` at the crossings either side of (`x`, `y`): the pieces in order.
6909
+ */
6910
+ export function cadaclysm_blacksmith_sketch_break(h: number, curve: number, x: number, y: number): Uint32Array;
6911
+
6209
6912
  /**
6210
6913
  * The centre point of the circle or arc `id`.
6211
6914
  */
@@ -6319,6 +7022,11 @@ export function cadaclysm_blacksmith_sketch_entities(h: number): Uint32Array;
6319
7022
  */
6320
7023
  export function cadaclysm_blacksmith_sketch_expression(h: number, id: number): string | undefined;
6321
7024
 
7025
+ /**
7026
+ * Extends `curve` from its end `end` to the nearest curve ahead: `[point, target, constraint]`.
7027
+ */
7028
+ export function cadaclysm_blacksmith_sketch_extend(h: number, curve: number, end: number): Uint32Array;
7029
+
6322
7030
  /**
6323
7031
  * A feature as it is now, in its `_expr` verb's list.
6324
7032
  */
@@ -6334,6 +7042,14 @@ export function cadaclysm_blacksmith_sketch_feature_kind(h: number, feature: num
6334
7042
  */
6335
7043
  export function cadaclysm_blacksmith_sketch_features(h: number): Uint32Array;
6336
7044
 
7045
+ /**
7046
+ * Rounds the corner where the lines `a` and `b` meet with a tangent arc of `radius`
7047
+ * (`radius_expr`, none or empty for the number, an `"=expression"` the radius dimension
7048
+ * holds): 8 ids, `[arc, point_a, point_b, centre, corner, tangent_a, tangent_b,
7049
+ * radius_dimension]`.
7050
+ */
7051
+ export function cadaclysm_blacksmith_sketch_fillet(h: number, a: number, b: number, radius: number, radius_expr?: string | null): Uint32Array;
7052
+
6337
7053
  /**
6338
7054
  * Frees a sketch; an unknown or freed handle is a no-op.
6339
7055
  */
@@ -6350,6 +7066,11 @@ export function cadaclysm_blacksmith_sketch_from_json(text: string): number;
6350
7066
  */
6351
7067
  export function cadaclysm_blacksmith_sketch_from_profile(profile: number, infer: boolean, tolerance: number): number;
6352
7068
 
7069
+ /**
7070
+ * Where the plane of `frame` cuts `solid`, as fixed geometry, as C's `sketch_intersect_plane`.
7071
+ */
7072
+ export function cadaclysm_blacksmith_sketch_intersect_plane(h: number, solid: number, frame: Float64Array, construction: boolean, tolerance: number): Uint32Array;
7073
+
6353
7074
  /**
6354
7075
  * Whether the entity `id` is construction geometry (false for an unknown id).
6355
7076
  */
@@ -6386,6 +7107,12 @@ export function cadaclysm_blacksmith_sketch_mirror(h: number, ids: Uint32Array,
6386
7107
  */
6387
7108
  export function cadaclysm_blacksmith_sketch_new(): number;
6388
7109
 
7110
+ /**
7111
+ * Offsets the chain `curves` by `distance` (to the left of travel), or both sides:
7112
+ * `[k, m, copies (k * m)..., c, connectors..., d, dimensions...]`.
7113
+ */
7114
+ export function cadaclysm_blacksmith_sketch_offset(h: number, curves: Uint32Array, distance: number, two_sided: boolean): Uint32Array;
7115
+
6389
7116
  /**
6390
7117
  * The open chains as a profile-list handle.
6391
7118
  */
@@ -6442,6 +7169,18 @@ export function cadaclysm_blacksmith_sketch_point(h: number, id: number): Float6
6442
7169
  */
6443
7170
  export function cadaclysm_blacksmith_sketch_profiles(h: number, tolerance: number): number;
6444
7171
 
7172
+ /**
7173
+ * `solid`'s `edges` projected onto the plane of `frame` (twelve doubles) as fixed geometry,
7174
+ * as C's `sketch_project_edges`: one entity id an edge, in order.
7175
+ */
7176
+ export function cadaclysm_blacksmith_sketch_project_edges(h: number, solid: number, edges: Uint32Array, frame: Float64Array, construction: boolean): Uint32Array;
7177
+
7178
+ /**
7179
+ * Every boundary edge of `solid`'s `faces` projected as `sketch_project_edges`, as C's
7180
+ * `sketch_project_faces`.
7181
+ */
7182
+ export function cadaclysm_blacksmith_sketch_project_faces(h: number, solid: number, faces: Uint32Array, frame: Float64Array, construction: boolean): Uint32Array;
7183
+
6445
7184
  /**
6446
7185
  * The radius of the circle or arc `id`.
6447
7186
  */
@@ -6512,6 +7251,11 @@ export function cadaclysm_blacksmith_sketch_set_point(h: number, id: number, x:
6512
7251
  */
6513
7252
  export function cadaclysm_blacksmith_sketch_set_radius(h: number, id: number, r: number): void;
6514
7253
 
7254
+ /**
7255
+ * Replaces a text entity's string.
7256
+ */
7257
+ export function cadaclysm_blacksmith_sketch_set_text(h: number, id: number, text: string): void;
7258
+
6515
7259
  /**
6516
7260
  * Sets the dimension `id` and re-solves: `[status, iterations, max_residual]`.
6517
7261
  */
@@ -6522,11 +7266,36 @@ export function cadaclysm_blacksmith_sketch_set_value(h: number, id: number, val
6522
7266
  */
6523
7267
  export function cadaclysm_blacksmith_sketch_solve(h: number): Float64Array;
6524
7268
 
7269
+ /**
7270
+ * A fitted spline's handles, `[start, end]` (NO_ENTITY where absent).
7271
+ */
7272
+ export function cadaclysm_blacksmith_sketch_spline_handles(h: number, id: number): Uint32Array;
7273
+
7274
+ /**
7275
+ * Splits `curve` at the point on it nearest (`x`, `y`): `[point, second]`.
7276
+ */
7277
+ export function cadaclysm_blacksmith_sketch_split(h: number, curve: number, x: number, y: number): Uint32Array;
7278
+
7279
+ /**
7280
+ * A text entity's string.
7281
+ */
7282
+ export function cadaclysm_blacksmith_sketch_text(h: number, id: number): string;
7283
+
7284
+ /**
7285
+ * A text entity's font (empty: the built-in one).
7286
+ */
7287
+ export function cadaclysm_blacksmith_sketch_text_font(h: number, id: number): string;
7288
+
6525
7289
  /**
6526
7290
  * The sketch as JSON: entities, constraints (names and expressions kept) and parameters.
6527
7291
  */
6528
7292
  export function cadaclysm_blacksmith_sketch_to_json(h: number): string;
6529
7293
 
7294
+ /**
7295
+ * Trims the stretch of `curve` picked at (`x`, `y`): the pieces left in order.
7296
+ */
7297
+ export function cadaclysm_blacksmith_sketch_trim(h: number, curve: number, x: number, y: number): Uint32Array;
7298
+
6530
7299
  /**
6531
7300
  * Refreshes the reference `id` from `other` and re-solves: `[status, iterations, max_residual]`.
6532
7301
  */
@@ -6560,12 +7329,30 @@ export function cadaclysm_blacksmith_solid_contour_curves(solid: number, from: F
6560
7329
 
6561
7330
  export function cadaclysm_blacksmith_solid_convert_to_nurbs(solid: number, level: number): Uint32Array;
6562
7331
 
7332
+ /**
7333
+ * `solid` with its quadrics as surfaces of revolution, as C's `solid_convert_to_revolution`:
7334
+ * `[solid, converted]`.
7335
+ */
7336
+ export function cadaclysm_blacksmith_solid_convert_to_revolution(solid: number): Uint32Array;
7337
+
7338
+ /**
7339
+ * Where a curve meets a solid's faces (`face` negative: every face), as C's
7340
+ * `solid_curve_hits`: eighteen numbers a row, no count call.
7341
+ */
7342
+ export function cadaclysm_blacksmith_solid_curve_hits(solid: number, curve: number, face: number, tolerance: number): Float64Array;
7343
+
6563
7344
  /**
6564
7345
  * `solid` with its faces divided along their isolines, `how` 0 closed (into `figure` pieces), 1
6565
7346
  * angle (`figure` radians), 2 area (`figure`), 3 continuity, as C's `solid_divide_faces`.
6566
7347
  */
6567
7348
  export function cadaclysm_blacksmith_solid_divide_faces(solid: number, how: number, figure: number, tolerance: number): number;
6568
7349
 
7350
+ /**
7351
+ * Each edge's deviation from each of its faces, as C's `solid_edge_deviations`: five numbers a
7352
+ * row (edge, face, deviation, parameter, pcurve parameter), no count call.
7353
+ */
7354
+ export function cadaclysm_blacksmith_solid_edge_deviations(solid: number): Float64Array;
7355
+
6569
7356
  /**
6570
7357
  * `solid` with faces `face_a` and `face_b` extended until they meet, as C's
6571
7358
  * `solid_extend_faces_to_connect`.
@@ -6608,6 +7395,22 @@ export function cadaclysm_blacksmith_solid_material(solid: number): string;
6608
7395
  */
6609
7396
  export function cadaclysm_blacksmith_solid_merge_surfaces(a: number, b: number, tolerance: number): number;
6610
7397
 
7398
+ /**
7399
+ * The mid-surface of a thin body, as C's `solid_mid_surface`.
7400
+ */
7401
+ export function cadaclysm_blacksmith_solid_mid_surface(solid: number, max_thickness: number, tolerance: number): number;
7402
+
7403
+ /**
7404
+ * The mid-surface's patches and unmatched faces, as C's `solid_mid_surface_patches`: five
7405
+ * numbers a row, no count call.
7406
+ */
7407
+ export function cadaclysm_blacksmith_solid_mid_surface_patches(solid: number, max_thickness: number, tolerance: number): Float64Array;
7408
+
7409
+ /**
7410
+ * The middle path from face `start` to face `end`, as C's `solid_middle_path`: `[handle, error]`.
7411
+ */
7412
+ export function cadaclysm_blacksmith_solid_middle_path(solid: number, start: number, end: number, tolerance: number): Float64Array;
7413
+
6611
7414
  /**
6612
7415
  * `solid`'s name, or an empty string when it has none -- the shim's `if raw`
6613
7416
  * check on the returned bytes reads an empty JS string the same way it reads
@@ -6627,6 +7430,23 @@ export function cadaclysm_blacksmith_solid_offset(solid: number, distance: numbe
6627
7430
  */
6628
7431
  export function cadaclysm_blacksmith_solid_offset_face(solid: number, face: number, distance: number, tolerance: number): number;
6629
7432
 
7433
+ /**
7434
+ * The body's faces sampled as points, as C's `solid_point_cloud`: seven numbers a point (x, y,
7435
+ * z, the outward normal, the face), no count call; `seed` a `BigInt`.
7436
+ */
7437
+ export function cadaclysm_blacksmith_solid_point_cloud(solid: number, count: number, density: number, seed: bigint, tolerance: number): Float64Array;
7438
+
7439
+ /**
7440
+ * A point inside a closed solid, as C's `solid_point_inside`: three numbers.
7441
+ */
7442
+ export function cadaclysm_blacksmith_solid_point_inside(solid: number, tolerance: number): Float64Array;
7443
+
7444
+ /**
7445
+ * `solid` through a healing pipeline, as C's `solid_process`: `[solid, report]`, the handle as a
7446
+ * number and the per-step report as JSON text.
7447
+ */
7448
+ export function cadaclysm_blacksmith_solid_process(solid: number, steps: string): Array<any>;
7449
+
6630
7450
  /**
6631
7451
  * Where `profile`, placed on `frame` (12 doubles), crosses, touches or runs along
6632
7452
  * `solid`'s faces, as a hits handle: the hits read with `hit_count` / `hit` (a
@@ -6637,6 +7457,17 @@ export function cadaclysm_blacksmith_solid_offset_face(solid: number, face: numb
6637
7457
  */
6638
7458
  export function cadaclysm_blacksmith_solid_profile_hits(solid: number, profile: number, frame: Float64Array, tolerance: number, progress?: Function | null): number;
6639
7459
 
7460
+ /**
7461
+ * `solid` placed by `matrix` made rigid, as C's `solid_purge_placement`: `[solid, the rigid
7462
+ * rest's 16 numbers, inexact]`, C's outs in order.
7463
+ */
7464
+ export function cadaclysm_blacksmith_solid_purge_placement(solid: number, matrix: Float64Array): Float64Array;
7465
+
7466
+ /**
7467
+ * Where a ray meets a solid's faces, as C's `solid_ray_hits`: eighteen numbers a row.
7468
+ */
7469
+ export function cadaclysm_blacksmith_solid_ray_hits(solid: number, origin: Float64Array, direction: Float64Array, tolerance: number): Float64Array;
7470
+
6640
7471
  /**
6641
7472
  * `solid` with the faces at `faces` replaced by face `target_face` of `target`, as C's
6642
7473
  * `solid_replace_faces`.
@@ -6650,6 +7481,12 @@ export function cadaclysm_blacksmith_solid_replace_faces(solid: number, faces: U
6650
7481
  */
6651
7482
  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
7483
 
7484
+ /**
7485
+ * `solid` with its NURBS faces and edge curves restricted, as C's `solid_restrict_bsplines`:
7486
+ * `[solid, tolerance, surfaces, curves, max_deviation, refused]` (C's `report_out` after the handle).
7487
+ */
7488
+ export function cadaclysm_blacksmith_solid_restrict_bsplines(solid: number, max_degree: number, max_segments: number, continuity: number, tolerance: number): Float64Array;
7489
+
6653
7490
  /**
6654
7491
  * A sheet of ruled faces off `edges`, as C's `solid_ruled_from_edges`.
6655
7492
  */
@@ -6858,6 +7695,92 @@ export function cadaclysm_blacksmith_stock_box(min_x: number, min_y: number, min
6858
7695
 
6859
7696
  export function cadaclysm_blacksmith_stock_free(h: number): void;
6860
7697
 
7698
+ /**
7699
+ * A member along a straight edge of `solid`, as C's `structure_add_edge`.
7700
+ */
7701
+ 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;
7702
+
7703
+ /**
7704
+ * A member where two planes meet between two more (24 numbers), as C's `structure_add_planes`.
7705
+ */
7706
+ 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;
7707
+
7708
+ /**
7709
+ * A member from `line` (6 numbers), as C's `structure_add_points`; `up` null (+Z) or 3
7710
+ * numbers, `tag` null for empty.
7711
+ */
7712
+ 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;
7713
+
7714
+ /**
7715
+ * A member along a sketch line placed by `frame` (12 numbers), as C's
7716
+ * `structure_add_sketch_line`.
7717
+ */
7718
+ 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;
7719
+
7720
+ /**
7721
+ * Body `i`: a new solid handle.
7722
+ */
7723
+ export function cadaclysm_blacksmith_structure_body(s: number, i: number): number;
7724
+
7725
+ /**
7726
+ * How many bodies, as C's `structure_body_count`.
7727
+ */
7728
+ export function cadaclysm_blacksmith_structure_body_count(s: number): number;
7729
+
7730
+ /**
7731
+ * Corner `i` as C's `structure_corner`: 9 numbers, `point (3), cap_thickness, cap_offset,
7732
+ * member_count, rule, top, cap_inward`.
7733
+ */
7734
+ export function cadaclysm_blacksmith_structure_corner(s: number, i: number): Float64Array;
7735
+
7736
+ /**
7737
+ * How many corners, as C's `structure_corner_count`.
7738
+ */
7739
+ export function cadaclysm_blacksmith_structure_corner_count(s: number): number;
7740
+
7741
+ /**
7742
+ * Corner `i`'s members as C's `structure_corner_members`: two numbers each, member and end code.
7743
+ */
7744
+ export function cadaclysm_blacksmith_structure_corner_members(s: number, i: number): Uint32Array;
7745
+
7746
+ /**
7747
+ * The cut list of every body, as C's `structure_cut_list`: a cut list handle.
7748
+ */
7749
+ export function cadaclysm_blacksmith_structure_cut_list(s: number, tolerance: number): number;
7750
+
7751
+ export function cadaclysm_blacksmith_structure_free(h: number): void;
7752
+
7753
+ /**
7754
+ * Member `i`'s solid: a new solid handle.
7755
+ */
7756
+ export function cadaclysm_blacksmith_structure_member(s: number, i: number): number;
7757
+
7758
+ /**
7759
+ * How many members, as C's `structure_member_count`.
7760
+ */
7761
+ export function cadaclysm_blacksmith_structure_member_count(s: number): number;
7762
+
7763
+ /**
7764
+ * Member `i` as C's `structure_member_info`: 24 numbers, as `weldment_member_info`'s.
7765
+ */
7766
+ export function cadaclysm_blacksmith_structure_member_info(s: number, i: number): Float64Array;
7767
+
7768
+ /**
7769
+ * Member `i`'s tag and how its path was given, as C's `structure_member_tag`: an object
7770
+ * `{ tag, source }` (source 0 points, 1 planes, 2 edge, 3 sketch line).
7771
+ */
7772
+ export function cadaclysm_blacksmith_structure_member_tag(s: number, i: number): any;
7773
+
7774
+ /**
7775
+ * An empty structure system, as C's `structure_new`.
7776
+ */
7777
+ export function cadaclysm_blacksmith_structure_new(tolerance: number): number;
7778
+
7779
+ /**
7780
+ * Sets corner `i`'s rule, as C's `structure_set_corner`.
7781
+ */
7782
+ export function cadaclysm_blacksmith_structure_set_corner(s: number, i: number, rule: number, top: number, thickness: number, offset: number, inward: boolean): void;
7783
+
6861
7784
  export function cadaclysm_blacksmith_styled(solid: number, location?: string | null, identification?: string | null): number;
6862
7785
 
6863
7786
  /**
@@ -6973,6 +7896,14 @@ export function cadaclysm_blacksmith_subd_subdivide(subd: number, faces: Uint32A
6973
7896
  */
6974
7897
  export function cadaclysm_blacksmith_subd_to_solid(subd: number, tolerance: number, g1_angle_deg: number, max_levels: number): any;
6975
7898
 
7899
+ /**
7900
+ * [`cadaclysm_blacksmith_subd_to_solid`] with packing a choice, as `[solid, report]`:
7901
+ * `pack` false gives one face per patch, and the report carries C's two out-structs'
7902
+ * fields in one object, `{regular, refined, steps, levels, deviation, g1_angle_deg,
7903
+ * deviation_at, g1_at, faces, packed_faces}`.
7904
+ */
7905
+ export function cadaclysm_blacksmith_subd_to_solid_with(subd: number, tolerance: number, g1_angle_deg: number, max_levels: number, pack: boolean): any;
7906
+
6976
7907
  /**
6977
7908
  * A torus around +Z: `around` steps about the axis at `major`, `tube` round the tube of `minor`.
6978
7909
  */
@@ -6990,6 +7921,17 @@ export function cadaclysm_blacksmith_subd_transform(subd: number, kind: number,
6990
7921
  */
6991
7922
  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
7923
 
7924
+ /**
7925
+ * Where two analytic surfaces meet, as C's `surface_intersect`: sixteen numbers a row, no count
7926
+ * call.
7927
+ */
7928
+ export function cadaclysm_blacksmith_surface_intersect(kind_a: number, a: Float64Array, kind_b: number, b: Float64Array, tolerance: number): Float64Array;
7929
+
7930
+ /**
7931
+ * Row `index` of `surface_intersect`'s answer as a NURBS curve.
7932
+ */
7933
+ export function cadaclysm_blacksmith_surface_intersect_curve(kind_a: number, a: Float64Array, kind_b: number, b: Float64Array, tolerance: number, index: number): number;
7934
+
6993
7935
  export function cadaclysm_blacksmith_surface_value_closest_point(kind: number, value: Float64Array, point: Float64Array): Float64Array;
6994
7936
 
6995
7937
  export function cadaclysm_blacksmith_surface_value_domain(kind: number, value: Float64Array): Float64Array;
@@ -7013,6 +7955,17 @@ export function cadaclysm_blacksmith_svg_text(solids: Uint32Array, words: Float6
7013
7955
 
7014
7956
  export function cadaclysm_blacksmith_sweep(profile: number, frame: Float64Array, path: number): number;
7015
7957
 
7958
+ /**
7959
+ * The sections swept along `rail` by the JSON `options`, as C's `sweep_along`: `[solid,
7960
+ * error]`; `guide` absent for none.
7961
+ */
7962
+ export function cadaclysm_blacksmith_sweep_along(rail: number, sections: Uint32Array, guide: number | null | undefined, options: string | null | undefined, tolerance: number): Float64Array;
7963
+
7964
+ /**
7965
+ * `profile` swept along `path` as a feature (see the C `sweep_feature`).
7966
+ */
7967
+ 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;
7968
+
7016
7969
  export function cadaclysm_blacksmith_sweep_open(profile: number, frame: Float64Array, path: number): number;
7017
7970
 
7018
7971
  export function cadaclysm_blacksmith_sweep_path_along(curve: number, frame: Float64Array, tolerance: number, open: boolean): number;
@@ -7302,11 +8255,22 @@ export function cadaclysm_blacksmith_triangle_closest_point(value: Float64Array,
7302
8255
 
7303
8256
  export function cadaclysm_blacksmith_triangle_edge(value: Float64Array, index: number): Float64Array;
7304
8257
 
8258
+ /**
8259
+ * The boolean `op` (0 union, 1 difference, 2 intersection) of two closed meshes, a handle.
8260
+ * Throws on an open mesh and an empty result.
8261
+ */
8262
+ export function cadaclysm_blacksmith_triangle_mesh_boolean(mesh: number, other: number, op: number): number;
8263
+
7305
8264
  /**
7306
8265
  * The six numbers `min x, min y, min z, max x, max y, max z` of every vertex.
7307
8266
  */
7308
8267
  export function cadaclysm_blacksmith_triangle_mesh_bounds(mesh: number): Float64Array;
7309
8268
 
8269
+ /**
8270
+ * A closed box from `min` to `max`, each face a grid of `nx`, `ny`, `nz` cells, a handle.
8271
+ */
8272
+ export function cadaclysm_blacksmith_triangle_mesh_box(min: Float64Array, max: Float64Array, nx: number, ny: number, nz: number): number;
8273
+
7310
8274
  /**
7311
8275
  * The mesh's defects as twelve numbers, in the C call's order: vertices, triangles, unused
7312
8276
  * vertices, degenerate triangles, duplicate triangles, boundary edges, boundary loops,
@@ -7314,6 +8278,13 @@ export function cadaclysm_blacksmith_triangle_mesh_bounds(mesh: number): Float64
7314
8278
  */
7315
8279
  export function cadaclysm_blacksmith_triangle_mesh_check(mesh: number): Uint32Array;
7316
8280
 
8281
+ /**
8282
+ * The pairs of triangle meshes that penetrate, touch or come within `clearance`, as C's
8283
+ * `triangle_mesh_clash`: `b` empty for `a` against itself; `allowed` flat index pairs;
8284
+ * fourteen numbers a row, no count call.
8285
+ */
8286
+ export function cadaclysm_blacksmith_triangle_mesh_clash(a: Uint32Array, b: Uint32Array, clearance: number, tolerance: number, allowed: Uint32Array): Float64Array;
8287
+
7317
8288
  /**
7318
8289
  * The nearest point of the mesh to the 3-number `point` as `{point, distance, triangle,
7319
8290
  * barycentric, kind, vertices}` (see `mesh_point`), or `null` beyond `max_distance` (NaN or +inf:
@@ -7321,6 +8292,22 @@ export function cadaclysm_blacksmith_triangle_mesh_check(mesh: number): Uint32Ar
7321
8292
  */
7322
8293
  export function cadaclysm_blacksmith_triangle_mesh_closest_point(mesh: number, point: Float64Array, max_distance: number): any;
7323
8294
 
8295
+ /**
8296
+ * The mesh with its edges shorter than `min_length` collapsed, as `[handle, collapsed]`.
8297
+ */
8298
+ export function cadaclysm_blacksmith_triangle_mesh_collapse_short_edges(mesh: number, min_length: number): Uint32Array;
8299
+
8300
+ /**
8301
+ * A cone from the circle round `base` to `apex`, its base capped where `cap`, a handle.
8302
+ */
8303
+ export function cadaclysm_blacksmith_triangle_mesh_cone(base: Float64Array, apex: Float64Array, radius: number, segments: number, cap: boolean): number;
8304
+
8305
+ /**
8306
+ * Where a point lies against a triangle mesh, as C's `triangle_mesh_contains`: the containment
8307
+ * code.
8308
+ */
8309
+ export function cadaclysm_blacksmith_triangle_mesh_contains(mesh: number, point: Float64Array, tolerance: number): number;
8310
+
7324
8311
  /**
7325
8312
  * The nearest points of `curve` and the mesh as `{distance, t, point_on_curve, mesh, crossing}`
7326
8313
  * (see `curve_mesh`), or `null` beyond `max_distance`. Throws on an invalid curve or a negative
@@ -7328,6 +8315,16 @@ export function cadaclysm_blacksmith_triangle_mesh_closest_point(mesh: number, p
7328
8315
  */
7329
8316
  export function cadaclysm_blacksmith_triangle_mesh_curve_closest_points(mesh: number, curve: number, max_distance: number): any;
7330
8317
 
8318
+ /**
8319
+ * A cylinder from `base` to `top`, capped where `caps`, a handle.
8320
+ */
8321
+ export function cadaclysm_blacksmith_triangle_mesh_cylinder(base: Float64Array, top: Float64Array, radius: number, segments: number, caps: boolean): number;
8322
+
8323
+ /**
8324
+ * The open strip curve `curve` sweeps moved by `direction`, a handle.
8325
+ */
8326
+ export function cadaclysm_blacksmith_triangle_mesh_extrusion(curve: number, direction: Float64Array, tolerance: number): number;
8327
+
7331
8328
  /**
7332
8329
  * The mesh with its holes of at most `max_edges` edges (0: all) filled, as `[handle, filled]`
7333
8330
  * (the C call's `filled` after the new handle).
@@ -7336,11 +8333,33 @@ export function cadaclysm_blacksmith_triangle_mesh_fill_holes(mesh: number, max_
7336
8333
 
7337
8334
  export function cadaclysm_blacksmith_triangle_mesh_free(h: number): void;
7338
8335
 
8336
+ /**
8337
+ * The planar region inside closed polylines: `points` cut into loops of `loop_counts` points,
8338
+ * the first the outline, the rest holes, a handle.
8339
+ */
8340
+ export function cadaclysm_blacksmith_triangle_mesh_from_polylines(points: Float64Array, loop_counts: Uint32Array): number;
8341
+
8342
+ /**
8343
+ * The mesh with its naked edges within `distance` healed, as `[handle, healed]`.
8344
+ */
8345
+ export function cadaclysm_blacksmith_triangle_mesh_heal_naked_edges(mesh: number, distance: number): Uint32Array;
8346
+
8347
+ /**
8348
+ * An icosahedron split `subdivisions` times onto the sphere, a handle.
8349
+ */
8350
+ export function cadaclysm_blacksmith_triangle_mesh_ico_sphere(centre: Float64Array, radius: number, subdivisions: number): number;
8351
+
7339
8352
  /**
7340
8353
  * Every triangle's three vertex indices in turn.
7341
8354
  */
7342
8355
  export function cadaclysm_blacksmith_triangle_mesh_indices(mesh: number): Uint32Array;
7343
8356
 
8357
+ /**
8358
+ * Where a line over `[t0, t1]` meets a triangle mesh, as C's `triangle_mesh_line_hits`: eight
8359
+ * numbers a row.
8360
+ */
8361
+ export function cadaclysm_blacksmith_triangle_mesh_line_hits(mesh: number, origin: Float64Array, direction: Float64Array, t0: number, t1: number): Float64Array;
8362
+
7344
8363
  /**
7345
8364
  * A triangle mesh of `positions` (x, y, z per vertex) and `indices` (three vertex indices per
7346
8365
  * triangle, any winding), a handle; both are copied. Throws on lengths that are not multiples of
@@ -7349,11 +8368,58 @@ export function cadaclysm_blacksmith_triangle_mesh_indices(mesh: number): Uint32
7349
8368
  */
7350
8369
  export function cadaclysm_blacksmith_triangle_mesh_new(positions: Float64Array, indices: Uint32Array): number;
7351
8370
 
8371
+ /**
8372
+ * The unit normal at `barycentric` on `triangle`, 3 numbers.
8373
+ */
8374
+ export function cadaclysm_blacksmith_triangle_mesh_normal_at(mesh: number, triangle: number, barycentric: Float64Array): Float64Array;
8375
+
8376
+ /**
8377
+ * The lone offset surface `distance` along the normals, a new handle.
8378
+ */
8379
+ export function cadaclysm_blacksmith_triangle_mesh_offset(mesh: number, distance: number): number;
8380
+
8381
+ /**
8382
+ * A tube of `radius` along curve `curve`, capped where `caps`, a handle.
8383
+ */
8384
+ export function cadaclysm_blacksmith_triangle_mesh_pipe(curve: number, radius: number, segments: number, tolerance: number, caps: boolean): number;
8385
+
8386
+ /**
8387
+ * An open grid of `nx` × `ny` cells over `origin + s x_axis + t y_axis`, a handle.
8388
+ */
8389
+ export function cadaclysm_blacksmith_triangle_mesh_plane(origin: Float64Array, x_axis: Float64Array, y_axis: Float64Array, nx: number, ny: number): number;
8390
+
8391
+ /**
8392
+ * A triangle mesh cut by a plane (6 numbers: a point, a normal), as C's
8393
+ * `triangle_mesh_plane_section`.
8394
+ */
8395
+ export function cadaclysm_blacksmith_triangle_mesh_plane_section(mesh: number, plane: Float64Array): any;
8396
+
8397
+ /**
8398
+ * The point at `barycentric` on `triangle`, 3 numbers.
8399
+ */
8400
+ export function cadaclysm_blacksmith_triangle_mesh_point_at(mesh: number, triangle: number, barycentric: Float64Array): Float64Array;
8401
+
8402
+ /**
8403
+ * Where a polyline (three numbers a point) meets a triangle mesh, as C's
8404
+ * `triangle_mesh_polyline_hits`: eight numbers a row.
8405
+ */
8406
+ export function cadaclysm_blacksmith_triangle_mesh_polyline_hits(mesh: number, points: Float64Array): Float64Array;
8407
+
7352
8408
  /**
7353
8409
  * Every vertex, x, y, z in turn.
7354
8410
  */
7355
8411
  export function cadaclysm_blacksmith_triangle_mesh_positions(mesh: number): Float64Array;
7356
8412
 
8413
+ /**
8414
+ * A cube of `subdivisions` squared cells a face onto the sphere, a handle.
8415
+ */
8416
+ export function cadaclysm_blacksmith_triangle_mesh_quad_sphere(centre: Float64Array, radius: number, subdivisions: number): number;
8417
+
8418
+ /**
8419
+ * The mesh reduced to at most `target_triangles`, a new handle.
8420
+ */
8421
+ export function cadaclysm_blacksmith_triangle_mesh_reduce(mesh: number, target_triangles: number): number;
8422
+
7357
8423
  /**
7358
8424
  * The repaired mesh as `[handle, welded vertices, unused vertices, degenerate triangles,
7359
8425
  * duplicate triangles, flipped triangles]` (the C call's `report` after the new handle). Throws
@@ -7378,8 +8444,41 @@ export function cadaclysm_blacksmith_triangle_mesh_shell(mesh: number, thickness
7378
8444
  */
7379
8445
  export function cadaclysm_blacksmith_triangle_mesh_smooth(mesh: number, iterations: number, factor: number, method: number, keep_boundary: boolean): number;
7380
8446
 
8447
+ /**
8448
+ * A UV sphere, each pole one vertex, a handle.
8449
+ */
8450
+ export function cadaclysm_blacksmith_triangle_mesh_sphere(centre: Float64Array, radius: number, segments: number, rings: number): number;
8451
+
8452
+ /**
8453
+ * `mesh` split by `other` as `[outside, inside]` handles, `CADACLYSM_BLACKSMITH_NONE`
8454
+ * (4294967295) for an empty part (C's null).
8455
+ */
8456
+ export function cadaclysm_blacksmith_triangle_mesh_split(mesh: number, other: number): Uint32Array;
8457
+
8458
+ /**
8459
+ * The mesh subdivided `levels` times, Loop where `smooth`, a new handle.
8460
+ */
8461
+ export function cadaclysm_blacksmith_triangle_mesh_subdivide(mesh: number, levels: number, smooth: boolean): number;
8462
+
8463
+ /**
8464
+ * A torus round `axis` through `centre`, a handle.
8465
+ */
8466
+ export function cadaclysm_blacksmith_triangle_mesh_torus(centre: Float64Array, axis: Float64Array, major: number, minor: number, segments: number, tube_segments: number): number;
8467
+
7381
8468
  export function cadaclysm_blacksmith_triangle_mesh_triangle_count(mesh: number): number;
7382
8469
 
8470
+ /**
8471
+ * The mesh unwelded across edges of at least `angle` radians, a new handle.
8472
+ */
8473
+ export function cadaclysm_blacksmith_triangle_mesh_unweld(mesh: number, angle: number): number;
8474
+
8475
+ /**
8476
+ * The mesh unwrapped: `[chart_count, chart of each triangle..., u, v of each corner...]` -- one
8477
+ * number, then `triangle_count`, then `6 * triangle_count` (the C call's `chart_count`, `charts`
8478
+ * and `uvs`).
8479
+ */
8480
+ export function cadaclysm_blacksmith_triangle_mesh_unwrap(mesh: number, max_angle: number): Float64Array;
8481
+
7383
8482
  export function cadaclysm_blacksmith_triangle_mesh_vertex_count(mesh: number): number;
7384
8483
 
7385
8484
  export function cadaclysm_blacksmith_triangle_perimeter(value: Float64Array): number;
@@ -7467,6 +8566,13 @@ export function cadaclysm_blacksmith_value_size(kind: number): number;
7467
8566
 
7468
8567
  export function cadaclysm_blacksmith_value_transform(kind: number, value: Float64Array, matrix: Float64Array): Float64Array;
7469
8568
 
8569
+ /**
8570
+ * The section sketch `section` (its JSON) swept along `path`, solved again at every station,
8571
+ * guide `i` pinning the point `options.guide_points[i]` names, as C's `varsweep`: `[solid,
8572
+ * error]`.
8573
+ */
8574
+ export function cadaclysm_blacksmith_varsweep(path: number, section: string, guides: Uint32Array, options: string | null | undefined, tolerance: number): Float64Array;
8575
+
7470
8576
  export function cadaclysm_blacksmith_version(): string;
7471
8577
 
7472
8578
  /**
@@ -7605,6 +8711,12 @@ export function cadaclysm_blacksmith_without_pmi(solid: number, index: number):
7605
8711
  */
7606
8712
  export function cadaclysm_blacksmith_without_pmi_view(solid: number, index: number): number;
7607
8713
 
8714
+ /**
8715
+ * The convex solid enclosing `solids`, its faces `offset` out, as C's `wrap`: `planes` six
8716
+ * numbers a plane (origin, normal), at most eight, empty for none. A solid handle.
8717
+ */
8718
+ export function cadaclysm_blacksmith_wrap(solids: Uint32Array, offset: number, tolerance: number, planes: Float64Array): number;
8719
+
7608
8720
  /**
7609
8721
  * `setColourBy`'s mode, checked without a GPU: the same two refusals `Machining.
7610
8722
  * setColourBy` throws ("colourBy: mode must be ..." or "showMachining: colour by
@@ -7663,8 +8775,13 @@ export function loadFont(bytes: Uint8Array | ArrayBuffer): number;
7663
8775
  * tolerance, as `Brep.recognize` would -- NURBS planes, cylinders, cones, spheres and tori
7664
8776
  * exact. Omitted or 0 is off; `1e-6` is the usual ask. Meshes are unchanged. A negative, NaN
7665
8777
  * or infinite tolerance throws.
8778
+ *
8779
+ * `heal`: every B-rep body the scene hands out runs through a healing pipeline, after the
8780
+ * recognition -- the JSON steps the kernel's `Solid.process` takes (a list, or `{"name",
8781
+ * "steps"}`; each `{"op": ..., parameters}`). Omitted is off; steps that do not parse throw,
8782
+ * and a body a step refuses comes back as read, the refusal among the diagnostics.
7666
8783
  */
7667
- export function open(bytes: Uint8Array, format: string, schema?: string | null, convention?: string | null, lightmap_resolution?: number | null, recognize_tolerance?: number | null): Scene;
8784
+ 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
8785
 
7669
8786
  /**
7670
8787
  * Colour text as red, green and blue from 0 to 1, read by the parser every colour
@@ -7795,6 +8912,12 @@ export interface InitOutput {
7795
8912
  readonly cadaclysm_blacksmith_arc_through: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7796
8913
  readonly cadaclysm_blacksmith_assembly_3dm_bytes: (a: number, b: number, c: number) => void;
7797
8914
  readonly cadaclysm_blacksmith_assembly_base: (a: number, b: number, c: number, d: number) => void;
8915
+ readonly cadaclysm_blacksmith_assembly_expand: (a: number, b: number, c: number, d: number) => void;
8916
+ readonly cadaclysm_blacksmith_assembly_explode_animation: (a: number, b: number, c: number, d: number, e: number) => void;
8917
+ 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;
8918
+ readonly cadaclysm_blacksmith_assembly_explode_step_count: (a: number, b: number, c: number, d: number) => void;
8919
+ readonly cadaclysm_blacksmith_assembly_explode_trail: (a: number, b: number, c: number, d: number, e: number) => void;
8920
+ readonly cadaclysm_blacksmith_assembly_exploded_placements: (a: number, b: number, c: number, d: number, e: number) => void;
7798
8921
  readonly cadaclysm_blacksmith_assembly_free: (a: number) => void;
7799
8922
  readonly cadaclysm_blacksmith_assembly_joint: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7800
8923
  readonly cadaclysm_blacksmith_assembly_link: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -7808,6 +8931,7 @@ export interface InitOutput {
7808
8931
  readonly cadaclysm_blacksmith_assembly_place_solid: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7809
8932
  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
8933
  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;
8934
+ readonly cadaclysm_blacksmith_assembly_rescale: (a: number, b: number, c: number) => void;
7811
8935
  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;
7812
8936
  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
8937
  readonly cadaclysm_blacksmith_assembly_step: (a: number, b: number, c: number, d: number, e: number) => void;
@@ -7815,8 +8939,13 @@ export interface InitOutput {
7815
8939
  readonly cadaclysm_blacksmith_attribute: (a: number, b: number, c: number, d: number) => void;
7816
8940
  readonly cadaclysm_blacksmith_attribute_keys: (a: number, b: number) => void;
7817
8941
  readonly cadaclysm_blacksmith_attribute_values: (a: number, b: number) => void;
8942
+ readonly cadaclysm_blacksmith_axis_normal: (a: number, b: number, c: number, d: number, e: number) => void;
8943
+ readonly cadaclysm_blacksmith_axis_of_edge: (a: number, b: number, c: number) => void;
8944
+ readonly cadaclysm_blacksmith_axis_of_face: (a: number, b: number, c: number) => void;
8945
+ readonly cadaclysm_blacksmith_axis_of_planes: (a: number, b: number, c: number, d: number, e: number) => void;
7818
8946
  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
8947
  readonly cadaclysm_blacksmith_body_draft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8948
+ readonly cadaclysm_blacksmith_boolean_many: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7820
8949
  readonly cadaclysm_blacksmith_bounds: (a: number, b: number, c: number) => void;
7821
8950
  readonly cadaclysm_blacksmith_bounds64: (a: number, b: number, c: number) => void;
7822
8951
  readonly cadaclysm_blacksmith_box: (a: number, b: number) => void;
@@ -7827,7 +8956,11 @@ export interface InitOutput {
7827
8956
  readonly cadaclysm_blacksmith_brep_layout_id: (a: number) => void;
7828
8957
  readonly cadaclysm_blacksmith_brep_text: (a: number, b: number, c: number) => void;
7829
8958
  readonly cadaclysm_blacksmith_build: (a: number) => void;
8959
+ readonly cadaclysm_blacksmith_cell: (a: number, b: number, c: number) => void;
8960
+ readonly cadaclysm_blacksmith_cell_count: (a: number, b: number) => void;
7830
8961
  readonly cadaclysm_blacksmith_chamfer: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8962
+ readonly cadaclysm_blacksmith_chamfer_angle: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8963
+ readonly cadaclysm_blacksmith_chamfer_two_distances: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7831
8964
  readonly cadaclysm_blacksmith_check: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7832
8965
  readonly cadaclysm_blacksmith_check_count: (a: number, b: number) => void;
7833
8966
  readonly cadaclysm_blacksmith_check_finding: (a: number, b: number, c: number) => void;
@@ -7855,8 +8988,12 @@ export interface InitOutput {
7855
8988
  readonly cadaclysm_blacksmith_cloth_pin: (a: number, b: number, c: number, d: number) => void;
7856
8989
  readonly cadaclysm_blacksmith_cloth_positions: (a: number, b: number) => void;
7857
8990
  readonly cadaclysm_blacksmith_cloth_remesh_pattern: (a: number, b: number, c: number, d: number) => void;
8991
+ 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
8992
  readonly cadaclysm_blacksmith_cloth_rest: (a: number, b: number) => void;
7859
8993
  readonly cadaclysm_blacksmith_cloth_set_options: (a: number, b: number, c: number, d: number) => void;
8994
+ readonly cadaclysm_blacksmith_cloth_set_trims: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8995
+ readonly cadaclysm_blacksmith_cloth_skipped_trim_reason: (a: number, b: number, c: number) => void;
8996
+ readonly cadaclysm_blacksmith_cloth_skipped_trims: (a: number, b: number) => void;
7860
8997
  readonly cadaclysm_blacksmith_cloth_status: (a: number, b: number) => void;
7861
8998
  readonly cadaclysm_blacksmith_cloth_step: (a: number, b: number, c: number) => void;
7862
8999
  readonly cadaclysm_blacksmith_cloth_strain: (a: number, b: number, c: number, d: number) => void;
@@ -7865,6 +9002,9 @@ export interface InitOutput {
7865
9002
  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
9003
  readonly cadaclysm_blacksmith_cloth_tape_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7867
9004
  readonly cadaclysm_blacksmith_cloth_triangles: (a: number, b: number) => void;
9005
+ readonly cadaclysm_blacksmith_cloth_trim_indices: (a: number, b: number) => void;
9006
+ readonly cadaclysm_blacksmith_cloth_trim_vertex_count: (a: number, b: number) => void;
9007
+ readonly cadaclysm_blacksmith_cloth_trim_vertices: (a: number, b: number) => void;
7868
9008
  readonly cadaclysm_blacksmith_cloth_unpin: (a: number, b: number, c: number) => void;
7869
9009
  readonly cadaclysm_blacksmith_cloth_vertex_link: (a: number, b: number, c: number) => void;
7870
9010
  readonly cadaclysm_blacksmith_cloth_vertex_links: (a: number, b: number) => void;
@@ -7899,9 +9039,11 @@ export interface InitOutput {
7899
9039
  readonly cadaclysm_blacksmith_composite_curve_point: (a: number, b: number, c: number) => void;
7900
9040
  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
9041
  readonly cadaclysm_blacksmith_composite_curve_to_nurbs: (a: number, b: number) => void;
9042
+ readonly cadaclysm_blacksmith_compsolid: (a: number, b: number, c: number, d: number) => void;
7902
9043
  readonly cadaclysm_blacksmith_cone: (a: number, b: number, c: number) => void;
7903
9044
  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
9045
  readonly cadaclysm_blacksmith_contains: (a: number, b: number, c: number, d: number, e: number) => void;
9046
+ readonly cadaclysm_blacksmith_contiguous_edges: (a: number, b: number, c: number, d: number) => void;
7905
9047
  readonly cadaclysm_blacksmith_continuity: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7906
9048
  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
9049
  readonly cadaclysm_blacksmith_cuboid: (a: number, b: number, c: number, d: number) => void;
@@ -7918,6 +9060,7 @@ export interface InitOutput {
7918
9060
  readonly cadaclysm_blacksmith_curve_value_point_at: (a: number, b: number, c: number, d: number, e: number) => void;
7919
9061
  readonly cadaclysm_blacksmith_curve_value_tangent_at: (a: number, b: number, c: number, d: number, e: number) => void;
7920
9062
  readonly cadaclysm_blacksmith_curve_value_to_nurbs: (a: number, b: number, c: number, d: number) => void;
9063
+ readonly cadaclysm_blacksmith_curves_boolean: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7921
9064
  readonly cadaclysm_blacksmith_cut: (a: number, b: number, c: number, d: number, e: number) => void;
7922
9065
  readonly cadaclysm_blacksmith_cut_list: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7923
9066
  readonly cadaclysm_blacksmith_cut_list_csv: (a: number, b: number) => void;
@@ -7936,6 +9079,7 @@ export interface InitOutput {
7936
9079
  readonly cadaclysm_blacksmith_document_branch_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7937
9080
  readonly cadaclysm_blacksmith_document_branch_rename: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7938
9081
  readonly cadaclysm_blacksmith_document_branch_switch: (a: number, b: number, c: number, d: number) => void;
9082
+ readonly cadaclysm_blacksmith_document_check_links_from: (a: number, b: number, c: number, d: number) => void;
7939
9083
  readonly cadaclysm_blacksmith_document_clear_history: (a: number, b: number) => void;
7940
9084
  readonly cadaclysm_blacksmith_document_configuration: (a: number, b: number) => void;
7941
9085
  readonly cadaclysm_blacksmith_document_configurations: (a: number, b: number) => void;
@@ -7977,10 +9121,13 @@ export interface InitOutput {
7977
9121
  readonly cadaclysm_blacksmith_document_solid_body: (a: number, b: number) => void;
7978
9122
  readonly cadaclysm_blacksmith_document_tips: (a: number, b: number) => void;
7979
9123
  readonly cadaclysm_blacksmith_document_undo: (a: number, b: number) => void;
9124
+ 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
9125
  readonly cadaclysm_blacksmith_document_value: (a: number, b: number, c: number, d: number) => void;
9126
+ readonly cadaclysm_blacksmith_dome: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7981
9127
  readonly cadaclysm_blacksmith_draft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
7982
9128
  readonly cadaclysm_blacksmith_draft_analysis: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7983
9129
  readonly cadaclysm_blacksmith_draft_angle_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9130
+ readonly cadaclysm_blacksmith_draft_sheet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
7984
9131
  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
9132
  readonly cadaclysm_blacksmith_drawing_svg_text: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
7986
9133
  readonly cadaclysm_blacksmith_drop_faces: (a: number, b: number, c: number, d: number) => void;
@@ -7999,6 +9146,7 @@ export interface InitOutput {
7999
9146
  readonly cadaclysm_blacksmith_edge_history: (a: number, b: number, c: number, d: number) => void;
8000
9147
  readonly cadaclysm_blacksmith_edge_id: (a: number, b: number, c: number) => void;
8001
9148
  readonly cadaclysm_blacksmith_edge_inner_point: (a: number, b: number, c: number) => void;
9149
+ readonly cadaclysm_blacksmith_edge_is_tolerant: (a: number, b: number, c: number, d: number) => void;
8002
9150
  readonly cadaclysm_blacksmith_edge_length: (a: number, b: number, c: number, d: number) => void;
8003
9151
  readonly cadaclysm_blacksmith_edge_origin_at: (a: number, b: number, c: number, d: number) => void;
8004
9152
  readonly cadaclysm_blacksmith_edge_origin_count: (a: number, b: number, c: number) => void;
@@ -8012,11 +9160,15 @@ export interface InitOutput {
8012
9160
  readonly cadaclysm_blacksmith_edge_with_id: (a: number, b: number, c: bigint) => void;
8013
9161
  readonly cadaclysm_blacksmith_edges_coloured: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8014
9162
  readonly cadaclysm_blacksmith_edges_convexity: (a: number, b: number, c: number) => void;
9163
+ readonly cadaclysm_blacksmith_edges_mass: (a: number, b: number, c: number, d: number, e: number) => void;
8015
9164
  readonly cadaclysm_blacksmith_effective_tolerance: (a: number, b: number, c: number) => void;
8016
9165
  readonly cadaclysm_blacksmith_ellipse_from_circle: (a: number, b: number, c: number) => void;
9166
+ readonly cadaclysm_blacksmith_entity_distance: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9167
+ readonly cadaclysm_blacksmith_evolved: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8017
9168
  readonly cadaclysm_blacksmith_extrude: (a: number, b: number, c: number, d: number, e: number) => void;
8018
9169
  readonly cadaclysm_blacksmith_extrude_between: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8019
9170
  readonly cadaclysm_blacksmith_extrude_faces: (a: number, b: number, c: number) => void;
9171
+ 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
9172
  readonly cadaclysm_blacksmith_extrude_open: (a: number, b: number, c: number, d: number, e: number) => void;
8021
9173
  readonly cadaclysm_blacksmith_extrude_open_between: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8022
9174
  readonly cadaclysm_blacksmith_extrude_open_tapered: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8031,6 +9183,8 @@ export interface InitOutput {
8031
9183
  readonly cadaclysm_blacksmith_face_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
8032
9184
  readonly cadaclysm_blacksmith_face_count: (a: number, b: number) => void;
8033
9185
  readonly cadaclysm_blacksmith_face_frame: (a: number, b: number, c: number) => void;
9186
+ readonly cadaclysm_blacksmith_face_geometry: (a: number, b: number, c: number) => void;
9187
+ readonly cadaclysm_blacksmith_face_geometry_profile: (a: number, b: number, c: number) => void;
8034
9188
  readonly cadaclysm_blacksmith_face_id: (a: number, b: number, c: number) => void;
8035
9189
  readonly cadaclysm_blacksmith_face_inner_point: (a: number, b: number, c: number) => void;
8036
9190
  readonly cadaclysm_blacksmith_face_iso_intervals: (a: number, b: number, c: number, d: number, e: number) => void;
@@ -8044,6 +9198,7 @@ export interface InitOutput {
8044
9198
  readonly cadaclysm_blacksmith_face_sheet: (a: number, b: number, c: number) => void;
8045
9199
  readonly cadaclysm_blacksmith_face_size: (a: number, b: number, c: number) => void;
8046
9200
  readonly cadaclysm_blacksmith_face_with_id: (a: number, b: number, c: bigint) => void;
9201
+ readonly cadaclysm_blacksmith_faces_mass: (a: number, b: number, c: number, d: number, e: number) => void;
8047
9202
  readonly cadaclysm_blacksmith_fem_mesh: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8048
9203
  readonly cadaclysm_blacksmith_fem_mesh_crossing: (a: number, b: number, c: number) => void;
8049
9204
  readonly cadaclysm_blacksmith_fem_mesh_crossing_count: (a: number, b: number) => void;
@@ -8056,6 +9211,7 @@ export interface InitOutput {
8056
9211
  readonly cadaclysm_blacksmith_fem_mesh_vertex: (a: number, b: number, c: number) => void;
8057
9212
  readonly cadaclysm_blacksmith_fem_mesh_view: (a: number, b: number) => void;
8058
9213
  readonly cadaclysm_blacksmith_fill_cells: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9214
+ 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
9215
  readonly cadaclysm_blacksmith_fillet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8060
9216
  readonly cadaclysm_blacksmith_fillet_asymmetric: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8061
9217
  readonly cadaclysm_blacksmith_fillet_chord: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8079,15 +9235,23 @@ export interface InitOutput {
8079
9235
  readonly cadaclysm_blacksmith_flat_pattern_form_count: (a: number, b: number) => void;
8080
9236
  readonly cadaclysm_blacksmith_flat_pattern_form_outline: (a: number, b: number, c: number) => void;
8081
9237
  readonly cadaclysm_blacksmith_flat_pattern_form_point_count: (a: number, b: number, c: number) => void;
9238
+ readonly cadaclysm_blacksmith_flat_pattern_formed_body: (a: number, b: number, c: number, d: number, e: number) => void;
8082
9239
  readonly cadaclysm_blacksmith_flat_pattern_frame: (a: number, b: number) => void;
8083
9240
  readonly cadaclysm_blacksmith_flat_pattern_free: (a: number) => void;
8084
9241
  readonly cadaclysm_blacksmith_flat_pattern_profile: (a: number, b: number) => void;
8085
9242
  readonly cadaclysm_blacksmith_flat_pattern_trim: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9243
+ readonly cadaclysm_blacksmith_flip_faces: (a: number, b: number, c: number, d: number) => void;
8086
9244
  readonly cadaclysm_blacksmith_fold_flat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9245
+ readonly cadaclysm_blacksmith_frame_at_angle: (a: number, b: number, c: number, d: number, e: number) => void;
8087
9246
  readonly cadaclysm_blacksmith_frame_fit: (a: number, b: number, c: number) => void;
8088
9247
  readonly cadaclysm_blacksmith_frame_midplane: (a: number, b: number, c: number, d: number, e: number) => void;
9248
+ readonly cadaclysm_blacksmith_frame_normal_to_edge: (a: number, b: number, c: number, d: number) => void;
9249
+ readonly cadaclysm_blacksmith_frame_tangent: (a: number, b: number, c: number, d: number, e: number) => void;
8089
9250
  readonly cadaclysm_blacksmith_frame_through: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9251
+ readonly cadaclysm_blacksmith_frame_through_edges: (a: number, b: number, c: number, d: number) => void;
8090
9252
  readonly cadaclysm_blacksmith_from_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
9253
+ 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;
9254
+ 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
9255
  readonly cadaclysm_blacksmith_garment_add_elastic_internal: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8092
9256
  readonly cadaclysm_blacksmith_garment_add_elastic_outline: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8093
9257
  readonly cadaclysm_blacksmith_garment_add_fabric: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8096,6 +9260,9 @@ export interface InitOutput {
8096
9260
  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
9261
  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
9262
  readonly cadaclysm_blacksmith_garment_add_tack: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9263
+ 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;
9264
+ 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;
9265
+ 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
9266
  readonly cadaclysm_blacksmith_garment_close_dart_cut: (a: number, b: number, c: number, d: number, e: number) => void;
8100
9267
  readonly cadaclysm_blacksmith_garment_close_dart_folded: (a: number, b: number, c: number, d: number, e: number) => void;
8101
9268
  readonly cadaclysm_blacksmith_garment_cut_line: (a: number, b: number, c: number, d: number) => void;
@@ -8103,12 +9270,14 @@ export interface InitOutput {
8103
9270
  readonly cadaclysm_blacksmith_garment_fabric_name: (a: number, b: number, c: number) => void;
8104
9271
  readonly cadaclysm_blacksmith_garment_fabric_params: (a: number, b: number, c: number) => void;
8105
9272
  readonly cadaclysm_blacksmith_garment_fabrics: (a: number, b: number) => void;
9273
+ readonly cadaclysm_blacksmith_garment_fasten: (a: number, b: number, c: number, d: number, e: number) => void;
8106
9274
  readonly cadaclysm_blacksmith_garment_fold: (a: number, b: number, c: number, d: number) => void;
8107
9275
  readonly cadaclysm_blacksmith_garment_fold_prefold: (a: number, b: number, c: number, d: number) => void;
8108
9276
  readonly cadaclysm_blacksmith_garment_free: (a: number) => void;
8109
9277
  readonly cadaclysm_blacksmith_garment_from_aama: (a: number, b: number, c: number) => void;
8110
9278
  readonly cadaclysm_blacksmith_garment_issue: (a: number, b: number, c: number) => void;
8111
9279
  readonly cadaclysm_blacksmith_garment_issue_message: (a: number, b: number, c: number) => void;
9280
+ readonly cadaclysm_blacksmith_garment_move_trim: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8112
9281
  readonly cadaclysm_blacksmith_garment_new: (a: number) => void;
8113
9282
  readonly cadaclysm_blacksmith_garment_pattern_add_internal: (a: number, b: number, c: number, d: number, e: number) => void;
8114
9283
  readonly cadaclysm_blacksmith_garment_pattern_add_notch: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8134,6 +9303,7 @@ export interface InitOutput {
8134
9303
  readonly cadaclysm_blacksmith_garment_remove_pleats: (a: number, b: number, c: number) => void;
8135
9304
  readonly cadaclysm_blacksmith_garment_remove_seam: (a: number, b: number, c: number) => void;
8136
9305
  readonly cadaclysm_blacksmith_garment_remove_tack: (a: number, b: number, c: number) => void;
9306
+ readonly cadaclysm_blacksmith_garment_remove_trim: (a: number, b: number, c: number) => void;
8137
9307
  readonly cadaclysm_blacksmith_garment_rotate_dart: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8138
9308
  readonly cadaclysm_blacksmith_garment_seam: (a: number, b: number, c: number) => void;
8139
9309
  readonly cadaclysm_blacksmith_garment_seam_strength: (a: number, b: number, c: number) => void;
@@ -8149,8 +9319,14 @@ export interface InitOutput {
8149
9319
  readonly cadaclysm_blacksmith_garment_sim_options: (a: number, b: number) => void;
8150
9320
  readonly cadaclysm_blacksmith_garment_tacks: (a: number, b: number) => void;
8151
9321
  readonly cadaclysm_blacksmith_garment_to_aama: (a: number, b: number, c: number, d: number, e: number) => void;
9322
+ readonly cadaclysm_blacksmith_garment_trim_fits: (a: number, b: number, c: number, d: number) => void;
9323
+ readonly cadaclysm_blacksmith_garment_trim_instances: (a: number, b: number, c: number) => void;
9324
+ readonly cadaclysm_blacksmith_garment_trim_skipped: (a: number, b: number, c: number) => void;
9325
+ readonly cadaclysm_blacksmith_garment_trims: (a: number, b: number) => void;
8152
9326
  readonly cadaclysm_blacksmith_garment_validate: (a: number, b: number, c: number) => void;
8153
9327
  readonly cadaclysm_blacksmith_gear_centre_distance_involute: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9328
+ readonly cadaclysm_blacksmith_glue: (a: number, b: number, c: number, d: number) => void;
9329
+ readonly cadaclysm_blacksmith_half_space: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8154
9330
  readonly cadaclysm_blacksmith_healed: (a: number, b: number, c: number, d: number) => void;
8155
9331
  readonly cadaclysm_blacksmith_health: (a: number, b: number, c: number, d: number) => void;
8156
9332
  readonly cadaclysm_blacksmith_highlight_kink: (a: number, b: number, c: number, d: number) => void;
@@ -8183,9 +9359,11 @@ export interface InitOutput {
8183
9359
  readonly cadaclysm_blacksmith_hlr_mesh: (a: number, b: number, c: number, d: number, e: number) => void;
8184
9360
  readonly cadaclysm_blacksmith_hlr_report: (a: number, b: number) => void;
8185
9361
  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;
9362
+ 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
9363
  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
9364
  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
9365
  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;
9366
+ 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
9367
  readonly cadaclysm_blacksmith_interpolator_at: (a: number, b: number, c: number, d: number) => void;
8190
9368
  readonly cadaclysm_blacksmith_interpolator_count: (a: number, b: number) => void;
8191
9369
  readonly cadaclysm_blacksmith_interpolator_cyclic: (a: number, b: number) => void;
@@ -8224,17 +9402,24 @@ export interface InitOutput {
8224
9402
  readonly cadaclysm_blacksmith_job_stock: (a: number, b: number) => void;
8225
9403
  readonly cadaclysm_blacksmith_join: (a: number, b: number, c: number, d: number, e: number) => void;
8226
9404
  readonly cadaclysm_blacksmith_join_sheets: (a: number, b: number, c: number, d: number) => void;
9405
+ readonly cadaclysm_blacksmith_joint_candidate: (a: number, b: number, c: number) => void;
9406
+ readonly cadaclysm_blacksmith_joint_candidate_kind: (a: number, b: number, c: number) => void;
9407
+ readonly cadaclysm_blacksmith_joint_candidate_reason: (a: number, b: number, c: number) => void;
9408
+ readonly cadaclysm_blacksmith_joint_candidates_count: (a: number, b: number) => void;
9409
+ readonly cadaclysm_blacksmith_joint_candidates_free: (a: number) => void;
8227
9410
  readonly cadaclysm_blacksmith_leaked_edges: (a: number, b: number, c: number) => void;
8228
9411
  readonly cadaclysm_blacksmith_license_info: (a: number) => void;
8229
9412
  readonly cadaclysm_blacksmith_license_notice_count: () => number;
8230
9413
  readonly cadaclysm_blacksmith_license_set: (a: number, b: number, c: number) => void;
8231
9414
  readonly cadaclysm_blacksmith_loft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9415
+ 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
9416
  readonly cadaclysm_blacksmith_loft_curves: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8233
9417
  readonly cadaclysm_blacksmith_loft_open: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8234
9418
  readonly cadaclysm_blacksmith_loft_through: (a: number, b: number, c: number, d: number, e: number) => void;
8235
9419
  readonly cadaclysm_blacksmith_loft_through_open: (a: number, b: number, c: number, d: number, e: number) => void;
8236
9420
  readonly cadaclysm_blacksmith_lump: (a: number, b: number, c: number) => void;
8237
9421
  readonly cadaclysm_blacksmith_lump_count: (a: number, b: number) => void;
9422
+ readonly cadaclysm_blacksmith_make_periodic: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8238
9423
  readonly cadaclysm_blacksmith_manifold: (a: number, b: number) => void;
8239
9424
  readonly cadaclysm_blacksmith_manifold_flaws: (a: number, b: number) => void;
8240
9425
  readonly cadaclysm_blacksmith_mass_properties: (a: number, b: number, c: number) => void;
@@ -8245,10 +9430,12 @@ export interface InitOutput {
8245
9430
  readonly cadaclysm_blacksmith_mesh64: (a: number, b: number, c: number) => void;
8246
9431
  readonly cadaclysm_blacksmith_mesh_face_triangles: (a: number, b: number, c: number) => void;
8247
9432
  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;
9433
+ readonly cadaclysm_blacksmith_mesh_silhouette: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8248
9434
  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
9435
  readonly cadaclysm_blacksmith_mesh_thicknesses_at: (a: number, b: number, c: number) => void;
8250
9436
  readonly cadaclysm_blacksmith_mesh_thicknesses_count: (a: number, b: number) => void;
8251
9437
  readonly cadaclysm_blacksmith_mesh_thicknesses_free: (a: number) => void;
9438
+ readonly cadaclysm_blacksmith_minimal_box: (a: number, b: number, c: number) => void;
8252
9439
  readonly cadaclysm_blacksmith_mirror: (a: number, b: number, c: number, d: number) => void;
8253
9440
  readonly cadaclysm_blacksmith_mirror_join: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8254
9441
  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 +9460,15 @@ export interface InitOutput {
8273
9460
  readonly cadaclysm_blacksmith_naca_points: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8274
9461
  readonly cadaclysm_blacksmith_naca_spline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8275
9462
  readonly cadaclysm_blacksmith_named: (a: number, b: number, c: number, d: number) => void;
9463
+ 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;
9464
+ readonly cadaclysm_blacksmith_nest_free: (a: number) => void;
9465
+ readonly cadaclysm_blacksmith_nest_placement: (a: number, b: number, c: number) => void;
9466
+ readonly cadaclysm_blacksmith_nest_placement_count: (a: number, b: number) => void;
9467
+ readonly cadaclysm_blacksmith_nest_sheet_count: (a: number, b: number) => void;
9468
+ readonly cadaclysm_blacksmith_nest_sheet_utilisation: (a: number, b: number, c: number) => void;
9469
+ readonly cadaclysm_blacksmith_nest_unplaced: (a: number, b: number, c: number) => void;
9470
+ readonly cadaclysm_blacksmith_nest_unplaced_count: (a: number, b: number) => void;
9471
+ readonly cadaclysm_blacksmith_nest_utilisation: (a: number, b: number) => void;
8276
9472
  readonly cadaclysm_blacksmith_network_surface: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8277
9473
  readonly cadaclysm_blacksmith_nurbs_curve_blend: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8278
9474
  readonly cadaclysm_blacksmith_nurbs_curve_clone: (a: number, b: number) => void;
@@ -8285,8 +9481,10 @@ export interface InitOutput {
8285
9481
  readonly cadaclysm_blacksmith_nurbs_curve_control_count: (a: number, b: number) => void;
8286
9482
  readonly cadaclysm_blacksmith_nurbs_curve_control_points: (a: number, b: number) => void;
8287
9483
  readonly cadaclysm_blacksmith_nurbs_curve_curvature: (a: number, b: number, c: number) => void;
9484
+ readonly cadaclysm_blacksmith_nurbs_curve_curve_hits: (a: number, b: number, c: number, d: number) => void;
8288
9485
  readonly cadaclysm_blacksmith_nurbs_curve_degree: (a: number, b: number) => void;
8289
9486
  readonly cadaclysm_blacksmith_nurbs_curve_derivatives: (a: number, b: number, c: number, d: number) => void;
9487
+ readonly cadaclysm_blacksmith_nurbs_curve_deviation: (a: number, b: number, c: number, d: number) => void;
8290
9488
  readonly cadaclysm_blacksmith_nurbs_curve_directions_match: (a: number, b: number, c: number, d: number) => void;
8291
9489
  readonly cadaclysm_blacksmith_nurbs_curve_divide_as_contour: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8292
9490
  readonly cadaclysm_blacksmith_nurbs_curve_divide_by_count: (a: number, b: number, c: number, d: number) => void;
@@ -8303,7 +9501,9 @@ export interface InitOutput {
8303
9501
  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
9502
  readonly cadaclysm_blacksmith_nurbs_curve_free: (a: number) => void;
8305
9503
  readonly cadaclysm_blacksmith_nurbs_curve_from_edge: (a: number, b: number, c: number) => void;
9504
+ 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
9505
  readonly cadaclysm_blacksmith_nurbs_curve_from_face_isocurve: (a: number, b: number, c: number, d: number, e: number) => void;
9506
+ 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
9507
  readonly cadaclysm_blacksmith_nurbs_curve_greville: (a: number, b: number) => void;
8308
9508
  readonly cadaclysm_blacksmith_nurbs_curve_inflections: (a: number, b: number) => void;
8309
9509
  readonly cadaclysm_blacksmith_nurbs_curve_is_closed: (a: number, b: number) => void;
@@ -8362,6 +9562,7 @@ export interface InitOutput {
8362
9562
  readonly cadaclysm_blacksmith_nurbs_surface_extended: (a: number, b: number, c: number, d: number) => void;
8363
9563
  readonly cadaclysm_blacksmith_nurbs_surface_free: (a: number) => void;
8364
9564
  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;
9565
+ readonly cadaclysm_blacksmith_nurbs_surface_intersect: (a: number, b: number, c: number, d: number, e: number) => void;
8365
9566
  readonly cadaclysm_blacksmith_nurbs_surface_knot_inserted: (a: number, b: number, c: number, d: number, e: number) => void;
8366
9567
  readonly cadaclysm_blacksmith_nurbs_surface_knot_removed: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8367
9568
  readonly cadaclysm_blacksmith_nurbs_surface_knots: (a: number, b: number, c: number) => void;
@@ -8389,14 +9590,21 @@ export interface InitOutput {
8389
9590
  readonly cadaclysm_blacksmith_option_set: (a: number, b: number, c: number, d: number) => void;
8390
9591
  readonly cadaclysm_blacksmith_oriented_box: (a: number, b: number, c: number) => void;
8391
9592
  readonly cadaclysm_blacksmith_origins_through: (a: number, b: number, c: number) => void;
9593
+ readonly cadaclysm_blacksmith_page_add_derived_view: (a: number, b: number, c: number, d: number, e: number) => void;
9594
+ readonly cadaclysm_blacksmith_page_add_dimension: (a: number, b: number, c: number, d: number, e: number) => void;
8392
9595
  readonly cadaclysm_blacksmith_page_add_flat_pattern: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8393
9596
  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;
9597
+ readonly cadaclysm_blacksmith_page_add_hole_table: (a: number, b: number, c: number, d: number, e: number) => void;
9598
+ readonly cadaclysm_blacksmith_page_add_model_view: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8394
9599
  readonly cadaclysm_blacksmith_page_add_profile: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9600
+ readonly cadaclysm_blacksmith_page_add_sketch_dimensions: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8395
9601
  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
9602
  readonly cadaclysm_blacksmith_page_add_view: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9603
+ readonly cadaclysm_blacksmith_page_add_view_break: (a: number, b: number, c: number, d: number, e: number) => void;
8397
9604
  readonly cadaclysm_blacksmith_page_dxf_text: (a: number, b: number) => void;
8398
9605
  readonly cadaclysm_blacksmith_page_entity_count: (a: number, b: number) => void;
8399
9606
  readonly cadaclysm_blacksmith_page_free: (a: number) => void;
9607
+ readonly cadaclysm_blacksmith_page_info_json: (a: number, b: number) => void;
8400
9608
  readonly cadaclysm_blacksmith_page_new: (a: number, b: number) => void;
8401
9609
  readonly cadaclysm_blacksmith_page_svg_text: (a: number, b: number) => void;
8402
9610
  readonly cadaclysm_blacksmith_pair_freedom_count: (a: number, b: number) => number;
@@ -8421,9 +9629,14 @@ export interface InitOutput {
8421
9629
  readonly cadaclysm_blacksmith_pattern_mirror: (a: number, b: number, c: number) => void;
8422
9630
  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
9631
  readonly cadaclysm_blacksmith_pipe: (a: number, b: number, c: number, d: number) => void;
9632
+ readonly cadaclysm_blacksmith_pipe_along: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8424
9633
  readonly cadaclysm_blacksmith_place: (a: number, b: number, c: number, d: number) => void;
8425
9634
  readonly cadaclysm_blacksmith_pmi_items: (a: number, b: number) => void;
8426
9635
  readonly cadaclysm_blacksmith_pmi_views: (a: number, b: number) => void;
9636
+ readonly cadaclysm_blacksmith_point_centre: (a: number, b: number, c: number) => void;
9637
+ readonly cadaclysm_blacksmith_point_edge_edge: (a: number, b: number, c: number, d: number, e: number) => void;
9638
+ readonly cadaclysm_blacksmith_point_edge_plane: (a: number, b: number, c: number, d: number, e: number) => void;
9639
+ readonly cadaclysm_blacksmith_point_three_planes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8427
9640
  readonly cadaclysm_blacksmith_polygon_set_area: (a: number, b: number) => void;
8428
9641
  readonly cadaclysm_blacksmith_polygon_set_boundary_distance: (a: number, b: number, c: number, d: number) => void;
8429
9642
  readonly cadaclysm_blacksmith_polygon_set_bounds: (a: number, b: number) => void;
@@ -8475,7 +9688,9 @@ export interface InitOutput {
8475
9688
  readonly cadaclysm_blacksmith_profile_divide_by_count: (a: number, b: number, c: number, d: number) => void;
8476
9689
  readonly cadaclysm_blacksmith_profile_divide_by_length: (a: number, b: number, c: number, d: number) => void;
8477
9690
  readonly cadaclysm_blacksmith_profile_ellipse: (a: number, b: number, c: number, d: number, e: number) => void;
9691
+ 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
9692
  readonly cadaclysm_blacksmith_profile_fillet_corner: (a: number, b: number, c: number, d: number, e: number) => void;
9693
+ readonly cadaclysm_blacksmith_profile_fit: (a: number, b: number, c: number, d: number, e: number) => void;
8479
9694
  readonly cadaclysm_blacksmith_profile_free: (a: number) => void;
8480
9695
  readonly cadaclysm_blacksmith_profile_from_beziers: (a: number, b: number, c: number, d: number) => void;
8481
9696
  readonly cadaclysm_blacksmith_profile_from_loops: (a: number, b: number, c: number) => void;
@@ -8492,6 +9707,7 @@ export interface InitOutput {
8492
9707
  readonly cadaclysm_blacksmith_profile_list_get: (a: number, b: number, c: number) => void;
8493
9708
  readonly cadaclysm_blacksmith_profile_loops: (a: number, b: number, c: number, d: number) => void;
8494
9709
  readonly cadaclysm_blacksmith_profile_make_closed: (a: number, b: number, c: number) => void;
9710
+ readonly cadaclysm_blacksmith_profile_medial_axis: (a: number, b: number, c: number) => void;
8495
9711
  readonly cadaclysm_blacksmith_profile_merge_colinear: (a: number, b: number, c: number, d: number, e: number) => void;
8496
9712
  readonly cadaclysm_blacksmith_profile_mirror: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8497
9713
  readonly cadaclysm_blacksmith_profile_naca: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8522,6 +9738,7 @@ export interface InitOutput {
8522
9738
  readonly cadaclysm_blacksmith_profile_spline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8523
9739
  readonly cadaclysm_blacksmith_profile_star: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8524
9740
  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;
9741
+ readonly cadaclysm_blacksmith_profile_through: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8525
9742
  readonly cadaclysm_blacksmith_profile_to_arcs: (a: number, b: number, c: number) => void;
8526
9743
  readonly cadaclysm_blacksmith_profile_transform2d: (a: number, b: number, c: number, d: number) => void;
8527
9744
  readonly cadaclysm_blacksmith_profile_trim_chain: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8549,6 +9766,7 @@ export interface InitOutput {
8549
9766
  readonly cadaclysm_blacksmith_rail_revolve: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8550
9767
  readonly cadaclysm_blacksmith_ray_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
8551
9768
  readonly cadaclysm_blacksmith_ray_point_at: (a: number, b: number, c: number, d: number) => void;
9769
+ 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
9770
  readonly cadaclysm_blacksmith_recess: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8553
9771
  readonly cadaclysm_blacksmith_rechamfer: (a: number, b: number, c: number, d: number, e: number) => void;
8554
9772
  readonly cadaclysm_blacksmith_recognized: (a: number, b: number, c: number) => void;
@@ -8560,6 +9778,7 @@ export interface InitOutput {
8560
9778
  readonly cadaclysm_blacksmith_refillet: (a: number, b: number, c: number, d: number, e: number) => void;
8561
9779
  readonly cadaclysm_blacksmith_region_solid: (a: number, b: number, c: number) => void;
8562
9780
  readonly cadaclysm_blacksmith_regions: (a: number, b: number) => void;
9781
+ readonly cadaclysm_blacksmith_repeat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8563
9782
  readonly cadaclysm_blacksmith_report_at: (a: number, b: number, c: number) => void;
8564
9783
  readonly cadaclysm_blacksmith_report_bottom: (a: number, b: number, c: number) => void;
8565
9784
  readonly cadaclysm_blacksmith_report_count: (a: number, b: number) => void;
@@ -8570,7 +9789,9 @@ export interface InitOutput {
8570
9789
  readonly cadaclysm_blacksmith_report_size: (a: number, b: number, c: number) => void;
8571
9790
  readonly cadaclysm_blacksmith_report_text: (a: number, b: number) => void;
8572
9791
  readonly cadaclysm_blacksmith_report_top: (a: number, b: number, c: number) => void;
9792
+ readonly cadaclysm_blacksmith_reset_tolerances: (a: number, b: number) => void;
8573
9793
  readonly cadaclysm_blacksmith_revolve: (a: number, b: number, c: number, d: number, e: number) => void;
9794
+ 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
9795
  readonly cadaclysm_blacksmith_revolve_in_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8575
9796
  readonly cadaclysm_blacksmith_revolve_open: (a: number, b: number, c: number, d: number, e: number) => void;
8576
9797
  readonly cadaclysm_blacksmith_revolve_open_in_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8616,11 +9837,13 @@ export interface InitOutput {
8616
9837
  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
9838
  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
9839
  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;
9840
+ 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
9841
  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
9842
  readonly cadaclysm_blacksmith_sheet_info: (a: number, b: number, c: number, d: number) => void;
8621
9843
  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
9844
  readonly cadaclysm_blacksmith_sheet_join: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8623
9845
  readonly cadaclysm_blacksmith_sheet_lofted_flange: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9846
+ 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
9847
  readonly cadaclysm_blacksmith_sheet_rip: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8625
9848
  readonly cadaclysm_blacksmith_sheet_rip_face: (a: number, b: number, c: number, d: number) => void;
8626
9849
  readonly cadaclysm_blacksmith_sheet_rip_points: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8628,16 +9851,35 @@ export interface InitOutput {
8628
9851
  readonly cadaclysm_blacksmith_shell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8629
9852
  readonly cadaclysm_blacksmith_silhouette_beziers: (a: number, b: number, c: number, d: number) => void;
8630
9853
  readonly cadaclysm_blacksmith_sketch_add_arc: (a: number, b: number, c: number, d: number, e: number) => void;
9854
+ readonly cadaclysm_blacksmith_sketch_add_arc_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9855
+ 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;
9856
+ 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
9857
  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
9858
  readonly cadaclysm_blacksmith_sketch_add_circle: (a: number, b: number, c: number, d: number) => void;
9859
+ readonly cadaclysm_blacksmith_sketch_add_circle_at: (a: number, b: number, c: number, d: number, e: number) => void;
9860
+ readonly cadaclysm_blacksmith_sketch_add_circle_three_tangents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9861
+ readonly cadaclysm_blacksmith_sketch_add_circle_two_tangents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8633
9862
  readonly cadaclysm_blacksmith_sketch_add_conic: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9863
+ readonly cadaclysm_blacksmith_sketch_add_ellipse: (a: number, b: number, c: number, d: number, e: number) => void;
9864
+ readonly cadaclysm_blacksmith_sketch_add_ellipse_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9865
+ readonly cadaclysm_blacksmith_sketch_add_elliptical_arc: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9866
+ 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;
9867
+ 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;
9868
+ readonly cadaclysm_blacksmith_sketch_add_fitted_spline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9869
+ 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
9870
  readonly cadaclysm_blacksmith_sketch_add_line: (a: number, b: number, c: number, d: number) => void;
8635
9871
  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
9872
  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;
9873
+ readonly cadaclysm_blacksmith_sketch_add_polygon_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9874
+ 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;
9875
+ readonly cadaclysm_blacksmith_sketch_add_rect_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9876
+ readonly cadaclysm_blacksmith_sketch_add_slot_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9877
+ readonly cadaclysm_blacksmith_sketch_add_slot_centre_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9878
+ readonly cadaclysm_blacksmith_sketch_add_slot_overall_at: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9879
+ readonly cadaclysm_blacksmith_sketch_add_text: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9880
+ 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
9881
  readonly cadaclysm_blacksmith_sketch_auto_constrain: (a: number, b: number, c: number, d: number) => void;
9882
+ readonly cadaclysm_blacksmith_sketch_break: (a: number, b: number, c: number, d: number, e: number) => void;
8641
9883
  readonly cadaclysm_blacksmith_sketch_centre: (a: number, b: number, c: number) => void;
8642
9884
  readonly cadaclysm_blacksmith_sketch_chamfer: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8643
9885
  readonly cadaclysm_blacksmith_sketch_chamfer_angle: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8660,12 +9902,15 @@ export interface InitOutput {
8660
9902
  readonly cadaclysm_blacksmith_sketch_ends: (a: number, b: number, c: number) => void;
8661
9903
  readonly cadaclysm_blacksmith_sketch_entities: (a: number, b: number) => void;
8662
9904
  readonly cadaclysm_blacksmith_sketch_expression: (a: number, b: number, c: number) => void;
9905
+ readonly cadaclysm_blacksmith_sketch_extend: (a: number, b: number, c: number, d: number) => void;
8663
9906
  readonly cadaclysm_blacksmith_sketch_feature_ids: (a: number, b: number, c: number) => void;
8664
9907
  readonly cadaclysm_blacksmith_sketch_feature_kind: (a: number, b: number, c: number) => void;
8665
9908
  readonly cadaclysm_blacksmith_sketch_features: (a: number, b: number) => void;
9909
+ readonly cadaclysm_blacksmith_sketch_fillet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8666
9910
  readonly cadaclysm_blacksmith_sketch_free: (a: number) => void;
8667
9911
  readonly cadaclysm_blacksmith_sketch_from_json: (a: number, b: number, c: number) => void;
8668
9912
  readonly cadaclysm_blacksmith_sketch_from_profile: (a: number, b: number, c: number, d: number) => void;
9913
+ readonly cadaclysm_blacksmith_sketch_intersect_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8669
9914
  readonly cadaclysm_blacksmith_sketch_is_construction: (a: number, b: number, c: number) => void;
8670
9915
  readonly cadaclysm_blacksmith_sketch_is_joint_tangent: (a: number, b: number, c: number) => void;
8671
9916
  readonly cadaclysm_blacksmith_sketch_is_reference: (a: number, b: number, c: number) => void;
@@ -8673,6 +9918,7 @@ export interface InitOutput {
8673
9918
  readonly cadaclysm_blacksmith_sketch_measure: (a: number, b: number, c: number) => void;
8674
9919
  readonly cadaclysm_blacksmith_sketch_mirror: (a: number, b: number, c: number, d: number, e: number) => void;
8675
9920
  readonly cadaclysm_blacksmith_sketch_new: (a: number) => void;
9921
+ readonly cadaclysm_blacksmith_sketch_offset: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8676
9922
  readonly cadaclysm_blacksmith_sketch_open_chains: (a: number, b: number, c: number) => void;
8677
9923
  readonly cadaclysm_blacksmith_sketch_param_remove: (a: number, b: number, c: number, d: number) => void;
8678
9924
  readonly cadaclysm_blacksmith_sketch_param_set: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8683,6 +9929,8 @@ export interface InitOutput {
8683
9929
  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
9930
  readonly cadaclysm_blacksmith_sketch_point: (a: number, b: number, c: number) => void;
8685
9931
  readonly cadaclysm_blacksmith_sketch_profiles: (a: number, b: number, c: number) => void;
9932
+ readonly cadaclysm_blacksmith_sketch_project_edges: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
9933
+ readonly cadaclysm_blacksmith_sketch_project_faces: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8686
9934
  readonly cadaclysm_blacksmith_sketch_radius: (a: number, b: number, c: number) => void;
8687
9935
  readonly cadaclysm_blacksmith_sketch_reference: (a: number, b: number, c: number, d: number) => void;
8688
9936
  readonly cadaclysm_blacksmith_sketch_remove: (a: number, b: number, c: number) => void;
@@ -8696,9 +9944,15 @@ export interface InitOutput {
8696
9944
  readonly cadaclysm_blacksmith_sketch_set_expression: (a: number, b: number, c: number, d: number, e: number) => void;
8697
9945
  readonly cadaclysm_blacksmith_sketch_set_point: (a: number, b: number, c: number, d: number, e: number) => void;
8698
9946
  readonly cadaclysm_blacksmith_sketch_set_radius: (a: number, b: number, c: number, d: number) => void;
9947
+ readonly cadaclysm_blacksmith_sketch_set_text: (a: number, b: number, c: number, d: number, e: number) => void;
8699
9948
  readonly cadaclysm_blacksmith_sketch_set_value: (a: number, b: number, c: number, d: number) => void;
8700
9949
  readonly cadaclysm_blacksmith_sketch_solve: (a: number, b: number) => void;
9950
+ readonly cadaclysm_blacksmith_sketch_spline_handles: (a: number, b: number, c: number) => void;
9951
+ readonly cadaclysm_blacksmith_sketch_split: (a: number, b: number, c: number, d: number, e: number) => void;
9952
+ readonly cadaclysm_blacksmith_sketch_text: (a: number, b: number, c: number) => void;
9953
+ readonly cadaclysm_blacksmith_sketch_text_font: (a: number, b: number, c: number) => void;
8701
9954
  readonly cadaclysm_blacksmith_sketch_to_json: (a: number, b: number) => void;
9955
+ readonly cadaclysm_blacksmith_sketch_trim: (a: number, b: number, c: number, d: number, e: number) => void;
8702
9956
  readonly cadaclysm_blacksmith_sketch_update_reference: (a: number, b: number, c: number, d: number) => void;
8703
9957
  readonly cadaclysm_blacksmith_slant_of_plane: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8704
9958
  readonly cadaclysm_blacksmith_solid_bounds_box: (a: number, b: number, c: number) => void;
@@ -8706,7 +9960,10 @@ export interface InitOutput {
8706
9960
  readonly cadaclysm_blacksmith_solid_coincidence_transform: (a: number, b: number, c: number, d: number) => void;
8707
9961
  readonly cadaclysm_blacksmith_solid_contour_curves: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8708
9962
  readonly cadaclysm_blacksmith_solid_convert_to_nurbs: (a: number, b: number, c: number) => void;
9963
+ readonly cadaclysm_blacksmith_solid_convert_to_revolution: (a: number, b: number) => void;
9964
+ readonly cadaclysm_blacksmith_solid_curve_hits: (a: number, b: number, c: number, d: number, e: number) => void;
8709
9965
  readonly cadaclysm_blacksmith_solid_divide_faces: (a: number, b: number, c: number, d: number, e: number) => void;
9966
+ readonly cadaclysm_blacksmith_solid_edge_deviations: (a: number, b: number) => void;
8710
9967
  readonly cadaclysm_blacksmith_solid_extend_faces_to_connect: (a: number, b: number, c: number, d: number, e: number) => void;
8711
9968
  readonly cadaclysm_blacksmith_solid_face_surface: (a: number, b: number, c: number) => void;
8712
9969
  readonly cadaclysm_blacksmith_solid_face_tree: (a: number, b: number) => void;
@@ -8715,12 +9972,21 @@ export interface InitOutput {
8715
9972
  readonly cadaclysm_blacksmith_solid_is_tracked: (a: number, b: number) => void;
8716
9973
  readonly cadaclysm_blacksmith_solid_material: (a: number, b: number) => void;
8717
9974
  readonly cadaclysm_blacksmith_solid_merge_surfaces: (a: number, b: number, c: number, d: number) => void;
9975
+ readonly cadaclysm_blacksmith_solid_mid_surface: (a: number, b: number, c: number, d: number) => void;
9976
+ readonly cadaclysm_blacksmith_solid_mid_surface_patches: (a: number, b: number, c: number, d: number) => void;
9977
+ readonly cadaclysm_blacksmith_solid_middle_path: (a: number, b: number, c: number, d: number, e: number) => void;
8718
9978
  readonly cadaclysm_blacksmith_solid_name: (a: number, b: number) => void;
8719
9979
  readonly cadaclysm_blacksmith_solid_offset: (a: number, b: number, c: number, d: number) => void;
8720
9980
  readonly cadaclysm_blacksmith_solid_offset_face: (a: number, b: number, c: number, d: number, e: number) => void;
9981
+ readonly cadaclysm_blacksmith_solid_point_cloud: (a: number, b: number, c: number, d: number, e: bigint, f: number) => void;
9982
+ readonly cadaclysm_blacksmith_solid_point_inside: (a: number, b: number, c: number) => void;
9983
+ readonly cadaclysm_blacksmith_solid_process: (a: number, b: number, c: number, d: number) => void;
8721
9984
  readonly cadaclysm_blacksmith_solid_profile_hits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
9985
+ readonly cadaclysm_blacksmith_solid_purge_placement: (a: number, b: number, c: number, d: number) => void;
9986
+ readonly cadaclysm_blacksmith_solid_ray_hits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8722
9987
  readonly cadaclysm_blacksmith_solid_replace_faces: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8723
9988
  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;
9989
+ readonly cadaclysm_blacksmith_solid_restrict_bsplines: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8724
9990
  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
9991
  readonly cadaclysm_blacksmith_solid_section: (a: number, b: number, c: number, d: number) => void;
8726
9992
  readonly cadaclysm_blacksmith_solid_section_curves: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -8767,6 +10033,23 @@ export interface InitOutput {
8767
10033
  readonly cadaclysm_blacksmith_stock_around: (a: number, b: number, c: number) => void;
8768
10034
  readonly cadaclysm_blacksmith_stock_box: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8769
10035
  readonly cadaclysm_blacksmith_stock_free: (a: number) => void;
10036
+ 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;
10037
+ 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;
10038
+ 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;
10039
+ 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;
10040
+ readonly cadaclysm_blacksmith_structure_body: (a: number, b: number, c: number) => void;
10041
+ readonly cadaclysm_blacksmith_structure_body_count: (a: number, b: number) => void;
10042
+ readonly cadaclysm_blacksmith_structure_corner: (a: number, b: number, c: number) => void;
10043
+ readonly cadaclysm_blacksmith_structure_corner_count: (a: number, b: number) => void;
10044
+ readonly cadaclysm_blacksmith_structure_corner_members: (a: number, b: number, c: number) => void;
10045
+ readonly cadaclysm_blacksmith_structure_cut_list: (a: number, b: number, c: number) => void;
10046
+ readonly cadaclysm_blacksmith_structure_free: (a: number) => void;
10047
+ readonly cadaclysm_blacksmith_structure_member: (a: number, b: number, c: number) => void;
10048
+ readonly cadaclysm_blacksmith_structure_member_count: (a: number, b: number) => void;
10049
+ readonly cadaclysm_blacksmith_structure_member_info: (a: number, b: number, c: number) => void;
10050
+ readonly cadaclysm_blacksmith_structure_member_tag: (a: number, b: number, c: number) => void;
10051
+ readonly cadaclysm_blacksmith_structure_new: (a: number, b: number) => void;
10052
+ readonly cadaclysm_blacksmith_structure_set_corner: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8770
10053
  readonly cadaclysm_blacksmith_styled: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8771
10054
  readonly cadaclysm_blacksmith_subd_cuboid: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8772
10055
  readonly cadaclysm_blacksmith_subd_cylinder: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8787,9 +10070,12 @@ export interface InitOutput {
8787
10070
  readonly cadaclysm_blacksmith_subd_sphere: (a: number, b: number, c: number) => void;
8788
10071
  readonly cadaclysm_blacksmith_subd_subdivide: (a: number, b: number, c: number, d: number) => void;
8789
10072
  readonly cadaclysm_blacksmith_subd_to_solid: (a: number, b: number, c: number, d: number, e: number) => void;
10073
+ readonly cadaclysm_blacksmith_subd_to_solid_with: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8790
10074
  readonly cadaclysm_blacksmith_subd_torus: (a: number, b: number, c: number, d: number, e: number) => void;
8791
10075
  readonly cadaclysm_blacksmith_subd_transform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8792
10076
  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;
10077
+ readonly cadaclysm_blacksmith_surface_intersect: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10078
+ 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
10079
  readonly cadaclysm_blacksmith_surface_value_closest_point: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8794
10080
  readonly cadaclysm_blacksmith_surface_value_domain: (a: number, b: number, c: number, d: number) => void;
8795
10081
  readonly cadaclysm_blacksmith_surface_value_normal_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8797,6 +10083,8 @@ export interface InitOutput {
8797
10083
  readonly cadaclysm_blacksmith_surface_value_point_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8798
10084
  readonly cadaclysm_blacksmith_svg_text: (a: number, b: number, c: number, d: number, e: number) => void;
8799
10085
  readonly cadaclysm_blacksmith_sweep: (a: number, b: number, c: number, d: number, e: number) => void;
10086
+ readonly cadaclysm_blacksmith_sweep_along: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10087
+ 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
10088
  readonly cadaclysm_blacksmith_sweep_open: (a: number, b: number, c: number, d: number, e: number) => void;
8801
10089
  readonly cadaclysm_blacksmith_sweep_path_along: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8802
10090
  readonly cadaclysm_blacksmith_sweep_path_along_composite: (a: number, b: number, c: number) => void;
@@ -8872,20 +10160,47 @@ export interface InitOutput {
8872
10160
  readonly cadaclysm_blacksmith_triangle_circumcircle: (a: number, b: number, c: number) => void;
8873
10161
  readonly cadaclysm_blacksmith_triangle_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
8874
10162
  readonly cadaclysm_blacksmith_triangle_edge: (a: number, b: number, c: number, d: number) => void;
10163
+ readonly cadaclysm_blacksmith_triangle_mesh_boolean: (a: number, b: number, c: number, d: number) => void;
8875
10164
  readonly cadaclysm_blacksmith_triangle_mesh_bounds: (a: number, b: number) => void;
10165
+ readonly cadaclysm_blacksmith_triangle_mesh_box: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
8876
10166
  readonly cadaclysm_blacksmith_triangle_mesh_check: (a: number, b: number) => void;
10167
+ 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
10168
  readonly cadaclysm_blacksmith_triangle_mesh_closest_point: (a: number, b: number, c: number, d: number, e: number) => void;
10169
+ readonly cadaclysm_blacksmith_triangle_mesh_collapse_short_edges: (a: number, b: number, c: number) => void;
10170
+ readonly cadaclysm_blacksmith_triangle_mesh_cone: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10171
+ readonly cadaclysm_blacksmith_triangle_mesh_contains: (a: number, b: number, c: number, d: number, e: number) => void;
8878
10172
  readonly cadaclysm_blacksmith_triangle_mesh_curve_closest_points: (a: number, b: number, c: number, d: number) => void;
10173
+ readonly cadaclysm_blacksmith_triangle_mesh_cylinder: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
10174
+ readonly cadaclysm_blacksmith_triangle_mesh_extrusion: (a: number, b: number, c: number, d: number, e: number) => void;
8879
10175
  readonly cadaclysm_blacksmith_triangle_mesh_fill_holes: (a: number, b: number, c: number) => void;
8880
10176
  readonly cadaclysm_blacksmith_triangle_mesh_free: (a: number) => void;
10177
+ readonly cadaclysm_blacksmith_triangle_mesh_from_polylines: (a: number, b: number, c: number, d: number, e: number) => void;
10178
+ readonly cadaclysm_blacksmith_triangle_mesh_heal_naked_edges: (a: number, b: number, c: number) => void;
10179
+ readonly cadaclysm_blacksmith_triangle_mesh_ico_sphere: (a: number, b: number, c: number, d: number, e: number) => void;
8881
10180
  readonly cadaclysm_blacksmith_triangle_mesh_indices: (a: number, b: number) => void;
10181
+ 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
10182
  readonly cadaclysm_blacksmith_triangle_mesh_new: (a: number, b: number, c: number, d: number, e: number) => void;
10183
+ readonly cadaclysm_blacksmith_triangle_mesh_normal_at: (a: number, b: number, c: number, d: number, e: number) => void;
10184
+ readonly cadaclysm_blacksmith_triangle_mesh_offset: (a: number, b: number, c: number) => void;
10185
+ readonly cadaclysm_blacksmith_triangle_mesh_pipe: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10186
+ 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;
10187
+ readonly cadaclysm_blacksmith_triangle_mesh_plane_section: (a: number, b: number, c: number, d: number) => void;
10188
+ readonly cadaclysm_blacksmith_triangle_mesh_point_at: (a: number, b: number, c: number, d: number, e: number) => void;
10189
+ readonly cadaclysm_blacksmith_triangle_mesh_polyline_hits: (a: number, b: number, c: number, d: number) => void;
8883
10190
  readonly cadaclysm_blacksmith_triangle_mesh_positions: (a: number, b: number) => void;
10191
+ readonly cadaclysm_blacksmith_triangle_mesh_quad_sphere: (a: number, b: number, c: number, d: number, e: number) => void;
10192
+ readonly cadaclysm_blacksmith_triangle_mesh_reduce: (a: number, b: number, c: number) => void;
8884
10193
  readonly cadaclysm_blacksmith_triangle_mesh_repair: (a: number, b: number, c: number) => void;
8885
10194
  readonly cadaclysm_blacksmith_triangle_mesh_self_intersections: (a: number, b: number) => void;
8886
10195
  readonly cadaclysm_blacksmith_triangle_mesh_shell: (a: number, b: number, c: number, d: number) => void;
8887
10196
  readonly cadaclysm_blacksmith_triangle_mesh_smooth: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10197
+ readonly cadaclysm_blacksmith_triangle_mesh_sphere: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10198
+ readonly cadaclysm_blacksmith_triangle_mesh_split: (a: number, b: number, c: number) => void;
10199
+ readonly cadaclysm_blacksmith_triangle_mesh_subdivide: (a: number, b: number, c: number, d: number) => void;
10200
+ 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
10201
  readonly cadaclysm_blacksmith_triangle_mesh_triangle_count: (a: number, b: number) => void;
10202
+ readonly cadaclysm_blacksmith_triangle_mesh_unweld: (a: number, b: number, c: number) => void;
10203
+ readonly cadaclysm_blacksmith_triangle_mesh_unwrap: (a: number, b: number, c: number) => void;
8889
10204
  readonly cadaclysm_blacksmith_triangle_mesh_vertex_count: (a: number, b: number) => void;
8890
10205
  readonly cadaclysm_blacksmith_triangle_perimeter: (a: number, b: number, c: number) => void;
8891
10206
  readonly cadaclysm_blacksmith_triangle_point_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -8911,6 +10226,7 @@ export interface InitOutput {
8911
10226
  readonly cadaclysm_blacksmith_value_check: (a: number, b: number, c: number, d: number) => void;
8912
10227
  readonly cadaclysm_blacksmith_value_size: (a: number, b: number) => void;
8913
10228
  readonly cadaclysm_blacksmith_value_transform: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
10229
+ readonly cadaclysm_blacksmith_varsweep: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
8914
10230
  readonly cadaclysm_blacksmith_version: (a: number) => void;
8915
10231
  readonly cadaclysm_blacksmith_vertex_count: (a: number, b: number) => void;
8916
10232
  readonly cadaclysm_blacksmith_vertex_ref: (a: number, b: number, c: number) => void;
@@ -8942,6 +10258,7 @@ export interface InitOutput {
8942
10258
  readonly cadaclysm_blacksmith_without_face_attribute: (a: number, b: number, c: number, d: number, e: number) => void;
8943
10259
  readonly cadaclysm_blacksmith_without_pmi: (a: number, b: number, c: number) => void;
8944
10260
  readonly cadaclysm_blacksmith_without_pmi_view: (a: number, b: number, c: number) => void;
10261
+ readonly cadaclysm_blacksmith_wrap: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
8945
10262
  readonly checkColourBy: (a: number, b: number, c: number, d: number) => void;
8946
10263
  readonly checkMoveNamed: (a: number, b: number, c: number, d: number, e: number) => void;
8947
10264
  readonly gestures_feed: (a: number, b: number, c: number) => void;
@@ -8976,7 +10293,7 @@ export interface InitOutput {
8976
10293
  readonly mechanismmotion_id: (a: number) => number;
8977
10294
  readonly mechanismmotion_track: (a: number) => number;
8978
10295
  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;
10296
+ 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
10297
  readonly parseColour: (a: number, b: number, c: number) => void;
8981
10298
  readonly parseMachiningOptions: (a: number, b: number) => void;
8982
10299
  readonly parseMotionOptions: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -9046,6 +10363,7 @@ export interface InitOutput {
9046
10363
  readonly view_clothGpu: (a: number) => number;
9047
10364
  readonly view_clothHealth: (a: number, b: number, c: number) => void;
9048
10365
  readonly view_clothPositions: (a: number, b: number, c: number) => void;
10366
+ readonly view_clothTrimsItem: (a: number, b: number, c: number) => void;
9049
10367
  readonly view_create: (a: number, b: number) => number;
9050
10368
  readonly view_curveColour: (a: number, b: number) => void;
9051
10369
  readonly view_dolly: (a: number, b: number, c: number) => void;
@@ -9149,6 +10467,7 @@ export interface InitOutput {
9149
10467
  readonly view_setWorkPlane: (a: number, b: number, c: number) => void;
9150
10468
  readonly view_setXray: (a: number, b: number, c: number, d: number) => void;
9151
10469
  readonly view_showCloth: (a: number, b: number, c: number, d: number) => void;
10470
+ readonly view_showClothTrims: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9152
10471
  readonly view_showCurves: (a: number, b: number, c: number, d: number) => void;
9153
10472
  readonly view_showExact: (a: number, b: number, c: number) => void;
9154
10473
  readonly view_showGlyphs: (a: number, b: number, c: number, d: number) => void;
@@ -9188,17 +10507,17 @@ export interface InitOutput {
9188
10507
  readonly cadaclysm_blacksmith_build_date: (a: number) => void;
9189
10508
  readonly version: (a: number) => void;
9190
10509
  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;
10510
+ readonly __wasm_bindgen_func_elem_32654: (a: number, b: number, c: number, d: number) => void;
10511
+ readonly __wasm_bindgen_func_elem_10053: (a: number, b: number, c: number, d: number) => void;
10512
+ readonly __wasm_bindgen_func_elem_10053_7: (a: number, b: number, c: number, d: number) => void;
10513
+ readonly __wasm_bindgen_func_elem_10053_8: (a: number, b: number, c: number, d: number) => void;
10514
+ readonly __wasm_bindgen_func_elem_32675: (a: number, b: number, c: number, d: number) => void;
10515
+ readonly __wasm_bindgen_func_elem_1036: (a: number, b: number, c: number) => number;
10516
+ readonly __wasm_bindgen_func_elem_8138: (a: number, b: number, c: number) => number;
10517
+ readonly __wasm_bindgen_func_elem_10058: (a: number, b: number, c: number) => void;
10518
+ readonly __wasm_bindgen_func_elem_10058_5: (a: number, b: number, c: number) => void;
10519
+ readonly __wasm_bindgen_func_elem_1038: (a: number, b: number, c: number) => void;
10520
+ readonly __wasm_bindgen_func_elem_1040: (a: number, b: number) => void;
9202
10521
  readonly __wbindgen_export: (a: number, b: number) => number;
9203
10522
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
9204
10523
  readonly __wbindgen_export3: (a: number) => void;