@snaptrude/plugin-core 0.11.0-rc.1 → 1.0.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 (226) hide show
  1. package/AGENTS.md +4 -0
  2. package/CHANGELOG.md +176 -14
  3. package/api-manifest.json +872 -49
  4. package/dist/api/analysis/daylight.d.ts +5 -5
  5. package/dist/api/analysis/solar.d.ts +2 -2
  6. package/dist/api/core/camera/index.d.ts +447 -0
  7. package/dist/api/core/camera/index.d.ts.map +1 -1
  8. package/dist/api/core/geom/create/index.d.ts +942 -101
  9. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/brep.d.ts +59 -2
  11. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  12. package/dist/api/core/geom/query/curve.d.ts +59 -35
  13. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  14. package/dist/api/core/geom/query/edge.d.ts +2 -2
  15. package/dist/api/core/geom/query/face.d.ts +105 -0
  16. package/dist/api/core/geom/query/face.d.ts.map +1 -1
  17. package/dist/api/core/geom/update/contour.d.ts +10 -2
  18. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  19. package/dist/api/core/geom/update/curve.d.ts +5 -5
  20. package/dist/api/core/geom/update/profile.d.ts +3 -1
  21. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  22. package/dist/api/core/handles/index.d.ts +4 -2
  23. package/dist/api/core/handles/index.d.ts.map +1 -1
  24. package/dist/api/core/index.d.ts +4 -4
  25. package/dist/api/core/index.d.ts.map +1 -1
  26. package/dist/api/core/io/import/index.d.ts +3 -1
  27. package/dist/api/core/io/import/index.d.ts.map +1 -1
  28. package/dist/api/core/layers.d.ts +377 -255
  29. package/dist/api/core/layers.d.ts.map +1 -1
  30. package/dist/api/core/mode/index.d.ts +19 -7
  31. package/dist/api/core/mode/index.d.ts.map +1 -1
  32. package/dist/api/core/proposals/index.d.ts +4 -3
  33. package/dist/api/core/proposals/index.d.ts.map +1 -1
  34. package/dist/api/core/storeys/index.d.ts +17 -2
  35. package/dist/api/core/storeys/index.d.ts.map +1 -1
  36. package/dist/api/core/storeys/layers.d.ts +408 -0
  37. package/dist/api/core/storeys/layers.d.ts.map +1 -0
  38. package/dist/api/core/tags.d.ts +84 -3
  39. package/dist/api/core/tags.d.ts.map +1 -1
  40. package/dist/api/core/zoom/index.d.ts +13 -0
  41. package/dist/api/core/zoom/index.d.ts.map +1 -1
  42. package/dist/api/design/bim.d.ts +299 -0
  43. package/dist/api/design/bim.d.ts.map +1 -0
  44. package/dist/api/design/boolean/index.d.ts +2 -0
  45. package/dist/api/design/boolean/index.d.ts.map +1 -1
  46. package/dist/api/design/catalog.d.ts +320 -0
  47. package/dist/api/design/catalog.d.ts.map +1 -0
  48. package/dist/api/design/create/bulk-items.d.ts +269 -0
  49. package/dist/api/design/create/bulk-items.d.ts.map +1 -0
  50. package/dist/api/design/create/grids.d.ts +132 -0
  51. package/dist/api/design/create/grids.d.ts.map +1 -0
  52. package/dist/api/design/create/index.d.ts +753 -102
  53. package/dist/api/design/create/index.d.ts.map +1 -1
  54. package/dist/api/design/create/opening-fields.d.ts +38 -0
  55. package/dist/api/design/create/opening-fields.d.ts.map +1 -0
  56. package/dist/api/design/delete/index.d.ts +7 -20
  57. package/dist/api/design/delete/index.d.ts.map +1 -1
  58. package/dist/api/design/dimensions.d.ts +427 -0
  59. package/dist/api/design/dimensions.d.ts.map +1 -0
  60. package/dist/api/design/doors/index.d.ts +24 -23
  61. package/dist/api/design/doors/index.d.ts.map +1 -1
  62. package/dist/api/design/family.d.ts +1446 -0
  63. package/dist/api/design/family.d.ts.map +1 -0
  64. package/dist/api/design/grids.d.ts +237 -0
  65. package/dist/api/design/grids.d.ts.map +1 -0
  66. package/dist/api/design/index.d.ts +30 -0
  67. package/dist/api/design/index.d.ts.map +1 -1
  68. package/dist/api/design/networks.d.ts +1703 -0
  69. package/dist/api/design/networks.d.ts.map +1 -0
  70. package/dist/api/design/query/geometry/index.d.ts +33 -5
  71. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  72. package/dist/api/design/query/grids.d.ts +287 -0
  73. package/dist/api/design/query/grids.d.ts.map +1 -0
  74. package/dist/api/design/query/index.d.ts +143 -36
  75. package/dist/api/design/query/index.d.ts.map +1 -1
  76. package/dist/api/design/query/spaces.d.ts +5 -66
  77. package/dist/api/design/query/spaces.d.ts.map +1 -1
  78. package/dist/api/design/selection/index.d.ts +12 -12
  79. package/dist/api/design/types/index.d.ts +40 -24
  80. package/dist/api/design/types/index.d.ts.map +1 -1
  81. package/dist/api/design/update/index.d.ts +412 -8
  82. package/dist/api/design/update/index.d.ts.map +1 -1
  83. package/dist/api/design/windows/index.d.ts +8 -8
  84. package/dist/api/design/windows/index.d.ts.map +1 -1
  85. package/dist/api/entity/buildableEnvelope.d.ts +84 -2
  86. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  87. package/dist/api/entity/referenceLine.d.ts +13 -1
  88. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  89. package/dist/api/entity/space.d.ts +12 -15
  90. package/dist/api/entity/space.d.ts.map +1 -1
  91. package/dist/api/entity/story.d.ts +4 -4
  92. package/dist/api/presentation/aiInspiration.d.ts +24 -24
  93. package/dist/api/presentation/annotate.d.ts +38 -22
  94. package/dist/api/presentation/annotate.d.ts.map +1 -1
  95. package/dist/api/presentation/camera.d.ts +265 -0
  96. package/dist/api/presentation/camera.d.ts.map +1 -0
  97. package/dist/api/presentation/drawingContract.d.ts +32 -0
  98. package/dist/api/presentation/drawingContract.d.ts.map +1 -0
  99. package/dist/api/presentation/drawings.d.ts +3523 -0
  100. package/dist/api/presentation/drawings.d.ts.map +1 -0
  101. package/dist/api/presentation/export.d.ts +23 -5
  102. package/dist/api/presentation/export.d.ts.map +1 -1
  103. package/dist/api/presentation/graphics.d.ts +419 -0
  104. package/dist/api/presentation/graphics.d.ts.map +1 -0
  105. package/dist/api/presentation/index.d.ts +66 -12
  106. package/dist/api/presentation/index.d.ts.map +1 -1
  107. package/dist/api/presentation/placedViews.d.ts +117 -51
  108. package/dist/api/presentation/placedViews.d.ts.map +1 -1
  109. package/dist/api/presentation/sections.d.ts +461 -0
  110. package/dist/api/presentation/sections.d.ts.map +1 -0
  111. package/dist/api/presentation/shapes.d.ts +2 -2
  112. package/dist/api/presentation/sheets.d.ts +175 -37
  113. package/dist/api/presentation/sheets.d.ts.map +1 -1
  114. package/dist/api/presentation/standards.d.ts +590 -0
  115. package/dist/api/presentation/standards.d.ts.map +1 -0
  116. package/dist/api/presentation/viewPresets.d.ts +222 -0
  117. package/dist/api/presentation/viewPresets.d.ts.map +1 -0
  118. package/dist/api/presentation/views.d.ts +144 -9
  119. package/dist/api/presentation/views.d.ts.map +1 -1
  120. package/dist/api/presentation/walkthroughs.d.ts +1350 -0
  121. package/dist/api/presentation/walkthroughs.d.ts.map +1 -0
  122. package/dist/api/program/departments.d.ts +58 -2
  123. package/dist/api/program/departments.d.ts.map +1 -1
  124. package/dist/api/program/index.d.ts +16 -6
  125. package/dist/api/program/index.d.ts.map +1 -1
  126. package/dist/api/program/labels.d.ts +355 -0
  127. package/dist/api/program/labels.d.ts.map +1 -0
  128. package/dist/api/program/metadata.d.ts +328 -0
  129. package/dist/api/program/metadata.d.ts.map +1 -0
  130. package/dist/api/program/site.d.ts +4 -4
  131. package/dist/api/program/spreadsheet.d.ts +267 -4
  132. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  133. package/dist/api/workspace/index.d.ts +49 -2
  134. package/dist/api/workspace/index.d.ts.map +1 -1
  135. package/dist/errors/codes.d.ts +5 -8
  136. package/dist/errors/codes.d.ts.map +1 -1
  137. package/dist/handles.d.ts +32 -3
  138. package/dist/handles.d.ts.map +1 -1
  139. package/dist/index.cjs +6534 -2865
  140. package/dist/index.cjs.map +1 -1
  141. package/dist/index.d.ts +2 -0
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.js +6118 -2857
  144. package/dist/index.js.map +1 -1
  145. package/dist/massParameters.d.ts +287 -0
  146. package/dist/massParameters.d.ts.map +1 -0
  147. package/dist/massParameters.ops.d.ts +138 -0
  148. package/dist/massParameters.ops.d.ts.map +1 -0
  149. package/package.json +2 -1
  150. package/scripts/check-dist-fresh.mjs +22 -0
  151. package/scripts/generate-manifest.mjs +5 -0
  152. package/scripts/generate-manifest.test.mjs +14 -3
  153. package/src/api/core/camera/index.ts +429 -1
  154. package/src/api/core/geom/create/index.ts +1037 -102
  155. package/src/api/core/geom/query/brep.ts +60 -2
  156. package/src/api/core/geom/query/curve.ts +26 -2
  157. package/src/api/core/geom/query/edge.ts +2 -2
  158. package/src/api/core/geom/query/face.ts +109 -4
  159. package/src/api/core/geom/update/contour.ts +10 -2
  160. package/src/api/core/geom/update/profile.ts +2 -0
  161. package/src/api/core/handles/index.ts +3 -2
  162. package/src/api/core/index.ts +4 -4
  163. package/src/api/core/io/import/index.ts +11 -3
  164. package/src/api/core/layers.ts +380 -173
  165. package/src/api/core/mode/index.ts +19 -7
  166. package/src/api/core/proposals/index.ts +4 -3
  167. package/src/api/core/storeys/index.ts +19 -2
  168. package/src/api/core/storeys/layers.ts +339 -0
  169. package/src/api/core/tags.ts +76 -0
  170. package/src/api/core/zoom/index.ts +13 -0
  171. package/src/api/design/bim.ts +210 -0
  172. package/src/api/design/boolean/index.ts +2 -0
  173. package/src/api/design/catalog.ts +203 -0
  174. package/src/api/design/create/bulk-items.ts +294 -0
  175. package/src/api/design/create/grids.ts +137 -0
  176. package/src/api/design/create/index.ts +824 -141
  177. package/src/api/design/create/opening-fields.ts +40 -0
  178. package/src/api/design/delete/index.ts +6 -20
  179. package/src/api/design/dimensions.ts +453 -0
  180. package/src/api/design/doors/index.ts +64 -41
  181. package/src/api/design/family.ts +1342 -0
  182. package/src/api/design/grids.ts +237 -0
  183. package/src/api/design/index.ts +49 -4
  184. package/src/api/design/networks.ts +607 -0
  185. package/src/api/design/query/geometry/index.ts +35 -4
  186. package/src/api/design/query/grids.ts +197 -0
  187. package/src/api/design/query/index.ts +105 -5
  188. package/src/api/design/query/spaces.ts +0 -68
  189. package/src/api/design/types/index.ts +31 -24
  190. package/src/api/design/update/index.ts +398 -4
  191. package/src/api/design/windows/index.ts +40 -22
  192. package/src/api/entity/buildableEnvelope.ts +77 -2
  193. package/src/api/entity/referenceLine.ts +25 -12
  194. package/src/api/entity/space.ts +0 -2
  195. package/src/api/presentation/annotate.ts +90 -58
  196. package/src/api/presentation/camera.ts +289 -0
  197. package/src/api/presentation/drawingContract.ts +70 -0
  198. package/src/api/presentation/drawings.ts +1179 -0
  199. package/src/api/presentation/export.ts +32 -6
  200. package/src/api/presentation/graphics.ts +324 -0
  201. package/src/api/presentation/index.ts +73 -14
  202. package/src/api/presentation/placedViews.ts +120 -57
  203. package/src/api/presentation/sections.ts +420 -0
  204. package/src/api/presentation/sheets.ts +182 -37
  205. package/src/api/presentation/standards.ts +445 -0
  206. package/src/api/presentation/viewPresets.ts +241 -0
  207. package/src/api/presentation/views.ts +81 -10
  208. package/src/api/presentation/walkthroughs.ts +1201 -0
  209. package/src/api/program/departments.ts +54 -2
  210. package/src/api/program/index.ts +16 -6
  211. package/src/api/program/labels.ts +332 -0
  212. package/src/api/program/metadata.ts +364 -0
  213. package/src/api/program/spreadsheet.ts +282 -0
  214. package/src/api/workspace/index.ts +51 -2
  215. package/src/errors/codes.ts +9 -30
  216. package/src/handles.ts +42 -3
  217. package/src/index.ts +2 -0
  218. package/src/massParameters.ops.ts +246 -0
  219. package/src/massParameters.ts +427 -0
  220. package/test/drawingContract.test.mjs +288 -0
  221. package/test/errors.test.mjs +1 -4
  222. package/test/massParameters.test.mjs +952 -0
  223. package/test/paperPensContract.test.mjs +75 -0
  224. package/test/presentationViewSettings.test.mjs +85 -0
  225. package/api-manifest.full.json +0 -6928
  226. package/snaptrude-plugin-core-0.11.0.tgz +0 -0
@@ -9,9 +9,16 @@ 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, `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.
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)`.
15
22
  *
16
23
  * Accessed via `snaptrude.presentation.sheets`.
17
24
  */
@@ -139,38 +146,75 @@ export declare abstract class PluginPresentationSheetsApi {
139
146
  */
140
147
  abstract setMargin(sheetId: string, margin: PluginSheetMargin): PluginApiReturn<PluginPresentationSheet>;
141
148
  /**
142
- * Place a saved view onto a sheet.
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.
143
184
  *
144
185
  * Drops the given view onto the sheet through the **native view drop** — the
145
186
  * placed shape is a live linked view (the same shape the Present views panel's
146
187
  * drag-drop creates), re-rendered from the current model, so
147
188
  * {@linkcode PluginPresentationSheetsApi.updatePlacedView} refreshes it later.
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.
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.
155
193
  *
156
194
  * @param sheetId - The id of the sheet to place onto.
157
195
  * @param viewId - The id of the saved view to place.
158
196
  * @param options - Optional `position` ({@linkcode PluginSheetPosition}) —
159
- * where to place it (sheet centre when omitted) — `scale` — a standard
160
- * scale value for the project's unit system (2D/site-plan views only;
161
- * auto-fit when omitted) — and `lod` ({@linkcode PluginViewLod}) — the LOD
162
- * of the placed view (default: the product's Design default).
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).
163
200
  * @returns A {@linkcode PluginPresentationSheetsPlaceResult} with the created
164
- * `shapeId`.
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`.)
165
205
  * @throws If Present mode is not open, the sheet/view id is invalid, `scale`
166
206
  * is not a standard value for the project's unit system, or `scale` is
167
- * passed for a 3D view.
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.
168
211
  *
169
212
  * @examplePrompt Place the floor plan on Sheet 1
170
213
  * @examplePrompt Add this 3D view to the cover sheet
171
214
  * @examplePrompt Drop the site plan onto the layout sheet at 100, 200
172
215
  * @examplePrompt Put the Ground Floor view on sheet_1 at 1:100 scale
173
216
  * @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
174
218
  *
175
219
  * # Example
176
220
  * ```ts
@@ -182,8 +226,71 @@ export declare abstract class PluginPresentationSheetsApi {
182
226
  abstract place(sheetId: string, viewId: string, options?: {
183
227
  position?: PluginSheetPosition;
184
228
  scale?: number;
185
- lod?: PluginViewLod;
186
229
  }): 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>;
187
294
  /**
188
295
  * Rename a layout sheet.
189
296
  *
@@ -389,17 +496,6 @@ export declare const PluginSheetPosition: z.ZodObject<{
389
496
  y: z.ZodNumber;
390
497
  }, z.core.$strip>;
391
498
  export type PluginSheetPosition = z.infer<typeof PluginSheetPosition>;
392
- /**
393
- * The level of detail a placed view renders at: `"design"` (the Design-mode
394
- * massing representation) or `"bim"` (the detailed BIM representation).
395
- * Shared by `sheets.place` and `placedViews.*` (defined here because
396
- * `placedViews` already imports from this module).
397
- */
398
- export declare const PluginViewLod: z.ZodEnum<{
399
- design: "design";
400
- bim: "bim";
401
- }>;
402
- export type PluginViewLod = z.infer<typeof PluginViewLod>;
403
499
  /** Result of {@linkcode PluginPresentationSheetsApi.list}. */
404
500
  export declare const PluginPresentationSheetsListResult: z.ZodObject<{
405
501
  sheets: z.ZodArray<z.ZodObject<{
@@ -532,9 +628,8 @@ export type PluginPresentationSheetsSetMarginArgs = z.infer<typeof PluginPresent
532
628
  * |---|---|---|
533
629
  * | `sheetId` | `string` | The sheet to place onto |
534
630
  * | `viewId` | `string` | The saved view to place |
535
- * | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Where to place it (sheet centre when omitted) |
536
- * | `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) |
537
- * | `lod` | {@linkcode PluginViewLod}` \| undefined` | LOD of the placed view (default: the product's Design default) |
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) |
538
633
  */
539
634
  export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
540
635
  sheetId: z.ZodString;
@@ -544,23 +639,66 @@ export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
544
639
  y: z.ZodNumber;
545
640
  }, z.core.$strip>>;
546
641
  scale: z.ZodOptional<z.ZodNumber>;
547
- lod: z.ZodOptional<z.ZodEnum<{
548
- design: "design";
549
- bim: "bim";
550
- }>>;
551
642
  }, z.core.$strip>;
552
643
  export type PluginPresentationSheetsPlaceArgs = z.infer<typeof PluginPresentationSheetsPlaceArgs>;
553
644
  /**
554
- * Result of {@linkcode PluginPresentationSheetsApi.place}.
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.
555
668
  *
556
669
  * | Property | Type | Description |
557
670
  * |---|---|---|
558
671
  * | `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 |
559
676
  */
560
677
  export declare const PluginPresentationSheetsPlaceResult: z.ZodObject<{
561
678
  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>;
562
683
  }, z.core.$strip>;
563
684
  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>;
564
702
  /**
565
703
  * Arguments for {@linkcode PluginPresentationSheetsApi.rename}.
566
704
  *
@@ -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;AAE7C;;;;;;;;;;;;;;GAcG;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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