@snaptrude/plugin-core 1.0.2-plainpoint-20261102.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/AGENTS.md +17 -0
  2. package/CHANGELOG.md +6 -0
  3. package/api-manifest.json +35 -31
  4. package/dist/api/core/camera/index.d.ts +6 -16
  5. package/dist/api/core/camera/index.d.ts.map +1 -1
  6. package/dist/api/core/comment/index.d.ts +3 -7
  7. package/dist/api/core/comment/index.d.ts.map +1 -1
  8. package/dist/api/core/geom/create/index.d.ts +21 -69
  9. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/circle.d.ts +11 -31
  11. package/dist/api/core/geom/query/circle.d.ts.map +1 -1
  12. package/dist/api/core/geom/query/contour.d.ts +7 -19
  13. package/dist/api/core/geom/query/contour.d.ts.map +1 -1
  14. package/dist/api/core/geom/query/curve.d.ts +24 -72
  15. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  16. package/dist/api/core/geom/query/profile.d.ts +7 -19
  17. package/dist/api/core/geom/query/profile.d.ts.map +1 -1
  18. package/dist/api/core/geom/update/contour.d.ts +12 -36
  19. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  20. package/dist/api/core/geom/update/curve.d.ts +5 -13
  21. package/dist/api/core/geom/update/curve.d.ts.map +1 -1
  22. package/dist/api/core/geom/update/profile.d.ts +12 -36
  23. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  24. package/dist/api/core/io/import/index.d.ts +3 -7
  25. package/dist/api/core/io/import/index.d.ts.map +1 -1
  26. package/dist/api/core/math/quat.d.ts +2 -2
  27. package/dist/api/core/math/quat.d.ts.map +1 -1
  28. package/dist/api/core/math/vec3.d.ts +15 -15
  29. package/dist/api/core/math/vec3.d.ts.map +1 -1
  30. package/dist/api/core/storeys/index.d.ts +0 -5
  31. package/dist/api/core/storeys/index.d.ts.map +1 -1
  32. package/dist/api/design/boolean/index.d.ts +4 -20
  33. package/dist/api/design/boolean/index.d.ts.map +1 -1
  34. package/dist/api/design/create/bulk-items.d.ts +20 -85
  35. package/dist/api/design/create/bulk-items.d.ts.map +1 -1
  36. package/dist/api/design/create/index.d.ts +71 -134
  37. package/dist/api/design/create/index.d.ts.map +1 -1
  38. package/dist/api/design/create/opening-fields.d.ts +6 -18
  39. package/dist/api/design/create/opening-fields.d.ts.map +1 -1
  40. package/dist/api/design/delete/index.d.ts +7 -14
  41. package/dist/api/design/delete/index.d.ts.map +1 -1
  42. package/dist/api/design/dimensions.d.ts +4 -12
  43. package/dist/api/design/dimensions.d.ts.map +1 -1
  44. package/dist/api/design/doors/index.d.ts +37 -0
  45. package/dist/api/design/doors/index.d.ts.map +1 -1
  46. package/dist/api/design/edit/index.d.ts +3 -7
  47. package/dist/api/design/edit/index.d.ts.map +1 -1
  48. package/dist/api/design/family.d.ts +1 -5
  49. package/dist/api/design/family.d.ts.map +1 -1
  50. package/dist/api/design/index.d.ts +1 -0
  51. package/dist/api/design/index.d.ts.map +1 -1
  52. package/dist/api/design/lock.d.ts +0 -3
  53. package/dist/api/design/lock.d.ts.map +1 -1
  54. package/dist/api/design/opening-placement.d.ts +123 -0
  55. package/dist/api/design/opening-placement.d.ts.map +1 -0
  56. package/dist/api/design/transform/index.d.ts +8 -28
  57. package/dist/api/design/transform/index.d.ts.map +1 -1
  58. package/dist/api/design/windows/index.d.ts +23 -0
  59. package/dist/api/design/windows/index.d.ts.map +1 -1
  60. package/dist/api/entity/space.d.ts +6 -30
  61. package/dist/api/entity/space.d.ts.map +1 -1
  62. package/dist/api/entity/story.d.ts +0 -4
  63. package/dist/api/entity/story.d.ts.map +1 -1
  64. package/dist/api/presentation/drawings.d.ts +1 -1
  65. package/dist/api/presentation/views.d.ts +1 -5
  66. package/dist/api/presentation/views.d.ts.map +1 -1
  67. package/dist/handles.d.ts +0 -8
  68. package/dist/handles.d.ts.map +1 -1
  69. package/dist/index.cjs +2496 -2441
  70. package/dist/index.cjs.map +1 -1
  71. package/dist/index.js +2493 -2440
  72. package/dist/index.js.map +1 -1
  73. package/package.json +13 -13
  74. package/src/api/core/camera/index.ts +7 -9
  75. package/src/api/core/comment/index.ts +3 -3
  76. package/src/api/core/geom/create/index.ts +25 -25
  77. package/src/api/core/geom/query/circle.ts +11 -11
  78. package/src/api/core/geom/query/contour.ts +6 -7
  79. package/src/api/core/geom/query/curve.ts +25 -25
  80. package/src/api/core/geom/query/profile.ts +6 -7
  81. package/src/api/core/geom/update/contour.ts +11 -12
  82. package/src/api/core/geom/update/curve.ts +5 -5
  83. package/src/api/core/geom/update/profile.ts +11 -12
  84. package/src/api/core/io/import/index.ts +2 -3
  85. package/src/api/core/math/quat.ts +2 -2
  86. package/src/api/core/math/vec3.ts +16 -16
  87. package/src/api/core/storeys/index.ts +0 -5
  88. package/src/api/design/boolean/index.ts +2 -2
  89. package/src/api/design/create/bulk-items.ts +6 -8
  90. package/src/api/design/create/index.ts +58 -34
  91. package/src/api/design/create/opening-fields.ts +7 -7
  92. package/src/api/design/delete/index.ts +7 -14
  93. package/src/api/design/dimensions.ts +4 -5
  94. package/src/api/design/doors/index.ts +43 -0
  95. package/src/api/design/edit/index.ts +3 -3
  96. package/src/api/design/family.ts +1 -2
  97. package/src/api/design/index.ts +1 -0
  98. package/src/api/design/lock.ts +0 -6
  99. package/src/api/design/opening-placement.ts +79 -0
  100. package/src/api/design/transform/index.ts +7 -15
  101. package/src/api/design/windows/index.ts +29 -0
  102. package/src/api/entity/space.ts +4 -5
  103. package/src/api/entity/story.ts +0 -4
  104. package/src/api/presentation/views.ts +2 -7
  105. package/src/handles.ts +0 -11
  106. package/test/handles.test.mjs +0 -36
@@ -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, Vec3Input } from "../../../handles";
3
+ import { BrepHandle, ComponentHandle, ContourHandle, LineHandle, CurveHandle, ProfileHandle, Vec3Handle } 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?: Vec3Input, spaceType?: PluginSpaceType, massType?: PluginMassType, departmentId?: PluginDepartmentId, storey?: number): PluginApiReturn<ComponentHandle>;
94
+ abstract space(contour: ContourHandle, height: number, label?: string, position?: Vec3Handle, 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?: Vec3Input, massType?: PluginMassType): PluginApiReturn<ComponentHandle>;
119
+ abstract mass(contour: ContourHandle, height: number, label?: string, position?: Vec3Handle, 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?: Vec3Input] | [contour: ContourHandle, options: PluginFamilyFloorOptions]): PluginApiReturn<ComponentHandle[]>;
228
+ abstract floor(...args: [contour: ContourHandle, thickness: number, position?: Vec3Handle] | [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: Vec3Input,
345
+ position: Vec3Handle,
346
346
  crossSection: ContourHandle,
347
347
  height: number,
348
- directionUp?: Vec3Input
348
+ directionUp?: Vec3Handle
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?: Vec3Input] | [axis: LineHandle, options: PluginFamilyPlacement]): PluginApiReturn<ComponentHandle>;
390
+ abstract beam(...args: [section: ContourHandle, length: number, direction?: Vec3Handle] | [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 - 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.
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}).
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,6 +425,9 @@ 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
428
431
  *
429
432
  * # Example
430
433
  * ```ts
@@ -440,6 +443,13 @@ export declare abstract class PluginDesignCreateApi {
440
443
  * const brickWalls = await snaptrude.design.create.walls(
441
444
  * centerlines, 3, undefined, brick.label,
442
445
  * )
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
+ * ])
443
453
  * ```
444
454
  *
445
455
  * @performance For MORE THAN ONE run, call `design.create.wallRuns(items[])` — one
@@ -453,9 +463,8 @@ export declare abstract class PluginDesignCreateApi {
453
463
  * item's profile chain, mitred at shared endpoints. Junctions resolve within a
454
464
  * run, not between runs. Each item carries its own
455
465
  * dimensions, `wallType` and `storey`, so a single call can build a whole
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;
466
+ * floor plate or several storeys at once. Per-curve `topProfiles` make raked
467
+ * or gabled walls (see {@linkcode PluginWallTopProfile}). Validate-all-or-throw;
459
468
  * one command.
460
469
  *
461
470
  * @param items - One {@linkcode PluginCreateWallRunItem} per run to create
@@ -476,6 +485,7 @@ export declare abstract class PluginDesignCreateApi {
476
485
  * @examplePrompt Bulk create wall runs from these centerlines
477
486
  * @examplePrompt Create the walls for both storeys in a single undo step
478
487
  * @examplePrompt Turn these polylines into 200mm brick walls together
488
+ * @examplePrompt Import these raked walls with their top profiles in one go
479
489
  *
480
490
  * @performance Bulk creator — the whole batch is ONE host round-trip and ONE undo
481
491
  * entry. Always prefer this over calling `design.create.walls` in a loop: build the
@@ -496,6 +506,9 @@ export declare abstract class PluginDesignCreateApi {
496
506
  * const [groundWalls, upperWalls] = await snaptrude.design.create.wallRuns([
497
507
  * { profile: ground, height: 3, thickness: 0.2 },
498
508
  * { 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 }]] },
499
512
  * ])
500
513
  * console.log(groundWalls.length, "walls on the ground floor")
501
514
  * ```
@@ -534,7 +547,7 @@ export declare abstract class PluginDesignCreateApi {
534
547
  * )
535
548
  * ```
536
549
  */
537
- abstract staircase(preset: PluginStaircasePreset, position: Vec3Input, label?: string, structureId?: string, level?: string, dimensions?: PluginStaircaseDimensions): PluginApiReturn<ComponentHandle>;
550
+ abstract staircase(preset: PluginStaircasePreset, position: Vec3Handle, label?: string, structureId?: string, level?: string, dimensions?: PluginStaircaseDimensions): PluginApiReturn<ComponentHandle>;
538
551
  /**
539
552
  * Create **reference lines** from a profile — one reference line per curve in
540
553
  * the profile's ordered chain. Returns a handle per created line.
@@ -607,7 +620,7 @@ export declare abstract class PluginDesignCreateApi {
607
620
  */
608
621
  abstract grid(linesX: number, linesY: number, spacingX: number, spacingY: number, options?: {
609
622
  angle?: number;
610
- center?: Vec3Input;
623
+ center?: Vec3Handle;
611
624
  } & PluginGridStyleOptions): PluginApiReturn<ComponentHandle>;
612
625
  /**
613
626
  * Create a **structural grid from a single curve** — one grid group holding
@@ -743,7 +756,7 @@ export declare abstract class PluginDesignCreateApi {
743
756
  * one host round-trip and ONE undo entry, and a catalog source shared by several
744
757
  * items is fetched once. Looping this single-item creator is N round-trips.
745
758
  */
746
- abstract furniture(catalogId: string, position: Vec3Input, options?: {
759
+ abstract furniture(catalogId: string, position: Vec3Handle, options?: {
747
760
  label?: string;
748
761
  createNewSourceMesh?: boolean;
749
762
  }, angleInDegrees?: number): PluginApiReturn<ComponentHandle>;
@@ -849,12 +862,12 @@ export declare abstract class PluginDesignCreateApi {
849
862
  * round-trip and ONE undo entry, with each host wall re-cut once per opening inside
850
863
  * that single call. Looping this single-door creator is N round-trips.
851
864
  */
852
- abstract door(familyId: string, hostWall: ComponentHandle, position: Vec3Input, options?: {
865
+ abstract door(familyId: string, hostWall: ComponentHandle, position: Vec3Handle, options?: {
853
866
  label?: string;
854
- hinge?: Vec3Input;
867
+ hinge?: Vec3Handle;
855
868
  version?: number;
856
869
  values?: Record<string, number | string>;
857
- }, facing?: Vec3Input): PluginApiReturn<ComponentHandle>;
870
+ }, facing?: Vec3Handle): PluginApiReturn<ComponentHandle>;
858
871
  /**
859
872
  * Place **many doors** into host walls in one undoable operation (bulk plural
860
873
  * of {@linkcode door}). Each item carries its own family id, host wall,
@@ -884,6 +897,12 @@ export declare abstract class PluginDesignCreateApi {
884
897
  * @examplePrompt Put three doors on this wall in a single undo step
885
898
  * @examplePrompt Add all the doors for this floor plan together
886
899
  *
900
+ * A width/height (top-level, or under the family's own keys in `values`) on a family that
901
+ * takes its size from its Type while Custom Sizes is off is never dropped: the Type within
902
+ * 25 mm is chosen, else Custom Sizes is turned on and that size is built, leaving the Type
903
+ * label stale. `design.doors.checkPlacement` reports which as `sizing`; `customSizes: "No"`
904
+ * with a size no Type matches is refused.
905
+ *
887
906
  * @performance Bulk creator — the whole batch is ONE host round-trip and ONE undo
888
907
  * entry. Always prefer this over
889
908
  * calling `design.create.door` in a loop: build the full `items[]` array first
@@ -943,12 +962,12 @@ export declare abstract class PluginDesignCreateApi {
943
962
  * host round-trip and ONE undo entry, with each host wall re-cut once per opening
944
963
  * inside that single call. Looping this single-window creator is N round-trips.
945
964
  */
946
- abstract window(familyId: string, hostWall: ComponentHandle, position: Vec3Input, options?: {
965
+ abstract window(familyId: string, hostWall: ComponentHandle, position: Vec3Handle, options?: {
947
966
  label?: string;
948
- hinge?: Vec3Input;
967
+ hinge?: Vec3Handle;
949
968
  version?: number;
950
969
  values?: Record<string, number | string>;
951
- }, facing?: Vec3Input): PluginApiReturn<ComponentHandle>;
970
+ }, facing?: Vec3Handle): PluginApiReturn<ComponentHandle>;
952
971
  /**
953
972
  * Place **many windows** into host walls in one undoable operation (bulk
954
973
  * plural of {@linkcode window}). Each item carries its own family id, host
@@ -979,6 +998,12 @@ export declare abstract class PluginDesignCreateApi {
979
998
  * @examplePrompt Put four windows on this wall in a single undo step
980
999
  * @examplePrompt Add all the windows with a 0.9m sill height together
981
1000
  *
1001
+ * A width/height (top-level, or under the family's own keys in `values`) on a family that
1002
+ * takes its size from its Type while Custom Sizes is off is never dropped: the Type within
1003
+ * 25 mm is chosen, else Custom Sizes is turned on and that size is built, leaving the Type
1004
+ * label stale. `design.windows.checkPlacement` reports which as `sizing`; `customSizes: "No"`
1005
+ * with a size no Type matches is refused.
1006
+ *
982
1007
  * @performance Bulk creator — the whole batch is ONE host round-trip and ONE undo
983
1008
  * entry. Always prefer this over
984
1009
  * calling `design.create.window` in a loop: build the full `items[]` array first
@@ -1255,7 +1280,7 @@ export declare abstract class PluginDesignCreateApi {
1255
1280
  * const copies = await snaptrude.design.create.copy(["space-id"], vec3.new(6, 0, 0), { count: 3 })
1256
1281
  * ```
1257
1282
  */
1258
- abstract copy(components: ComponentHandle[], displacement: Vec3Input, options?: {
1283
+ abstract copy(components: ComponentHandle[], displacement: Vec3Handle, options?: {
1259
1284
  count?: number;
1260
1285
  mode?: PluginCopyMode;
1261
1286
  }): PluginApiReturn<ComponentHandle[]>;
@@ -1451,11 +1476,7 @@ export declare const PluginDesignCreateSpaceArgs: z.ZodObject<{
1451
1476
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1452
1477
  height: z.ZodNumber;
1453
1478
  label: z.ZodOptional<z.ZodString>;
1454
- position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1455
- x: z.ZodNumber;
1456
- y: z.ZodNumber;
1457
- z: z.ZodNumber;
1458
- }, z.core.$strip>]>>;
1479
+ position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1459
1480
  spaceType: z.ZodOptional<z.ZodEnum<{
1460
1481
  Room: "Room";
1461
1482
  "Program Block": "Program Block";
@@ -1506,11 +1527,7 @@ export declare const PluginDesignCreateMassArgs: z.ZodObject<{
1506
1527
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1507
1528
  height: z.ZodNumber;
1508
1529
  label: z.ZodOptional<z.ZodString>;
1509
- position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1510
- x: z.ZodNumber;
1511
- y: z.ZodNumber;
1512
- z: z.ZodNumber;
1513
- }, z.core.$strip>]>>;
1530
+ position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1514
1531
  massType: z.ZodOptional<z.ZodEnum<{
1515
1532
  Furniture: "Furniture";
1516
1533
  Room: "Room";
@@ -1577,11 +1594,7 @@ export type PluginDesignCreateSlabArgs = z.infer<typeof PluginDesignCreateSlabAr
1577
1594
  export declare const PluginDesignCreateFloorArgs: z.ZodObject<{
1578
1595
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1579
1596
  thickness: z.ZodNumber;
1580
- position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1581
- x: z.ZodNumber;
1582
- y: z.ZodNumber;
1583
- z: z.ZodNumber;
1584
- }, z.core.$strip>]>>;
1597
+ position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1585
1598
  }, z.core.$strip>;
1586
1599
  export type PluginDesignCreateFloorArgs = z.infer<typeof PluginDesignCreateFloorArgs>;
1587
1600
  /**
@@ -1623,18 +1636,10 @@ export type PluginDesignCreateCeilingArgs = z.infer<typeof PluginDesignCreateCei
1623
1636
  * | `directionUp` | {@linkcode Vec3Handle}? | Up axis (default world up) |
1624
1637
  */
1625
1638
  export declare const PluginDesignCreateColumnArgs: z.ZodObject<{
1626
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1627
- x: z.ZodNumber;
1628
- y: z.ZodNumber;
1629
- z: z.ZodNumber;
1630
- }, z.core.$strip>]>;
1639
+ position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1631
1640
  crossSection: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1632
1641
  height: z.ZodNumber;
1633
- directionUp: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1634
- x: z.ZodNumber;
1635
- y: z.ZodNumber;
1636
- z: z.ZodNumber;
1637
- }, z.core.$strip>]>>;
1642
+ directionUp: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1638
1643
  }, z.core.$strip>;
1639
1644
  export type PluginDesignCreateColumnArgs = z.infer<typeof PluginDesignCreateColumnArgs>;
1640
1645
  /**
@@ -1649,11 +1654,7 @@ export type PluginDesignCreateColumnArgs = z.infer<typeof PluginDesignCreateColu
1649
1654
  export declare const PluginDesignCreateBeamArgs: z.ZodObject<{
1650
1655
  section: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
1651
1656
  length: z.ZodNumber;
1652
- direction: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1653
- x: z.ZodNumber;
1654
- y: z.ZodNumber;
1655
- z: z.ZodNumber;
1656
- }, z.core.$strip>]>>;
1657
+ direction: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
1657
1658
  }, z.core.$strip>;
1658
1659
  export type PluginDesignCreateBeamArgs = z.infer<typeof PluginDesignCreateBeamArgs>;
1659
1660
  /**
@@ -1715,11 +1716,7 @@ export declare const PluginDesignCreateStaircaseArgs: z.ZodObject<{
1715
1716
  mezzanineFloorDogLegged: "mezzanineFloorDogLegged";
1716
1717
  mezzanineFloorLShaped: "mezzanineFloorLShaped";
1717
1718
  }>;
1718
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1719
- x: z.ZodNumber;
1720
- y: z.ZodNumber;
1721
- z: z.ZodNumber;
1722
- }, z.core.$strip>]>;
1719
+ position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1723
1720
  label: z.ZodOptional<z.ZodString>;
1724
1721
  structureId: z.ZodOptional<z.ZodString>;
1725
1722
  level: z.ZodOptional<z.ZodString>;
@@ -1745,11 +1742,7 @@ export type PluginDesignCreateStaircaseArgs = z.infer<typeof PluginDesignCreateS
1745
1742
  */
1746
1743
  export declare const PluginDesignCreateFurnitureArgs: z.ZodObject<{
1747
1744
  catalogId: z.ZodString;
1748
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1749
- x: z.ZodNumber;
1750
- y: z.ZodNumber;
1751
- z: z.ZodNumber;
1752
- }, z.core.$strip>]>;
1745
+ position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1753
1746
  label: z.ZodOptional<z.ZodString>;
1754
1747
  createNewSourceMesh: z.ZodOptional<z.ZodBoolean>;
1755
1748
  angleInDegrees: z.ZodOptional<z.ZodNumber>;
@@ -1774,21 +1767,9 @@ export declare const PluginDesignCreateDoorArgs: z.ZodObject<{
1774
1767
  version: z.ZodOptional<z.ZodNumber>;
1775
1768
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1776
1769
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1777
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1778
- x: z.ZodNumber;
1779
- y: z.ZodNumber;
1780
- z: z.ZodNumber;
1781
- }, z.core.$strip>]>;
1782
- facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1783
- x: z.ZodNumber;
1784
- y: z.ZodNumber;
1785
- z: z.ZodNumber;
1786
- }, z.core.$strip>]>>;
1787
- hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1788
- x: z.ZodNumber;
1789
- y: z.ZodNumber;
1790
- z: z.ZodNumber;
1791
- }, z.core.$strip>]>>;
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>>>;
1792
1773
  label: z.ZodOptional<z.ZodString>;
1793
1774
  width: z.ZodOptional<z.ZodNumber>;
1794
1775
  height: z.ZodOptional<z.ZodNumber>;
@@ -1813,21 +1794,9 @@ export declare const PluginDesignCreateWindowArgs: z.ZodObject<{
1813
1794
  version: z.ZodOptional<z.ZodNumber>;
1814
1795
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1815
1796
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1816
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1817
- x: z.ZodNumber;
1818
- y: z.ZodNumber;
1819
- z: z.ZodNumber;
1820
- }, z.core.$strip>]>;
1821
- facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1822
- x: z.ZodNumber;
1823
- y: z.ZodNumber;
1824
- z: z.ZodNumber;
1825
- }, z.core.$strip>]>>;
1826
- hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1827
- x: z.ZodNumber;
1828
- y: z.ZodNumber;
1829
- z: z.ZodNumber;
1830
- }, z.core.$strip>]>>;
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>>>;
1831
1800
  label: z.ZodOptional<z.ZodString>;
1832
1801
  width: z.ZodOptional<z.ZodNumber>;
1833
1802
  height: z.ZodOptional<z.ZodNumber>;
@@ -1844,21 +1813,9 @@ export declare const PluginDesignCreateOpeningOptions: z.ZodDiscriminatedUnion<[
1844
1813
  version: z.ZodOptional<z.ZodNumber>;
1845
1814
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1846
1815
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1847
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1848
- x: z.ZodNumber;
1849
- y: z.ZodNumber;
1850
- z: z.ZodNumber;
1851
- }, z.core.$strip>]>;
1852
- facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1853
- x: z.ZodNumber;
1854
- y: z.ZodNumber;
1855
- z: z.ZodNumber;
1856
- }, z.core.$strip>]>>;
1857
- hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1858
- x: z.ZodNumber;
1859
- y: z.ZodNumber;
1860
- z: z.ZodNumber;
1861
- }, z.core.$strip>]>>;
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>>>;
1862
1819
  label: z.ZodOptional<z.ZodString>;
1863
1820
  width: z.ZodOptional<z.ZodNumber>;
1864
1821
  height: z.ZodOptional<z.ZodNumber>;
@@ -1869,21 +1826,9 @@ export declare const PluginDesignCreateOpeningOptions: z.ZodDiscriminatedUnion<[
1869
1826
  version: z.ZodOptional<z.ZodNumber>;
1870
1827
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
1871
1828
  hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
1872
- position: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1873
- x: z.ZodNumber;
1874
- y: z.ZodNumber;
1875
- z: z.ZodNumber;
1876
- }, z.core.$strip>]>;
1877
- facing: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1878
- x: z.ZodNumber;
1879
- y: z.ZodNumber;
1880
- z: z.ZodNumber;
1881
- }, z.core.$strip>]>>;
1882
- hinge: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
1883
- x: z.ZodNumber;
1884
- y: z.ZodNumber;
1885
- z: z.ZodNumber;
1886
- }, z.core.$strip>]>>;
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>>>;
1887
1832
  label: z.ZodOptional<z.ZodString>;
1888
1833
  width: z.ZodOptional<z.ZodNumber>;
1889
1834
  height: z.ZodOptional<z.ZodNumber>;
@@ -2029,11 +1974,7 @@ export type PluginCopyMode = z.infer<typeof PluginCopyMode>;
2029
1974
  */
2030
1975
  export declare const PluginDesignCreateCopyArgs: z.ZodObject<{
2031
1976
  components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
2032
- displacement: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
2033
- x: z.ZodNumber;
2034
- y: z.ZodNumber;
2035
- z: z.ZodNumber;
2036
- }, z.core.$strip>]>;
1977
+ displacement: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
2037
1978
  count: z.ZodOptional<z.ZodNumber>;
2038
1979
  mode: z.ZodOptional<z.ZodEnum<{
2039
1980
  unique: "unique";
@@ -2060,11 +2001,7 @@ export declare const PluginCreateSpaceItem: z.ZodObject<{
2060
2001
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
2061
2002
  height: z.ZodNumber;
2062
2003
  label: z.ZodOptional<z.ZodString>;
2063
- position: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>, z.ZodObject<{
2064
- x: z.ZodNumber;
2065
- y: z.ZodNumber;
2066
- z: z.ZodNumber;
2067
- }, z.core.$strip>]>>;
2004
+ position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
2068
2005
  spaceType: z.ZodOptional<z.ZodEnum<{
2069
2006
  Room: "Room";
2070
2007
  "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,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,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,YAAY,CAAA;AAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;aACa,KAAK,CACnB,OAAO,EAAE,aAAa,EACtB,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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,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,u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AAC,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 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 |
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 |
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,21 +28,9 @@ 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.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>]>>;
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>>>;
46
34
  label: z.ZodOptional<z.ZodString>;
47
35
  width: z.ZodOptional<z.ZodNumber>;
48
36
  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,EAAa,MAAM,kBAAkB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;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,EAAc,MAAM,kBAAkB,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;;;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. Handles that no longer resolve are skipped and returned as `missing`; the call rejects only when none resolve. |
10
+ * | `components` | {@linkcode ComponentHandle}`[]` | Entities to delete. Unknown/forged handles reject the whole call (fail-fast). |
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,19 +40,12 @@ 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. 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.
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).
56
49
  *
57
50
  * @examplePrompt Delete the selected objects
58
51
  * @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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;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, Vec3Input } from "../../handles";
3
+ import { ComponentHandle, DimensionHandle, Vec3Handle } 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: Vec3Input, to: Vec3Input, anchor: ComponentHandle, options?: {
89
+ abstract create(from: Vec3Handle, to: Vec3Handle, anchor: ComponentHandle, options?: {
90
90
  anchorTo?: ComponentHandle;
91
91
  offset?: number;
92
92
  }): PluginApiReturn<DimensionHandle>;
@@ -352,16 +352,8 @@ 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.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>]>;
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>>;
365
357
  anchor: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
366
358
  anchorTo: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
367
359
  offset: z.ZodOptional<z.ZodNumber>;