@snaptrude/plugin-core 1.0.3 → 1.0.4

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 (95) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/api-manifest.json +146 -2135
  3. package/dist/api/core/camera/index.d.ts +16 -6
  4. package/dist/api/core/camera/index.d.ts.map +1 -1
  5. package/dist/api/core/comment/index.d.ts +7 -3
  6. package/dist/api/core/comment/index.d.ts.map +1 -1
  7. package/dist/api/core/geom/create/index.d.ts +69 -21
  8. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  9. package/dist/api/core/geom/query/circle.d.ts +31 -11
  10. package/dist/api/core/geom/query/circle.d.ts.map +1 -1
  11. package/dist/api/core/geom/query/contour.d.ts +19 -7
  12. package/dist/api/core/geom/query/contour.d.ts.map +1 -1
  13. package/dist/api/core/geom/query/curve.d.ts +72 -24
  14. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  15. package/dist/api/core/geom/query/profile.d.ts +19 -7
  16. package/dist/api/core/geom/query/profile.d.ts.map +1 -1
  17. package/dist/api/core/geom/update/contour.d.ts +36 -12
  18. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  19. package/dist/api/core/geom/update/curve.d.ts +13 -5
  20. package/dist/api/core/geom/update/curve.d.ts.map +1 -1
  21. package/dist/api/core/geom/update/profile.d.ts +36 -12
  22. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  23. package/dist/api/core/io/import/index.d.ts +7 -3
  24. package/dist/api/core/io/import/index.d.ts.map +1 -1
  25. package/dist/api/core/math/quat.d.ts +2 -2
  26. package/dist/api/core/math/quat.d.ts.map +1 -1
  27. package/dist/api/core/math/vec3.d.ts +15 -15
  28. package/dist/api/core/math/vec3.d.ts.map +1 -1
  29. package/dist/api/core/storeys/index.d.ts +5 -0
  30. package/dist/api/core/storeys/index.d.ts.map +1 -1
  31. package/dist/api/design/boolean/index.d.ts +20 -4
  32. package/dist/api/design/boolean/index.d.ts.map +1 -1
  33. package/dist/api/design/create/bulk-items.d.ts +84 -16
  34. package/dist/api/design/create/bulk-items.d.ts.map +1 -1
  35. package/dist/api/design/create/index.d.ts +134 -59
  36. package/dist/api/design/create/index.d.ts.map +1 -1
  37. package/dist/api/design/create/opening-fields.d.ts +18 -6
  38. package/dist/api/design/create/opening-fields.d.ts.map +1 -1
  39. package/dist/api/design/delete/index.d.ts +14 -7
  40. package/dist/api/design/delete/index.d.ts.map +1 -1
  41. package/dist/api/design/dimensions.d.ts +12 -4
  42. package/dist/api/design/dimensions.d.ts.map +1 -1
  43. package/dist/api/design/edit/index.d.ts +7 -3
  44. package/dist/api/design/edit/index.d.ts.map +1 -1
  45. package/dist/api/design/family.d.ts +5 -1
  46. package/dist/api/design/family.d.ts.map +1 -1
  47. package/dist/api/design/lock.d.ts +3 -0
  48. package/dist/api/design/lock.d.ts.map +1 -1
  49. package/dist/api/design/opening-placement.d.ts +15 -3
  50. package/dist/api/design/opening-placement.d.ts.map +1 -1
  51. package/dist/api/design/transform/index.d.ts +28 -8
  52. package/dist/api/design/transform/index.d.ts.map +1 -1
  53. package/dist/api/entity/space.d.ts +30 -6
  54. package/dist/api/entity/space.d.ts.map +1 -1
  55. package/dist/api/entity/story.d.ts +4 -0
  56. package/dist/api/entity/story.d.ts.map +1 -1
  57. package/dist/api/presentation/drawings.d.ts +1 -1
  58. package/dist/api/presentation/views.d.ts +5 -1
  59. package/dist/api/presentation/views.d.ts.map +1 -1
  60. package/dist/handles.d.ts +8 -0
  61. package/dist/handles.d.ts.map +1 -1
  62. package/dist/index.cjs +96 -82
  63. package/dist/index.cjs.map +1 -1
  64. package/dist/index.js +95 -82
  65. package/dist/index.js.map +1 -1
  66. package/package.json +13 -13
  67. package/src/api/core/camera/index.ts +9 -7
  68. package/src/api/core/comment/index.ts +3 -3
  69. package/src/api/core/geom/create/index.ts +25 -25
  70. package/src/api/core/geom/query/circle.ts +11 -11
  71. package/src/api/core/geom/query/contour.ts +7 -6
  72. package/src/api/core/geom/query/curve.ts +25 -25
  73. package/src/api/core/geom/query/profile.ts +7 -6
  74. package/src/api/core/geom/update/contour.ts +12 -11
  75. package/src/api/core/geom/update/curve.ts +5 -5
  76. package/src/api/core/geom/update/profile.ts +12 -11
  77. package/src/api/core/io/import/index.ts +3 -2
  78. package/src/api/core/math/quat.ts +2 -2
  79. package/src/api/core/math/vec3.ts +16 -16
  80. package/src/api/core/storeys/index.ts +5 -0
  81. package/src/api/design/boolean/index.ts +2 -2
  82. package/src/api/design/create/bulk-items.ts +7 -2
  83. package/src/api/design/create/index.ts +34 -46
  84. package/src/api/design/create/opening-fields.ts +7 -7
  85. package/src/api/design/delete/index.ts +14 -7
  86. package/src/api/design/dimensions.ts +5 -4
  87. package/src/api/design/edit/index.ts +3 -3
  88. package/src/api/design/family.ts +2 -1
  89. package/src/api/design/lock.ts +6 -0
  90. package/src/api/design/transform/index.ts +15 -7
  91. package/src/api/entity/space.ts +5 -4
  92. package/src/api/entity/story.ts +4 -0
  93. package/src/api/presentation/views.ts +7 -2
  94. package/src/handles.ts +11 -0
  95. package/test/handles.test.mjs +36 -0
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../../types";
3
- import { BrepHandle, ComponentHandle, ContourHandle, LineHandle, CurveHandle, ProfileHandle, Vec3Handle } from "../../../handles";
3
+ import { BrepHandle, ComponentHandle, ContourHandle, LineHandle, CurveHandle, ProfileHandle, Vec3Input } from "../../../handles";
4
4
  import { PluginGridStyleOptions } from "./grids";
5
5
  import { PluginSpaceType, PluginMassType, PluginDepartmentId } from "../../entity/space";
6
6
  import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeCreateResult, PluginDesignCreateBuildableEnvelopeFromSiteResult } from "../../entity/buildableEnvelope";
@@ -91,7 +91,7 @@ export declare abstract class PluginDesignCreateApi {
91
91
  * )
92
92
  * ```
93
93
  */
94
- abstract space(contour: ContourHandle, height: number, label?: string, position?: Vec3Handle, spaceType?: PluginSpaceType, massType?: PluginMassType, departmentId?: PluginDepartmentId, storey?: number): PluginApiReturn<ComponentHandle>;
94
+ abstract space(contour: ContourHandle, height: number, label?: string, position?: Vec3Input, spaceType?: PluginSpaceType, massType?: PluginMassType, departmentId?: PluginDepartmentId, storey?: number): PluginApiReturn<ComponentHandle>;
95
95
  /**
96
96
  * Create a **mass** — a generic extruded prism (default `massType` "Generic mass").
97
97
  * Same footprint-extrude path as {@linkcode PluginDesignCreateApi.space}.
@@ -116,7 +116,7 @@ export declare abstract class PluginDesignCreateApi {
116
116
  * const tower = await snaptrude.design.create.mass(contour, 30, "Tower A", undefined, "Building")
117
117
  * ```
118
118
  */
119
- abstract mass(contour: ContourHandle, height: number, label?: string, position?: Vec3Handle, massType?: PluginMassType): PluginApiReturn<ComponentHandle>;
119
+ abstract mass(contour: ContourHandle, height: number, label?: string, position?: Vec3Input, massType?: PluginMassType): PluginApiReturn<ComponentHandle>;
120
120
  /**
121
121
  * Create a **mass** from a custom solid built with a `core.geom.create` brep
122
122
  * constructor (`brepFromFaces`, `brepFromExtrusion`, `brepFromLoft`,
@@ -225,7 +225,7 @@ export declare abstract class PluginDesignCreateApi {
225
225
  * host round-trip and one undo entry. That bulk method does not accept native
226
226
  * family options; use this method for a family-backed floor.
227
227
  */
228
- abstract floor(...args: [contour: ContourHandle, thickness: number, position?: Vec3Handle] | [contour: ContourHandle, options: PluginFamilyFloorOptions]): PluginApiReturn<ComponentHandle[]>;
228
+ abstract floor(...args: [contour: ContourHandle, thickness: number, position?: Vec3Input] | [contour: ContourHandle, options: PluginFamilyFloorOptions]): PluginApiReturn<ComponentHandle[]>;
229
229
  /**
230
230
  * Create **many floors** in one undoable operation (bulk plural of
231
231
  * {@linkcode floor}). Each item extrudes its own footprint contour (outer
@@ -342,10 +342,10 @@ export declare abstract class PluginDesignCreateApi {
342
342
  * ```
343
343
  */
344
344
  abstract column(...args: [
345
- position: Vec3Handle,
345
+ position: Vec3Input,
346
346
  crossSection: ContourHandle,
347
347
  height: number,
348
- directionUp?: Vec3Handle
348
+ directionUp?: Vec3Input
349
349
  ] | [axis: LineHandle, options: PluginFamilyPlacement]): PluginApiReturn<ComponentHandle>;
350
350
  /**
351
351
  * Create a **beam** by extruding a cross-section contour along `direction` by
@@ -387,7 +387,7 @@ export declare abstract class PluginDesignCreateApi {
387
387
  * const beam = await snaptrude.design.create.beam(section, 6, alongX)
388
388
  * ```
389
389
  */
390
- abstract beam(...args: [section: ContourHandle, length: number, direction?: Vec3Handle] | [axis: LineHandle, options: PluginFamilyPlacement]): PluginApiReturn<ComponentHandle>;
390
+ abstract beam(...args: [section: ContourHandle, length: number, direction?: Vec3Input] | [axis: LineHandle, options: PluginFamilyPlacement]): PluginApiReturn<ComponentHandle>;
391
391
  /**
392
392
  * Create a connected run of **walls** from a profile — one wall per curve in
393
393
  * the profile's chain, with mitred corners at shared endpoints.
@@ -408,10 +408,10 @@ export declare abstract class PluginDesignCreateApi {
408
408
  * single undo entry. The storey must already exist
409
409
  * (`core.storeys.create` first). Default: geometry-derived — a profile
410
410
  * drawn at y = 0 lands on storey 1; the ACTIVE storey is NOT consulted.
411
- * @param topProfiles - Optional top edge per curve of `profile` (same order):
412
- * a {@linkcode PluginWallTopProfile} makes that wall raked / gabled; `null`
413
- * or a missing entry keeps it flat at `height`. Straight curves only. Such
414
- * walls are non-parametric (see {@linkcode PluginWallTopProfile}).
411
+ * @param topProfiles - Top edge per curve of `profile` (same order). Current
412
+ * hosts build walls with one height: any non-null entry is refused with
413
+ * `PRECONDITION_FAILED` ("sloped or stepped tops are not supported") and
414
+ * nothing is created. Pass `null` entries or omit it.
415
415
  * @returns a {@linkcode ComponentHandle}`[]` (one per wall), in profile order
416
416
  * @throws if the profile is empty, `wallType` names no wall type in the
417
417
  * project, `storey` does not exist, `topProfiles` has more entries than the
@@ -425,9 +425,6 @@ export declare abstract class PluginDesignCreateApi {
425
425
  * @examplePrompt Add walls with mitred corners along the path
426
426
  * @examplePrompt Draw brick walls with plaster along this outline
427
427
  * @examplePrompt Build the perimeter in exposed concrete walls
428
- * @examplePrompt Create a raked wall that slopes from 3m to 5m
429
- * @examplePrompt Build a gable end wall with the ridge in the middle
430
- * @examplePrompt Draw a wall with a sloped top edge
431
428
  *
432
429
  * # Example
433
430
  * ```ts
@@ -443,13 +440,6 @@ export declare abstract class PluginDesignCreateApi {
443
440
  * const brickWalls = await snaptrude.design.create.walls(
444
441
  * centerlines, 3, undefined, brick.label,
445
442
  * )
446
- * // …a raked wall (3m at the start, 5m at the end) on a single centerline:
447
- * const run = await snaptrude.core.geom.create.profileFromCurves([
448
- * await snaptrude.core.geom.create.line(await v.new(0, 0, 10), await v.new(8, 0, 10)),
449
- * ])
450
- * const [raked] = await snaptrude.design.create.walls(run, undefined, 0.2, undefined, undefined, [
451
- * [{ along: 0, height: 3 }, { along: 1, height: 5 }],
452
- * ])
453
443
  * ```
454
444
  *
455
445
  * @performance For MORE THAN ONE run, call `design.create.wallRuns(items[])` — one
@@ -463,8 +453,9 @@ export declare abstract class PluginDesignCreateApi {
463
453
  * item's profile chain, mitred at shared endpoints. Junctions resolve within a
464
454
  * run, not between runs. Each item carries its own
465
455
  * dimensions, `wallType` and `storey`, so a single call can build a whole
466
- * floor plate or several storeys at once. Per-curve `topProfiles` make raked
467
- * or gabled walls (see {@linkcode PluginWallTopProfile}). Validate-all-or-throw;
456
+ * floor plate or several storeys at once. Walls have one height: a non-null
457
+ * `topProfiles` entry is refused with `PRECONDITION_FAILED` (`details.itemIndex`
458
+ * names the item) and nothing is created. Validate-all-or-throw;
468
459
  * one command.
469
460
  *
470
461
  * @param items - One {@linkcode PluginCreateWallRunItem} per run to create
@@ -485,7 +476,6 @@ export declare abstract class PluginDesignCreateApi {
485
476
  * @examplePrompt Bulk create wall runs from these centerlines
486
477
  * @examplePrompt Create the walls for both storeys in a single undo step
487
478
  * @examplePrompt Turn these polylines into 200mm brick walls together
488
- * @examplePrompt Import these raked walls with their top profiles in one go
489
479
  *
490
480
  * @performance Bulk creator — the whole batch is ONE host round-trip and ONE undo
491
481
  * entry. Always prefer this over calling `design.create.walls` in a loop: build the
@@ -506,9 +496,6 @@ export declare abstract class PluginDesignCreateApi {
506
496
  * const [groundWalls, upperWalls] = await snaptrude.design.create.wallRuns([
507
497
  * { profile: ground, height: 3, thickness: 0.2 },
508
498
  * { profile: upper, height: 3, storey: 2 },
509
- * // one gable wall: 3m at both ends, 5m ridge in the middle
510
- * { profile: upper, thickness: 0.2, storey: 3,
511
- * topProfiles: [[{ along: 0, height: 3 }, { along: 0.5, height: 5 }, { along: 1, height: 3 }]] },
512
499
  * ])
513
500
  * console.log(groundWalls.length, "walls on the ground floor")
514
501
  * ```
@@ -547,7 +534,7 @@ export declare abstract class PluginDesignCreateApi {
547
534
  * )
548
535
  * ```
549
536
  */
550
- abstract staircase(preset: PluginStaircasePreset, position: Vec3Handle, label?: string, structureId?: string, level?: string, dimensions?: PluginStaircaseDimensions): PluginApiReturn<ComponentHandle>;
537
+ abstract staircase(preset: PluginStaircasePreset, position: Vec3Input, label?: string, structureId?: string, level?: string, dimensions?: PluginStaircaseDimensions): PluginApiReturn<ComponentHandle>;
551
538
  /**
552
539
  * Create **reference lines** from a profile — one reference line per curve in
553
540
  * the profile's ordered chain. Returns a handle per created line.
@@ -620,7 +607,7 @@ export declare abstract class PluginDesignCreateApi {
620
607
  */
621
608
  abstract grid(linesX: number, linesY: number, spacingX: number, spacingY: number, options?: {
622
609
  angle?: number;
623
- center?: Vec3Handle;
610
+ center?: Vec3Input;
624
611
  } & PluginGridStyleOptions): PluginApiReturn<ComponentHandle>;
625
612
  /**
626
613
  * Create a **structural grid from a single curve** — one grid group holding
@@ -756,7 +743,7 @@ export declare abstract class PluginDesignCreateApi {
756
743
  * one host round-trip and ONE undo entry, and a catalog source shared by several
757
744
  * items is fetched once. Looping this single-item creator is N round-trips.
758
745
  */
759
- abstract furniture(catalogId: string, position: Vec3Handle, options?: {
746
+ abstract furniture(catalogId: string, position: Vec3Input, options?: {
760
747
  label?: string;
761
748
  createNewSourceMesh?: boolean;
762
749
  }, angleInDegrees?: number): PluginApiReturn<ComponentHandle>;
@@ -862,12 +849,12 @@ export declare abstract class PluginDesignCreateApi {
862
849
  * round-trip and ONE undo entry, with each host wall re-cut once per opening inside
863
850
  * that single call. Looping this single-door creator is N round-trips.
864
851
  */
865
- abstract door(familyId: string, hostWall: ComponentHandle, position: Vec3Handle, options?: {
852
+ abstract door(familyId: string, hostWall: ComponentHandle, position: Vec3Input, options?: {
866
853
  label?: string;
867
- hinge?: Vec3Handle;
854
+ hinge?: Vec3Input;
868
855
  version?: number;
869
856
  values?: Record<string, number | string>;
870
- }, facing?: Vec3Handle): PluginApiReturn<ComponentHandle>;
857
+ }, facing?: Vec3Input): PluginApiReturn<ComponentHandle>;
871
858
  /**
872
859
  * Place **many doors** into host walls in one undoable operation (bulk plural
873
860
  * of {@linkcode door}). Each item carries its own family id, host wall,
@@ -962,12 +949,12 @@ export declare abstract class PluginDesignCreateApi {
962
949
  * host round-trip and ONE undo entry, with each host wall re-cut once per opening
963
950
  * inside that single call. Looping this single-window creator is N round-trips.
964
951
  */
965
- abstract window(familyId: string, hostWall: ComponentHandle, position: Vec3Handle, options?: {
952
+ abstract window(familyId: string, hostWall: ComponentHandle, position: Vec3Input, options?: {
966
953
  label?: string;
967
- hinge?: Vec3Handle;
954
+ hinge?: Vec3Input;
968
955
  version?: number;
969
956
  values?: Record<string, number | string>;
970
- }, facing?: Vec3Handle): PluginApiReturn<ComponentHandle>;
957
+ }, facing?: Vec3Input): PluginApiReturn<ComponentHandle>;
971
958
  /**
972
959
  * Place **many windows** into host walls in one undoable operation (bulk
973
960
  * plural of {@linkcode window}). Each item carries its own family id, host
@@ -1280,7 +1267,7 @@ export declare abstract class PluginDesignCreateApi {
1280
1267
  * const copies = await snaptrude.design.create.copy(["space-id"], vec3.new(6, 0, 0), { count: 3 })
1281
1268
  * ```
1282
1269
  */
1283
- abstract copy(components: ComponentHandle[], displacement: Vec3Handle, options?: {
1270
+ abstract copy(components: ComponentHandle[], displacement: Vec3Input, options?: {
1284
1271
  count?: number;
1285
1272
  mode?: PluginCopyMode;
1286
1273
  }): PluginApiReturn<ComponentHandle[]>;
@@ -1476,7 +1463,11 @@ export declare const PluginDesignCreateSpaceArgs: z.ZodObject<{
1476
1463
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1477
1464
  height: z.ZodNumber;
1478
1465
  label: z.ZodOptional<z.ZodString>;
1479
- position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1466
+ position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1467
+ x: z.ZodNumber;
1468
+ y: z.ZodNumber;
1469
+ z: z.ZodNumber;
1470
+ }, z.core.$strip>]>>;
1480
1471
  spaceType: z.ZodOptional<z.ZodEnum<{
1481
1472
  Room: "Room";
1482
1473
  "Program Block": "Program Block";
@@ -1527,7 +1518,11 @@ export declare const PluginDesignCreateMassArgs: z.ZodObject<{
1527
1518
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1528
1519
  height: z.ZodNumber;
1529
1520
  label: z.ZodOptional<z.ZodString>;
1530
- position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1521
+ position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1522
+ x: z.ZodNumber;
1523
+ y: z.ZodNumber;
1524
+ z: z.ZodNumber;
1525
+ }, z.core.$strip>]>>;
1531
1526
  massType: z.ZodOptional<z.ZodEnum<{
1532
1527
  Furniture: "Furniture";
1533
1528
  Room: "Room";
@@ -1594,7 +1589,11 @@ export type PluginDesignCreateSlabArgs = z.infer<typeof PluginDesignCreateSlabAr
1594
1589
  export declare const PluginDesignCreateFloorArgs: z.ZodObject<{
1595
1590
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1596
1591
  thickness: z.ZodNumber;
1597
- position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1592
+ position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1593
+ x: z.ZodNumber;
1594
+ y: z.ZodNumber;
1595
+ z: z.ZodNumber;
1596
+ }, z.core.$strip>]>>;
1598
1597
  }, z.core.$strip>;
1599
1598
  export type PluginDesignCreateFloorArgs = z.infer<typeof PluginDesignCreateFloorArgs>;
1600
1599
  /**
@@ -1636,10 +1635,18 @@ export type PluginDesignCreateCeilingArgs = z.infer<typeof PluginDesignCreateCei
1636
1635
  * | `directionUp` | {@linkcode Vec3Handle}? | Up axis (default world up) |
1637
1636
  */
1638
1637
  export declare const PluginDesignCreateColumnArgs: z.ZodObject<{
1639
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1638
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1639
+ x: z.ZodNumber;
1640
+ y: z.ZodNumber;
1641
+ z: z.ZodNumber;
1642
+ }, z.core.$strip>]>;
1640
1643
  crossSection: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1641
1644
  height: z.ZodNumber;
1642
- directionUp: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1645
+ directionUp: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1646
+ x: z.ZodNumber;
1647
+ y: z.ZodNumber;
1648
+ z: z.ZodNumber;
1649
+ }, z.core.$strip>]>>;
1643
1650
  }, z.core.$strip>;
1644
1651
  export type PluginDesignCreateColumnArgs = z.infer<typeof PluginDesignCreateColumnArgs>;
1645
1652
  /**
@@ -1654,7 +1661,11 @@ export type PluginDesignCreateColumnArgs = z.infer<typeof PluginDesignCreateColu
1654
1661
  export declare const PluginDesignCreateBeamArgs: z.ZodObject<{
1655
1662
  section: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1656
1663
  length: z.ZodNumber;
1657
- direction: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1664
+ direction: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1665
+ x: z.ZodNumber;
1666
+ y: z.ZodNumber;
1667
+ z: z.ZodNumber;
1668
+ }, z.core.$strip>]>>;
1658
1669
  }, z.core.$strip>;
1659
1670
  export type PluginDesignCreateBeamArgs = z.infer<typeof PluginDesignCreateBeamArgs>;
1660
1671
  /**
@@ -1716,7 +1727,11 @@ export declare const PluginDesignCreateStaircaseArgs: z.ZodObject<{
1716
1727
  mezzanineFloorDogLegged: "mezzanineFloorDogLegged";
1717
1728
  mezzanineFloorLShaped: "mezzanineFloorLShaped";
1718
1729
  }>;
1719
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1730
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1731
+ x: z.ZodNumber;
1732
+ y: z.ZodNumber;
1733
+ z: z.ZodNumber;
1734
+ }, z.core.$strip>]>;
1720
1735
  label: z.ZodOptional<z.ZodString>;
1721
1736
  structureId: z.ZodOptional<z.ZodString>;
1722
1737
  level: z.ZodOptional<z.ZodString>;
@@ -1742,7 +1757,11 @@ export type PluginDesignCreateStaircaseArgs = z.infer<typeof PluginDesignCreateS
1742
1757
  */
1743
1758
  export declare const PluginDesignCreateFurnitureArgs: z.ZodObject<{
1744
1759
  catalogId: z.ZodString;
1745
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1760
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1761
+ x: z.ZodNumber;
1762
+ y: z.ZodNumber;
1763
+ z: z.ZodNumber;
1764
+ }, z.core.$strip>]>;
1746
1765
  label: z.ZodOptional<z.ZodString>;
1747
1766
  createNewSourceMesh: z.ZodOptional<z.ZodBoolean>;
1748
1767
  angleInDegrees: z.ZodOptional<z.ZodNumber>;
@@ -1767,9 +1786,21 @@ export declare const PluginDesignCreateDoorArgs: z.ZodObject<{
1767
1786
  version: z.ZodOptional<z.ZodNumber>;
1768
1787
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1769
1788
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1770
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1771
- facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1772
- hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1789
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1790
+ x: z.ZodNumber;
1791
+ y: z.ZodNumber;
1792
+ z: z.ZodNumber;
1793
+ }, z.core.$strip>]>;
1794
+ facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1795
+ x: z.ZodNumber;
1796
+ y: z.ZodNumber;
1797
+ z: z.ZodNumber;
1798
+ }, z.core.$strip>]>>;
1799
+ hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1800
+ x: z.ZodNumber;
1801
+ y: z.ZodNumber;
1802
+ z: z.ZodNumber;
1803
+ }, z.core.$strip>]>>;
1773
1804
  label: z.ZodOptional<z.ZodString>;
1774
1805
  width: z.ZodOptional<z.ZodNumber>;
1775
1806
  height: z.ZodOptional<z.ZodNumber>;
@@ -1794,9 +1825,21 @@ export declare const PluginDesignCreateWindowArgs: z.ZodObject<{
1794
1825
  version: z.ZodOptional<z.ZodNumber>;
1795
1826
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1796
1827
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1797
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1798
- facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1799
- hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1828
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1829
+ x: z.ZodNumber;
1830
+ y: z.ZodNumber;
1831
+ z: z.ZodNumber;
1832
+ }, z.core.$strip>]>;
1833
+ facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1834
+ x: z.ZodNumber;
1835
+ y: z.ZodNumber;
1836
+ z: z.ZodNumber;
1837
+ }, z.core.$strip>]>>;
1838
+ hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1839
+ x: z.ZodNumber;
1840
+ y: z.ZodNumber;
1841
+ z: z.ZodNumber;
1842
+ }, z.core.$strip>]>>;
1800
1843
  label: z.ZodOptional<z.ZodString>;
1801
1844
  width: z.ZodOptional<z.ZodNumber>;
1802
1845
  height: z.ZodOptional<z.ZodNumber>;
@@ -1813,9 +1856,21 @@ export declare const PluginDesignCreateOpeningOptions: z.ZodDiscriminatedUnion<[
1813
1856
  version: z.ZodOptional<z.ZodNumber>;
1814
1857
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1815
1858
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1816
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1817
- facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1818
- hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1859
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1860
+ x: z.ZodNumber;
1861
+ y: z.ZodNumber;
1862
+ z: z.ZodNumber;
1863
+ }, z.core.$strip>]>;
1864
+ facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1865
+ x: z.ZodNumber;
1866
+ y: z.ZodNumber;
1867
+ z: z.ZodNumber;
1868
+ }, z.core.$strip>]>>;
1869
+ hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1870
+ x: z.ZodNumber;
1871
+ y: z.ZodNumber;
1872
+ z: z.ZodNumber;
1873
+ }, z.core.$strip>]>>;
1819
1874
  label: z.ZodOptional<z.ZodString>;
1820
1875
  width: z.ZodOptional<z.ZodNumber>;
1821
1876
  height: z.ZodOptional<z.ZodNumber>;
@@ -1826,9 +1881,21 @@ export declare const PluginDesignCreateOpeningOptions: z.ZodDiscriminatedUnion<[
1826
1881
  version: z.ZodOptional<z.ZodNumber>;
1827
1882
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1828
1883
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1829
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1830
- facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1831
- hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1884
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1885
+ x: z.ZodNumber;
1886
+ y: z.ZodNumber;
1887
+ z: z.ZodNumber;
1888
+ }, z.core.$strip>]>;
1889
+ facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1890
+ x: z.ZodNumber;
1891
+ y: z.ZodNumber;
1892
+ z: z.ZodNumber;
1893
+ }, z.core.$strip>]>>;
1894
+ hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1895
+ x: z.ZodNumber;
1896
+ y: z.ZodNumber;
1897
+ z: z.ZodNumber;
1898
+ }, z.core.$strip>]>>;
1832
1899
  label: z.ZodOptional<z.ZodString>;
1833
1900
  width: z.ZodOptional<z.ZodNumber>;
1834
1901
  height: z.ZodOptional<z.ZodNumber>;
@@ -1974,7 +2041,11 @@ export type PluginCopyMode = z.infer<typeof PluginCopyMode>;
1974
2041
  */
1975
2042
  export declare const PluginDesignCreateCopyArgs: z.ZodObject<{
1976
2043
  components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
1977
- displacement: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
2044
+ displacement: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
2045
+ x: z.ZodNumber;
2046
+ y: z.ZodNumber;
2047
+ z: z.ZodNumber;
2048
+ }, z.core.$strip>]>;
1978
2049
  count: z.ZodOptional<z.ZodNumber>;
1979
2050
  mode: z.ZodOptional<z.ZodEnum<{
1980
2051
  unique: "unique";
@@ -2001,7 +2072,11 @@ export declare const PluginCreateSpaceItem: z.ZodObject<{
2001
2072
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
2002
2073
  height: z.ZodNumber;
2003
2074
  label: z.ZodOptional<z.ZodString>;
2004
- position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
2075
+ position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
2076
+ x: z.ZodNumber;
2077
+ y: z.ZodNumber;
2078
+ z: z.ZodNumber;
2079
+ }, z.core.$strip>]>>;
2005
2080
  spaceType: z.ZodOptional<z.ZodEnum<{
2006
2081
  Room: "Room";
2007
2082
  "Program Block": "Program Block";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,UAAU,EACV,eAAe,EACf,aAAa,EACb,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACnC,iDAAiD,EAClD,MAAM,gCAAgC,CAAA;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,YAAY,CAAA;AAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;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KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;iBAKrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAQD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAShC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,UAAU,EACV,eAAe,EACf,aAAa,EACb,UAAU,EACV,WAAW,EACX,aAAa,EAEb,SAAS,EACV,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACnC,iDAAiD,EAClD,MAAM,gCAAgC,CAAA;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EACL,qBAAqB,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,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsB7C,CAAA;AACJ,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAA;AAMD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;;;EAAiC,CAAA;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;iBAKrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAQD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAShC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA"}
@@ -16,9 +16,9 @@ import { ComponentHandle } from "../../../handles";
16
16
  * | `version` | `number`? | Exact family version; newest known by default |
17
17
  * | `values` | `Record<string, number \| string>`? | Authored instance parameters; numeric lengths use Snaptrude units |
18
18
  * | `hostWall` | {@linkcode ComponentHandle} | The wall to host the opening |
19
- * | `position` | {@linkcode Vec3Handle} | World point projected onto the wall |
20
- * | `facing` | {@linkcode Vec3Handle}? | World point on the side of the wall the opening swings open to (default engine-chosen) |
21
- * | `hinge` | {@linkcode Vec3Handle}? | World point near the hinged jamb; requires the recipe's hand parameter |
19
+ * | `position` | {@linkcode Vec3Input} | World point projected onto the wall (a vec3 handle or a plain `{ x, y, z }`) |
20
+ * | `facing` | {@linkcode Vec3Input}? | World point on the side of the wall the opening swings open to (default engine-chosen) |
21
+ * | `hinge` | {@linkcode Vec3Input}? | World point near the hinged jamb; requires the recipe's hand parameter |
22
22
  * | `label` | `string`? | Instance name (optional) |
23
23
  * | `width` | `number`? | Sets the declared width parameter, not the opening's evaluated envelope |
24
24
  * | `height` | `number`? | Sets the declared height parameter |
@@ -28,9 +28,21 @@ export declare const PluginOpeningBaseOptions: {
28
28
  version: z.ZodOptional<z.ZodNumber>;
29
29
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
30
30
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
31
- position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
32
- facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
33
- hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
31
+ position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
32
+ x: z.ZodNumber;
33
+ y: z.ZodNumber;
34
+ z: z.ZodNumber;
35
+ }, z.core.$strip>]>;
36
+ facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
37
+ x: z.ZodNumber;
38
+ y: z.ZodNumber;
39
+ z: z.ZodNumber;
40
+ }, z.core.$strip>]>>;
41
+ hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
42
+ x: z.ZodNumber;
43
+ y: z.ZodNumber;
44
+ z: z.ZodNumber;
45
+ }, z.core.$strip>]>>;
34
46
  label: z.ZodOptional<z.ZodString>;
35
47
  width: z.ZodOptional<z.ZodNumber>;
36
48
  height: z.ZodOptional<z.ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"opening-fields.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/opening-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAc,MAAM,kBAAkB,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;CAapC,CAAA"}
1
+ {"version":3,"file":"opening-fields.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/opening-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAa,MAAM,kBAAkB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;CAapC,CAAA"}
@@ -7,7 +7,7 @@ import { PluginDesignChangeResult } from "../lock";
7
7
  *
8
8
  * | Property | Type | Description |
9
9
  * |---|---|---|
10
- * | `components` | {@linkcode ComponentHandle}`[]` | Entities to delete. Unknown/forged handles reject the whole call (fail-fast). |
10
+ * | `components` | {@linkcode ComponentHandle}`[]` | Entities to delete. Handles that no longer resolve are skipped and returned as `missing`; the call rejects only when none resolve. |
11
11
  *
12
12
  * `.min(1)` is deliberately stricter than the shipped `PluginDesignLockArgs`
13
13
  * (which allows an empty array) — an empty delete is a caller error, not a no-op.
@@ -40,12 +40,19 @@ export declare abstract class PluginDesignDeleteApi {
40
40
  * entry, exactly as the editor's Delete key does — see `design.dimensions`. They are
41
41
  * NOT listed in `affected`, which reports component handles only.
42
42
  *
43
- * @param components - Entities to delete. Unknown/forged handles reject the whole call (fail-fast).
44
- * @returns The entities that were deleted, as {@linkcode ComponentHandle}`[]`
45
- * (echoed host-side from the resolved+deleted set — the engine returns no ids).
46
- * Deleted handles are **stale** afterwards: re-resolving one throws `HANDLE_INVALID`.
47
- * @throws If any supplied handle is unknown/forged (`HANDLE_INVALID`) — the whole
48
- * call rejects before anything is deleted (all-or-nothing resolution).
43
+ * @param components - Entities to delete. A handle that no longer resolves (already
44
+ * removed by an earlier edit — a door deleted with its wall, a wall replaced by an
45
+ * opening's re-cut) is skipped, not fatal.
46
+ * @returns `{ affected, cascaded?, missing?, rejected? }`: the entities you asked to delete
47
+ * (echoed host-side — the engine returns no ids); `cascaded`, the derived walls/floors/slabs
48
+ * the parametric graph removed with a deleted space; `missing`, handles that no longer
49
+ * resolved and were skipped; `rejected`, handles the engine accepted but left standing
50
+ * (delete them again, one at a time, or report them). Deleted handles are **stale**
51
+ * afterwards: re-resolving one throws `HANDLE_STALE`.
52
+ * @throws `HANDLE_INVALID` when NONE of the supplied handles resolve (nothing is deleted);
53
+ * hosts before Oct 2026 reject the whole call when any handle is gone. `OPERATION_FAILED`
54
+ * when the parametric engine rejects the deletion — the batch is rolled back.
55
+ * `HANDLE_STALE` for a handle the caller held that has since been retired.
49
56
  *
50
57
  * @examplePrompt Delete the selected objects
51
58
  * @examplePrompt Remove these walls from the model
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;;;GASG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;aACa,QAAQ,CACtB,UAAU,EAAE,eAAe,EAAE,GAC5B,eAAe,CAAC,wBAAwB,CAAC;CAC7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;;;GASG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;aACa,QAAQ,CACtB,UAAU,EAAE,eAAe,EAAE,GAC5B,eAAe,CAAC,wBAAwB,CAAC;CAC7C"}
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../types";
3
- import { ComponentHandle, DimensionHandle, Vec3Handle } from "../../handles";
3
+ import { ComponentHandle, DimensionHandle, Vec3Input } from "../../handles";
4
4
  /**
5
5
  * Dimension lines (Measuring Tape) — the measurement annotations the Measuring
6
6
  * Tape tool leaves in the 3D scene, NOT an entity's width/height/depth
@@ -86,7 +86,7 @@ export declare abstract class PluginDesignDimensionsApi {
86
86
  * }
87
87
  * ```
88
88
  */
89
- abstract create(from: Vec3Handle, to: Vec3Handle, anchor: ComponentHandle, options?: {
89
+ abstract create(from: Vec3Input, to: Vec3Input, anchor: ComponentHandle, options?: {
90
90
  anchorTo?: ComponentHandle;
91
91
  offset?: number;
92
92
  }): PluginApiReturn<DimensionHandle>;
@@ -352,8 +352,16 @@ export type PluginDimensionsChangeResult = z.infer<typeof PluginDimensionsChange
352
352
  * TRANSPORT: positional args — validated host-side as this object.
353
353
  */
354
354
  export declare const PluginDesignDimensionsCreateArgs: z.ZodObject<{
355
- from: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
356
- to: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
355
+ from: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>, z.ZodObject<{
356
+ x: z.ZodNumber;
357
+ y: z.ZodNumber;
358
+ z: z.ZodNumber;
359
+ }, z.core.$strip>]>;
360
+ to: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>, z.ZodObject<{
361
+ x: z.ZodNumber;
362
+ y: z.ZodNumber;
363
+ z: z.ZodNumber;
364
+ }, z.core.$strip>]>;
357
365
  anchor: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
358
366
  anchorTo: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
359
367
  offset: z.ZodOptional<z.ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../../src/api/design/dimensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EACL,eAAe,EACf,eAAe,EAEf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