@snaptrude/plugin-core 0.8.0 → 0.9.0

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 (111) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/api-manifest.full.json +1350 -89
  3. package/api-manifest.json +826 -40
  4. package/dist/api/analysis/daylight.d.ts +603 -0
  5. package/dist/api/analysis/daylight.d.ts.map +1 -0
  6. package/dist/api/analysis/heatmaps.d.ts +438 -14
  7. package/dist/api/analysis/heatmaps.d.ts.map +1 -1
  8. package/dist/api/analysis/index.d.ts +15 -0
  9. package/dist/api/analysis/index.d.ts.map +1 -1
  10. package/dist/api/analysis/solar.d.ts +249 -0
  11. package/dist/api/analysis/solar.d.ts.map +1 -0
  12. package/dist/api/analysis/weather.d.ts +193 -0
  13. package/dist/api/analysis/weather.d.ts.map +1 -0
  14. package/dist/api/core/camera/index.d.ts +37 -0
  15. package/dist/api/core/camera/index.d.ts.map +1 -1
  16. package/dist/api/core/geom/create/index.d.ts +318 -1
  17. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  18. package/dist/api/core/index.d.ts +9 -0
  19. package/dist/api/core/index.d.ts.map +1 -1
  20. package/dist/api/core/io/export/index.d.ts +3 -1
  21. package/dist/api/core/io/export/index.d.ts.map +1 -1
  22. package/dist/api/core/io/import/index.d.ts +61 -0
  23. package/dist/api/core/io/import/index.d.ts.map +1 -1
  24. package/dist/api/core/mode/index.d.ts +99 -0
  25. package/dist/api/core/mode/index.d.ts.map +1 -0
  26. package/dist/api/core/storeys/index.d.ts +251 -0
  27. package/dist/api/core/storeys/index.d.ts.map +1 -0
  28. package/dist/api/core/tags.d.ts +24 -0
  29. package/dist/api/core/tags.d.ts.map +1 -1
  30. package/dist/api/core/zoom/index.d.ts +4 -0
  31. package/dist/api/core/zoom/index.d.ts.map +1 -1
  32. package/dist/api/design/create/index.d.ts +115 -4
  33. package/dist/api/design/create/index.d.ts.map +1 -1
  34. package/dist/api/design/delete/index.d.ts +3 -0
  35. package/dist/api/design/delete/index.d.ts.map +1 -1
  36. package/dist/api/design/query/geometry/index.d.ts +112 -0
  37. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  38. package/dist/api/design/query/index.d.ts +4 -0
  39. package/dist/api/design/query/index.d.ts.map +1 -1
  40. package/dist/api/design/query/referenceLines.d.ts +45 -0
  41. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  42. package/dist/api/design/query/spaces.d.ts +173 -0
  43. package/dist/api/design/query/spaces.d.ts.map +1 -1
  44. package/dist/api/design/transform/index.d.ts +12 -0
  45. package/dist/api/design/transform/index.d.ts.map +1 -1
  46. package/dist/api/design/update/index.d.ts +51 -1
  47. package/dist/api/design/update/index.d.ts.map +1 -1
  48. package/dist/api/entity/buildableEnvelope.d.ts +4 -0
  49. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  50. package/dist/api/entity/referenceLine.d.ts +8 -0
  51. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  52. package/dist/api/entity/story.d.ts +20 -0
  53. package/dist/api/entity/story.d.ts.map +1 -1
  54. package/dist/api/index.d.ts +5 -0
  55. package/dist/api/index.d.ts.map +1 -1
  56. package/dist/api/presentation/export.d.ts +4 -0
  57. package/dist/api/presentation/export.d.ts.map +1 -1
  58. package/dist/api/presentation/import.d.ts +6 -0
  59. package/dist/api/presentation/import.d.ts.map +1 -1
  60. package/dist/api/presentation/index.d.ts +9 -0
  61. package/dist/api/presentation/index.d.ts.map +1 -1
  62. package/dist/api/presentation/placedViews.d.ts +370 -0
  63. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  64. package/dist/api/presentation/shapes.d.ts +481 -0
  65. package/dist/api/presentation/shapes.d.ts.map +1 -0
  66. package/dist/api/program/site.d.ts +94 -0
  67. package/dist/api/program/site.d.ts.map +1 -1
  68. package/dist/api/program/spreadsheet.d.ts +260 -28
  69. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  70. package/dist/api/workspace/index.d.ts +460 -0
  71. package/dist/api/workspace/index.d.ts.map +1 -0
  72. package/dist/index.cjs +2625 -1758
  73. package/dist/index.cjs.map +1 -1
  74. package/dist/index.js +2515 -1758
  75. package/dist/index.js.map +1 -1
  76. package/package.json +3 -2
  77. package/scripts/generate-manifest.mjs +45 -0
  78. package/src/api/analysis/daylight.ts +470 -0
  79. package/src/api/analysis/heatmaps.ts +444 -17
  80. package/src/api/analysis/index.ts +15 -0
  81. package/src/api/analysis/solar.ts +237 -0
  82. package/src/api/analysis/weather.ts +179 -0
  83. package/src/api/core/camera/index.ts +39 -0
  84. package/src/api/core/geom/create/index.ts +344 -1
  85. package/src/api/core/index.ts +9 -0
  86. package/src/api/core/io/export/index.ts +3 -1
  87. package/src/api/core/io/import/index.ts +64 -0
  88. package/src/api/core/mode/index.ts +96 -0
  89. package/src/api/core/storeys/index.ts +279 -0
  90. package/src/api/core/tags.ts +27 -0
  91. package/src/api/core/zoom/index.ts +4 -0
  92. package/src/api/design/create/index.ts +138 -1
  93. package/src/api/design/delete/index.ts +3 -0
  94. package/src/api/design/query/geometry/index.ts +125 -3
  95. package/src/api/design/query/index.ts +4 -0
  96. package/src/api/design/query/referenceLines.ts +52 -0
  97. package/src/api/design/query/spaces.ts +143 -0
  98. package/src/api/design/transform/index.ts +12 -0
  99. package/src/api/design/update/index.ts +66 -1
  100. package/src/api/entity/buildableEnvelope.ts +4 -0
  101. package/src/api/entity/referenceLine.ts +8 -0
  102. package/src/api/entity/story.ts +20 -0
  103. package/src/api/index.ts +5 -0
  104. package/src/api/presentation/export.ts +4 -0
  105. package/src/api/presentation/import.ts +6 -0
  106. package/src/api/presentation/index.ts +9 -0
  107. package/src/api/presentation/placedViews.ts +363 -0
  108. package/src/api/presentation/shapes.ts +274 -0
  109. package/src/api/program/site.ts +95 -0
  110. package/src/api/program/spreadsheet.ts +251 -6
  111. package/src/api/workspace/index.ts +516 -0
@@ -0,0 +1,251 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../../types";
3
+ import { ComponentHandle } from "../../../handles";
4
+ import { PluginStoryGetProperty, PluginStoryGetResult, PluginStoryCreateResult, PluginStoryUpdateResult, PluginStorySetActiveResult, PluginStoryDeleteResult, PluginStoryDuplicateResult } from "../../entity/story";
5
+ /**
6
+ * Storey (floor) management.
7
+ *
8
+ * A storey represents a building floor in the Snaptrude project. Storeys are
9
+ * identified by their integer **storey value** (e.g. `1` for the ground floor,
10
+ * `2` for the first floor, `-1` for a basement).
11
+ *
12
+ * This is the canonical home for storey operations; it shares its implementation
13
+ * and schemas with the deprecated `entity.story` surface. All methods are **host
14
+ * API calls** that return Promises and support undo/redo via Snaptrude's command
15
+ * system (except {@linkcode PluginCoreStoreysApi.setActive}, a view change).
16
+ *
17
+ * Accessed via `snaptrude.core.storeys`.
18
+ */
19
+ export declare abstract class PluginCoreStoreysApi {
20
+ constructor();
21
+ /**
22
+ * Get properties of a storey by its storey number.
23
+ *
24
+ * Only the properties listed in `properties` are returned — unlisted
25
+ * properties will be `undefined` in the result.
26
+ *
27
+ * @param storyValue - Integer storey number
28
+ * (e.g. `1` for ground floor, `2` for first floor, `-1` for basement)
29
+ * @param properties - Array of property names to retrieve. See
30
+ * {@linkcode PluginStoryGetProperty} for available values.
31
+ * @returns A partial {@linkcode PluginStoryGetResult} containing only the requested properties
32
+ * @throws If the storey with the given value does not exist
33
+ *
34
+ * @examplePrompt What is the height of the ground floor?
35
+ * @examplePrompt How many rooms are on the second storey?
36
+ * @examplePrompt Get the total floor area of level 3
37
+ * @examplePrompt Is the first floor hidden in the viewport?
38
+ * @examplePrompt Show me the name and height of storey 2
39
+ *
40
+ * # Example
41
+ * ```ts
42
+ * const info = await snaptrude.core.storeys.get(1, ["height", "name", "spacesCount"])
43
+ * console.log(info.name, info.height, info.spacesCount)
44
+ * ```
45
+ */
46
+ abstract get(storyValue: number, properties: PluginStoryGetProperty[]): PluginApiReturn<PluginStoryGetResult>;
47
+ /**
48
+ * List all storeys in the current project.
49
+ *
50
+ * Returns basic identification data for every storey. Storeys are sorted
51
+ * from **top to bottom** (highest storey value first).
52
+ *
53
+ * @returns A {@linkcode PluginCoreStoreysListResult} with a `storeys` array,
54
+ * each entry containing `value`, `id`, and `name`
55
+ *
56
+ * @examplePrompt How many floors does this building have?
57
+ * @examplePrompt List all the storeys in the project
58
+ * @examplePrompt Show me every level with its name
59
+ * @examplePrompt Which storeys exist in this model?
60
+ *
61
+ * # Example
62
+ * ```ts
63
+ * const { storeys } = await snaptrude.core.storeys.list()
64
+ * for (const s of storeys) {
65
+ * console.log(`Storey ${s.value}: ${s.name} (id: ${s.id})`)
66
+ * }
67
+ * ```
68
+ */
69
+ abstract list(): PluginApiReturn<PluginCoreStoreysListResult>;
70
+ /**
71
+ * Create a new storey (floor) in the project.
72
+ *
73
+ * The new storey is inserted at the position specified by `storyValue`. This
74
+ * operation is undoable.
75
+ *
76
+ * @param storyValue - Integer storey number
77
+ * to create (e.g. `3` to add a third floor)
78
+ * @param height - Optional height in Babylon
79
+ * units. If omitted, the project's default storey height is used.
80
+ * @returns A {@linkcode PluginStoryCreateResult} with `storyId` and `storyValue`
81
+ * @throws If a storey with the given value already exists or creation fails
82
+ *
83
+ * @examplePrompt Add a third floor to the building
84
+ * @examplePrompt Create a new storey above the second floor
85
+ * @examplePrompt Add a basement level to this project
86
+ * @examplePrompt Insert a new level with a custom floor height
87
+ *
88
+ * # Example
89
+ * ```ts
90
+ * // Create a new third floor with custom height
91
+ * const { storyId } = await snaptrude.core.storeys.create(3, 4.5)
92
+ * ```
93
+ */
94
+ abstract create(storyValue: number, height?: number): PluginApiReturn<PluginStoryCreateResult>;
95
+ /**
96
+ * Update a storey's floor-to-floor `height` and/or `name`.
97
+ *
98
+ * **Height** is the same operation as editing the height in the Storeys panel:
99
+ * the walls, columns, and masses on the storey are **stretched** to the new
100
+ * height, every storey **above shifts up/down** by the delta so the stack stays
101
+ * contiguous, and coupled elements (staircases, parametric curtain walls,
102
+ * furniture offsets) are re-fitted. The whole height cascade is committed as
103
+ * **one undo step**. Height-locked elements are left untouched.
104
+ *
105
+ * **Name** is the same as renaming the storey in the Storeys panel: it is
106
+ * persisted immediately but, mirroring the panel, is **not** part of the height
107
+ * undo step.
108
+ *
109
+ * At least one of `height` or `options.name` must be supplied. Omitting the
110
+ * `height` argument (e.g. for a rename-only update) leaves the height untouched.
111
+ *
112
+ * @param storyValue - Integer storey number identifying the storey to update
113
+ * @param height - New floor-to-floor height in
114
+ * Babylon units. Omit to leave the height unchanged.
115
+ * @param options - `name` (new display name for the storey)
116
+ * @returns A {@linkcode PluginStoryUpdateResult} with the storey's
117
+ * `storyValue`, `height`, and `name` after the update
118
+ * @throws `PRECONDITION_FAILED` if no storey has the given value;
119
+ * `VALIDATION` if neither `height` nor `options.name` is supplied;
120
+ * `STORY_HEIGHT_REJECTED` if the engine rejects the height;
121
+ * `STORY_UPDATE_FAILED` if the storey cannot be re-read after the update
122
+ *
123
+ * @examplePrompt Change the ground floor height to 3.5 metres
124
+ * @examplePrompt Make the second storey taller
125
+ * @examplePrompt Rename the ground floor to "Lobby"
126
+ * @examplePrompt Set the floor-to-floor height of level 1
127
+ *
128
+ * # Example
129
+ * ```ts
130
+ * // Set ground floor height to 5 Babylon units — walls stretch and the
131
+ * // floors above move up to match, all in a single undo step.
132
+ * const result = await snaptrude.core.storeys.update(1, 5)
133
+ * // Rename only, leaving the height untouched.
134
+ * await snaptrude.core.storeys.update(1, undefined, { name: "Lobby" })
135
+ * ```
136
+ */
137
+ abstract update(storyValue: number, height?: number, options?: {
138
+ name?: string;
139
+ }): PluginApiReturn<PluginStoryUpdateResult>;
140
+ /**
141
+ * Make a storey the active storey — the same as clicking it in the storey/layer
142
+ * panel. Subsequent draws and creates target this storey, and in 2D the
143
+ * viewport switches to it. This is a view/navigation change: it is **not**
144
+ * undoable and commits nothing to the model.
145
+ *
146
+ * @param storyValue - Integer storey number to activate
147
+ * @returns A {@linkcode PluginStorySetActiveResult} echoing the now-active `storyValue`
148
+ * @throws `PRECONDITION_FAILED` if no storey has the given value
149
+ *
150
+ * @examplePrompt Switch to the second floor
151
+ * @examplePrompt Make the ground storey active
152
+ * @examplePrompt Go to the basement level
153
+ * @examplePrompt Set level 3 as the current storey
154
+ *
155
+ * # Example
156
+ * ```ts
157
+ * // Activate storey 2, then draw a wall — it lands on storey 2.
158
+ * await snaptrude.core.storeys.setActive(2)
159
+ * ```
160
+ */
161
+ abstract setActive(storyValue: number): PluginApiReturn<PluginStorySetActiveResult>;
162
+ /**
163
+ * Delete a storey and everything on it — the same as removing it from the
164
+ * storey panel. Every element placed on the storey (walls, floors, masses, …)
165
+ * is deleted with it, the remaining storeys are re-stacked, and the active
166
+ * storey falls back to an adjacent one. Committed as a single undo step.
167
+ *
168
+ * @param storyValue - Integer storey number to delete
169
+ * @returns A {@linkcode PluginStoryDeleteResult} with the deleted `storyValue`
170
+ * and the `newActiveStory` the editor fell back to
171
+ * @throws `PRECONDITION_FAILED` if no storey has the given value; or if plugin
172
+ * writes are disabled
173
+ *
174
+ * @examplePrompt Delete the top floor
175
+ * @examplePrompt Remove the basement level
176
+ * @examplePrompt Get rid of storey 3
177
+ * @examplePrompt Delete the second floor and everything on it
178
+ *
179
+ * # Example
180
+ * ```ts
181
+ * const { newActiveStory } = await snaptrude.core.storeys.delete(3)
182
+ * console.log(`Deleted storey 3; now on storey ${newActiveStory}`)
183
+ * ```
184
+ */
185
+ abstract delete(storyValue: number): PluginApiReturn<PluginStoryDeleteResult>;
186
+ /**
187
+ * Copy a storey into the adjacent level, up or down.
188
+ *
189
+ * By default the **whole storey** is copied: every eligible element on the
190
+ * active storey (walls, floors, roofs, masses, columns, beams, staircases,
191
+ * ceilings, parametric curtain walls, and furniture) is copied into the storey
192
+ * one level `"up"` or `"down"`. Pass `options.components` to copy only a subset
193
+ * instead. The target storey is **created automatically** if it does not yet
194
+ * exist, inheriting the source storey's height.
195
+ *
196
+ * Copies are **instanced** by default (`unique: false`) — they share geometry
197
+ * with the source, so later edits propagate. Set `unique: true` for independent
198
+ * geometry. Doors and windows are never copied on their own; they ride along
199
+ * with their host wall. Locked, throw-away, and unsupported elements are skipped
200
+ * and counted in `skipped`. The whole operation is a single undo step.
201
+ *
202
+ * @param direction - `"up"` to copy into the storey above, `"down"` for below
203
+ * @param options - `components` (restrict to a subset of the storey's elements;
204
+ * omit for the whole storey) and `unique` (default `false` = instanced copies;
205
+ * `true` = independent geometry)
206
+ * @returns A {@linkcode PluginStoryDuplicateResult} with the `sourceStory`, the
207
+ * `targetStories` the copies landed on, the `created` component handles, the
208
+ * `createdStoryValues` for any storeys generated to receive them, and the
209
+ * `skipped` count of ineligible elements
210
+ * @throws `NO_ACTIVE_STRUCTURE` if there is no active structure to copy into;
211
+ * `NO_ELIGIBLE_ELEMENTS` if nothing on the source storey (or in
212
+ * `options.components`) is copyable; `HANDLE_INVALID` for a stale or foreign
213
+ * supplied handle; or if plugin writes are disabled
214
+ *
215
+ * @examplePrompt Copy this floor to the storey above
216
+ * @examplePrompt Copy the ground floor down into a new basement
217
+ * @examplePrompt Repeat this level upwards with its own independent geometry
218
+ * @examplePrompt Copy just the selected walls onto the next floor up
219
+ *
220
+ * # Example
221
+ * ```ts
222
+ * // Copy the whole active storey one level up (instanced copies).
223
+ * const { targetStories, created, skipped } =
224
+ * await snaptrude.core.storeys.copy("up")
225
+ * console.log(`Copied ${created.length} elements onto storey ${targetStories}`)
226
+ * if (skipped) console.log(`${skipped} elements were skipped`)
227
+ * ```
228
+ */
229
+ abstract copy(direction: "up" | "down", options?: {
230
+ components?: ComponentHandle[];
231
+ unique?: boolean;
232
+ }): PluginApiReturn<PluginStoryDuplicateResult>;
233
+ }
234
+ /**
235
+ * Result of {@linkcode PluginCoreStoreysApi.list} — the {@linkcode PluginStoryGetAllResult}
236
+ * shape with the array field renamed `stories` → `storeys`. Each entry shares the
237
+ * same element type: `{ value, id, name }`, sorted top to bottom.
238
+ *
239
+ * | Property | Type | Description |
240
+ * |---|---|---|
241
+ * | `storeys` | `Array<{ value, id, name }>` | All storeys, sorted top to bottom |
242
+ */
243
+ export declare const PluginCoreStoreysListResult: z.ZodObject<{
244
+ storeys: z.ZodArray<z.ZodObject<{
245
+ value: z.ZodNumber;
246
+ id: z.ZodString;
247
+ name: z.ZodString;
248
+ }, z.core.$strip>>;
249
+ }, z.core.$strip>;
250
+ export type PluginCoreStoreysListResult = z.infer<typeof PluginCoreStoreysListResult>;
251
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/core/storeys/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,EACL,sBAAsB,EACtB,oBAAoB,EAEpB,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC3B,MAAM,oBAAoB,CAAA;AAE3B;;;;;;;;;;;;;GAaG;AACH,8BAAsB,oBAAoB;;IAGxC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;aACa,GAAG,CACjB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,sBAAsB,EAAE,GACnC,eAAe,CAAC,oBAAoB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;OAqBG;aACa,IAAI,IAAI,eAAe,CAAC,2BAA2B,CAAC;IAEpE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,MAAM,CACpB,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,GACd,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;aACa,MAAM,CACpB,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAC1B,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;OAoBG;aACa,SAAS,CACvB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,CAAC;IAE9C;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,MAAM,CACpB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;aACa,IAAI,CAClB,SAAS,EAAE,IAAI,GAAG,MAAM,EACxB,OAAO,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GAC7D,eAAe,CAAC,0BAA0B,CAAC;CAC/C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B;;;;;;iBAEtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAA"}
@@ -119,8 +119,32 @@ export declare abstract class PluginCoreTagsApi {
119
119
  * const { tags } = await snaptrude.core.tags.getTagsForComponent("cmp_42")
120
120
  * for (const t of tags) console.log(t.categoryName, t.tagName)
121
121
  * ```
122
+ *
123
+ * @deprecated Use `core.tags.listForComponent`
122
124
  */
123
125
  abstract getTagsForComponent(componentId: ComponentHandle): PluginApiReturn<PluginCoreTagsGetTagsForComponentResult>;
126
+ /**
127
+ * List the tags carried by a component.
128
+ *
129
+ * Returns one entry per category the component is tagged in, each carrying the
130
+ * category and tag names and the tag color. Canonical home of the read formerly
131
+ * at `getTagsForComponent` (now deprecated).
132
+ *
133
+ * @param componentId - The `Component.id` to read.
134
+ * @returns A {@linkcode PluginCoreTagsGetTagsForComponentResult} with a `tags`
135
+ * array (empty when the component has none or does not exist).
136
+ *
137
+ * @examplePrompt What tags does this space have?
138
+ * @examplePrompt List the tags on component cmp_42
139
+ * @examplePrompt Show the labels applied to this room
140
+ *
141
+ * # Example
142
+ * ```ts
143
+ * const { tags } = await snaptrude.core.tags.listForComponent("cmp_42")
144
+ * for (const t of tags) console.log(t.categoryName, t.tagName)
145
+ * ```
146
+ */
147
+ abstract listForComponent(componentId: ComponentHandle): PluginApiReturn<PluginCoreTagsGetTagsForComponentResult>;
124
148
  /**
125
149
  * List the components carrying a given tag or category.
126
150
  *
@@ -1 +1 @@
1
- {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/api/core/tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8BAAsB,iBAAiB;;IAGrC;;;;;;;;;;;;;;;;OAgBG;aACa,cAAc,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAErF;;;;;;;;;;;;;;;;OAgBG;aACa,WAAW,CACzB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,CAAC;IAEnD;;;;;;;;;;;;;;;;OAgBG;aACa,IAAI,CAClB,UAAU,CAAC,EAAE,MAAM,GAClB,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;OAgBG;aACa,GAAG,CACjB,KAAK,EAAE,MAAM,GACZ,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;OAmBG;aACa,mBAAmB,CACjC,WAAW,EAAE,eAAe,GAC3B,eAAe,CAAC,uCAAuC,CAAC;IAE3D;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;aACa,cAAc,CAC5B,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,C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AA4B,CACpC,CAAA"}
@@ -22,6 +22,8 @@ export declare abstract class PluginZoomApi {
22
22
  * ```ts
23
23
  * await snaptrude.core.zoom.extents()
24
24
  * ```
25
+ *
26
+ * @deprecated Use `core.camera.zoomExtents`
25
27
  */
26
28
  abstract extents(): PluginApiReturn<boolean>;
27
29
  /**
@@ -39,6 +41,8 @@ export declare abstract class PluginZoomApi {
39
41
  * ```ts
40
42
  * await snaptrude.core.zoom.selection()
41
43
  * ```
44
+ *
45
+ * @deprecated Use `core.camera.zoomSelection`
42
46
  */
43
47
  abstract selection(): PluginApiReturn<boolean>;
44
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/core/zoom/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;;GAKG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;;;;;;;;OAeG;aACa,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC;IAEnD;;;;;;;;;;;;;;;OAeG;aACa,SAAS,IAAI,eAAe,CAAC,OAAO,CAAC;CACtD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/core/zoom/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;;GAKG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;;;;;;;;;;OAiBG;aACa,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC;IAEnD;;;;;;;;;;;;;;;;;OAiBG;aACa,SAAS,IAAI,eAAe,CAAC,OAAO,CAAC;CACtD"}
@@ -1,7 +1,8 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../../types";
3
- import { ComponentHandle, ContourHandle, ProfileHandle, Vec3Handle } from "../../../handles";
3
+ import { BrepHandle, ComponentHandle, ContourHandle, ProfileHandle, Vec3Handle } from "../../../handles";
4
4
  import { PluginSpaceType, PluginMassType, PluginDepartmentId } from "../../entity/space";
5
+ import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeCreateResult } from "../../entity/buildableEnvelope";
5
6
  /**
6
7
  * `design.create.*` — author new scene-committed BIM entities.
7
8
  *
@@ -41,7 +42,7 @@ export declare abstract class PluginDesignCreateApi {
41
42
  * @param departmentId - Department assignment (default department)
42
43
  * @param storey - Target storey number to place the space on — the same integer
43
44
  * `entity.story` uses (`1` ground, `2` first floor, `-1` basement). Default:
44
- * the active storey. Folds an `entity.story.setActive` call into the create,
45
+ * the active storey. Folds a `core.storeys.setActive` call into the create,
45
46
  * placing the space at that storey's floor elevation (any `position` offset is
46
47
  * applied on top). Throws if no storey has that value.
47
48
  * @returns the {@linkcode ComponentHandle} of the created space
@@ -55,6 +56,10 @@ export declare abstract class PluginDesignCreateApi {
55
56
  * @examplePrompt Can you create a Kitchen space from the sketch I just drew?
56
57
  * @examplePrompt Create a bedroom on the second floor from this outline
57
58
  *
59
+ * @performance For MORE THAN ONE space, call `design.create.spaces(items[])` — the whole
60
+ * batch is one host round-trip. Looping this single-space creator is N round-trips (slow,
61
+ * and a large loop can trip the plugin rate limit).
62
+ *
58
63
  * # Example
59
64
  * ```ts
60
65
  * const v = snaptrude.core.math.vec3
@@ -98,6 +103,47 @@ export declare abstract class PluginDesignCreateApi {
98
103
  * ```
99
104
  */
100
105
  abstract mass(contour: ContourHandle, height: number, label?: string, position?: Vec3Handle, massType?: PluginMassType): PluginApiReturn<ComponentHandle>;
106
+ /**
107
+ * Create a **mass** from a custom solid built with a `core.geom.create` brep
108
+ * constructor (`brepFromFaces`, `brepFromExtrusion`, `brepFromLoft`,
109
+ * `brepFromMesh`, or a brep boolean) — the free-form counterpart of
110
+ * {@linkcode PluginDesignCreateApi.mass}, for solids that are not simple
111
+ * footprint extrusions (pyramids, wedges, faceted volumes).
112
+ *
113
+ * Only accepts breps **minted by a `core.geom.create` brep constructor** —
114
+ * scene-derived breps from `design.query.geometry.getBrep` are read-only and
115
+ * throw. The mass is created as a generic mass (`massType` "Generic mass") at
116
+ * the exact coordinates the solid was authored in, committed as a single
117
+ * undo step, and synced to collaborators like any other creator.
118
+ *
119
+ * @param brep - A solid from a `core.geom.create` brep constructor
120
+ * @param label - Label (maps to `room_type`)
121
+ * @returns the {@linkcode ComponentHandle} of the created mass
122
+ * @throws if the brep handle is invalid, or the brep was not created by a
123
+ * `core.geom.create` brep constructor
124
+ *
125
+ * @examplePrompt Create a mass from these faces
126
+ * @examplePrompt Turn this custom brep into a scene mass
127
+ * @examplePrompt Add a pyramid-shaped mass to the model
128
+ *
129
+ * # Example
130
+ * ```ts
131
+ * const apex = { x: 0, y: 4, z: 0 }
132
+ * const a = { x: -2, y: 0, z: -2 }
133
+ * const b = { x: 2, y: 0, z: -2 }
134
+ * const c = { x: 2, y: 0, z: 2 }
135
+ * const d = { x: -2, y: 0, z: 2 }
136
+ * const brep = await snaptrude.core.geom.create.brepFromFaces([
137
+ * [a, d, c, b],
138
+ * [a, b, apex],
139
+ * [b, c, apex],
140
+ * [c, d, apex],
141
+ * [d, a, apex],
142
+ * ])
143
+ * const pyramid = await snaptrude.design.create.massFromBrep(brep, "Pavilion")
144
+ * ```
145
+ */
146
+ abstract massFromBrep(brep: BrepHandle, label?: string): PluginApiReturn<ComponentHandle>;
101
147
  /**
102
148
  * Create a **slab** by extruding a footprint contour by `thickness`
103
149
  * (default direction: down).
@@ -590,6 +636,11 @@ export declare abstract class PluginDesignCreateApi {
590
636
  * @examplePrompt Array these walls with a 3m offset
591
637
  * @examplePrompt Clone the desk as a unique copy, not an instance
592
638
  *
639
+ * @performance To place N repeats of the same geometry, bulk-create the seed(s) once then
640
+ * call this ONCE with `{ count: N - 1 }` — one host round-trip for all copies. Never
641
+ * reproduce geometry by looping `design.create.*` N times. Copy only after the create
642
+ * that mints the seed ids.
643
+ *
593
644
  * # Example
594
645
  * ```ts
595
646
  * const { vec3 } = snaptrude.core.math
@@ -620,6 +671,10 @@ export declare abstract class PluginDesignCreateApi {
620
671
  * @examplePrompt Add three rooms with different heights in a single undo step
621
672
  * @examplePrompt Create one room on the ground floor and one on the first floor
622
673
  *
674
+ * @performance Bulk creator — the whole batch is ONE host round-trip. Always prefer this
675
+ * over calling `design.create.space` in a loop: build the full `items[]` array first
676
+ * (all per-item math and geometry up front), then make one call.
677
+ *
623
678
  * # Example
624
679
  * ```ts
625
680
  * const rect = await snaptrude.core.geom.create.profileRect(4, 3)
@@ -631,6 +686,49 @@ export declare abstract class PluginDesignCreateApi {
631
686
  * ```
632
687
  */
633
688
  abstract spaces(items: PluginCreateSpaceItem[]): PluginApiReturn<ComponentHandle[]>;
689
+ /**
690
+ * Create a new parametric buildable envelope — the zoning-regulated volume a
691
+ * building may occupy — generated from a site polygon, tiered setbacks, a
692
+ * height or floor-count cap, and optional FAR and lot-coverage limits. The host
693
+ * mints the envelope id and returns it. Canonical home of the create formerly
694
+ * at `entity.buildableEnvelope.create` (now deprecated).
695
+ *
696
+ * @param sitePolygon - Site polygon vertices in `lengthUnit`; minimum 3 vertices.
697
+ * @param lengthUnit - Unit used by all length fields (`"ft" | "m"`).
698
+ * @param setbacks - Setback profile, ground tier first; minimum 1 tier.
699
+ * @param verticalCap - Maximum height or floor count.
700
+ * @param floorToFloor - Required floor-to-floor height in `lengthUnit`.
701
+ * @param farRatio - Optional FAR value, positive when provided.
702
+ * @param lotCoverageMaxPct - Optional lot coverage cap, `0..100`.
703
+ * @returns A {@linkcode PluginBuildableEnvelopeCreateResult} with the
704
+ * `buildableEnvelopeId` of the created envelope.
705
+ * @throws If validation fails or generation produces no renderable geometry.
706
+ *
707
+ * @examplePrompt Create a buildable envelope for my site
708
+ * @examplePrompt Generate the zoning envelope with 10ft front setbacks
709
+ * @examplePrompt Show the maximum buildable volume with a 150ft height limit
710
+ * @examplePrompt Create a zoning envelope capped at 12 floors with FAR 3
711
+ *
712
+ * # Example
713
+ * ```ts
714
+ * const { buildableEnvelopeId } = await snaptrude.design.create.buildableEnvelope(
715
+ * [
716
+ * { x: 0, z: 0 },
717
+ * { x: 100, z: 0 },
718
+ * { x: 100, z: 80 },
719
+ * { x: 0, z: 80 },
720
+ * ],
721
+ * "ft",
722
+ * [
723
+ * { aboveHeight: 0, front: 10, side: 5, rear: 10 },
724
+ * { aboveHeight: 100, front: 20, side: 10, rear: 20 },
725
+ * ],
726
+ * { kind: "max_height", maxHeight: 150 },
727
+ * 12,
728
+ * )
729
+ * ```
730
+ */
731
+ abstract buildableEnvelope(sitePolygon: PluginBuildableEnvelopePolygonVertex[], lengthUnit: "ft" | "m", setbacks: PluginBuildableEnvelopeSetbackTier[], verticalCap: PluginBuildableEnvelopeVerticalCap, floorToFloor: number, farRatio?: number, lotCoverageMaxPct?: number): PluginApiReturn<PluginBuildableEnvelopeCreateResult>;
634
732
  }
635
733
  /**
636
734
  * Line style of a reference line (mirrors the engine `ReferenceLineMode` verbatim).
@@ -774,6 +872,19 @@ export declare const PluginDesignCreateMassArgs: z.ZodObject<{
774
872
  }>>;
775
873
  }, z.core.$strip>;
776
874
  export type PluginDesignCreateMassArgs = z.infer<typeof PluginDesignCreateMassArgs>;
875
+ /**
876
+ * Arguments for {@linkcode PluginDesignCreateApi.massFromBrep}.
877
+ *
878
+ * | Property | Type | Description |
879
+ * |---|---|---|
880
+ * | `brep` | {@linkcode BrepHandle} | A solid from a `core.geom.create` brep constructor |
881
+ * | `label` | `string`? | Label (maps to `room_type`) |
882
+ */
883
+ export declare const PluginDesignCreateMassFromBrepArgs: z.ZodObject<{
884
+ brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"brep">, string>>;
885
+ label: z.ZodOptional<z.ZodString>;
886
+ }, z.core.$strip>;
887
+ export type PluginDesignCreateMassFromBrepArgs = z.infer<typeof PluginDesignCreateMassFromBrepArgs>;
777
888
  /**
778
889
  * Arguments for {@linkcode PluginDesignCreateApi.slab}.
779
890
  *
@@ -1059,8 +1170,8 @@ export type PluginDesignCreateReferenceLinesArgs = z.infer<typeof PluginDesignCr
1059
1170
  * | `"unique"` | Independent geometry copies |
1060
1171
  */
1061
1172
  export declare const PluginCopyMode: z.ZodEnum<{
1062
- instance: "instance";
1063
1173
  unique: "unique";
1174
+ instance: "instance";
1064
1175
  }>;
1065
1176
  export type PluginCopyMode = z.infer<typeof PluginCopyMode>;
1066
1177
  /**
@@ -1078,8 +1189,8 @@ export declare const PluginDesignCreateCopyArgs: z.ZodObject<{
1078
1189
  displacement: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
1079
1190
  count: z.ZodOptional<z.ZodNumber>;
1080
1191
  mode: z.ZodOptional<z.ZodEnum<{
1081
- instance: "instance";
1082
1192
  unique: "unique";
1193
+ instance: "instance";
1083
1194
  }>>;
1084
1195
  }, z.core.$strip>;
1085
1196
  export type PluginDesignCreateCopyArgs = z.infer<typeof PluginDesignCreateCopyArgs>;
@@ -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,eAAe,EACf,aAAa,EACb,aAAa,EACb,UAAU,EACX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAE3B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;aACa,KAAK,CACnB,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,Q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AM,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"}
@@ -49,6 +49,9 @@ export declare abstract class PluginDesignDeleteApi {
49
49
  * @examplePrompt Delete all the furniture I picked
50
50
  * @examplePrompt Remove the door and window I just created
51
51
  *
52
+ * @performance Array delete — pass every target in one call (one host round-trip). There is
53
+ * no per-item delete; collect the whole set and never loop this per entity.
54
+ *
52
55
  * # Example
53
56
  * ```ts
54
57
  * // Hard-delete every furniture item on storey 2 (a single undo entry)
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;aACa,QAAQ,CACtB,UAAU,EAAE,eAAe,EAAE,GAC5B,eAAe,CAAC,wBAAwB,CAAC;CAC7C"}