@snaptrude/plugin-core 0.9.13 → 0.9.14

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/api-manifest.json +778 -32
  3. package/dist/api/core/geom/create/index.d.ts +935 -100
  4. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  5. package/dist/api/core/geom/query/brep.d.ts +59 -2
  6. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  7. package/dist/api/core/geom/query/curve.d.ts +59 -35
  8. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  9. package/dist/api/core/geom/query/edge.d.ts +2 -2
  10. package/dist/api/core/geom/query/face.d.ts +105 -0
  11. package/dist/api/core/geom/query/face.d.ts.map +1 -1
  12. package/dist/api/core/geom/update/contour.d.ts +2 -0
  13. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  14. package/dist/api/core/geom/update/curve.d.ts +5 -5
  15. package/dist/api/core/geom/update/profile.d.ts +3 -1
  16. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  17. package/dist/api/core/handles/index.d.ts +4 -2
  18. package/dist/api/core/handles/index.d.ts.map +1 -1
  19. package/dist/api/design/create/grids.d.ts +1 -1
  20. package/dist/api/design/family.d.ts +67 -10
  21. package/dist/api/design/family.d.ts.map +1 -1
  22. package/dist/api/design/query/geometry/index.d.ts +33 -5
  23. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  24. package/dist/api/design/query/grids.d.ts +3 -3
  25. package/dist/api/design/query/index.d.ts +47 -0
  26. package/dist/api/design/query/index.d.ts.map +1 -1
  27. package/dist/api/design/query/spaces.d.ts +5 -5
  28. package/dist/api/design/update/index.d.ts +99 -0
  29. package/dist/api/design/update/index.d.ts.map +1 -1
  30. package/dist/api/entity/referenceLine.d.ts +1 -1
  31. package/dist/api/entity/space.d.ts +4 -4
  32. package/dist/api/entity/story.d.ts +4 -4
  33. package/dist/api/program/site.d.ts +4 -4
  34. package/dist/api/program/spreadsheet.d.ts +4 -4
  35. package/dist/handles.d.ts +13 -3
  36. package/dist/handles.d.ts.map +1 -1
  37. package/dist/index.cjs +3417 -2946
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.d.ts +2 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +3370 -2946
  42. package/dist/index.js.map +1 -1
  43. package/dist/massParameters.d.ts +287 -0
  44. package/dist/massParameters.d.ts.map +1 -0
  45. package/dist/massParameters.ops.d.ts +138 -0
  46. package/dist/massParameters.ops.d.ts.map +1 -0
  47. package/package.json +2 -1
  48. package/scripts/check-dist-fresh.mjs +22 -0
  49. package/src/api/core/geom/create/index.ts +1030 -101
  50. package/src/api/core/geom/query/brep.ts +60 -2
  51. package/src/api/core/geom/query/curve.ts +26 -2
  52. package/src/api/core/geom/query/edge.ts +2 -2
  53. package/src/api/core/geom/query/face.ts +109 -4
  54. package/src/api/core/geom/update/contour.ts +2 -0
  55. package/src/api/core/geom/update/profile.ts +2 -0
  56. package/src/api/core/handles/index.ts +3 -2
  57. package/src/api/design/family.ts +68 -10
  58. package/src/api/design/query/geometry/index.ts +35 -4
  59. package/src/api/design/query/index.ts +50 -0
  60. package/src/api/design/update/index.ts +106 -0
  61. package/src/handles.ts +18 -3
  62. package/src/index.ts +2 -0
  63. package/src/massParameters.ops.ts +246 -0
  64. package/src/massParameters.ts +427 -0
  65. package/test/massParameters.test.mjs +952 -0
@@ -36,7 +36,7 @@ export type PluginGridLineProps = z.infer<typeof PluginGridLineProps>;
36
36
  * | `overrides` | `Partial<`{@linkcode PluginGridLineProps}`>`? | This line's raw overrides, when any exist |
37
37
  */
38
38
  export declare const PluginGridLineRecord: z.ZodObject<{
39
- curve: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>;
39
+ curve: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>;
40
40
  tag: z.ZodString;
41
41
  visible: z.ZodBoolean;
42
42
  props: z.ZodObject<{
@@ -84,7 +84,7 @@ export declare const PluginGridWingRecord: z.ZodObject<{
84
84
  max: z.ZodNumber;
85
85
  }, z.core.$strip>>;
86
86
  lines: z.ZodArray<z.ZodObject<{
87
- curve: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>;
87
+ curve: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>;
88
88
  tag: z.ZodString;
89
89
  visible: z.ZodBoolean;
90
90
  props: z.ZodObject<{
@@ -192,7 +192,7 @@ export declare const PluginGridGetResult: z.ZodObject<{
192
192
  max: z.ZodNumber;
193
193
  }, z.core.$strip>>;
194
194
  lines: z.ZodArray<z.ZodObject<{
195
- curve: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>;
195
+ curve: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>;
196
196
  tag: z.ZodString;
197
197
  visible: z.ZodBoolean;
198
198
  props: z.ZodObject<{
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../../types";
3
3
  import { ComponentHandle, BBoxComponents } from "../../../handles";
4
+ import type { MassParametersRecord } from "../../../massParameters";
4
5
  import { PluginDesignQueryGeometryApi } from "./geometry";
5
6
  import { PluginDesignQuerySpacesApi } from "./spaces";
6
7
  import { PluginDesignQueryReferenceLinesApi } from "./referenceLines";
@@ -1154,6 +1155,52 @@ export declare abstract class PluginDesignQueryApi {
1154
1155
  * ```
1155
1156
  */
1156
1157
  abstract getStaircaseParams(staircase: ComponentHandle): PluginApiReturn<PluginStaircaseParams | null>;
1158
+ /**
1159
+ * Read a mass's creation-parameter record — the recipe it was built from
1160
+ * (`kind` plus the values that constructor was called with). Present on
1161
+ * masses committed from a `core.geom.create` brep constructor that carries a
1162
+ * recipe: {@linkcode MassParametersRecord} covers the four primitives
1163
+ * (sphere, cylinder, cone, torus), extrusions, revolutions, lofts and sweeps.
1164
+ *
1165
+ * A fillet, chamfer, shell or offset of a recorded solid keeps the record
1166
+ * too: `kind` stays the base constructor and the operation is appended to the
1167
+ * record's `operations` list. Edit any of it with `design.update.parameters`.
1168
+ *
1169
+ * `null` for everything else — drawn masses, imported geometry, booleans,
1170
+ * split parts, `brepFromFaces` / `brepFromMesh`, and results built on a
1171
+ * source that carried no record — and for a mass whose record no longer
1172
+ * matches what is on
1173
+ * screen (a later free-form edit dropped the recipe, or the mass carries a
1174
+ * baked scale). `null` too when the recipe was not recordable: the record
1175
+ * schema has its own caps (a sweep path of at most 512 points, a loft of at
1176
+ * most 32 sections, at most 8 chained `operations`, at most 256 curves in one
1177
+ * profile loop and 64 holes in one contour), and a mass built past one of
1178
+ * them — through a route that does not enforce the matching creator cap —
1179
+ * commits as ordinary geometry carrying no record. The `operations` cap is
1180
+ * the one an agent can walk into by accident: a 9th chained
1181
+ * fillet/chamfer/shell/offset drops the record silently, so the result
1182
+ * commits as ordinary geometry and reads back `null` here. A record is never
1183
+ * reported unless it is still the truth.
1184
+ *
1185
+ * Points and axes come back in **world** coordinates. Pure read — nothing is
1186
+ * created or modified.
1187
+ *
1188
+ * @param component - the mass's {@linkcode ComponentHandle}
1189
+ * @returns the {@linkcode MassParametersRecord}, or `null`
1190
+ *
1191
+ * @examplePrompt What radius is this sphere?
1192
+ * @examplePrompt Is this mass parametric?
1193
+ * @examplePrompt Read back the dome's creation parameters
1194
+ * @examplePrompt How tall was this cylinder made?
1195
+ *
1196
+ * # Example
1197
+ * ```ts
1198
+ * const [mass] = await snaptrude.design.query.listMasses({ isSelected: true })
1199
+ * const params = await snaptrude.design.query.getParameters(mass)
1200
+ * if (params?.kind === "sphere") console.log("radius:", params.values.radius)
1201
+ * ```
1202
+ */
1203
+ abstract getParameters(component: ComponentHandle): PluginApiReturn<MassParametersRecord | null>;
1157
1204
  /**
1158
1205
  * Get the **union** axis-aligned bounding box enclosing a set of entities.
1159
1206
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,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@@ export declare const PluginDesignQuerySpacesGetProperty: z.ZodEnum<{
135
135
  type: "type";
136
136
  id: "id";
137
137
  position: "position";
138
+ height: "height";
138
139
  name: "name";
139
140
  storey: "storey";
140
- height: "height";
141
141
  depth: "depth";
142
142
  innerProfiles: "innerProfiles";
143
143
  room_type: "room_type";
@@ -171,9 +171,9 @@ export declare const PluginDesignQuerySpacesGetArgs: z.ZodObject<{
171
171
  type: "type";
172
172
  id: "id";
173
173
  position: "position";
174
+ height: "height";
174
175
  name: "name";
175
176
  storey: "storey";
176
- height: "height";
177
177
  depth: "depth";
178
178
  innerProfiles: "innerProfiles";
179
179
  room_type: "room_type";
@@ -199,7 +199,7 @@ export type PluginDesignQuerySpacesGetArgs = z.infer<typeof PluginDesignQuerySpa
199
199
  * requested properties are present.
200
200
  */
201
201
  export declare const PluginDesignQuerySpacesGetResult: z.ZodObject<{
202
- profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>>>;
202
+ profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>>>;
203
203
  type: z.ZodOptional<z.ZodString>;
204
204
  id: z.ZodOptional<z.ZodString>;
205
205
  position: z.ZodOptional<z.ZodObject<{
@@ -207,11 +207,11 @@ export declare const PluginDesignQuerySpacesGetResult: z.ZodObject<{
207
207
  y: z.ZodNumber;
208
208
  z: z.ZodNumber;
209
209
  }, z.core.$strip>>;
210
+ height: z.ZodOptional<z.ZodNumber>;
210
211
  name: z.ZodOptional<z.ZodString>;
211
212
  storey: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
212
- height: z.ZodOptional<z.ZodNumber>;
213
213
  depth: z.ZodOptional<z.ZodNumber>;
214
- innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>>>>;
214
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>>>>;
215
215
  room_type: z.ZodOptional<z.ZodString>;
216
216
  area: z.ZodOptional<z.ZodNumber>;
217
217
  breadth: z.ZodOptional<z.ZodNumber>;
@@ -3,6 +3,7 @@ import { PluginApiReturn } from "../../../types";
3
3
  import { ComponentHandle } from "../../../handles";
4
4
  import { PluginSpaceUpdateResult } from "../../entity/space";
5
5
  import { PluginDesignChangeResult } from "../lock";
6
+ import { MassParametersPatch, type MassParametersRecord } from "../../../massParameters";
6
7
  import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeUpdateResult } from "../../entity/buildableEnvelope";
7
8
  /**
8
9
  * Sparse property updates for a space. Only provided fields change.
@@ -194,6 +195,19 @@ export declare const PluginDesignUpdateStaircaseArgs: z.ZodObject<{
194
195
  }, z.core.$strip>;
195
196
  }, z.core.$strip>;
196
197
  export type PluginDesignUpdateStaircaseArgs = z.infer<typeof PluginDesignUpdateStaircaseArgs>;
198
+ /**
199
+ * Arguments for {@linkcode PluginDesignUpdateApi.parameters}.
200
+ *
201
+ * | Property | Type | Description |
202
+ * |---|---|---|
203
+ * | `component` | {@linkcode ComponentHandle} | The parametric mass to edit |
204
+ * | `patch` | {@linkcode MassParametersPatch} | Partial `values` (+ optional `operations`), or the full edited record |
205
+ */
206
+ export declare const PluginDesignUpdateParametersArgs: z.ZodObject<{
207
+ component: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
208
+ patch: z.ZodType<MassParametersPatch, MassParametersPatch, z.core.$ZodTypeInternals<MassParametersPatch, MassParametersPatch>>;
209
+ }, z.core.$strip>;
210
+ export type PluginDesignUpdateParametersArgs = z.infer<typeof PluginDesignUpdateParametersArgs>;
197
211
  /**
198
212
  * Sparse edits for a wall (all optional; at least one required). Only the
199
213
  * fields you provide change. Dimensions are in **engine units** (the same
@@ -507,6 +521,91 @@ export declare abstract class PluginDesignUpdateApi {
507
521
  * ```
508
522
  */
509
523
  abstract staircase(staircases: ComponentHandle[], params: PluginStaircaseParamUpdates): PluginApiReturn<PluginDesignChangeResult>;
524
+ /**
525
+ * Edit a parametric mass by patching its creation recipe and rebuilding the
526
+ * solid in place — the mass keeps its id, storey, materials, position and
527
+ * linked copies; only the geometry changes. Read the current record with
528
+ * `design.query.getParameters` first.
529
+ *
530
+ * `patch` is a partial of `record.values` — or the whole record you read
531
+ * back, edited. A key you leave out is unchanged (that includes
532
+ * `operations`). Each key you send replaces that value whole — a scalar, a
533
+ * point, a list or a record (`contour`, `profile`, `sections`, `path`,
534
+ * `options`, `operations`) alike — so send the complete value you read,
535
+ * edited (a partial `options` drops the switches it leaves out);
536
+ * `{ operations: [] }` drops every operation. An optional key
537
+ * the record does not carry yet may be patched in when the kind allows it:
538
+ * a straight extrusion acquires `twistInDegrees` or `topScale`, an
539
+ * options-less loft or sweep acquires `options` (`levels` is not one — send
540
+ * the angle, not the section count). A patch that changes nothing
541
+ * returns the current record and records no edit (no undo step). `kind` and
542
+ * `version` are immutable: to change the kind, build a new mass. Keys are the
543
+ * record's `values` keys for its `kind` (sphere: `centre`, `radius`;
544
+ * cylinder: `base`, `axis`, `radius`, `height`; torus: `centre`, `axis`,
545
+ * `majorRadius`, `minorRadius`; …) plus `operations`. To change a fillet
546
+ * radius, edit `operations[i].radius` in the record you read and send
547
+ * `{ operations }` back. Points and axes are WORLD coordinates in internal
548
+ * units, exactly as `getParameters` reports them.
549
+ *
550
+ * Rebuilds in memory first, then swaps onto the SAME component; every linked
551
+ * copy regenerates together. One undo step; saves and syncs to collaborators
552
+ * like any geometry edit. Kernel kinds (revolution, sweep, loft, primitives,
553
+ * any `operations`) run on OpenCascade — expect a short pause.
554
+ *
555
+ * @param component - a mass whose `getParameters` is non-null
556
+ * @param patch - partial `values` (+ optional `operations`), or the full edited record
557
+ * @returns the complete post-edit record, world coordinates (what
558
+ * `getParameters` now returns)
559
+ * @throws PRECONDITION_FAILED when the component is not a mass (a family
560
+ * instance: use `design.family.setParameters`).
561
+ * Also PRECONDITION_FAILED when the mass carries no live recipe — built
562
+ * from a boolean, split, `brepFromFaces`/`brepFromMesh` or drawn; edited
563
+ * free-form since (push/pull, move face, boolean); or scaled with the
564
+ * transform tool. `getParameters` returns `null` for exactly these.
565
+ * Do not retry — rebuild it with a recipe constructor and say so.
566
+ * A scaled mass is the exception: undo the scale and call again.
567
+ * Also PRECONDITION_FAILED when the mass (or a linked copy) is **locked**
568
+ * (the message says so). Locking is invisible to `getParameters` — a
569
+ * locked parametric mass still reads back a full record. Unlock it (and
570
+ * every linked copy) and call again; never rebuild it, the recipe is intact.
571
+ * Also PRECONDITION_FAILED when an `operations` entry's edge/face selectors
572
+ * no longer resolve on the rebuilt base (the message names the operation
573
+ * and edge): re-select the edges on the new shape and re-apply that
574
+ * operation.
575
+ * Also PRECONDITION_FAILED when the edit is the first twist or taper — or
576
+ * the straightening — of an extrusion that carries a shell, fillet or
577
+ * chamfer (the kernel numbers its faces differently): send the twist/taper
578
+ * keys with `operations: []` first (the message names them), re-select on
579
+ * the new shape, then send `{ operations }` back.
580
+ * @throws VALIDATION for a key the kind does not have (the message lists the
581
+ * kind's keys), `kind` or `version` in a partial patch, or a value outside
582
+ * the constructor's own rules (torus tube ≥ ring, revolution angle ∉
583
+ * (0, 360], a profile crossing its axis, a spline with fewer than
584
+ * degree + 1 poles).
585
+ * @throws OPERATION_FAILED when the kernel cannot build the edited recipe;
586
+ * the model is left unchanged.
587
+ *
588
+ * @examplePrompt Make the dome's radius 8 metres
589
+ * @examplePrompt Raise the podium to 5 m
590
+ * @examplePrompt Widen the vase — move its profile points 20 cm outward
591
+ * @examplePrompt Change the fillet on the rounded column to 300 mm
592
+ *
593
+ * # Example
594
+ * ```ts
595
+ * // { kind: "sphere", values: { centre, radius: 19.685 }, … }
596
+ * const before = await snaptrude.design.query.getParameters(dome)
597
+ * const after = await snaptrude.design.update.parameters(dome, { radius: 31.496 }) // 8 m in internal units
598
+ *
599
+ * // Fillet radius on a recorded result: read → edit → send the array back
600
+ * const rec = await snaptrude.design.query.getParameters(column)
601
+ * const operations = rec?.operations ?? []
602
+ * if (operations[0]?.op === "fillet") {
603
+ * operations[0].radius = 1.181
604
+ * await snaptrude.design.update.parameters(column, { operations })
605
+ * }
606
+ * ```
607
+ */
608
+ abstract parameters(component: ComponentHandle, patch: MassParametersPatch): PluginApiReturn<MassParametersRecord>;
510
609
  /**
511
610
  * Edit a **wall** — its thickness and/or height (the same command the
512
611
  * properties panel's Thickness/Height fields drive) and/or its **wall type**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAA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;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;aACa,aAAa,CAC3B,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;aACa,SAAS,CACvB,UAAU,EAAE,eAAe,EAAE,EAC7B,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;aACa,iBAAiB,CAC/B,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,oCAAoC,EAAE,EACnD,UAAU,EAAE,IAAI,GAAG,GAAG,EACtB,QAAQ,EAAE,kCAAkC,EAAE,EAC9C,WAAW,EAAE,kCAAkC,EAC/C,YAAY,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GACzB,eAAe,CAAC,mCAAmC,CAAC;CACxD"}
@@ -180,7 +180,7 @@ export type PluginReferenceLineGetArgs = z.infer<typeof PluginReferenceLineGetAr
180
180
  * {@linkcode PluginReferenceLineGetArgs.properties} will be present.
181
181
  */
182
182
  export declare const PluginReferenceLineGetResult: z.ZodObject<{
183
- curve: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>;
183
+ curve: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"spline">, string>>]>>;
184
184
  }, z.core.$strip>;
185
185
  export type PluginReferenceLineGetResult = z.infer<typeof PluginReferenceLineGetResult>;
186
186
  /**
@@ -132,9 +132,9 @@ export declare const PluginSpaceGetProperty: z.ZodEnum<{
132
132
  type: "type";
133
133
  id: "id";
134
134
  position: "position";
135
+ height: "height";
135
136
  name: "name";
136
137
  storey: "storey";
137
- height: "height";
138
138
  depth: "depth";
139
139
  innerProfiles: "innerProfiles";
140
140
  room_type: "room_type";
@@ -168,9 +168,9 @@ export declare const PluginSpaceGetArgs: z.ZodObject<{
168
168
  type: "type";
169
169
  id: "id";
170
170
  position: "position";
171
+ height: "height";
171
172
  name: "name";
172
173
  storey: "storey";
173
- height: "height";
174
174
  depth: "depth";
175
175
  innerProfiles: "innerProfiles";
176
176
  room_type: "room_type";
@@ -300,8 +300,8 @@ export declare const PluginSpaceGetResult: z.ZodObject<{
300
300
  y: z.ZodNumber;
301
301
  z: z.ZodNumber;
302
302
  }, z.core.$strip>>>;
303
- profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>;
304
- innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>>;
303
+ profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"spline">, string>>]>>>;
304
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"spline">, string>>]>>>>;
305
305
  innerPlanPoints: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
306
306
  x: z.ZodNumber;
307
307
  y: z.ZodNumber;
@@ -271,10 +271,10 @@ export declare abstract class PluginStoryApi {
271
271
  export declare const PluginStoryGetProperty: z.ZodEnum<{
272
272
  value: "value";
273
273
  id: "id";
274
+ base: "base";
275
+ height: "height";
274
276
  name: "name";
275
277
  hidden: "hidden";
276
- height: "height";
277
- base: "base";
278
278
  spacesCount: "spacesCount";
279
279
  totalArea: "totalArea";
280
280
  }>;
@@ -292,10 +292,10 @@ export declare const PluginStoryGetArgs: z.ZodObject<{
292
292
  properties: z.ZodArray<z.ZodEnum<{
293
293
  value: "value";
294
294
  id: "id";
295
+ base: "base";
296
+ height: "height";
295
297
  name: "name";
296
298
  hidden: "hidden";
297
- height: "height";
298
- base: "base";
299
299
  spacesCount: "spacesCount";
300
300
  totalArea: "totalArea";
301
301
  }>>;
@@ -703,8 +703,8 @@ export type PluginProgramSiteWeatherResult = z.infer<typeof PluginProgramSiteWea
703
703
  * never appears — the backend synonym resolves to `front`.
704
704
  */
705
705
  export declare const PluginProgramSiteEdgeRole: z.ZodEnum<{
706
- front: "front";
707
706
  side: "side";
707
+ front: "front";
708
708
  rear: "rear";
709
709
  }>;
710
710
  export type PluginProgramSiteEdgeRole = z.infer<typeof PluginProgramSiteEdgeRole>;
@@ -733,8 +733,8 @@ export declare const PluginProgramSiteEdge: z.ZodObject<{
733
733
  }, z.core.$strip>;
734
734
  lengthMeters: z.ZodNumber;
735
735
  role: z.ZodEnum<{
736
- front: "front";
737
736
  side: "side";
737
+ front: "front";
738
738
  rear: "rear";
739
739
  }>;
740
740
  roleSource: z.ZodEnum<{
@@ -772,8 +772,8 @@ export declare const PluginProgramSiteEdgesEntry: z.ZodObject<{
772
772
  }, z.core.$strip>;
773
773
  lengthMeters: z.ZodNumber;
774
774
  role: z.ZodEnum<{
775
- front: "front";
776
775
  side: "side";
776
+ front: "front";
777
777
  rear: "rear";
778
778
  }>;
779
779
  roleSource: z.ZodEnum<{
@@ -807,8 +807,8 @@ export declare const PluginProgramSiteListEdgesResult: z.ZodObject<{
807
807
  }, z.core.$strip>;
808
808
  lengthMeters: z.ZodNumber;
809
809
  role: z.ZodEnum<{
810
- front: "front";
811
810
  side: "side";
811
+ front: "front";
812
812
  rear: "rear";
813
813
  }>;
814
814
  roleSource: z.ZodEnum<{
@@ -1668,8 +1668,8 @@ export declare const PluginProgramSpreadsheetSetFormulasResult: z.ZodObject<{
1668
1668
  export type PluginProgramSpreadsheetSetFormulasResult = z.infer<typeof PluginProgramSpreadsheetSetFormulasResult>;
1669
1669
  /** Font weight for a {@linkcode PluginSpreadsheetCellStyle}. */
1670
1670
  export declare const PluginSpreadsheetFontWeight: z.ZodEnum<{
1671
- normal: "normal";
1672
1671
  bold: "bold";
1672
+ normal: "normal";
1673
1673
  }>;
1674
1674
  export type PluginSpreadsheetFontWeight = z.infer<typeof PluginSpreadsheetFontWeight>;
1675
1675
  /** Font style for a {@linkcode PluginSpreadsheetCellStyle}. */
@@ -1717,8 +1717,8 @@ export declare const PluginSpreadsheetCellStyle: z.ZodObject<{
1717
1717
  fontFamily: z.ZodOptional<z.ZodString>;
1718
1718
  fontSize: z.ZodOptional<z.ZodNumber>;
1719
1719
  fontWeight: z.ZodOptional<z.ZodEnum<{
1720
- normal: "normal";
1721
1720
  bold: "bold";
1721
+ normal: "normal";
1722
1722
  }>>;
1723
1723
  fontStyle: z.ZodOptional<z.ZodEnum<{
1724
1724
  normal: "normal";
@@ -1755,8 +1755,8 @@ export declare const PluginSpreadsheetRangeStyle: z.ZodObject<{
1755
1755
  fontFamily: z.ZodOptional<z.ZodString>;
1756
1756
  fontSize: z.ZodOptional<z.ZodNumber>;
1757
1757
  fontWeight: z.ZodOptional<z.ZodEnum<{
1758
- normal: "normal";
1759
1758
  bold: "bold";
1759
+ normal: "normal";
1760
1760
  }>>;
1761
1761
  fontStyle: z.ZodOptional<z.ZodEnum<{
1762
1762
  normal: "normal";
@@ -1796,8 +1796,8 @@ export declare const PluginProgramSpreadsheetSetStylesArgs: z.ZodObject<{
1796
1796
  fontFamily: z.ZodOptional<z.ZodString>;
1797
1797
  fontSize: z.ZodOptional<z.ZodNumber>;
1798
1798
  fontWeight: z.ZodOptional<z.ZodEnum<{
1799
- normal: "normal";
1800
1799
  bold: "bold";
1800
+ normal: "normal";
1801
1801
  }>>;
1802
1802
  fontStyle: z.ZodOptional<z.ZodEnum<{
1803
1803
  normal: "normal";
package/dist/handles.d.ts CHANGED
@@ -116,8 +116,17 @@ export type Vec3Handle = Handle<"vec3">;
116
116
  export type QuatHandle = Handle<"quat">;
117
117
  export type LineHandle = Handle<"line">;
118
118
  export type ArcHandle = Handle<"arc">;
119
- /** A curve is a line or an arc — its handle is one of those kinds. */
120
- export type CurveHandle = LineHandle | ArcHandle;
119
+ /**
120
+ * A NURBS curve value handle (open B-spline curve). Minted by
121
+ * `core.geom.create.splineFromPoints` / `splineFromControlPoints`, and returned by
122
+ * `edge.getCurve`, `profile.listCurves` and `update.curve.reverse` for a spline run;
123
+ * accepted everywhere a {@linkcode CurveHandle} is (profileFromCurves, query.curve.*).
124
+ * Closed spline loops never exist as a single handle — a closed run is built
125
+ * directly as a profile via `core.geom.create.profileFromSplinePoints`.
126
+ */
127
+ export type SplineHandle = Handle<"spline">;
128
+ /** A curve is a line, an arc, or a spline — its handle is one of those kinds. */
129
+ export type CurveHandle = LineHandle | ArcHandle | SplineHandle;
121
130
  /**
122
131
  * A circle value handle. A circle is a CLOSED curve — it deliberately does NOT
123
132
  * join {@linkcode CurveHandle} (it has no stable start/end and would break the
@@ -196,7 +205,8 @@ export declare const Vec3Handle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unk
196
205
  export declare const QuatHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"quat">, string>>;
197
206
  export declare const LineHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"line">, string>>;
198
207
  export declare const ArcHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"arc">, string>>;
199
- export declare const CurveHandle: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"arc">, string>>]>;
208
+ export declare const SplineHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"spline">, string>>;
209
+ export declare const CurveHandle: z.ZodUnion<readonly [typeof LineHandle, typeof ArcHandle, typeof SplineHandle]>;
200
210
  export declare const CircleHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"circle">, string>>;
201
211
  export declare const BrepHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"brep">, string>>;
202
212
  export declare const FaceHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"face">, string>>;
@@ -1 +1 @@
1
- {"version":3,"file":"handles.d.ts","sourceRoot":"","sources":["../src/handles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAKlD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,MAAM,CAAC,CAAC,SAAS,MAAM;IAItB,QAAQ,CAAC,EAAE,EAAE,MAAM;IAH/B,iFAAiF;IACjF,SAAiB,QAAQ,EAAE,CAAC,CAAA;gBAEP,EAAE,EAAE,MAAM;IAE/B,+EAA+E;IAC/E,MAAM,IAAI;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;IAIzB,wDAAwD;IACxD,QAAQ,IAAI,MAAM;IAIlB,wDAAwD;IACxD,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,OAAO;IAItC;;;;OAIG;IACG,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC;CAC7C;AAED,2DAA2D;AAC3D,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;AAE9C;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,GAAG;IAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;CAAE,CAAA;AAEnF,kFAAkF;AAClF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;AAE7C,gFAAgF;AAChF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;AAE7C,yEAAyE;AACzE,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAA;AAEzC;;;;;;;GAOG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