@snaptrude/plugin-core 0.9.13 → 0.9.15

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 (101) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/api-manifest.full.json +8930 -0
  3. package/api-manifest.json +1002 -55
  4. package/dist/api/core/geom/create/index.d.ts +935 -100
  5. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  6. package/dist/api/core/geom/query/brep.d.ts +59 -2
  7. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  8. package/dist/api/core/geom/query/curve.d.ts +59 -35
  9. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/edge.d.ts +2 -2
  11. package/dist/api/core/geom/query/face.d.ts +105 -0
  12. package/dist/api/core/geom/query/face.d.ts.map +1 -1
  13. package/dist/api/core/geom/update/contour.d.ts +2 -0
  14. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  15. package/dist/api/core/geom/update/curve.d.ts +5 -5
  16. package/dist/api/core/geom/update/profile.d.ts +3 -1
  17. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  18. package/dist/api/core/handles/index.d.ts +4 -2
  19. package/dist/api/core/handles/index.d.ts.map +1 -1
  20. package/dist/api/core/index.d.ts +4 -4
  21. package/dist/api/core/index.d.ts.map +1 -1
  22. package/dist/api/core/layers.d.ts +377 -255
  23. package/dist/api/core/layers.d.ts.map +1 -1
  24. package/dist/api/core/proposals/index.d.ts +4 -3
  25. package/dist/api/core/proposals/index.d.ts.map +1 -1
  26. package/dist/api/core/storeys/index.d.ts +12 -0
  27. package/dist/api/core/storeys/index.d.ts.map +1 -1
  28. package/dist/api/core/storeys/layers.d.ts +408 -0
  29. package/dist/api/core/storeys/layers.d.ts.map +1 -0
  30. package/dist/api/core/tags.d.ts +3 -3
  31. package/dist/api/design/create/bulk-items.d.ts +44 -0
  32. package/dist/api/design/create/bulk-items.d.ts.map +1 -1
  33. package/dist/api/design/create/grids.d.ts +1 -1
  34. package/dist/api/design/create/index.d.ts +31 -3
  35. package/dist/api/design/create/index.d.ts.map +1 -1
  36. package/dist/api/design/family.d.ts +67 -10
  37. package/dist/api/design/family.d.ts.map +1 -1
  38. package/dist/api/design/query/geometry/index.d.ts +33 -5
  39. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  40. package/dist/api/design/query/grids.d.ts +3 -3
  41. package/dist/api/design/query/index.d.ts +47 -0
  42. package/dist/api/design/query/index.d.ts.map +1 -1
  43. package/dist/api/design/query/spaces.d.ts +5 -5
  44. package/dist/api/design/selection/index.d.ts +2 -2
  45. package/dist/api/design/update/index.d.ts +172 -0
  46. package/dist/api/design/update/index.d.ts.map +1 -1
  47. package/dist/api/entity/referenceLine.d.ts +1 -1
  48. package/dist/api/entity/space.d.ts +4 -4
  49. package/dist/api/entity/story.d.ts +4 -4
  50. package/dist/api/presentation/aiInspiration.d.ts +13 -13
  51. package/dist/api/presentation/camera.d.ts +265 -0
  52. package/dist/api/presentation/camera.d.ts.map +1 -0
  53. package/dist/api/presentation/index.d.ts +5 -0
  54. package/dist/api/presentation/index.d.ts.map +1 -1
  55. package/dist/api/presentation/placedViews.d.ts +1 -1
  56. package/dist/api/presentation/views.d.ts +3 -1
  57. package/dist/api/presentation/views.d.ts.map +1 -1
  58. package/dist/api/program/site.d.ts +4 -4
  59. package/dist/api/program/spreadsheet.d.ts +4 -4
  60. package/dist/handles.d.ts +13 -3
  61. package/dist/handles.d.ts.map +1 -1
  62. package/dist/index.cjs +3638 -2958
  63. package/dist/index.cjs.map +1 -1
  64. package/dist/index.d.ts +2 -0
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +3558 -2955
  67. package/dist/index.js.map +1 -1
  68. package/dist/massParameters.d.ts +287 -0
  69. package/dist/massParameters.d.ts.map +1 -0
  70. package/dist/massParameters.ops.d.ts +138 -0
  71. package/dist/massParameters.ops.d.ts.map +1 -0
  72. package/package.json +2 -1
  73. package/scripts/check-dist-fresh.mjs +22 -0
  74. package/scripts/generate-manifest.test.mjs +14 -3
  75. package/src/api/core/geom/create/index.ts +1030 -101
  76. package/src/api/core/geom/query/brep.ts +60 -2
  77. package/src/api/core/geom/query/curve.ts +26 -2
  78. package/src/api/core/geom/query/edge.ts +2 -2
  79. package/src/api/core/geom/query/face.ts +109 -4
  80. package/src/api/core/geom/update/contour.ts +2 -0
  81. package/src/api/core/geom/update/profile.ts +2 -0
  82. package/src/api/core/handles/index.ts +3 -2
  83. package/src/api/core/index.ts +4 -4
  84. package/src/api/core/layers.ts +380 -173
  85. package/src/api/core/proposals/index.ts +4 -3
  86. package/src/api/core/storeys/index.ts +14 -0
  87. package/src/api/core/storeys/layers.ts +339 -0
  88. package/src/api/design/create/bulk-items.ts +68 -0
  89. package/src/api/design/create/index.ts +30 -4
  90. package/src/api/design/family.ts +68 -10
  91. package/src/api/design/query/geometry/index.ts +35 -4
  92. package/src/api/design/query/index.ts +50 -0
  93. package/src/api/design/update/index.ts +186 -1
  94. package/src/api/presentation/camera.ts +289 -0
  95. package/src/api/presentation/index.ts +5 -0
  96. package/src/api/presentation/views.ts +3 -1
  97. package/src/handles.ts +18 -3
  98. package/src/index.ts +2 -0
  99. package/src/massParameters.ops.ts +246 -0
  100. package/src/massParameters.ts +427 -0
  101. package/test/massParameters.test.mjs +952 -0
@@ -0,0 +1,265 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../types";
3
+ import { PluginPresentationImageFormat } from "./views";
4
+ /**
5
+ * The Present-mode canvas camera — the Present-mode twin of
6
+ * {@linkcode PluginCameraApi} (`core.camera`).
7
+ *
8
+ * Present mode lays sheets out on an infinite 2D canvas; its camera is a pan
9
+ * (`x`, `y`) and a `zoom`. A plugin can screenshot what that canvas currently
10
+ * shows, read the camera, pan/zoom it, or frame all sheets or one shape.
11
+ *
12
+ * These are transient VIEW-STATE changes: not model edits, so they are not
13
+ * write-gated and not undoable. Every method requires **Present mode to be
14
+ * open** (the documentation editor) and throws `PRECONDITION_FAILED` when it is
15
+ * closed. `capture` is the Present-mode counterpart of
16
+ * {@linkcode PluginPresentationViewsApi.capture}, which shoots the Design
17
+ * (3D) canvas; for whole sheets at their own size use
18
+ * {@linkcode PluginPresentationApi.export}.
19
+ *
20
+ * Coordinates are Present canvas page units (pixels at 100% zoom), the same
21
+ * space `sheets`, `placedViews` and `shapes` report positions in. `zoom` is a
22
+ * factor: `1` = 100%, `0.5` = zoomed out to half size.
23
+ *
24
+ * Accessed via `snaptrude.presentation.camera`.
25
+ */
26
+ export declare abstract class PluginPresentationCameraApi {
27
+ constructor();
28
+ /**
29
+ * Screenshot what the Present canvas currently shows.
30
+ *
31
+ * Captures exactly the visible area — the canvas as clipped by the window,
32
+ * minus the strip under the floating left sidebar — at the current pan and
33
+ * zoom, rendered
34
+ * through the same pipeline as the Present-mode Export dialog, so sheets,
35
+ * placed views, text, annotations and imported images look as they do on
36
+ * screen. Selection handles, cursors and the UI itself are not part of the
37
+ * image. Nothing on screen still yields an image (the export backdrop).
38
+ * Export-pipeline details, as in the Export dialog: sheet frames themselves
39
+ * are not drawn (no paper, margin guides or name label — editor chrome), the
40
+ * backdrop is tldraw's near-white export backdrop rather than the on-screen
41
+ * canvas grey, and with exactly one sheet in view it is white. Only the left
42
+ * sidebar is subtracted from the view; floating right-hand panels are not.
43
+ *
44
+ * @param options - All optional: `format` (`"png"` default, or `"jpeg"`),
45
+ * `pixelRatio` (output pixels per screen pixel, `1`–`4`, default `1`;
46
+ * `2` for a retina-sharp image).
47
+ * @returns A {@linkcode PluginPresentationCameraCaptureResult}: the base64
48
+ * data URL and its pixel size.
49
+ * @throws If Present mode is not open.
50
+ *
51
+ * @examplePrompt Take a screenshot of the Present canvas
52
+ * @examplePrompt Capture what I am looking at in Present mode
53
+ * @examplePrompt Screenshot the presentation canvas as a JPEG
54
+ * @examplePrompt Grab a high-res image of the current sheet view
55
+ *
56
+ * # Example
57
+ * ```ts
58
+ * const { image, width, height } = await snaptrude.presentation.camera.capture({
59
+ * format: "png",
60
+ * pixelRatio: 2,
61
+ * })
62
+ * ```
63
+ */
64
+ abstract capture(options?: {
65
+ format?: PluginPresentationImageFormat;
66
+ pixelRatio?: number;
67
+ }): PluginApiReturn<PluginPresentationCameraCaptureResult>;
68
+ /**
69
+ * Read the Present camera: pan, zoom, the visible page-space rectangle and
70
+ * the sheet under the centre of the view.
71
+ *
72
+ * @returns The current {@linkcode PluginPresentationCameraState}.
73
+ * @throws If Present mode is not open.
74
+ *
75
+ * @examplePrompt Where is the Present canvas camera?
76
+ * @examplePrompt What zoom level is Present mode at?
77
+ * @examplePrompt Which sheet is on screen right now?
78
+ * @examplePrompt Read the visible area of the presentation canvas
79
+ *
80
+ * # Example
81
+ * ```ts
82
+ * const { zoom, sheetId } = await snaptrude.presentation.camera.get()
83
+ * ```
84
+ */
85
+ abstract get(): PluginApiReturn<PluginPresentationCameraState>;
86
+ /**
87
+ * Pan and/or zoom the Present canvas. Fields left out keep their current
88
+ * value, so `{ zoom: 2 }` changes only the zoom (the page point at the
89
+ * viewport's top-left corner stays put) and `{ x, y }` pans at the current
90
+ * zoom. `zoom` is clamped to the editor's range (1% to 1000%); the requested
91
+ * `x`/`y` are always honoured. Immediate (no animation). View-state only —
92
+ * not undoable.
93
+ *
94
+ * `x`/`y` are the camera offset in page units: the page point that lands at
95
+ * the viewport's top-left corner is `(-x, -y)`. Read them back from
96
+ * {@linkcode PluginPresentationCameraApi.get} to reproduce a framing later.
97
+ *
98
+ * @param camera - Any of `x`, `y`, `zoom` ({@linkcode PluginPresentationCameraSetArgs}); at least one.
99
+ * @returns The resulting {@linkcode PluginPresentationCameraState}.
100
+ * @throws If Present mode is not open, or another Present-mode control has
101
+ * locked the camera (an open style dropdown, AI Inspiration's layout mode).
102
+ *
103
+ * @examplePrompt Zoom the Present canvas to 50%
104
+ * @examplePrompt Pan the presentation canvas to the right
105
+ * @examplePrompt Restore the Present camera I saved earlier
106
+ * @examplePrompt Set the Present zoom to 200% without moving
107
+ *
108
+ * # Example
109
+ * ```ts
110
+ * const saved = await snaptrude.presentation.camera.get()
111
+ * await snaptrude.presentation.camera.set({ zoom: 0.5 })
112
+ * // …later, restore the exact framing
113
+ * await snaptrude.presentation.camera.set({ x: saved.x, y: saved.y, zoom: saved.zoom })
114
+ * ```
115
+ */
116
+ abstract set(camera: {
117
+ x?: number;
118
+ y?: number;
119
+ zoom?: number;
120
+ }): PluginApiReturn<PluginPresentationCameraState>;
121
+ /**
122
+ * Frame everything on the Present canvas — every sheet and loose shape — the
123
+ * Present-mode "zoom to fit". View-state only — not undoable.
124
+ *
125
+ * @returns The resulting {@linkcode PluginPresentationCameraState}.
126
+ * @throws If Present mode is not open, or the camera is locked.
127
+ *
128
+ * @examplePrompt Zoom out to see all the sheets
129
+ * @examplePrompt Fit the whole presentation in the Present view
130
+ * @examplePrompt Zoom to fit in Present mode
131
+ *
132
+ * # Example
133
+ * ```ts
134
+ * await snaptrude.presentation.camera.zoomToFit()
135
+ * ```
136
+ */
137
+ abstract zoomToFit(): PluginApiReturn<PluginPresentationCameraState>;
138
+ /**
139
+ * Frame one shape on the Present canvas: a sheet, a placed view, a keyed
140
+ * shape or an annotation — any id the other `presentation` namespaces hand
141
+ * out. Pair with {@linkcode PluginPresentationCameraApi.capture} to
142
+ * screenshot a single sheet or placed view as it appears on screen.
143
+ * Immediate, unlike `sheets.setActive`, which animates its move over half a
144
+ * second. View-state only — not undoable.
145
+ *
146
+ * @param shapeId - The id of the sheet or shape to frame.
147
+ * @returns The resulting {@linkcode PluginPresentationCameraState}.
148
+ * @throws If Present mode is not open, the id is unknown, or the camera is locked.
149
+ *
150
+ * @examplePrompt Zoom in on sheet 2 in Present mode
151
+ * @examplePrompt Frame this placed view on the Present canvas
152
+ * @examplePrompt Go to the cover sheet and screenshot it
153
+ * @examplePrompt Centre the presentation view on that table
154
+ *
155
+ * # Example
156
+ * ```ts
157
+ * const { sheets } = await snaptrude.presentation.sheets.list()
158
+ * await snaptrude.presentation.camera.zoomTo(sheets[1].id)
159
+ * const { image } = await snaptrude.presentation.camera.capture()
160
+ * ```
161
+ */
162
+ abstract zoomTo(shapeId: string): PluginApiReturn<PluginPresentationCameraState>;
163
+ }
164
+ /**
165
+ * The visible area of the Present canvas in page units — the canvas as
166
+ * clipped by the window, minus the strip under the floating left sidebar.
167
+ *
168
+ * | Property | Type | Description |
169
+ * |---|---|---|
170
+ * | `x` | `number` | Left edge (page units) |
171
+ * | `y` | `number` | Top edge (page units) |
172
+ * | `width` | `number` | Width (page units) |
173
+ * | `height` | `number` | Height (page units) |
174
+ */
175
+ export declare const PluginPresentationCameraViewport: z.ZodObject<{
176
+ x: z.ZodNumber;
177
+ y: z.ZodNumber;
178
+ width: z.ZodNumber;
179
+ height: z.ZodNumber;
180
+ }, z.core.$strip>;
181
+ export type PluginPresentationCameraViewport = z.infer<typeof PluginPresentationCameraViewport>;
182
+ /**
183
+ * The Present canvas camera as returned by every
184
+ * {@linkcode PluginPresentationCameraApi} method.
185
+ *
186
+ * | Property | Type | Description |
187
+ * |---|---|---|
188
+ * | `x` | `number` | Camera pan offset (page units): the page point at the tldraw viewport's top-left corner (under the sidebar) is `(-x, -y)` |
189
+ * | `y` | `number` | Camera pan offset (page units) |
190
+ * | `zoom` | `number` | Zoom factor, `1` = 100% |
191
+ * | `viewport` | {@linkcode PluginPresentationCameraViewport} | The visible page-space rectangle |
192
+ * | `sheetId` | `string \| null` | The sheet under the centre of the view, or `null` when none |
193
+ */
194
+ export declare const PluginPresentationCameraState: z.ZodObject<{
195
+ x: z.ZodNumber;
196
+ y: z.ZodNumber;
197
+ zoom: z.ZodNumber;
198
+ viewport: z.ZodObject<{
199
+ x: z.ZodNumber;
200
+ y: z.ZodNumber;
201
+ width: z.ZodNumber;
202
+ height: z.ZodNumber;
203
+ }, z.core.$strip>;
204
+ sheetId: z.ZodNullable<z.ZodString>;
205
+ }, z.core.$strip>;
206
+ export type PluginPresentationCameraState = z.infer<typeof PluginPresentationCameraState>;
207
+ /**
208
+ * Arguments for {@linkcode PluginPresentationCameraApi.set}. All optional, at
209
+ * least one required; omitted fields keep their current value.
210
+ *
211
+ * | Property | Type | Description |
212
+ * |---|---|---|
213
+ * | `x` | `number \| undefined` | Camera pan offset (page units) |
214
+ * | `y` | `number \| undefined` | Camera pan offset (page units) |
215
+ * | `zoom` | `number \| undefined` | Zoom factor, `> 0` (`1` = 100%); clamped to the editor's range (`0.01`–`10`), `x`/`y` still honoured |
216
+ */
217
+ export declare const PluginPresentationCameraSetArgs: z.ZodObject<{
218
+ x: z.ZodOptional<z.ZodNumber>;
219
+ y: z.ZodOptional<z.ZodNumber>;
220
+ zoom: z.ZodOptional<z.ZodNumber>;
221
+ }, z.core.$strip>;
222
+ export type PluginPresentationCameraSetArgs = z.infer<typeof PluginPresentationCameraSetArgs>;
223
+ /**
224
+ * Arguments for {@linkcode PluginPresentationCameraApi.zoomTo}.
225
+ *
226
+ * | Property | Type | Description |
227
+ * |---|---|---|
228
+ * | `shapeId` | `string` | The sheet or shape to frame |
229
+ */
230
+ export declare const PluginPresentationCameraZoomToArgs: z.ZodObject<{
231
+ shapeId: z.ZodString;
232
+ }, z.core.$strip>;
233
+ export type PluginPresentationCameraZoomToArgs = z.infer<typeof PluginPresentationCameraZoomToArgs>;
234
+ /**
235
+ * Arguments for {@linkcode PluginPresentationCameraApi.capture}. All optional.
236
+ *
237
+ * | Property | Type | Description |
238
+ * |---|---|---|
239
+ * | `format` | `"png" \| "jpeg" \| undefined` | Output image format (default `"png"`) |
240
+ * | `pixelRatio` | `number \| undefined` | Output pixels per screen pixel, `1`–`4` (default `1`) |
241
+ */
242
+ export declare const PluginPresentationCameraCaptureArgs: z.ZodObject<{
243
+ format: z.ZodOptional<z.ZodEnum<{
244
+ png: "png";
245
+ jpeg: "jpeg";
246
+ }>>;
247
+ pixelRatio: z.ZodOptional<z.ZodNumber>;
248
+ }, z.core.$strip>;
249
+ export type PluginPresentationCameraCaptureArgs = z.infer<typeof PluginPresentationCameraCaptureArgs>;
250
+ /**
251
+ * Result of {@linkcode PluginPresentationCameraApi.capture}.
252
+ *
253
+ * | Property | Type | Description |
254
+ * |---|---|---|
255
+ * | `image` | `string` | The screenshot as a base64 data URL (`data:image/png;base64,…`) |
256
+ * | `width` | `number` | Image width in pixels |
257
+ * | `height` | `number` | Image height in pixels |
258
+ */
259
+ export declare const PluginPresentationCameraCaptureResult: z.ZodObject<{
260
+ image: z.ZodString;
261
+ width: z.ZodNumber;
262
+ height: z.ZodNumber;
263
+ }, z.core.$strip>;
264
+ export type PluginPresentationCameraCaptureResult = z.infer<typeof PluginPresentationCameraCaptureResult>;
265
+ //# sourceMappingURL=camera.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camera.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/camera.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAA;AAEvD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,8BAAsB,2BAA2B;;IAG/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;aACa,OAAO,CAAC,OAAO,CAAC,EAAE;QAChC,MAAM,CAAC,EAAE,6BAA6B,CAAA;QACtC,UAAU,CAAC,EAAE,MAAM,CAAA;KACpB,GAAG,eAAe,CAAC,qCAAqC,CAAC;IAE1D;;;;;;;;;;;;;;;;OAgBG;aACa,GAAG,IAAI,eAAe,CAAC,6BAA6B,CAAC;IAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;aACa,GAAG,CAAC,MAAM,EAAE;QAC1B,CAAC,CAAC,EAAE,MAAM,CAAA;QACV,CAAC,CAAC,EAAE,MAAM,CAAA;QACV,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,GAAG,eAAe,CAAC,6BAA6B,CAAC;IAElD;;;;;;;;;;;;;;;OAeG;aACa,SAAS,IAAI,eAAe,CAAC,6BAA6B,CAAC;IAE3E;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,MAAM,CACpB,OAAO,EAAE,MAAM,GACd,eAAe,CAAC,6BAA6B,CAAC;CAClD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gCAAgC;;;;;iBAK3C,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBAMxC,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,6BAA6B,CACrC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,+BAA+B;;;;iBAWzC,CAAA;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC;;;;;;iBAG9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,qCAAqC;;;;iBAIhD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import { PluginApiReturn } from "../../types";
2
2
  import { PluginPresentationViewsApi } from "./views";
3
+ import { PluginPresentationCameraApi } from "./camera";
3
4
  import { PluginPresentationAIInspirationApi } from "./aiInspiration";
4
5
  import { PluginPresentationSheetsApi } from "./sheets";
5
6
  import { PluginPresentationPlacedViewsApi } from "./placedViews";
@@ -21,6 +22,7 @@ import { PluginPresentationExportResult, type PluginPresentationExportFormat, ty
21
22
  * sheets, diagram placement, and import.
22
23
  *
23
24
  * - {@linkcode PluginPresentationApi.views} — Saved 2D/3D views (list, get, capture, activate, create)
25
+ * - {@linkcode PluginPresentationApi.camera} — The Present canvas camera (screenshot, pan/zoom, frame sheets)
24
26
  * - {@linkcode PluginPresentationApi.sheets} — Layout sheets (list, get, create, place views)
25
27
  * - {@linkcode PluginPresentationApi.placedViews} — Views already placed on the canvas (move, scale, crop)
26
28
  * - {@linkcode PluginPresentationApi.diagrams} — Generate program/site diagram sheets, place diagram images
@@ -34,6 +36,8 @@ import { PluginPresentationExportResult, type PluginPresentationExportFormat, ty
34
36
  export declare abstract class PluginPresentationApi {
35
37
  /** Saved 2D/3D views. See {@linkcode PluginPresentationViewsApi}. */
36
38
  abstract views: PluginPresentationViewsApi;
39
+ /** The Present canvas camera — screenshot what is on screen, read/pan/zoom it, frame sheets (Present mode). See {@linkcode PluginPresentationCameraApi}. */
40
+ abstract camera: PluginPresentationCameraApi;
37
41
  /** Layout sheets — list/get/create and place views (Present mode). See {@linkcode PluginPresentationSheetsApi}. */
38
42
  abstract sheets: PluginPresentationSheetsApi;
39
43
  /** Placed views — layout of the view shapes on the canvas: move/scale/setScale/setCrop (Present mode). See {@linkcode PluginPresentationPlacedViewsApi}. */
@@ -89,6 +93,7 @@ export declare abstract class PluginPresentationApi {
89
93
  constructor();
90
94
  }
91
95
  export * from "./views";
96
+ export * from "./camera";
92
97
  export * from "./sheets";
93
98
  export * from "./placedViews";
94
99
  export * from "./diagrams";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AACpD,OAAO,EA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Ac,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA"}
@@ -1053,8 +1053,8 @@ export type PluginPlacedViewsSetLabelHiddenArgs = z.infer<typeof PluginPlacedVie
1053
1053
  * user annotation, a plain image, or other.
1054
1054
  */
1055
1055
  export declare const PluginCanvasShapeOrigin: z.ZodEnum<{
1056
- image: "image";
1057
1056
  view: "view";
1057
+ image: "image";
1058
1058
  aiOutput: "aiOutput";
1059
1059
  diagram: "diagram";
1060
1060
  pluginShape: "pluginShape";
@@ -76,7 +76,9 @@ export declare abstract class PluginPresentationViewsApi {
76
76
  *
77
77
  * Captures the **current** viewport by default; pass `viewId` to capture a
78
78
  * specific saved view (which briefly applies that view to the scene). Use
79
- * `format`/`resolution` to control the output.
79
+ * `format`/`resolution` to control the output. This shoots the Design (3D)
80
+ * canvas; to screenshot the Present canvas use
81
+ * {@linkcode PluginPresentationCameraApi.capture}.
80
82
  *
81
83
  * @param options - All optional: `viewId` (capture this saved view; omit for the
82
84
  * current viewport), `format` (default `"png"`), `resolution` (e.g. `"1280x720"`).
@@ -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;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,OAAO,CAAC,OAAO,CAAC,EAAE;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ED;;;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"}
@@ -703,8 +703,8 @@ export type PluginProgramSiteWeatherResult = z.infer<typeof PluginProgramSiteWea
703
703
  * never appears — the backend synonym resolves to `front`.
704
704
  */
705
705
  export declare const PluginProgramSiteEdgeRole: z.ZodEnum<{
706
- front: "front";
707
706
  side: "side";
707
+ front: "front";
708
708
  rear: "rear";
709
709
  }>;
710
710
  export type PluginProgramSiteEdgeRole = z.infer<typeof PluginProgramSiteEdgeRole>;
@@ -733,8 +733,8 @@ export declare const PluginProgramSiteEdge: z.ZodObject<{
733
733
  }, z.core.$strip>;
734
734
  lengthMeters: z.ZodNumber;
735
735
  role: z.ZodEnum<{
736
- front: "front";
737
736
  side: "side";
737
+ front: "front";
738
738
  rear: "rear";
739
739
  }>;
740
740
  roleSource: z.ZodEnum<{
@@ -772,8 +772,8 @@ export declare const PluginProgramSiteEdgesEntry: z.ZodObject<{
772
772
  }, z.core.$strip>;
773
773
  lengthMeters: z.ZodNumber;
774
774
  role: z.ZodEnum<{
775
- front: "front";
776
775
  side: "side";
776
+ front: "front";
777
777
  rear: "rear";
778
778
  }>;
779
779
  roleSource: z.ZodEnum<{
@@ -807,8 +807,8 @@ export declare const PluginProgramSiteListEdgesResult: z.ZodObject<{
807
807
  }, z.core.$strip>;
808
808
  lengthMeters: z.ZodNumber;
809
809
  role: z.ZodEnum<{
810
- front: "front";
811
810
  side: "side";
811
+ front: "front";
812
812
  rear: "rear";
813
813
  }>;
814
814
  roleSource: z.ZodEnum<{
@@ -1668,8 +1668,8 @@ export declare const PluginProgramSpreadsheetSetFormulasResult: z.ZodObject<{
1668
1668
  export type PluginProgramSpreadsheetSetFormulasResult = z.infer<typeof PluginProgramSpreadsheetSetFormulasResult>;
1669
1669
  /** Font weight for a {@linkcode PluginSpreadsheetCellStyle}. */
1670
1670
  export declare const PluginSpreadsheetFontWeight: z.ZodEnum<{
1671
- normal: "normal";
1672
1671
  bold: "bold";
1672
+ normal: "normal";
1673
1673
  }>;
1674
1674
  export type PluginSpreadsheetFontWeight = z.infer<typeof PluginSpreadsheetFontWeight>;
1675
1675
  /** Font style for a {@linkcode PluginSpreadsheetCellStyle}. */
@@ -1717,8 +1717,8 @@ export declare const PluginSpreadsheetCellStyle: z.ZodObject<{
1717
1717
  fontFamily: z.ZodOptional<z.ZodString>;
1718
1718
  fontSize: z.ZodOptional<z.ZodNumber>;
1719
1719
  fontWeight: z.ZodOptional<z.ZodEnum<{
1720
- normal: "normal";
1721
1720
  bold: "bold";
1721
+ normal: "normal";
1722
1722
  }>>;
1723
1723
  fontStyle: z.ZodOptional<z.ZodEnum<{
1724
1724
  normal: "normal";
@@ -1755,8 +1755,8 @@ export declare const PluginSpreadsheetRangeStyle: z.ZodObject<{
1755
1755
  fontFamily: z.ZodOptional<z.ZodString>;
1756
1756
  fontSize: z.ZodOptional<z.ZodNumber>;
1757
1757
  fontWeight: z.ZodOptional<z.ZodEnum<{
1758
- normal: "normal";
1759
1758
  bold: "bold";
1759
+ normal: "normal";
1760
1760
  }>>;
1761
1761
  fontStyle: z.ZodOptional<z.ZodEnum<{
1762
1762
  normal: "normal";
@@ -1796,8 +1796,8 @@ export declare const PluginProgramSpreadsheetSetStylesArgs: z.ZodObject<{
1796
1796
  fontFamily: z.ZodOptional<z.ZodString>;
1797
1797
  fontSize: z.ZodOptional<z.ZodNumber>;
1798
1798
  fontWeight: z.ZodOptional<z.ZodEnum<{
1799
- normal: "normal";
1800
1799
  bold: "bold";
1800
+ normal: "normal";
1801
1801
  }>>;
1802
1802
  fontStyle: z.ZodOptional<z.ZodEnum<{
1803
1803
  normal: "normal";
package/dist/handles.d.ts CHANGED
@@ -116,8 +116,17 @@ export type Vec3Handle = Handle<"vec3">;
116
116
  export type QuatHandle = Handle<"quat">;
117
117
  export type LineHandle = Handle<"line">;
118
118
  export type ArcHandle = Handle<"arc">;
119
- /** A curve is a line or an arc — its handle is one of those kinds. */
120
- export type CurveHandle = LineHandle | ArcHandle;
119
+ /**
120
+ * A NURBS curve value handle (open B-spline curve). Minted by
121
+ * `core.geom.create.splineFromPoints` / `splineFromControlPoints`, and returned by
122
+ * `edge.getCurve`, `profile.listCurves` and `update.curve.reverse` for a spline run;
123
+ * accepted everywhere a {@linkcode CurveHandle} is (profileFromCurves, query.curve.*).
124
+ * Closed spline loops never exist as a single handle — a closed run is built
125
+ * directly as a profile via `core.geom.create.profileFromSplinePoints`.
126
+ */
127
+ export type SplineHandle = Handle<"spline">;
128
+ /** A curve is a line, an arc, or a spline — its handle is one of those kinds. */
129
+ export type CurveHandle = LineHandle | ArcHandle | SplineHandle;
121
130
  /**
122
131
  * A circle value handle. A circle is a CLOSED curve — it deliberately does NOT
123
132
  * join {@linkcode CurveHandle} (it has no stable start/end and would break the
@@ -196,7 +205,8 @@ export declare const Vec3Handle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unk
196
205
  export declare const QuatHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"quat">, string>>;
197
206
  export declare const LineHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"line">, string>>;
198
207
  export declare const ArcHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"arc">, string>>;
199
- export declare const CurveHandle: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"arc">, string>>]>;
208
+ export declare const SplineHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"spline">, string>>;
209
+ export declare const CurveHandle: z.ZodUnion<readonly [typeof LineHandle, typeof ArcHandle, typeof SplineHandle]>;
200
210
  export declare const CircleHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"circle">, string>>;
201
211
  export declare const BrepHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"brep">, string>>;
202
212
  export declare const FaceHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>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