@snaptrude/plugin-core 0.9.15 → 0.9.16-networks-20261008.1
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.
- package/CHANGELOG.md +6 -0
- package/dist/api/analysis/daylight.d.ts +5 -5
- package/dist/api/analysis/solar.d.ts +2 -2
- package/dist/api/core/camera/index.d.ts +418 -0
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/design/bim.d.ts +209 -0
- package/dist/api/design/bim.d.ts.map +1 -0
- package/dist/api/design/catalog.d.ts +242 -0
- package/dist/api/design/catalog.d.ts.map +1 -0
- package/dist/api/design/create/bulk-items.d.ts +11 -3
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +47 -20
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/family.d.ts +576 -12
- package/dist/api/design/family.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +16 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/networks.d.ts +1703 -0
- package/dist/api/design/networks.d.ts.map +1 -0
- package/dist/api/design/query/index.d.ts +30 -30
- package/dist/api/design/selection/index.d.ts +10 -10
- package/dist/api/design/types/index.d.ts +40 -24
- package/dist/api/design/types/index.d.ts.map +1 -1
- package/dist/api/design/update/index.d.ts +40 -3
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/presentation/aiInspiration.d.ts +10 -10
- package/dist/api/presentation/index.d.ts +9 -0
- package/dist/api/presentation/index.d.ts.map +1 -1
- package/dist/api/presentation/walkthroughs.d.ts +1350 -0
- package/dist/api/presentation/walkthroughs.d.ts.map +1 -0
- package/dist/index.cjs +3255 -2176
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3146 -2176
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/generate-manifest.mjs +5 -0
- package/src/api/core/camera/index.ts +400 -1
- package/src/api/design/bim.ts +121 -0
- package/src/api/design/catalog.ts +128 -0
- package/src/api/design/create/bulk-items.ts +6 -2
- package/src/api/design/create/index.ts +62 -32
- package/src/api/design/family.ts +448 -17
- package/src/api/design/index.ts +34 -4
- package/src/api/design/networks.ts +607 -0
- package/src/api/design/types/index.ts +31 -24
- package/src/api/design/update/index.ts +41 -3
- package/src/api/presentation/index.ts +9 -0
- package/src/api/presentation/walkthroughs.ts +1201 -0
- package/api-manifest.full.json +0 -8930
- package/api-manifest.json +0 -9318
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../../src/api/design/networks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AA2BlD;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;kBAqCvB,CAAA;AACX,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAazE;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiDzB,CAAA;AACX,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,mBAAmB;;;;;;EAM9B,CAAA;AASF;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmBrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAsCD;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,sGAAsG;IACtG,QAAQ,CAAC,GAAG,CACV,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,GACnC,eAAe,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAC5C,8GAA8G;IAC9G,QAAQ,CAAC,KAAK,CACZ,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,GACrC,eAAe,CAAC,kBAAkB,CAAC;CACvC;AAED,0GAA0G;AAC1G,8BAAsB,mBAAoB,SAAQ,sBAAsB;CAAG;AAC3E,2FAA2F;AAC3F,8BAAsB,iBAAkB,SAAQ,sBAAsB;CAAG;AACzE,0GAA0G;AAC1G,8BAAsB,mBAAoB,SAAQ,sBAAsB;CAAG"}
|
|
@@ -39,14 +39,14 @@ export declare const PluginEntityType: z.ZodEnum<{
|
|
|
39
39
|
floor: "floor";
|
|
40
40
|
wall: "wall";
|
|
41
41
|
ceiling: "ceiling";
|
|
42
|
-
door: "door";
|
|
43
|
-
window: "window";
|
|
44
|
-
furniture: "furniture";
|
|
45
|
-
space: "space";
|
|
46
42
|
slab: "slab";
|
|
47
43
|
roof: "roof";
|
|
48
|
-
|
|
44
|
+
furniture: "furniture";
|
|
49
45
|
beam: "beam";
|
|
46
|
+
column: "column";
|
|
47
|
+
door: "door";
|
|
48
|
+
window: "window";
|
|
49
|
+
space: "space";
|
|
50
50
|
staircase: "staircase";
|
|
51
51
|
referenceLine: "referenceLine";
|
|
52
52
|
curtainWall: "curtainWall";
|
|
@@ -87,14 +87,14 @@ export declare const PluginEntityFilter: z.ZodObject<{
|
|
|
87
87
|
floor: "floor";
|
|
88
88
|
wall: "wall";
|
|
89
89
|
ceiling: "ceiling";
|
|
90
|
-
door: "door";
|
|
91
|
-
window: "window";
|
|
92
|
-
furniture: "furniture";
|
|
93
|
-
space: "space";
|
|
94
90
|
slab: "slab";
|
|
95
91
|
roof: "roof";
|
|
96
|
-
|
|
92
|
+
furniture: "furniture";
|
|
97
93
|
beam: "beam";
|
|
94
|
+
column: "column";
|
|
95
|
+
door: "door";
|
|
96
|
+
window: "window";
|
|
97
|
+
space: "space";
|
|
98
98
|
staircase: "staircase";
|
|
99
99
|
referenceLine: "referenceLine";
|
|
100
100
|
curtainWall: "curtainWall";
|
|
@@ -168,14 +168,14 @@ export declare const PluginDesignQueryListByTypeArgs: z.ZodObject<{
|
|
|
168
168
|
floor: "floor";
|
|
169
169
|
wall: "wall";
|
|
170
170
|
ceiling: "ceiling";
|
|
171
|
-
door: "door";
|
|
172
|
-
window: "window";
|
|
173
|
-
furniture: "furniture";
|
|
174
|
-
space: "space";
|
|
175
171
|
slab: "slab";
|
|
176
172
|
roof: "roof";
|
|
177
|
-
|
|
173
|
+
furniture: "furniture";
|
|
178
174
|
beam: "beam";
|
|
175
|
+
column: "column";
|
|
176
|
+
door: "door";
|
|
177
|
+
window: "window";
|
|
178
|
+
space: "space";
|
|
179
179
|
staircase: "staircase";
|
|
180
180
|
referenceLine: "referenceLine";
|
|
181
181
|
curtainWall: "curtainWall";
|
|
@@ -242,14 +242,14 @@ export declare const PluginDesignQueryListByTypeArgs: z.ZodObject<{
|
|
|
242
242
|
floor: "floor";
|
|
243
243
|
wall: "wall";
|
|
244
244
|
ceiling: "ceiling";
|
|
245
|
-
door: "door";
|
|
246
|
-
window: "window";
|
|
247
|
-
furniture: "furniture";
|
|
248
|
-
space: "space";
|
|
249
245
|
slab: "slab";
|
|
250
246
|
roof: "roof";
|
|
251
|
-
|
|
247
|
+
furniture: "furniture";
|
|
252
248
|
beam: "beam";
|
|
249
|
+
column: "column";
|
|
250
|
+
door: "door";
|
|
251
|
+
window: "window";
|
|
252
|
+
space: "space";
|
|
253
253
|
staircase: "staircase";
|
|
254
254
|
referenceLine: "referenceLine";
|
|
255
255
|
curtainWall: "curtainWall";
|
|
@@ -307,14 +307,14 @@ export declare const PluginEntityProperties: z.ZodObject<{
|
|
|
307
307
|
floor: "floor";
|
|
308
308
|
wall: "wall";
|
|
309
309
|
ceiling: "ceiling";
|
|
310
|
-
door: "door";
|
|
311
|
-
window: "window";
|
|
312
|
-
furniture: "furniture";
|
|
313
|
-
space: "space";
|
|
314
310
|
slab: "slab";
|
|
315
311
|
roof: "roof";
|
|
316
|
-
|
|
312
|
+
furniture: "furniture";
|
|
317
313
|
beam: "beam";
|
|
314
|
+
column: "column";
|
|
315
|
+
door: "door";
|
|
316
|
+
window: "window";
|
|
317
|
+
space: "space";
|
|
318
318
|
staircase: "staircase";
|
|
319
319
|
referenceLine: "referenceLine";
|
|
320
320
|
curtainWall: "curtainWall";
|
|
@@ -1293,14 +1293,14 @@ export declare const PluginStoreyOutlineOptions: z.ZodObject<{
|
|
|
1293
1293
|
floor: "floor";
|
|
1294
1294
|
wall: "wall";
|
|
1295
1295
|
ceiling: "ceiling";
|
|
1296
|
-
door: "door";
|
|
1297
|
-
window: "window";
|
|
1298
|
-
furniture: "furniture";
|
|
1299
|
-
space: "space";
|
|
1300
1296
|
slab: "slab";
|
|
1301
1297
|
roof: "roof";
|
|
1302
|
-
|
|
1298
|
+
furniture: "furniture";
|
|
1303
1299
|
beam: "beam";
|
|
1300
|
+
column: "column";
|
|
1301
|
+
door: "door";
|
|
1302
|
+
window: "window";
|
|
1303
|
+
space: "space";
|
|
1304
1304
|
staircase: "staircase";
|
|
1305
1305
|
referenceLine: "referenceLine";
|
|
1306
1306
|
curtainWall: "curtainWall";
|
|
@@ -44,14 +44,14 @@ export declare const PluginSelectionEntityType: z.ZodEnum<{
|
|
|
44
44
|
ceiling: "ceiling";
|
|
45
45
|
image: "image";
|
|
46
46
|
pdf: "pdf";
|
|
47
|
-
door: "door";
|
|
48
|
-
window: "window";
|
|
49
|
-
furniture: "furniture";
|
|
50
|
-
space: "space";
|
|
51
47
|
slab: "slab";
|
|
52
48
|
roof: "roof";
|
|
53
|
-
|
|
49
|
+
furniture: "furniture";
|
|
54
50
|
beam: "beam";
|
|
51
|
+
column: "column";
|
|
52
|
+
door: "door";
|
|
53
|
+
window: "window";
|
|
54
|
+
space: "space";
|
|
55
55
|
staircase: "staircase";
|
|
56
56
|
referenceLine: "referenceLine";
|
|
57
57
|
pergola: "pergola";
|
|
@@ -85,14 +85,14 @@ export declare const PluginSelectionFilter: z.ZodObject<{
|
|
|
85
85
|
ceiling: "ceiling";
|
|
86
86
|
image: "image";
|
|
87
87
|
pdf: "pdf";
|
|
88
|
-
door: "door";
|
|
89
|
-
window: "window";
|
|
90
|
-
furniture: "furniture";
|
|
91
|
-
space: "space";
|
|
92
88
|
slab: "slab";
|
|
93
89
|
roof: "roof";
|
|
94
|
-
|
|
90
|
+
furniture: "furniture";
|
|
95
91
|
beam: "beam";
|
|
92
|
+
column: "column";
|
|
93
|
+
door: "door";
|
|
94
|
+
window: "window";
|
|
95
|
+
space: "space";
|
|
96
96
|
staircase: "staircase";
|
|
97
97
|
referenceLine: "referenceLine";
|
|
98
98
|
pergola: "pergola";
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../types";
|
|
3
|
+
/** An exact saved native wall family. Access is checked on every use; Draw selection is not registration. */
|
|
4
|
+
export declare const PluginNativeWallType: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
version: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type PluginNativeWallType = z.infer<typeof PluginNativeWallType>;
|
|
9
|
+
/** Legacy project type name/id, or an exact authorized native wall family pin. */
|
|
10
|
+
export declare const PluginWallType: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
version: z.ZodNumber;
|
|
13
|
+
}, z.core.$strip>]>;
|
|
14
|
+
export type PluginWallType = z.infer<typeof PluginWallType>;
|
|
3
15
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Types are plain value records ({@linkcode PluginBuildingType}) — NOT scene
|
|
12
|
-
* entities/handles. A type's `id` is a stable `"<kind>:<name>"` token
|
|
13
|
-
* (e.g. `"wall:brickWithPlasterAndPaint"`) returned by
|
|
14
|
-
* {@linkcode PluginDesignTypesApi.list} and consumed by
|
|
15
|
-
* {@linkcode PluginDesignTypesApi.get}. Reads never throw — an unknown id yields
|
|
16
|
-
* `null`; a kind with no types yields `[]`.
|
|
17
|
-
*
|
|
18
|
-
* These are reads only: there is no engine seam to author a type from a plugin
|
|
19
|
-
* (types are created through the construction/project-properties UI).
|
|
16
|
+
* Read-only project assemblies and authorized saved native wall families.
|
|
17
|
+
* Legacy ids use `"<kind>:<name>"`. Native wall records carry `nativeFamily`:
|
|
18
|
+
* pass that exact `{ id, version }` pin to get, create.walls, create.wallRuns,
|
|
19
|
+
* or update.wall. Labels and bare definition ids do not select native families.
|
|
20
|
+
* Native lengths use Snaptrude units (1 SU = 254 mm).
|
|
21
|
+
* Missing ids return null; catalog/network failures reject rather than return
|
|
22
|
+
* an incomplete catalog. Author native families with design.family.
|
|
20
23
|
*/
|
|
21
24
|
export declare abstract class PluginDesignTypesApi {
|
|
22
25
|
constructor();
|
|
@@ -41,10 +44,10 @@ export declare abstract class PluginDesignTypesApi {
|
|
|
41
44
|
*/
|
|
42
45
|
abstract list(kind: PluginBuildingTypeKind): PluginApiReturn<PluginBuildingTypeSummary[]>;
|
|
43
46
|
/**
|
|
44
|
-
* Get one building type by its
|
|
47
|
+
* Get one building type by its legacy id or exact native wall pin — its labelled layer stack
|
|
45
48
|
* (each layer's role, thickness and material) plus the summed total thickness.
|
|
46
49
|
*
|
|
47
|
-
* @param typeId The
|
|
50
|
+
* @param typeId The legacy id or nativeFamily pin from {@linkcode PluginDesignTypesApi.list}
|
|
48
51
|
* @returns The full type, or `null` if no type matches
|
|
49
52
|
*
|
|
50
53
|
* @examplePrompt What layers make up this wall type?
|
|
@@ -55,11 +58,11 @@ export declare abstract class PluginDesignTypesApi {
|
|
|
55
58
|
* # Example
|
|
56
59
|
* ```ts
|
|
57
60
|
* const [first] = await snaptrude.design.types.list("wall")
|
|
58
|
-
* const type = await snaptrude.design.types.get(first.id)
|
|
61
|
+
* const type = await snaptrude.design.types.get(first.nativeFamily ?? first.id)
|
|
59
62
|
* if (type) for (const layer of type.layers) console.log(layer.name, layer.thickness)
|
|
60
63
|
* ```
|
|
61
64
|
*/
|
|
62
|
-
abstract get(typeId:
|
|
65
|
+
abstract get(typeId: PluginWallType): PluginApiReturn<PluginBuildingType | null>;
|
|
63
66
|
}
|
|
64
67
|
/** The building-type families exposed by {@linkcode PluginDesignTypesApi}. */
|
|
65
68
|
export declare const PluginBuildingTypeKind: z.ZodEnum<{
|
|
@@ -84,6 +87,7 @@ export declare const PluginTypeLayer: z.ZodObject<{
|
|
|
84
87
|
name: z.ZodString;
|
|
85
88
|
role: z.ZodString;
|
|
86
89
|
thickness: z.ZodNumber;
|
|
90
|
+
isCore: z.ZodOptional<z.ZodBoolean>;
|
|
87
91
|
material: z.ZodOptional<z.ZodObject<{
|
|
88
92
|
name: z.ZodString;
|
|
89
93
|
type: z.ZodString;
|
|
@@ -95,7 +99,7 @@ export type PluginTypeLayer = z.infer<typeof PluginTypeLayer>;
|
|
|
95
99
|
*
|
|
96
100
|
* | Property | Type | Description |
|
|
97
101
|
* |---|---|---|
|
|
98
|
-
* | `id` | `string` |
|
|
102
|
+
* | `id` | `string` | Legacy `"<kind>:<name>"` token or native definition id; native lookups use `nativeFamily` |
|
|
99
103
|
* | `kind` | {@linkcode PluginBuildingTypeKind} | Which family it belongs to |
|
|
100
104
|
* | `label` | `string` | Human-readable label |
|
|
101
105
|
* | `isDefault` | `boolean` | `true` for a built-in type, `false` for a team/user type |
|
|
@@ -113,6 +117,10 @@ export declare const PluginBuildingTypeSummary: z.ZodObject<{
|
|
|
113
117
|
label: z.ZodString;
|
|
114
118
|
isDefault: z.ZodBoolean;
|
|
115
119
|
thickness: z.ZodNumber;
|
|
120
|
+
nativeFamily: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
version: z.ZodNumber;
|
|
123
|
+
}, z.core.$strip>>;
|
|
116
124
|
}, z.core.$strip>;
|
|
117
125
|
export type PluginBuildingTypeSummary = z.infer<typeof PluginBuildingTypeSummary>;
|
|
118
126
|
/**
|
|
@@ -120,7 +128,7 @@ export type PluginBuildingTypeSummary = z.infer<typeof PluginBuildingTypeSummary
|
|
|
120
128
|
*
|
|
121
129
|
* | Property | Type | Description |
|
|
122
130
|
* |---|---|---|
|
|
123
|
-
* | `id` | `string` |
|
|
131
|
+
* | `id` | `string` | Legacy type token or native definition id |
|
|
124
132
|
* | `kind` | {@linkcode PluginBuildingTypeKind} | Which family it belongs to |
|
|
125
133
|
* | `label` | `string` | Human-readable label |
|
|
126
134
|
* | `isDefault` | `boolean` | `true` for a built-in type |
|
|
@@ -139,10 +147,15 @@ export declare const PluginBuildingType: z.ZodObject<{
|
|
|
139
147
|
label: z.ZodString;
|
|
140
148
|
isDefault: z.ZodBoolean;
|
|
141
149
|
thickness: z.ZodNumber;
|
|
150
|
+
nativeFamily: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
version: z.ZodNumber;
|
|
153
|
+
}, z.core.$strip>>;
|
|
142
154
|
layers: z.ZodArray<z.ZodObject<{
|
|
143
155
|
name: z.ZodString;
|
|
144
156
|
role: z.ZodString;
|
|
145
157
|
thickness: z.ZodNumber;
|
|
158
|
+
isCore: z.ZodOptional<z.ZodBoolean>;
|
|
146
159
|
material: z.ZodOptional<z.ZodObject<{
|
|
147
160
|
name: z.ZodString;
|
|
148
161
|
type: z.ZodString;
|
|
@@ -172,10 +185,13 @@ export type PluginDesignTypesListArgs = z.infer<typeof PluginDesignTypesListArgs
|
|
|
172
185
|
*
|
|
173
186
|
* | Property | Type | Description |
|
|
174
187
|
* |---|---|---|
|
|
175
|
-
* | `typeId` |
|
|
188
|
+
* | `typeId` | {@linkcode PluginWallType} | A legacy `"<kind>:<name>"` id or exact `nativeFamily` pin from `design.types.list` |
|
|
176
189
|
*/
|
|
177
190
|
export declare const PluginDesignTypesGetArgs: z.ZodObject<{
|
|
178
|
-
typeId: z.ZodString
|
|
191
|
+
typeId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
192
|
+
id: z.ZodString;
|
|
193
|
+
version: z.ZodNumber;
|
|
194
|
+
}, z.core.$strip>]>;
|
|
179
195
|
}, z.core.$strip>;
|
|
180
196
|
export type PluginDesignTypesGetArgs = z.infer<typeof PluginDesignTypesGetArgs>;
|
|
181
197
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD,6GAA6G;AAC7G,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE,kFAAkF;AAClF,eAAO,MAAM,cAAc;;;mBAA4D,CAAA;AACvF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D;;;;;;;;GAQG;AACH,8BAAsB,oBAAoB;;IAGxC;;;;;;;;;;;;;;;;;;OAkBG;aACa,IAAI,CAClB,IAAI,EAAE,sBAAsB,GAC3B,eAAe,CAAC,yBAAyB,EAAE,CAAC;IAE/C;;;;;;;;;;;;;;;;;;OAkBG;aACa,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,eAAe,CAAC,kBAAkB,GAAG,IAAI,CAAC;CACxF;AAED,8EAA8E;AAC9E,eAAO,MAAM,sBAAsB;;;;;;EAAuD,CAAA;AAC1F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;;iBAY1B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE7D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;iBAQpC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEnE;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;iBAEpC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;;;;;iBAGnC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -5,6 +5,7 @@ import { PluginSpaceUpdateResult } from "../../entity/space";
|
|
|
5
5
|
import { PluginDesignChangeResult } from "../lock";
|
|
6
6
|
import { MassParametersPatch, type MassParametersRecord } from "../../../massParameters";
|
|
7
7
|
import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeUpdateResult } from "../../entity/buildableEnvelope";
|
|
8
|
+
import { type PluginFamilyUpdates } from "../catalog";
|
|
8
9
|
/**
|
|
9
10
|
* Sparse property updates for a space. Only provided fields change.
|
|
10
11
|
*
|
|
@@ -218,12 +219,16 @@ export type PluginDesignUpdateParametersArgs = z.infer<typeof PluginDesignUpdate
|
|
|
218
219
|
* |---|---|---|
|
|
219
220
|
* | `thickness` | `number`? | Wall thickness, engine units (> 0) |
|
|
220
221
|
* | `height` | `number`? | Wall height, engine units (> 0) |
|
|
221
|
-
* | `type` |
|
|
222
|
+
* | `type` | {@linkcode PluginWallType}? | Legacy name/id or exact authorized native `{ id, version }` pin from `design.types.list("wall")` |
|
|
222
223
|
*/
|
|
223
224
|
export declare const PluginWallUpdates: z.ZodObject<{
|
|
224
225
|
thickness: z.ZodOptional<z.ZodNumber>;
|
|
225
226
|
height: z.ZodOptional<z.ZodNumber>;
|
|
226
|
-
type: z.ZodOptional<z.ZodString
|
|
227
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
version: z.ZodNumber;
|
|
230
|
+
}, z.core.$strip>]>>;
|
|
231
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
|
|
227
232
|
}, z.core.$strip>;
|
|
228
233
|
export type PluginWallUpdates = z.infer<typeof PluginWallUpdates>;
|
|
229
234
|
/**
|
|
@@ -243,6 +248,11 @@ export type PluginWallUpdates = z.infer<typeof PluginWallUpdates>;
|
|
|
243
248
|
export declare const PluginSlabUpdates: z.ZodObject<{
|
|
244
249
|
thickness: z.ZodOptional<z.ZodNumber>;
|
|
245
250
|
overhang: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
252
|
+
id: z.ZodString;
|
|
253
|
+
version: z.ZodNumber;
|
|
254
|
+
}, z.core.$strict>, z.ZodString]>>;
|
|
255
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
|
|
246
256
|
}, z.core.$strip>;
|
|
247
257
|
export type PluginSlabUpdates = z.infer<typeof PluginSlabUpdates>;
|
|
248
258
|
/** Arguments for {@linkcode PluginDesignUpdateApi.wall}. */
|
|
@@ -251,7 +261,11 @@ export declare const PluginDesignUpdateWallArgs: z.ZodObject<{
|
|
|
251
261
|
updates: z.ZodObject<{
|
|
252
262
|
thickness: z.ZodOptional<z.ZodNumber>;
|
|
253
263
|
height: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
type: z.ZodOptional<z.ZodString
|
|
264
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
265
|
+
id: z.ZodString;
|
|
266
|
+
version: z.ZodNumber;
|
|
267
|
+
}, z.core.$strip>]>>;
|
|
268
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
|
|
255
269
|
}, z.core.$strip>;
|
|
256
270
|
}, z.core.$strip>;
|
|
257
271
|
export type PluginDesignUpdateWallArgs = z.infer<typeof PluginDesignUpdateWallArgs>;
|
|
@@ -264,6 +278,11 @@ export declare const PluginDesignUpdateSlabArgs: z.ZodObject<{
|
|
|
264
278
|
updates: z.ZodObject<{
|
|
265
279
|
thickness: z.ZodOptional<z.ZodNumber>;
|
|
266
280
|
overhang: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
282
|
+
id: z.ZodString;
|
|
283
|
+
version: z.ZodNumber;
|
|
284
|
+
}, z.core.$strict>, z.ZodString]>>;
|
|
285
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
|
|
267
286
|
}, z.core.$strip>;
|
|
268
287
|
}, z.core.$strip>;
|
|
269
288
|
export type PluginDesignUpdateSlabArgs = z.infer<typeof PluginDesignUpdateSlabArgs>;
|
|
@@ -373,6 +392,11 @@ export type PluginDesignUpdateGridArgs = z.infer<typeof PluginDesignUpdateGridAr
|
|
|
373
392
|
*
|
|
374
393
|
* Migrated from the removed `entity.space.{update, updateGeometryFromProfile, bulkUpdate}`.
|
|
375
394
|
* Only provided fields change; each call is undoable. Failures throw (RPC rejects).
|
|
395
|
+
*
|
|
396
|
+
* Native family edits accept `type` and/or sparse `values` from `design.catalog`.
|
|
397
|
+
* Length overrides use mm; dimensional arguments use SU. Contours and axes stay unchanged.
|
|
398
|
+
* Shared/type overrides are refused. A thickness argument must agree with the layer values.
|
|
399
|
+
* Family roof overhang is unsupported; use the native slab path for family overhang edits.
|
|
376
400
|
*/
|
|
377
401
|
export declare abstract class PluginDesignUpdateApi {
|
|
378
402
|
constructor();
|
|
@@ -606,6 +630,9 @@ export declare abstract class PluginDesignUpdateApi {
|
|
|
606
630
|
* chamfer (the kernel numbers its faces differently): send the twist/taper
|
|
607
631
|
* keys with `operations: []` first (the message names them), re-select on
|
|
608
632
|
* the new shape, then send `{ operations }` back.
|
|
633
|
+
* Graph-bound spaces accept amount-only extrusion edits. Footprint, twist,
|
|
634
|
+
* taper and operation edits require the owning boundary tools, so generated
|
|
635
|
+
* walls, junctions and hosted openings remain synchronized.
|
|
609
636
|
* @throws VALIDATION for a key the kind does not have (the message lists the
|
|
610
637
|
* kind's keys), `kind` or `version` in a partial patch, or a value outside
|
|
611
638
|
* the constructor's own rules (torus tube ≥ ring, revolution angle ∉
|
|
@@ -789,6 +816,16 @@ export declare abstract class PluginDesignUpdateApi {
|
|
|
789
816
|
* ```
|
|
790
817
|
*/
|
|
791
818
|
abstract ceiling(component: ComponentHandle, updates: PluginSlabUpdates): PluginApiReturn<PluginDesignChangeResult>;
|
|
819
|
+
/** Replace a native beam family while preserving its authored axis. Values use mm/degrees.
|
|
820
|
+
* @param component Native beam. @param updates Saved family reference and optional instance values.
|
|
821
|
+
* @returns Affected component IDs. One undoable operation; unsupported geometry fails before mutation.
|
|
822
|
+
*/
|
|
823
|
+
abstract beam(component: ComponentHandle, updates: PluginFamilyUpdates): PluginApiReturn<PluginDesignChangeResult>;
|
|
824
|
+
/** Replace a native column family while preserving its authored axis. Values use mm/degrees.
|
|
825
|
+
* @param component Native column. @param updates Saved family reference and optional instance values.
|
|
826
|
+
* @returns Affected component IDs. One undoable operation; unsupported geometry fails before mutation.
|
|
827
|
+
*/
|
|
828
|
+
abstract column(component: ComponentHandle, updates: PluginFamilyUpdates): PluginApiReturn<PluginDesignChangeResult>;
|
|
792
829
|
/**
|
|
793
830
|
* Set a component's **absolute world elevation** — moves it vertically so its
|
|
794
831
|
* base (the bounding-box bottom, world Y) lands at `elevation`. Composed over
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAiB,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAKL,uBAAuB,EACxB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAiB,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAKL,uBAAuB,EACxB,MAAM,oBAAoB,CA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wBAAwB,CAAC;IAE5C;;;OAGG;aACa,MAAM,CACpB,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,mBAAmB,GAC3B,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;aACa,YAAY,CAC1B,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,MAAM,GAChB,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;aACa,aAAa,CAC3B,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;aACa,SAAS,CACvB,UAAU,EAAE,eAAe,EAAE,EAC7B,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;aACa,aAAa,CAC3B,UAAU,EAAE,eAAe,EAAE,EAC7B,UAAU,EAAE,gBAAgB,GAC3B,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;aACa,iBAAiB,CAC/B,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,oCAAoC,EAAE,EACnD,UAAU,EAAE,IAAI,GAAG,GAAG,EACtB,QAAQ,EAAE,kCAAkC,EAAE,EAC9C,WAAW,EAAE,kCAAkC,EAC/C,YAAY,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GACzB,eAAe,CAAC,mCAAmC,CAAC;CACxD"}
|
|
@@ -59,10 +59,10 @@ export declare const PluginAIInspirationVideoDuration: z.ZodEnum<{
|
|
|
59
59
|
export type PluginAIInspirationVideoDuration = z.infer<typeof PluginAIInspirationVideoDuration>;
|
|
60
60
|
export declare const PluginAIInspirationJobStatus: z.ZodEnum<{
|
|
61
61
|
failed: "failed";
|
|
62
|
-
running: "running";
|
|
63
62
|
queued: "queued";
|
|
64
|
-
completed: "completed";
|
|
65
63
|
cancelled: "cancelled";
|
|
64
|
+
running: "running";
|
|
65
|
+
completed: "completed";
|
|
66
66
|
}>;
|
|
67
67
|
export type PluginAIInspirationJobStatus = z.infer<typeof PluginAIInspirationJobStatus>;
|
|
68
68
|
export declare const PluginAIInspirationWorkflowRunState: z.ZodEnum<{
|
|
@@ -552,10 +552,10 @@ export declare const PluginAIInspirationJob: z.ZodObject<{
|
|
|
552
552
|
jobId: z.ZodString;
|
|
553
553
|
status: z.ZodEnum<{
|
|
554
554
|
failed: "failed";
|
|
555
|
-
running: "running";
|
|
556
555
|
queued: "queued";
|
|
557
|
-
completed: "completed";
|
|
558
556
|
cancelled: "cancelled";
|
|
557
|
+
running: "running";
|
|
558
|
+
completed: "completed";
|
|
559
559
|
}>;
|
|
560
560
|
createdAt: z.ZodNumber;
|
|
561
561
|
updatedAt: z.ZodNumber;
|
|
@@ -619,10 +619,10 @@ export declare const PluginAIInspirationGetJobResult: z.ZodObject<{
|
|
|
619
619
|
jobId: z.ZodString;
|
|
620
620
|
status: z.ZodEnum<{
|
|
621
621
|
failed: "failed";
|
|
622
|
-
running: "running";
|
|
623
622
|
queued: "queued";
|
|
624
|
-
completed: "completed";
|
|
625
623
|
cancelled: "cancelled";
|
|
624
|
+
running: "running";
|
|
625
|
+
completed: "completed";
|
|
626
626
|
}>;
|
|
627
627
|
createdAt: z.ZodNumber;
|
|
628
628
|
updatedAt: z.ZodNumber;
|
|
@@ -683,10 +683,10 @@ export declare const PluginAIInspirationCancelJobResult: z.ZodObject<{
|
|
|
683
683
|
jobId: z.ZodString;
|
|
684
684
|
status: z.ZodEnum<{
|
|
685
685
|
failed: "failed";
|
|
686
|
-
running: "running";
|
|
687
686
|
queued: "queued";
|
|
688
|
-
completed: "completed";
|
|
689
687
|
cancelled: "cancelled";
|
|
688
|
+
running: "running";
|
|
689
|
+
completed: "completed";
|
|
690
690
|
}>;
|
|
691
691
|
createdAt: z.ZodNumber;
|
|
692
692
|
updatedAt: z.ZodNumber;
|
|
@@ -747,10 +747,10 @@ export declare const PluginAIInspirationListJobsResult: z.ZodObject<{
|
|
|
747
747
|
jobId: z.ZodString;
|
|
748
748
|
status: z.ZodEnum<{
|
|
749
749
|
failed: "failed";
|
|
750
|
-
running: "running";
|
|
751
750
|
queued: "queued";
|
|
752
|
-
completed: "completed";
|
|
753
751
|
cancelled: "cancelled";
|
|
752
|
+
running: "running";
|
|
753
|
+
completed: "completed";
|
|
754
754
|
}>;
|
|
755
755
|
createdAt: z.ZodNumber;
|
|
756
756
|
updatedAt: z.ZodNumber;
|
|
@@ -10,6 +10,7 @@ import { PluginPresentationShapesApi } from "./shapes";
|
|
|
10
10
|
import { PluginPresentationTablesApi } from "./tables";
|
|
11
11
|
import { PluginPresentationSlideshowApi } from "./slideshow";
|
|
12
12
|
import { PluginPresentationImportApi } from "./import";
|
|
13
|
+
import { PluginPresentationWalkthroughsApi } from "./walkthroughs";
|
|
13
14
|
import { PluginPresentationExportResult, type PluginPresentationExportFormat, type PluginPresentationExportResolution } from "./export";
|
|
14
15
|
/**
|
|
15
16
|
* Presentation APIs — prepare and assemble presentations.
|
|
@@ -30,6 +31,7 @@ import { PluginPresentationExportResult, type PluginPresentationExportFormat, ty
|
|
|
30
31
|
* - {@linkcode PluginPresentationApi.slideshow} — Run the Present-mode slideshow
|
|
31
32
|
* - {@linkcode PluginPresentationApi.import} — Import reference images/PDFs onto the canvas
|
|
32
33
|
* - {@linkcode PluginPresentationApi.aiInspiration} — Present-mode AI image/video generation
|
|
34
|
+
* - {@linkcode PluginPresentationApi.walkthroughs} — Camera paths through the model: create, play, capture, export as video
|
|
33
35
|
*
|
|
34
36
|
* Accessed via `snaptrude.presentation`.
|
|
35
37
|
*/
|
|
@@ -59,6 +61,12 @@ export declare abstract class PluginPresentationApi {
|
|
|
59
61
|
* {@linkcode PluginPresentationAIInspirationApi}.
|
|
60
62
|
*/
|
|
61
63
|
abstract aiInspiration: PluginPresentationAIInspirationApi;
|
|
64
|
+
/**
|
|
65
|
+
* Walkthroughs — camera paths through the model: create (keyframes, floor
|
|
66
|
+
* points, camera-move presets), play, capture and export as video onto the
|
|
67
|
+
* Present canvas. See {@linkcode PluginPresentationWalkthroughsApi}.
|
|
68
|
+
*/
|
|
69
|
+
abstract walkthroughs: PluginPresentationWalkthroughsApi;
|
|
62
70
|
/**
|
|
63
71
|
* Export the presentation's layout sheets to a downloadable file (PDF / PNG /
|
|
64
72
|
* JPG) and return the encoded bytes as base64. Wraps the Present-mode Export
|
|
@@ -103,5 +111,6 @@ export * from "./tables";
|
|
|
103
111
|
export * from "./slideshow";
|
|
104
112
|
export * from "./import";
|
|
105
113
|
export * from "./aiInspiration";
|
|
114
|
+
export * from "./walkthroughs";
|
|
106
115
|
export * from "./export";
|
|
107
116
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,kCAAkC,EAAE,MAAM,iBAAiB,CAAA;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAA;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;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