@snaptrude/plugin-core 0.9.16-networks-20261012.1 → 0.9.17

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 (88) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/api-manifest.json +9711 -0
  3. package/dist/api/analysis/daylight.d.ts +5 -5
  4. package/dist/api/analysis/solar.d.ts +2 -2
  5. package/dist/api/core/camera/index.d.ts +0 -29
  6. package/dist/api/core/camera/index.d.ts.map +1 -1
  7. package/dist/api/core/zoom/index.d.ts +0 -13
  8. package/dist/api/core/zoom/index.d.ts.map +1 -1
  9. package/dist/api/design/create/bulk-items.d.ts +21 -40
  10. package/dist/api/design/create/bulk-items.d.ts.map +1 -1
  11. package/dist/api/design/create/index.d.ts +97 -120
  12. package/dist/api/design/create/index.d.ts.map +1 -1
  13. package/dist/api/design/create/opening-fields.d.ts +12 -13
  14. package/dist/api/design/create/opening-fields.d.ts.map +1 -1
  15. package/dist/api/design/doors/index.d.ts +24 -18
  16. package/dist/api/design/doors/index.d.ts.map +1 -1
  17. package/dist/api/design/family.d.ts +27 -797
  18. package/dist/api/design/family.d.ts.map +1 -1
  19. package/dist/api/design/index.d.ts +0 -16
  20. package/dist/api/design/index.d.ts.map +1 -1
  21. package/dist/api/design/query/index.d.ts +30 -30
  22. package/dist/api/design/selection/index.d.ts +10 -10
  23. package/dist/api/design/types/index.d.ts +24 -40
  24. package/dist/api/design/types/index.d.ts.map +1 -1
  25. package/dist/api/design/update/index.d.ts +3 -40
  26. package/dist/api/design/update/index.d.ts.map +1 -1
  27. package/dist/api/design/windows/index.d.ts +8 -8
  28. package/dist/api/design/windows/index.d.ts.map +1 -1
  29. package/dist/api/presentation/aiInspiration.d.ts +10 -10
  30. package/dist/api/presentation/annotate.d.ts +22 -38
  31. package/dist/api/presentation/annotate.d.ts.map +1 -1
  32. package/dist/api/presentation/export.d.ts +5 -23
  33. package/dist/api/presentation/export.d.ts.map +1 -1
  34. package/dist/api/presentation/index.d.ts +21 -32
  35. package/dist/api/presentation/index.d.ts.map +1 -1
  36. package/dist/api/presentation/placedViews.d.ts +6 -106
  37. package/dist/api/presentation/placedViews.d.ts.map +1 -1
  38. package/dist/api/presentation/sections.d.ts +461 -0
  39. package/dist/api/presentation/sections.d.ts.map +1 -0
  40. package/dist/api/presentation/shapes.d.ts +2 -2
  41. package/dist/api/presentation/sheets.d.ts +19 -175
  42. package/dist/api/presentation/sheets.d.ts.map +1 -1
  43. package/dist/api/presentation/views.d.ts +5 -103
  44. package/dist/api/presentation/views.d.ts.map +1 -1
  45. package/dist/api/presentation/walkthroughs.d.ts +6 -6
  46. package/dist/index.cjs +2434 -3619
  47. package/dist/index.cjs.map +1 -1
  48. package/dist/index.js +2421 -3501
  49. package/dist/index.js.map +1 -1
  50. package/package.json +1 -1
  51. package/scripts/generate-manifest.mjs +0 -5
  52. package/src/api/core/camera/index.ts +0 -29
  53. package/src/api/core/zoom/index.ts +0 -13
  54. package/src/api/design/create/bulk-items.ts +16 -23
  55. package/src/api/design/create/index.ts +119 -129
  56. package/src/api/design/create/opening-fields.ts +12 -15
  57. package/src/api/design/doors/index.ts +42 -58
  58. package/src/api/design/family.ts +32 -662
  59. package/src/api/design/index.ts +4 -34
  60. package/src/api/design/types/index.ts +24 -31
  61. package/src/api/design/update/index.ts +3 -41
  62. package/src/api/design/windows/index.ts +22 -40
  63. package/src/api/presentation/annotate.ts +58 -90
  64. package/src/api/presentation/export.ts +6 -32
  65. package/src/api/presentation/index.ts +23 -39
  66. package/src/api/presentation/placedViews.ts +28 -119
  67. package/src/api/presentation/sections.ts +420 -0
  68. package/src/api/presentation/sheets.ts +20 -181
  69. package/src/api/presentation/views.ts +6 -46
  70. package/dist/api/design/bim.d.ts +0 -209
  71. package/dist/api/design/bim.d.ts.map +0 -1
  72. package/dist/api/design/catalog.d.ts +0 -320
  73. package/dist/api/design/catalog.d.ts.map +0 -1
  74. package/dist/api/design/networks.d.ts +0 -1703
  75. package/dist/api/design/networks.d.ts.map +0 -1
  76. package/dist/api/presentation/drawingContract.d.ts +0 -32
  77. package/dist/api/presentation/drawingContract.d.ts.map +0 -1
  78. package/dist/api/presentation/drawings.d.ts +0 -3523
  79. package/dist/api/presentation/drawings.d.ts.map +0 -1
  80. package/dist/api/presentation/viewPresets.d.ts +0 -222
  81. package/dist/api/presentation/viewPresets.d.ts.map +0 -1
  82. package/src/api/design/bim.ts +0 -121
  83. package/src/api/design/catalog.ts +0 -203
  84. package/src/api/design/networks.ts +0 -607
  85. package/src/api/presentation/drawingContract.ts +0 -70
  86. package/src/api/presentation/drawings.ts +0 -1179
  87. package/src/api/presentation/viewPresets.ts +0 -241
  88. package/test/drawingContract.test.mjs +0 -288
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAGlD,+DAA+D;AAC/D,eAAO,MAAM,kBAAkB;;;kBAEpB,CAAA;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEnE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;iBAcxB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AAEzD,eAAO,MAAM,mBAAmB;;kBAErB,CAAA;AACX,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;kBAU5B,CAAA;AACX,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CA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AA;AAE/D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,8BAAsB,6BAA6B;;IAGjD;;;;;;;;;;;;;OAaG;aACa,IAAI,IAAI,eAAe,CAAC,aAAa,EAAE,CAAC;IAExD;;;;;;;;;;;;;;OAcG;aACa,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe,CAAC,aAAa,GAAG,IAAI,CAAC;IAE7E;;;;;;;;;;;OAWG;aACa,SAAS,IAAI,eAAe,CAAC,aAAa,GAAG,IAAI,CAAC;IAElE;;;;;;;;;;;;;;;;;;;OAmBG;aACa,SAAS,CACvB,SAAS,EAAE,MAAM,GAAG,IAAI,GACvB,eAAe,CAAC,aAAa,GAAG,IAAI,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;aACa,MAAM,CACpB,KAAK,EAAE,kBAAkB,EACzB,GAAG,EAAE,kBAAkB,EACvB,OAAO,CAAC,EAAE,0BAA0B,GACnC,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,MAAM,CACpB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,kBAAkB,GACxB,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;OAeG;aACa,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC;IAEnE;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,MAAM,CACpB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,uBAAuB,GAChC,eAAe,CAAC,gBAAgB,CAAC;CACrC"}
@@ -231,11 +231,11 @@ export declare const PluginPresentationShapeSpec: z.ZodDiscriminatedUnion<[z.Zod
231
231
  }, z.core.$strip>, z.ZodObject<{
232
232
  type: z.ZodLiteral<"geo">;
233
233
  kind: z.ZodEnum<{
234
- hexagon: "hexagon";
235
234
  rectangle: "rectangle";
236
235
  ellipse: "ellipse";
237
236
  triangle: "triangle";
238
237
  diamond: "diamond";
238
+ hexagon: "hexagon";
239
239
  oval: "oval";
240
240
  rhombus: "rhombus";
241
241
  star: "star";
@@ -386,11 +386,11 @@ export declare const PluginPresentationShapesUpsertArgs: z.ZodObject<{
386
386
  }, z.core.$strip>, z.ZodObject<{
387
387
  type: z.ZodLiteral<"geo">;
388
388
  kind: z.ZodEnum<{
389
- hexagon: "hexagon";
390
389
  rectangle: "rectangle";
391
390
  ellipse: "ellipse";
392
391
  triangle: "triangle";
393
392
  diamond: "diamond";
393
+ hexagon: "hexagon";
394
394
  oval: "oval";
395
395
  rhombus: "rhombus";
396
396
  star: "star";
@@ -9,16 +9,9 @@ import { PluginApiReturn } from "../../types";
9
9
  *
10
10
  * `list`/`get` are reads; the rest mutate and require Present mode to be open:
11
11
  * `create` adds a sheet, `place` drops a saved view onto a sheet as a live
12
- * linked view shape (fitted to that sheet), `placeDrawing` moves an existing
13
- * drawing onto a sheet (scaled down to fit by default), `rename` relabels a
14
- * sheet, `delete` removes one, `reorder` moves one in the sheet order,
15
- * `setActive` navigates to one, and `updatePlacedView` re-renders placed views
16
- * to the current model.
17
- *
18
- * `presentation.drawings.create` never puts a drawing on a sheet: it makes the
19
- * drawing beside its source view on the canvas. To put a view on a sheet, call
20
- * `place(sheetId, viewId)`; to move a drawing you already made, call
21
- * `placeDrawing(sheetId, drawingId)`.
12
+ * linked view shape, `rename` relabels a sheet, `delete` removes one, `reorder`
13
+ * moves one in the sheet order, `setActive` navigates to one, and
14
+ * `updatePlacedView` re-renders placed views to the current model.
22
15
  *
23
16
  * Accessed via `snaptrude.presentation.sheets`.
24
17
  */
@@ -146,75 +139,37 @@ export declare abstract class PluginPresentationSheetsApi {
146
139
  */
147
140
  abstract setMargin(sheetId: string, margin: PluginSheetMargin): PluginApiReturn<PluginPresentationSheet>;
148
141
  /**
149
- * Place a saved view onto a sheet. This is the call that puts a view on a
150
- * sheet (`presentation.drawings.create` makes a drawing beside its source
151
- * view, not on a sheet). When `scale` is omitted the view is fitted to the
152
- * target sheet: a 2D or site-plan view is placed at the largest
153
- * standard scale at which it fits inside the target sheet's margin, and
154
- * never at a larger scale than the normal view drop would pick; a 3D view
155
- * has no scale, so it is shrunk evenly to fit instead. This is the same fit
156
- * as `placeDrawing`. Omit `position` unless the user asked for a specific
157
- * place.
158
- * Without a `position` the drawing goes to the sheet centre when that is
159
- * free, otherwise to the nearest free spot to the centre inside the margin,
160
- * beside the drawings already there; when there is no free spot it is
161
- * centred anyway and the result has `overlaps: true`. With a `position` it
162
- * is placed as given, and the result has `overlaps: true` when it covers
163
- * another drawing, but it is not moved. In both cases only other drawings
164
- * count (placed views and their title blocks and labels): text, images and
165
- * other shapes on the sheet are ignored. Each call fits one view to the
166
- * whole sheet, so a second fitted view often has no free spot: when several
167
- * views should share a sheet, pass a `scale` small enough for all of them;
168
- * otherwise use `sheets.create` per view. When the result's `overlaps` is
169
- * true, move the drawing or put it on its own sheet.
170
- * An explicit `scale` is always kept, even when the drawing (title block
171
- * included) does not fit inside the sheet's margin at that scale; the result
172
- * then has `overflows: true`. When it is true, pass a smaller scale (larger
173
- * denominator), omit `scale` to fit, or use a larger sheet.
174
- * `scale` must be a standard architectural scale denominator (100 means 1:100)
175
- * in the project's unit system; any other value is rejected. Metric: 10, 20, 50,
176
- * 100, 150, 200, 250, 500, 1000. Imperial detail: 12, 16, 24, 32, 48, 64, 96, 128,
177
- * 192, 384, 768, 1536 (1" = 1' to 1/128" = 1'; 48 is 1/4" = 1', 96 is 1/8" = 1').
178
- * Imperial site: 120, 240, 360, 480, 600, 1200, 2400, 3600, 4800 (1" = 10' to
179
- * 1" = 400'). Pick the LARGEST standard scale (smallest denominator) at which the
180
- * view still fits its frame or sheet and its room labels stay readable: for a
181
- * building floor plan that is usually 1:50 to 1:200 (1/4" = 1' to 1/16" = 1').
182
- * Never use a site-sized scale (1:500 and up, 1/64" = 1' (768) and smaller,
183
- * 1" = 20' (240) and up) for a single building plan unless the user asked for it.
142
+ * Place a saved view onto a sheet.
184
143
  *
185
144
  * Drops the given view onto the sheet through the **native view drop** — the
186
145
  * placed shape is a live linked view (the same shape the Present views panel's
187
146
  * drag-drop creates), re-rendered from the current model, so
188
147
  * {@linkcode PluginPresentationSheetsApi.updatePlacedView} refreshes it later.
189
- * 2D and site-plan views are placed at an architectural scale: the fitted
190
- * standard scale described above by default, or the explicit `scale` when
191
- * given (one of the standard values above). 3D views have no scale; passing
192
- * `scale` for one throws. Requires Present mode to be open.
148
+ * 2D and site-plan views are placed at an architectural scale: the closest
149
+ * standard scale by default (the native auto-fit), or the explicit `scale`
150
+ * when given — one of the standard values the placed view's Scale dropdown
151
+ * offers for the project's unit system (metric `10, 20, 50, 100, 150, 200,
152
+ * 250, 500, 1000`; imperial e.g. `48` for 1/4″ = 1′, `96` for 1/8″ = 1′,
153
+ * `120` for 1″ = 10′). 3D views have no scale — passing `scale` for one
154
+ * throws. Requires Present mode to be open.
193
155
  *
194
156
  * @param sheetId - The id of the sheet to place onto.
195
157
  * @param viewId - The id of the saved view to place.
196
158
  * @param options - Optional `position` ({@linkcode PluginSheetPosition}) —
197
- * where to place it (when omitted, the sheet centre or the nearest free
198
- * spot) — and `scale` — a standard scale value for the project's unit system (2D/site-plan views only;
199
- * fitted to the target sheet when omitted).
159
+ * where to place it (sheet centre when omitted) — and `scale` — a standard
160
+ * scale value for the project's unit system (2D/site-plan views only;
161
+ * auto-fit when omitted).
200
162
  * @returns A {@linkcode PluginPresentationSheetsPlaceResult} with the created
201
- * `shapeId`, the `scale` used (`null` for a 3D view), whether the fit
202
- * `rescaled` it, whether it `overlaps` another drawing on the sheet, and
203
- * whether it `overflows` the sheet's margin at an explicit `scale`.
204
- * (Hosts older than the fit return only `shapeId`.)
163
+ * `shapeId`.
205
164
  * @throws If Present mode is not open, the sheet/view id is invalid, `scale`
206
165
  * is not a standard value for the project's unit system, or `scale` is
207
- * passed for a 3D view. `PRECONDITION_FAILED` when the view does not fit
208
- * the sheet even at the smallest standard scale, or the title block alone
209
- * is larger than the sheet's drawable area (use a larger sheet); no
210
- * drawing is left on the sheet.
166
+ * passed for a 3D view.
211
167
  *
212
168
  * @examplePrompt Place the floor plan on Sheet 1
213
169
  * @examplePrompt Add this 3D view to the cover sheet
214
170
  * @examplePrompt Drop the site plan onto the layout sheet at 100, 200
215
171
  * @examplePrompt Put the Ground Floor view on sheet_1 at 1:100 scale
216
172
  * @examplePrompt Place the plan on the cover sheet at quarter-inch scale
217
- * @examplePrompt Add a floor plan drawing of each storey to this sheet
218
173
  *
219
174
  * # Example
220
175
  * ```ts
@@ -227,70 +182,6 @@ export declare abstract class PluginPresentationSheetsApi {
227
182
  position?: PluginSheetPosition;
228
183
  scale?: number;
229
184
  }): PluginApiReturn<PluginPresentationSheetsPlaceResult>;
230
- /**
231
- * Move an existing drawing onto a sheet without copying or regenerating it,
232
- * scaled down to fit the sheet when it is too big. `presentation.drawings.create`
233
- * leaves a drawing beside its source view, not on a sheet; this is the call
234
- * that puts it on one. To place a saved view on a sheet in one call, use
235
- * `sheets.place(sheetId, viewId)`, which fits it the same way.
236
- * By default (`fit` true or omitted) a drawing larger than the sheet's
237
- * drawable area (the sheet inside its margin) is moved to the LARGEST standard
238
- * architectural scale at which it fits; a drawing that already fits keeps its
239
- * scale, and a drawing is never scaled up. A 3D drawing has no architectural
240
- * scale, so it is shrunk uniformly to fit instead. With `fit: false` the scale
241
- * is kept and a drawing that does not fit is rejected with an error naming the
242
- * drawing, the sheet and the scale, and saying to call `placeDrawing` without
243
- * `fit: false` to fit it, or use a larger sheet. When even
244
- * the smallest standard scale does not fit, the call is rejected with an error
245
- * suggesting a larger sheet size.
246
- * Without a `position` the drawing goes to the sheet centre when that is
247
- * free, otherwise to the nearest free spot to the centre inside the margin,
248
- * beside the drawings already there; when there is no free spot it is
249
- * centred anyway and the result has `overlaps: true`. With a `position` it
250
- * is placed as given, and the result has `overlaps: true` when it covers
251
- * another drawing, but it is not moved. In both cases only other drawings
252
- * count (placed views and their title blocks and labels): text, images and
253
- * other shapes on the sheet are ignored. Each call fits one drawing to the
254
- * whole sheet, so a second fitted drawing often has no free spot: when
255
- * several drawings should share a sheet, give them scales small enough for
256
- * all of them; otherwise use `sheets.create` per drawing.
257
- * The position is sheet-local. The drawing's
258
- * stable id remains unchanged; `shapeId` therefore identifies the moved
259
- * drawing. The result reports the architectural scale the drawing has on the
260
- * sheet and whether this call changed it; a host that reports it also says
261
- * whether the drawing `overlaps` another drawing on the sheet (move it or
262
- * put it on its own sheet when true).
263
- *
264
- * @param sheetId - The id of the destination sheet.
265
- * @param drawingId - The id of an existing drawing deliverable.
266
- * @param options - Optional sheet-local `position` (when omitted, the sheet centre or the nearest free spot)
267
- * and `fit` (default `true`: scale a drawing that does not fit down to fit;
268
- * `false`: keep its scale and reject a drawing that does not fit).
269
- * @returns A {@linkcode PluginPresentationSheetsPlaceDrawingResult} with the
270
- * drawing's `shapeId`, the `scale` used (`null` for a 3D drawing),
271
- * `rescaled`, and optionally `overlaps`.
272
- * @throws `PRECONDITION_FAILED` if Present mode is closed, the sheet is locked,
273
- * the drawing does not fit with `fit: false`, or it does not fit even at the
274
- * smallest standard scale; `HANDLE_INVALID` if either id is invalid or the
275
- * shape is not a drawing.
276
- *
277
- * @examplePrompt Move this drawing onto the cover sheet
278
- * @examplePrompt Place drawing_1 at the center of sheet_2
279
- * @examplePrompt Put the level 2 plan drawing on the Level 2 Plan sheet
280
- * @examplePrompt Add the floor plan drawings to this sheet
281
- *
282
- * # Example
283
- * ```ts
284
- * const { scale, rescaled } = await snaptrude.presentation.sheets.placeDrawing(
285
- * sheet.id,
286
- * drawing.id,
287
- * )
288
- * ```
289
- */
290
- abstract placeDrawing(sheetId: string, drawingId: string, options?: {
291
- position?: PluginSheetPosition;
292
- fit?: boolean;
293
- }): PluginApiReturn<PluginPresentationSheetsPlaceDrawingResult>;
294
185
  /**
295
186
  * Rename a layout sheet.
296
187
  *
@@ -628,8 +519,8 @@ export type PluginPresentationSheetsSetMarginArgs = z.infer<typeof PluginPresent
628
519
  * |---|---|---|
629
520
  * | `sheetId` | `string` | The sheet to place onto |
630
521
  * | `viewId` | `string` | The saved view to place |
631
- * | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Where to place it (when omitted, the sheet centre or the nearest free spot) |
632
- * | `scale` | `number \| undefined` | Standard scale value for the project's unit system (2D/site-plan views only; when omitted, the largest standard scale that fits inside the target sheet's margin, never larger than the normal view drop's) |
522
+ * | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Where to place it (sheet centre when omitted) |
523
+ * | `scale` | `number \| undefined` | Standard scale value for the project's unit system (2D/site-plan views only; auto-fit to the closest standard scale when omitted) |
633
524
  */
634
525
  export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
635
526
  sheetId: z.ZodString;
@@ -642,63 +533,16 @@ export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
642
533
  }, z.core.$strip>;
643
534
  export type PluginPresentationSheetsPlaceArgs = z.infer<typeof PluginPresentationSheetsPlaceArgs>;
644
535
  /**
645
- * Arguments for {@linkcode PluginPresentationSheetsApi.placeDrawing}.
646
- *
647
- * | Property | Type | Description |
648
- * |---|---|---|
649
- * | `sheetId` | `string` | The destination sheet |
650
- * | `drawingId` | `string` | The existing drawing to move |
651
- * | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Sheet-local position (when omitted, the sheet centre or the nearest free spot) |
652
- * | `fit` | `boolean \| undefined` | `true` (default) scales a drawing that does not fit down to fit; `false` keeps its scale and rejects a drawing that does not fit |
653
- */
654
- export declare const PluginPresentationSheetsPlaceDrawingArgs: z.ZodObject<{
655
- sheetId: z.ZodString;
656
- drawingId: z.ZodString;
657
- position: z.ZodOptional<z.ZodObject<{
658
- x: z.ZodNumber;
659
- y: z.ZodNumber;
660
- }, z.core.$strip>>;
661
- fit: z.ZodOptional<z.ZodBoolean>;
662
- }, z.core.$strip>;
663
- export type PluginPresentationSheetsPlaceDrawingArgs = z.infer<typeof PluginPresentationSheetsPlaceDrawingArgs>;
664
- /**
665
- * Result of {@linkcode PluginPresentationSheetsApi.place}. The host returns
666
- * `scale` and `rescaled` (and `overlaps`, `overflows`); they are optional only
667
- * because hosts that predate the fit report `shapeId` alone.
536
+ * Result of {@linkcode PluginPresentationSheetsApi.place}.
668
537
  *
669
538
  * | Property | Type | Description |
670
539
  * |---|---|---|
671
540
  * | `shapeId` | `string` | Id of the created canvas shape |
672
- * | `scale` | `number \| null \| undefined` | Architectural scale denominator the view has on the sheet (`null` for a 3D view) |
673
- * | `rescaled` | `boolean \| undefined` | Whether the fit changed the view's size from the normal view drop's |
674
- * | `overlaps` | `boolean \| undefined` | Whether the placed drawing overlaps another drawing on the sheet (only drawings count, not text, images or other shapes) |
675
- * | `overflows` | `boolean \| undefined` | `true` when the drawing, title block included, does not fit inside the sheet's margin at the explicit `scale` passed (the scale is kept); absent otherwise |
676
541
  */
677
542
  export declare const PluginPresentationSheetsPlaceResult: z.ZodObject<{
678
543
  shapeId: z.ZodString;
679
- scale: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
680
- rescaled: z.ZodOptional<z.ZodBoolean>;
681
- overlaps: z.ZodOptional<z.ZodBoolean>;
682
- overflows: z.ZodOptional<z.ZodBoolean>;
683
544
  }, z.core.$strip>;
684
545
  export type PluginPresentationSheetsPlaceResult = z.infer<typeof PluginPresentationSheetsPlaceResult>;
685
- /**
686
- * Result of {@linkcode PluginPresentationSheetsApi.placeDrawing}.
687
- *
688
- * | Property | Type | Description |
689
- * |---|---|---|
690
- * | `shapeId` | `string` | Id of the moved drawing (the drawing id, unchanged) |
691
- * | `scale` | `number \| null` | Architectural scale denominator the drawing has on the sheet (`null` for a 3D drawing) |
692
- * | `rescaled` | `boolean` | Whether this call changed the drawing's size to fit the sheet |
693
- * | `overlaps` | `boolean \| undefined` | Whether the drawing overlaps another drawing on the sheet (only drawings count, not text, images or other shapes) |
694
- */
695
- export declare const PluginPresentationSheetsPlaceDrawingResult: z.ZodObject<{
696
- overlaps: z.ZodOptional<z.ZodBoolean>;
697
- shapeId: z.ZodString;
698
- scale: z.ZodNullable<z.ZodNumber>;
699
- rescaled: z.ZodBoolean;
700
- }, z.core.$strip>;
701
- export type PluginPresentationSheetsPlaceDrawingResult = z.infer<typeof PluginPresentationSheetsPlaceDrawingResult>;
702
546
  /**
703
547
  * Arguments for {@linkcode PluginPresentationSheetsApi.rename}.
704
548
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/sheets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAG7C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,8BAAsB,2BAA2B;;IAG/C;;;;;;;;;;;;;;;OAeG;aACa,IAAI,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAE3E;;;;;;;;;;;;;;OAcG;aACa,GAAG,CACjB,OAAO,EAAE,MAAM,GACd,eAAe,CAAC,iCAAiC,CAAC;IAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;aACa,MAAM,CACpB,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,eAAe,CAAC;QAAC,WAAW,CAAC,EAAE,sBAAsB,CAAA;KAAE,GACzE,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;aACa,OAAO,CACrB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,eAAe,EACrB,WAAW,CAAC,EAAE,sBAAsB,GACnC,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,iBAAiB,GACxB,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAM,mCAAmC;;;iBAG9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED,uEAAuE;AACvE,eAAO,MAAM,qCAAqC;;iBAEhD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,4CAA4C;;iBAEvD,CAAA;AACF,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAChE,OAAO,4CAA4C,CACpD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8CAA8C;;iBAEzD,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,8CAA8C,CACtD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../types";
3
3
  /**
4
- * Presentation views — read the saved plan, 3D, and elevation views used to prepare presentations.
4
+ * Presentation views — read the saved 2D/3D views used to prepare presentations.
5
5
  *
6
6
  * A **view** is a saved camera/plan: a sheet-ready 2D plan or a saved 3D view.
7
7
  * A plugin can list and read views, capture them to images, activate one (move
@@ -22,10 +22,10 @@ export declare abstract class PluginPresentationViewsApi {
22
22
  * List the saved views in the active project.
23
23
  *
24
24
  * @returns A {@linkcode PluginPresentationViewsListResult} with a `views` array
25
- * of plan, 3D, and elevation views (empty when the project has none).
25
+ * of 2D and 3D views (empty when the project has none).
26
26
  *
27
27
  * @examplePrompt List all the saved views
28
- * @examplePrompt What plan, 3D, and elevation views are in this project?
28
+ * @examplePrompt What 2D and 3D views are in this project?
29
29
  * @examplePrompt Which view is currently active?
30
30
  * @examplePrompt Get the names of every presentation view
31
31
  * @examplePrompt Show me the 3D views I can put on a sheet
@@ -107,10 +107,6 @@ export declare abstract class PluginPresentationViewsApi {
107
107
  * Applies the view's camera, visibility, and storey state to the live scene.
108
108
  * Paired with {@linkcode PluginPresentationViewsApi.getActive}.
109
109
  *
110
- * While Present is open this sets the Design frame a view saved in Present
111
- * is taken from; it never moves the Present sheet canvas; use
112
- * `presentation.camera` for that.
113
- *
114
110
  * @param viewId - The id of the view to activate.
115
111
  * @returns The id of the now-active view.
116
112
  * @throws If no view has the given id.
@@ -131,15 +127,6 @@ export declare abstract class PluginPresentationViewsApi {
131
127
  *
132
128
  * Creates a camera bookmark (not geometry) from where the camera is now.
133
129
  *
134
- * Works while Present mode is open. Present draws its drawings on the same
135
- * 3D scene, so a view saved in Present takes its framing (camera, 2D or 3D
136
- * mode, projection, storey, building) from the Design frame instead: the one
137
- * the user had when Present opened, or one a plugin set since with
138
- * `setActive`, `updateSettings({ viewMode })`, `core.camera`, `core.zoom`,
139
- * `core.storeys.setActive`, `core.storeys.layers.setActive` or
140
- * `core.buildings.setActive`. It never moves the Present sheet canvas; use
141
- * `presentation.camera` for that.
142
- *
143
130
  * @param name - Name for the new view (a default is used when omitted).
144
131
  * @param options - Optional `kind` (what kind of view to save, default
145
132
  * `"view"`) and `storey` (save the view on a specific storey — the storey is
@@ -302,31 +289,13 @@ export declare abstract class PluginPresentationViewsApi {
302
289
  abstract delete(viewId: string): PluginApiReturn<PluginPresentationViewsDeleteResult>;
303
290
  }
304
291
  /**
305
- * The rendering category of a saved view. Existing plan/3D values are preserved;
306
- * elevations are identified independently of their orthographic 3D camera.
292
+ * The kind of a saved view: a 2D plan view or a 3D view.
307
293
  */
308
294
  export declare const PluginPresentationViewType: z.ZodEnum<{
309
- elevation: "elevation";
310
295
  "2d": "2d";
311
296
  "3d": "3d";
312
297
  }>;
313
298
  export type PluginPresentationViewType = z.infer<typeof PluginPresentationViewType>;
314
- /** The native semantic kind persisted for a saved view. */
315
- export declare const PluginPresentationViewKind: z.ZodEnum<{
316
- elevation: "elevation";
317
- plan: "plan";
318
- sitePlan: "sitePlan";
319
- threeD: "threeD";
320
- }>;
321
- export type PluginPresentationViewKind = z.infer<typeof PluginPresentationViewKind>;
322
- /** Cardinal direction for an elevation; non-elevation views return `null`. */
323
- export declare const PluginPresentationElevationDirection: z.ZodEnum<{
324
- north: "north";
325
- south: "south";
326
- east: "east";
327
- west: "west";
328
- }>;
329
- export type PluginPresentationElevationDirection = z.infer<typeof PluginPresentationElevationDirection>;
330
299
  /**
331
300
  * A saved presentation view.
332
301
  *
@@ -334,9 +303,7 @@ export type PluginPresentationElevationDirection = z.infer<typeof PluginPresenta
334
303
  * |---|---|---|
335
304
  * | `id` | `string` | Unique view id |
336
305
  * | `name` | `string` | Display name |
337
- * | `type` | `"2d" \| "3d" \| "elevation"` | Rendering category; elevations are distinct from ordinary 3D views |
338
- * | `kind` | {@linkcode PluginPresentationViewKind} | Native semantic view kind |
339
- * | `direction` | {@linkcode PluginPresentationElevationDirection}` \| null` | Cardinal direction for elevations; otherwise `null` |
306
+ * | `type` | `"2d" \| "3d"` | Whether this is a 2D plan view or a 3D view |
340
307
  * | `isActive` | `boolean` | Whether this view is the currently active view |
341
308
  * | `storey` | `number \| null` | The storey this view was saved on (`null` on older views saved without one) |
342
309
  */
@@ -344,22 +311,9 @@ export declare const PluginPresentationView: z.ZodObject<{
344
311
  id: z.ZodString;
345
312
  name: z.ZodString;
346
313
  type: z.ZodEnum<{
347
- elevation: "elevation";
348
314
  "2d": "2d";
349
315
  "3d": "3d";
350
316
  }>;
351
- kind: z.ZodEnum<{
352
- elevation: "elevation";
353
- plan: "plan";
354
- sitePlan: "sitePlan";
355
- threeD: "threeD";
356
- }>;
357
- direction: z.ZodNullable<z.ZodEnum<{
358
- north: "north";
359
- south: "south";
360
- east: "east";
361
- west: "west";
362
- }>>;
363
317
  isActive: z.ZodBoolean;
364
318
  storey: z.ZodNullable<z.ZodNumber>;
365
319
  }, z.core.$strip>;
@@ -376,22 +330,9 @@ export declare const PluginPresentationViewsListResult: z.ZodObject<{
376
330
  id: z.ZodString;
377
331
  name: z.ZodString;
378
332
  type: z.ZodEnum<{
379
- elevation: "elevation";
380
333
  "2d": "2d";
381
334
  "3d": "3d";
382
335
  }>;
383
- kind: z.ZodEnum<{
384
- elevation: "elevation";
385
- plan: "plan";
386
- sitePlan: "sitePlan";
387
- threeD: "threeD";
388
- }>;
389
- direction: z.ZodNullable<z.ZodEnum<{
390
- north: "north";
391
- south: "south";
392
- east: "east";
393
- west: "west";
394
- }>>;
395
336
  isActive: z.ZodBoolean;
396
337
  storey: z.ZodNullable<z.ZodNumber>;
397
338
  }, z.core.$strip>>;
@@ -417,22 +358,9 @@ export declare const PluginPresentationViewsGetResult: z.ZodNullable<z.ZodObject
417
358
  id: z.ZodString;
418
359
  name: z.ZodString;
419
360
  type: z.ZodEnum<{
420
- elevation: "elevation";
421
361
  "2d": "2d";
422
362
  "3d": "3d";
423
363
  }>;
424
- kind: z.ZodEnum<{
425
- elevation: "elevation";
426
- plan: "plan";
427
- sitePlan: "sitePlan";
428
- threeD: "threeD";
429
- }>;
430
- direction: z.ZodNullable<z.ZodEnum<{
431
- north: "north";
432
- south: "south";
433
- east: "east";
434
- west: "west";
435
- }>>;
436
364
  isActive: z.ZodBoolean;
437
365
  storey: z.ZodNullable<z.ZodNumber>;
438
366
  }, z.core.$strip>>;
@@ -511,22 +439,9 @@ export declare const PluginPresentationViewsCreateResult: z.ZodObject<{
511
439
  id: z.ZodString;
512
440
  name: z.ZodString;
513
441
  type: z.ZodEnum<{
514
- elevation: "elevation";
515
442
  "2d": "2d";
516
443
  "3d": "3d";
517
444
  }>;
518
- kind: z.ZodEnum<{
519
- elevation: "elevation";
520
- plan: "plan";
521
- sitePlan: "sitePlan";
522
- threeD: "threeD";
523
- }>;
524
- direction: z.ZodNullable<z.ZodEnum<{
525
- north: "north";
526
- south: "south";
527
- east: "east";
528
- west: "west";
529
- }>>;
530
445
  isActive: z.ZodBoolean;
531
446
  storey: z.ZodNullable<z.ZodNumber>;
532
447
  }, z.core.$strip>;
@@ -711,22 +626,9 @@ export declare const PluginPresentationViewsRenameResult: z.ZodObject<{
711
626
  id: z.ZodString;
712
627
  name: z.ZodString;
713
628
  type: z.ZodEnum<{
714
- elevation: "elevation";
715
629
  "2d": "2d";
716
630
  "3d": "3d";
717
631
  }>;
718
- kind: z.ZodEnum<{
719
- elevation: "elevation";
720
- plan: "plan";
721
- sitePlan: "sitePlan";
722
- threeD: "threeD";
723
- }>;
724
- direction: z.ZodNullable<z.ZodEnum<{
725
- north: "north";
726
- south: "south";
727
- east: "east";
728
- west: "west";
729
- }>>;
730
632
  isActive: z.ZodBoolean;
731
633
  storey: z.ZodNullable<z.ZodNumber>;
732
634
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;;;;GAeG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;OAkBG;aACa,IAAI,IAAI,eAAe,CAAC,iCAAiC,CAAC;IAE1E;;;;;;;;;;;;;;;OAeG;aACa,GAAG,CACjB,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,gCAAgC,CAAC;IAEpD;;;;;;;;;;;;;;OAcG;aACa,SAAS,IAAI,eAAe,CAAC,gCAAgC,CAAC;IAE9E;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;aACa,OAAO,CAAC,OAAO,CAAC,EAAE;QAChC,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;QACvB,UAAU,CAAC,EAAE,MAAM,CAAA;KACpB,GAAG,eAAe,CAAC,oCAAoC,CAAC;IAEzD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,SAAS,CACvB,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,sCAAsC,CAAC;IAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;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M,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;kBACV,CAAA;AAC3C,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,wCAAwC,CAChD,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;iBA0BnD,CAAA;AACH,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,yCAAyC,CACjD,CAAA;AAED,+FAA+F;AAC/F,eAAO,MAAM,2CAA2C;;iBAEtD,CAAA;AACF,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAC/D,OAAO,2CAA2C,CACnD,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;iBAG5C,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAA;AAED,kFAAkF;AAClF,eAAO,MAAM,mCAAmC;;;;;;;;;iBAAyB,CAAA;AACzE,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;iBAE5C,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mCAAmC;;iBAE9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA"}
@@ -1252,10 +1252,10 @@ export type PluginWalkthroughExportArgs = z.infer<typeof PluginWalkthroughExport
1252
1252
  */
1253
1253
  export declare const PluginWalkthroughExportJobStatus: z.ZodEnum<{
1254
1254
  failed: "failed";
1255
- queued: "queued";
1256
- cancelled: "cancelled";
1257
1255
  running: "running";
1256
+ queued: "queued";
1258
1257
  completed: "completed";
1258
+ cancelled: "cancelled";
1259
1259
  }>;
1260
1260
  export type PluginWalkthroughExportJobStatus = z.infer<typeof PluginWalkthroughExportJobStatus>;
1261
1261
  /**
@@ -1297,10 +1297,10 @@ export declare const PluginWalkthroughExportJob: z.ZodObject<{
1297
1297
  walkthroughId: z.ZodString;
1298
1298
  status: z.ZodEnum<{
1299
1299
  failed: "failed";
1300
- queued: "queued";
1301
- cancelled: "cancelled";
1302
1300
  running: "running";
1301
+ queued: "queued";
1303
1302
  completed: "completed";
1303
+ cancelled: "cancelled";
1304
1304
  }>;
1305
1305
  createdAt: z.ZodNumber;
1306
1306
  updatedAt: z.ZodNumber;
@@ -1326,10 +1326,10 @@ export declare const PluginWalkthroughListJobsResult: z.ZodObject<{
1326
1326
  walkthroughId: z.ZodString;
1327
1327
  status: z.ZodEnum<{
1328
1328
  failed: "failed";
1329
- queued: "queued";
1330
- cancelled: "cancelled";
1331
1329
  running: "running";
1330
+ queued: "queued";
1332
1331
  completed: "completed";
1332
+ cancelled: "cancelled";
1333
1333
  }>;
1334
1334
  createdAt: z.ZodNumber;
1335
1335
  updatedAt: z.ZodNumber;