@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.
- package/AGENTS.md +4 -0
- package/CHANGELOG.md +176 -14
- package/api-manifest.json +872 -49
- 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 +447 -0
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/core/geom/create/index.d.ts +942 -101
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/brep.d.ts +59 -2
- package/dist/api/core/geom/query/brep.d.ts.map +1 -1
- package/dist/api/core/geom/query/curve.d.ts +59 -35
- package/dist/api/core/geom/query/curve.d.ts.map +1 -1
- package/dist/api/core/geom/query/edge.d.ts +2 -2
- package/dist/api/core/geom/query/face.d.ts +105 -0
- package/dist/api/core/geom/query/face.d.ts.map +1 -1
- package/dist/api/core/geom/update/contour.d.ts +10 -2
- package/dist/api/core/geom/update/contour.d.ts.map +1 -1
- package/dist/api/core/geom/update/curve.d.ts +5 -5
- package/dist/api/core/geom/update/profile.d.ts +3 -1
- package/dist/api/core/geom/update/profile.d.ts.map +1 -1
- package/dist/api/core/handles/index.d.ts +4 -2
- package/dist/api/core/handles/index.d.ts.map +1 -1
- package/dist/api/core/index.d.ts +4 -4
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/io/import/index.d.ts +3 -1
- package/dist/api/core/io/import/index.d.ts.map +1 -1
- package/dist/api/core/layers.d.ts +377 -255
- package/dist/api/core/layers.d.ts.map +1 -1
- package/dist/api/core/mode/index.d.ts +19 -7
- package/dist/api/core/mode/index.d.ts.map +1 -1
- package/dist/api/core/proposals/index.d.ts +4 -3
- package/dist/api/core/proposals/index.d.ts.map +1 -1
- package/dist/api/core/storeys/index.d.ts +17 -2
- package/dist/api/core/storeys/index.d.ts.map +1 -1
- package/dist/api/core/storeys/layers.d.ts +408 -0
- package/dist/api/core/storeys/layers.d.ts.map +1 -0
- package/dist/api/core/tags.d.ts +84 -3
- package/dist/api/core/tags.d.ts.map +1 -1
- package/dist/api/core/zoom/index.d.ts +13 -0
- package/dist/api/core/zoom/index.d.ts.map +1 -1
- package/dist/api/design/bim.d.ts +299 -0
- package/dist/api/design/bim.d.ts.map +1 -0
- package/dist/api/design/boolean/index.d.ts +2 -0
- package/dist/api/design/boolean/index.d.ts.map +1 -1
- package/dist/api/design/catalog.d.ts +320 -0
- package/dist/api/design/catalog.d.ts.map +1 -0
- package/dist/api/design/create/bulk-items.d.ts +269 -0
- package/dist/api/design/create/bulk-items.d.ts.map +1 -0
- package/dist/api/design/create/grids.d.ts +132 -0
- package/dist/api/design/create/grids.d.ts.map +1 -0
- package/dist/api/design/create/index.d.ts +753 -102
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/create/opening-fields.d.ts +38 -0
- package/dist/api/design/create/opening-fields.d.ts.map +1 -0
- package/dist/api/design/delete/index.d.ts +7 -20
- package/dist/api/design/delete/index.d.ts.map +1 -1
- package/dist/api/design/dimensions.d.ts +427 -0
- package/dist/api/design/dimensions.d.ts.map +1 -0
- package/dist/api/design/doors/index.d.ts +24 -23
- package/dist/api/design/doors/index.d.ts.map +1 -1
- package/dist/api/design/family.d.ts +1446 -0
- package/dist/api/design/family.d.ts.map +1 -0
- package/dist/api/design/grids.d.ts +237 -0
- package/dist/api/design/grids.d.ts.map +1 -0
- package/dist/api/design/index.d.ts +30 -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/geometry/index.d.ts +33 -5
- package/dist/api/design/query/geometry/index.d.ts.map +1 -1
- package/dist/api/design/query/grids.d.ts +287 -0
- package/dist/api/design/query/grids.d.ts.map +1 -0
- package/dist/api/design/query/index.d.ts +143 -36
- package/dist/api/design/query/index.d.ts.map +1 -1
- package/dist/api/design/query/spaces.d.ts +5 -66
- package/dist/api/design/query/spaces.d.ts.map +1 -1
- package/dist/api/design/selection/index.d.ts +12 -12
- 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 +412 -8
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/design/windows/index.d.ts +8 -8
- package/dist/api/design/windows/index.d.ts.map +1 -1
- package/dist/api/entity/buildableEnvelope.d.ts +84 -2
- package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
- package/dist/api/entity/referenceLine.d.ts +13 -1
- package/dist/api/entity/referenceLine.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +12 -15
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/api/entity/story.d.ts +4 -4
- package/dist/api/presentation/aiInspiration.d.ts +24 -24
- package/dist/api/presentation/annotate.d.ts +38 -22
- package/dist/api/presentation/annotate.d.ts.map +1 -1
- package/dist/api/presentation/camera.d.ts +265 -0
- package/dist/api/presentation/camera.d.ts.map +1 -0
- package/dist/api/presentation/drawingContract.d.ts +32 -0
- package/dist/api/presentation/drawingContract.d.ts.map +1 -0
- package/dist/api/presentation/drawings.d.ts +3523 -0
- package/dist/api/presentation/drawings.d.ts.map +1 -0
- package/dist/api/presentation/export.d.ts +23 -5
- package/dist/api/presentation/export.d.ts.map +1 -1
- package/dist/api/presentation/graphics.d.ts +419 -0
- package/dist/api/presentation/graphics.d.ts.map +1 -0
- package/dist/api/presentation/index.d.ts +66 -12
- package/dist/api/presentation/index.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +117 -51
- package/dist/api/presentation/placedViews.d.ts.map +1 -1
- package/dist/api/presentation/sections.d.ts +461 -0
- package/dist/api/presentation/sections.d.ts.map +1 -0
- package/dist/api/presentation/shapes.d.ts +2 -2
- package/dist/api/presentation/sheets.d.ts +175 -37
- package/dist/api/presentation/sheets.d.ts.map +1 -1
- package/dist/api/presentation/standards.d.ts +590 -0
- package/dist/api/presentation/standards.d.ts.map +1 -0
- package/dist/api/presentation/viewPresets.d.ts +222 -0
- package/dist/api/presentation/viewPresets.d.ts.map +1 -0
- package/dist/api/presentation/views.d.ts +144 -9
- package/dist/api/presentation/views.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/api/program/departments.d.ts +58 -2
- package/dist/api/program/departments.d.ts.map +1 -1
- package/dist/api/program/index.d.ts +16 -6
- package/dist/api/program/index.d.ts.map +1 -1
- package/dist/api/program/labels.d.ts +355 -0
- package/dist/api/program/labels.d.ts.map +1 -0
- package/dist/api/program/metadata.d.ts +328 -0
- package/dist/api/program/metadata.d.ts.map +1 -0
- package/dist/api/program/site.d.ts +4 -4
- package/dist/api/program/spreadsheet.d.ts +267 -4
- package/dist/api/program/spreadsheet.d.ts.map +1 -1
- package/dist/api/workspace/index.d.ts +49 -2
- package/dist/api/workspace/index.d.ts.map +1 -1
- package/dist/errors/codes.d.ts +5 -8
- package/dist/errors/codes.d.ts.map +1 -1
- package/dist/handles.d.ts +32 -3
- package/dist/handles.d.ts.map +1 -1
- package/dist/index.cjs +6534 -2865
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6118 -2857
- package/dist/index.js.map +1 -1
- package/dist/massParameters.d.ts +287 -0
- package/dist/massParameters.d.ts.map +1 -0
- package/dist/massParameters.ops.d.ts +138 -0
- package/dist/massParameters.ops.d.ts.map +1 -0
- package/package.json +2 -1
- package/scripts/check-dist-fresh.mjs +22 -0
- package/scripts/generate-manifest.mjs +5 -0
- package/scripts/generate-manifest.test.mjs +14 -3
- package/src/api/core/camera/index.ts +429 -1
- package/src/api/core/geom/create/index.ts +1037 -102
- package/src/api/core/geom/query/brep.ts +60 -2
- package/src/api/core/geom/query/curve.ts +26 -2
- package/src/api/core/geom/query/edge.ts +2 -2
- package/src/api/core/geom/query/face.ts +109 -4
- package/src/api/core/geom/update/contour.ts +10 -2
- package/src/api/core/geom/update/profile.ts +2 -0
- package/src/api/core/handles/index.ts +3 -2
- package/src/api/core/index.ts +4 -4
- package/src/api/core/io/import/index.ts +11 -3
- package/src/api/core/layers.ts +380 -173
- package/src/api/core/mode/index.ts +19 -7
- package/src/api/core/proposals/index.ts +4 -3
- package/src/api/core/storeys/index.ts +19 -2
- package/src/api/core/storeys/layers.ts +339 -0
- package/src/api/core/tags.ts +76 -0
- package/src/api/core/zoom/index.ts +13 -0
- package/src/api/design/bim.ts +210 -0
- package/src/api/design/boolean/index.ts +2 -0
- package/src/api/design/catalog.ts +203 -0
- package/src/api/design/create/bulk-items.ts +294 -0
- package/src/api/design/create/grids.ts +137 -0
- package/src/api/design/create/index.ts +824 -141
- package/src/api/design/create/opening-fields.ts +40 -0
- package/src/api/design/delete/index.ts +6 -20
- package/src/api/design/dimensions.ts +453 -0
- package/src/api/design/doors/index.ts +64 -41
- package/src/api/design/family.ts +1342 -0
- package/src/api/design/grids.ts +237 -0
- package/src/api/design/index.ts +49 -4
- package/src/api/design/networks.ts +607 -0
- package/src/api/design/query/geometry/index.ts +35 -4
- package/src/api/design/query/grids.ts +197 -0
- package/src/api/design/query/index.ts +105 -5
- package/src/api/design/query/spaces.ts +0 -68
- package/src/api/design/types/index.ts +31 -24
- package/src/api/design/update/index.ts +398 -4
- package/src/api/design/windows/index.ts +40 -22
- package/src/api/entity/buildableEnvelope.ts +77 -2
- package/src/api/entity/referenceLine.ts +25 -12
- package/src/api/entity/space.ts +0 -2
- package/src/api/presentation/annotate.ts +90 -58
- package/src/api/presentation/camera.ts +289 -0
- package/src/api/presentation/drawingContract.ts +70 -0
- package/src/api/presentation/drawings.ts +1179 -0
- package/src/api/presentation/export.ts +32 -6
- package/src/api/presentation/graphics.ts +324 -0
- package/src/api/presentation/index.ts +73 -14
- package/src/api/presentation/placedViews.ts +120 -57
- package/src/api/presentation/sections.ts +420 -0
- package/src/api/presentation/sheets.ts +182 -37
- package/src/api/presentation/standards.ts +445 -0
- package/src/api/presentation/viewPresets.ts +241 -0
- package/src/api/presentation/views.ts +81 -10
- package/src/api/presentation/walkthroughs.ts +1201 -0
- package/src/api/program/departments.ts +54 -2
- package/src/api/program/index.ts +16 -6
- package/src/api/program/labels.ts +332 -0
- package/src/api/program/metadata.ts +364 -0
- package/src/api/program/spreadsheet.ts +282 -0
- package/src/api/workspace/index.ts +51 -2
- package/src/errors/codes.ts +9 -30
- package/src/handles.ts +42 -3
- package/src/index.ts +2 -0
- package/src/massParameters.ops.ts +246 -0
- package/src/massParameters.ts +427 -0
- package/test/drawingContract.test.mjs +288 -0
- package/test/errors.test.mjs +1 -4
- package/test/massParameters.test.mjs +952 -0
- package/test/paperPensContract.test.mjs +75 -0
- package/test/presentationViewSettings.test.mjs +85 -0
- package/api-manifest.full.json +0 -6928
- package/snaptrude-plugin-core-0.11.0.tgz +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../types";
|
|
3
3
|
import { ComponentHandle, BBoxComponents } from "../../../handles";
|
|
4
|
+
import type { MassParametersRecord } from "../../../massParameters";
|
|
4
5
|
import { PluginDesignQueryGeometryApi } from "./geometry";
|
|
5
6
|
import { PluginDesignQuerySpacesApi } from "./spaces";
|
|
6
7
|
import { PluginDesignQueryReferenceLinesApi } from "./referenceLines";
|
|
8
|
+
import { PluginDesignQueryGridsApi } from "./grids";
|
|
7
9
|
/**
|
|
8
10
|
* The kind of a BIM entity — the discovery/filter vocabulary for the whole
|
|
9
11
|
* `design.query.*` surface. Values are clean `lowerCamel` tokens; the host maps
|
|
@@ -15,6 +17,7 @@ import { PluginDesignQueryReferenceLinesApi } from "./referenceLines";
|
|
|
15
17
|
* | `"wall"` | Wall |
|
|
16
18
|
* | `"space"` | Space (a room mass) |
|
|
17
19
|
* | `"mass"` | Generic mass (non-room) |
|
|
20
|
+
* | `"void"` | A hosted cutting solid, separate from spaces and masses |
|
|
18
21
|
* | `"door"` | Door |
|
|
19
22
|
* | `"window"` | Window |
|
|
20
23
|
* | `"floor"` | Floor |
|
|
@@ -29,25 +32,30 @@ import { PluginDesignQueryReferenceLinesApi } from "./referenceLines";
|
|
|
29
32
|
* | `"curtainWall"` | Parametric curtain wall |
|
|
30
33
|
* | `"mullion"` | Curtain-wall mullion |
|
|
31
34
|
* | `"panel"` | Curtain-wall panel |
|
|
35
|
+
* | `"parametricComponent"` | A placed parametric family instance (native or Revit-imported). Its geometry is rebuilt from `design.family` parameters, so read and drive it through `design.family.getParameters` / `setParameters` rather than editing its meshes. |
|
|
36
|
+
* | `"grid"` | Structural grid group |
|
|
32
37
|
*/
|
|
33
38
|
export declare const PluginEntityType: z.ZodEnum<{
|
|
39
|
+
void: "void";
|
|
34
40
|
mass: "mass";
|
|
35
41
|
floor: "floor";
|
|
36
42
|
wall: "wall";
|
|
37
43
|
ceiling: "ceiling";
|
|
38
|
-
door: "door";
|
|
39
|
-
window: "window";
|
|
40
|
-
furniture: "furniture";
|
|
41
|
-
space: "space";
|
|
42
44
|
slab: "slab";
|
|
43
45
|
roof: "roof";
|
|
44
|
-
|
|
46
|
+
furniture: "furniture";
|
|
47
|
+
door: "door";
|
|
48
|
+
window: "window";
|
|
45
49
|
beam: "beam";
|
|
50
|
+
column: "column";
|
|
51
|
+
space: "space";
|
|
46
52
|
staircase: "staircase";
|
|
47
53
|
referenceLine: "referenceLine";
|
|
48
54
|
curtainWall: "curtainWall";
|
|
49
55
|
mullion: "mullion";
|
|
50
56
|
panel: "panel";
|
|
57
|
+
parametricComponent: "parametricComponent";
|
|
58
|
+
grid: "grid";
|
|
51
59
|
}>;
|
|
52
60
|
export type PluginEntityType = z.infer<typeof PluginEntityType>;
|
|
53
61
|
/**
|
|
@@ -77,34 +85,37 @@ export type PluginEntityType = z.infer<typeof PluginEntityType>;
|
|
|
77
85
|
*/
|
|
78
86
|
export declare const PluginEntityFilter: z.ZodObject<{
|
|
79
87
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
88
|
+
void: "void";
|
|
80
89
|
mass: "mass";
|
|
81
90
|
floor: "floor";
|
|
82
91
|
wall: "wall";
|
|
83
92
|
ceiling: "ceiling";
|
|
84
|
-
door: "door";
|
|
85
|
-
window: "window";
|
|
86
|
-
furniture: "furniture";
|
|
87
|
-
space: "space";
|
|
88
93
|
slab: "slab";
|
|
89
94
|
roof: "roof";
|
|
90
|
-
|
|
95
|
+
furniture: "furniture";
|
|
96
|
+
door: "door";
|
|
97
|
+
window: "window";
|
|
91
98
|
beam: "beam";
|
|
99
|
+
column: "column";
|
|
100
|
+
space: "space";
|
|
92
101
|
staircase: "staircase";
|
|
93
102
|
referenceLine: "referenceLine";
|
|
94
103
|
curtainWall: "curtainWall";
|
|
95
104
|
mullion: "mullion";
|
|
96
105
|
panel: "panel";
|
|
106
|
+
parametricComponent: "parametricComponent";
|
|
107
|
+
grid: "grid";
|
|
97
108
|
}>>>;
|
|
98
109
|
storeys: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
99
110
|
buildingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
111
|
structureIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
112
|
label: z.ZodOptional<z.ZodString>;
|
|
102
113
|
massTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
114
|
+
Furniture: "Furniture";
|
|
103
115
|
Room: "Room";
|
|
104
116
|
Plinth: "Plinth";
|
|
105
117
|
Void: "Void";
|
|
106
118
|
Pergola: "Pergola";
|
|
107
|
-
Furniture: "Furniture";
|
|
108
119
|
"Facade element": "Facade element";
|
|
109
120
|
"Generic mass": "Generic mass";
|
|
110
121
|
Department: "Department";
|
|
@@ -156,34 +167,37 @@ export type PluginEntityFilter = z.infer<typeof PluginEntityFilter>;
|
|
|
156
167
|
*/
|
|
157
168
|
export declare const PluginDesignQueryListByTypeArgs: z.ZodObject<{
|
|
158
169
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
170
|
+
void: "void";
|
|
159
171
|
mass: "mass";
|
|
160
172
|
floor: "floor";
|
|
161
173
|
wall: "wall";
|
|
162
174
|
ceiling: "ceiling";
|
|
163
|
-
door: "door";
|
|
164
|
-
window: "window";
|
|
165
|
-
furniture: "furniture";
|
|
166
|
-
space: "space";
|
|
167
175
|
slab: "slab";
|
|
168
176
|
roof: "roof";
|
|
169
|
-
|
|
177
|
+
furniture: "furniture";
|
|
178
|
+
door: "door";
|
|
179
|
+
window: "window";
|
|
170
180
|
beam: "beam";
|
|
181
|
+
column: "column";
|
|
182
|
+
space: "space";
|
|
171
183
|
staircase: "staircase";
|
|
172
184
|
referenceLine: "referenceLine";
|
|
173
185
|
curtainWall: "curtainWall";
|
|
174
186
|
mullion: "mullion";
|
|
175
187
|
panel: "panel";
|
|
188
|
+
parametricComponent: "parametricComponent";
|
|
189
|
+
grid: "grid";
|
|
176
190
|
}>>>;
|
|
177
191
|
storeys: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
178
192
|
buildingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
193
|
structureIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
194
|
label: z.ZodOptional<z.ZodString>;
|
|
181
195
|
massTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
196
|
+
Furniture: "Furniture";
|
|
182
197
|
Room: "Room";
|
|
183
198
|
Plinth: "Plinth";
|
|
184
199
|
Void: "Void";
|
|
185
200
|
Pergola: "Pergola";
|
|
186
|
-
Furniture: "Furniture";
|
|
187
201
|
"Facade element": "Facade element";
|
|
188
202
|
"Generic mass": "Generic mass";
|
|
189
203
|
Department: "Department";
|
|
@@ -228,23 +242,26 @@ export declare const PluginDesignQueryListByTypeArgs: z.ZodObject<{
|
|
|
228
242
|
overlaps: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
229
243
|
ids: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>>;
|
|
230
244
|
type: z.ZodEnum<{
|
|
245
|
+
void: "void";
|
|
231
246
|
mass: "mass";
|
|
232
247
|
floor: "floor";
|
|
233
248
|
wall: "wall";
|
|
234
249
|
ceiling: "ceiling";
|
|
235
|
-
door: "door";
|
|
236
|
-
window: "window";
|
|
237
|
-
furniture: "furniture";
|
|
238
|
-
space: "space";
|
|
239
250
|
slab: "slab";
|
|
240
251
|
roof: "roof";
|
|
241
|
-
|
|
252
|
+
furniture: "furniture";
|
|
253
|
+
door: "door";
|
|
254
|
+
window: "window";
|
|
242
255
|
beam: "beam";
|
|
256
|
+
column: "column";
|
|
257
|
+
space: "space";
|
|
243
258
|
staircase: "staircase";
|
|
244
259
|
referenceLine: "referenceLine";
|
|
245
260
|
curtainWall: "curtainWall";
|
|
246
261
|
mullion: "mullion";
|
|
247
262
|
panel: "panel";
|
|
263
|
+
parametricComponent: "parametricComponent";
|
|
264
|
+
grid: "grid";
|
|
248
265
|
}>;
|
|
249
266
|
}, z.core.$strip>;
|
|
250
267
|
export type PluginDesignQueryListByTypeArgs = z.infer<typeof PluginDesignQueryListByTypeArgs>;
|
|
@@ -285,30 +302,32 @@ export type PluginDesignQueryComponentsArgs = z.infer<typeof PluginDesignQueryCo
|
|
|
285
302
|
* | `isLocked` | `boolean` | Lock flag |
|
|
286
303
|
* | `isHidden` | `boolean` | User-hidden flag |
|
|
287
304
|
* | `isSelected` | `boolean` | Current selection state |
|
|
288
|
-
* | `isVisible` | `boolean` | Whether the entity currently has a visible representation on canvas (user hide flag AND LOD/mode gating both considered); read-only |
|
|
289
305
|
* | `boundingBox` | {@linkcode BBoxComponents} | World-space AABB |
|
|
290
306
|
* | `adjacency` | `{ spaceId: string; value: number }[]` | Adjacency relationships (spaces/masses only). `value`: `2` = Direct (required), `1` = Indirect or physical contact, `-1` = Restricted; `0` entries are filtered out. `[]` when adjacency has never been computed — see `program.adjacency.compute`. |
|
|
291
307
|
*/
|
|
292
308
|
export declare const PluginEntityProperties: z.ZodObject<{
|
|
293
309
|
id: z.ZodOptional<z.ZodString>;
|
|
294
310
|
type: z.ZodOptional<z.ZodEnum<{
|
|
311
|
+
void: "void";
|
|
295
312
|
mass: "mass";
|
|
296
313
|
floor: "floor";
|
|
297
314
|
wall: "wall";
|
|
298
315
|
ceiling: "ceiling";
|
|
299
|
-
door: "door";
|
|
300
|
-
window: "window";
|
|
301
|
-
furniture: "furniture";
|
|
302
|
-
space: "space";
|
|
303
316
|
slab: "slab";
|
|
304
317
|
roof: "roof";
|
|
305
|
-
|
|
318
|
+
furniture: "furniture";
|
|
319
|
+
door: "door";
|
|
320
|
+
window: "window";
|
|
306
321
|
beam: "beam";
|
|
322
|
+
column: "column";
|
|
323
|
+
space: "space";
|
|
307
324
|
staircase: "staircase";
|
|
308
325
|
referenceLine: "referenceLine";
|
|
309
326
|
curtainWall: "curtainWall";
|
|
310
327
|
mullion: "mullion";
|
|
311
328
|
panel: "panel";
|
|
329
|
+
parametricComponent: "parametricComponent";
|
|
330
|
+
grid: "grid";
|
|
312
331
|
}>>;
|
|
313
332
|
label: z.ZodOptional<z.ZodString>;
|
|
314
333
|
storey: z.ZodOptional<z.ZodNumber>;
|
|
@@ -337,7 +356,6 @@ export declare const PluginEntityProperties: z.ZodObject<{
|
|
|
337
356
|
isLocked: z.ZodOptional<z.ZodBoolean>;
|
|
338
357
|
isHidden: z.ZodOptional<z.ZodBoolean>;
|
|
339
358
|
isSelected: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
-
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
341
359
|
boundingBox: z.ZodOptional<z.ZodObject<{
|
|
342
360
|
min: z.ZodObject<{
|
|
343
361
|
x: z.ZodNumber;
|
|
@@ -501,6 +519,8 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
501
519
|
abstract spaces: PluginDesignQuerySpacesApi;
|
|
502
520
|
/** Reference-line-specific reads. See {@linkcode PluginDesignQueryReferenceLinesApi}. */
|
|
503
521
|
abstract referenceLines: PluginDesignQueryReferenceLinesApi;
|
|
522
|
+
/** Structural-grid-specific reads. See {@linkcode PluginDesignQueryGridsApi}. */
|
|
523
|
+
abstract grids: PluginDesignQueryGridsApi;
|
|
504
524
|
constructor();
|
|
505
525
|
/**
|
|
506
526
|
* List **all** BIM entities in the project matching the filter.
|
|
@@ -536,6 +556,9 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
536
556
|
* List all entities of one BIM object type — wall, door, slab, panel, and so
|
|
537
557
|
* on — optionally narrowed by the shared filter.
|
|
538
558
|
*
|
|
559
|
+
* `"void"` lists native Void components (made by `design.create.void`),
|
|
560
|
+
* as does `design.query.listVoids`. `"mass"` excludes voids.
|
|
561
|
+
*
|
|
539
562
|
* @param type - the {@linkcode PluginEntityType} to list
|
|
540
563
|
* @param filter - an optional {@linkcode PluginEntityFilter}
|
|
541
564
|
* @returns matching entities as {@linkcode ComponentHandle}`[]`
|
|
@@ -617,6 +640,8 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
617
640
|
* List all the generic masses (non-room massing volumes) in the project,
|
|
618
641
|
* optionally filtered by storey, building, label, mass type, or region.
|
|
619
642
|
*
|
|
643
|
+
* Excludes Void components. Use `design.query.listVoids` for hosted cutters.
|
|
644
|
+
*
|
|
620
645
|
* @param filter - an optional {@linkcode PluginEntityFilter}
|
|
621
646
|
* @returns mass {@linkcode ComponentHandle}`[]`
|
|
622
647
|
*
|
|
@@ -634,6 +659,16 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
634
659
|
* ```
|
|
635
660
|
*/
|
|
636
661
|
abstract listMasses(filter?: PluginEntityFilter): PluginApiReturn<ComponentHandle[]>;
|
|
662
|
+
/**
|
|
663
|
+
* List Void components, excluding masses and spaces. Voids cut their hosts.
|
|
664
|
+
* Use family queries for authored parametric families with a cut relationship.
|
|
665
|
+
*
|
|
666
|
+
* @param filter - Optional storey, building, selection, or region filter.
|
|
667
|
+
* @returns Void component handles, or an empty array when none match.
|
|
668
|
+
* @example
|
|
669
|
+
* const voids = await snaptrude.design.query.listVoids({ storeys: [1] })
|
|
670
|
+
*/
|
|
671
|
+
abstract listVoids(filter?: PluginEntityFilter): PluginApiReturn<ComponentHandle[]>;
|
|
637
672
|
/**
|
|
638
673
|
* List all the doors in the project, optionally filtered by storey, building,
|
|
639
674
|
* selection state, or region.
|
|
@@ -862,6 +897,24 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
862
897
|
* ```
|
|
863
898
|
*/
|
|
864
899
|
abstract listMullions(filter?: PluginEntityFilter): PluginApiReturn<ComponentHandle[]>;
|
|
900
|
+
/**
|
|
901
|
+
* List all the structural grids (grid groups) in the project, optionally
|
|
902
|
+
* filtered by storey, building, selection state, or region.
|
|
903
|
+
*
|
|
904
|
+
* @param filter - an optional {@linkcode PluginEntityFilter}
|
|
905
|
+
* @returns grid-group {@linkcode ComponentHandle}`[]`
|
|
906
|
+
*
|
|
907
|
+
* @examplePrompt List all the structural grids in the model
|
|
908
|
+
* @examplePrompt How many grids are on the ground floor?
|
|
909
|
+
* @examplePrompt Show the grids on this storey
|
|
910
|
+
* @examplePrompt Which grids are currently selected?
|
|
911
|
+
*
|
|
912
|
+
* # Example
|
|
913
|
+
* ```ts
|
|
914
|
+
* const groundFloorGrids = await snaptrude.design.query.listGrids({ storeys: [1] })
|
|
915
|
+
* ```
|
|
916
|
+
*/
|
|
917
|
+
abstract listGrids(filter?: PluginEntityFilter): PluginApiReturn<ComponentHandle[]>;
|
|
865
918
|
/**
|
|
866
919
|
* Look an entity up by id — returns the same handle if it still resolves live,
|
|
867
920
|
* else `null`. A cheap validity probe (distinct from {@linkcode PluginDesignQueryApi.exists}).
|
|
@@ -980,7 +1033,8 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
980
1033
|
abstract getEntityRef(component: ComponentHandle): PluginApiReturn<ComponentHandle>;
|
|
981
1034
|
/**
|
|
982
1035
|
* List an entity's direct child entities — for example the doors and windows
|
|
983
|
-
* hosted in a wall
|
|
1036
|
+
* hosted in a wall, or the voids (holes, shafts, openings) cut in a slab,
|
|
1037
|
+
* floor, roof or ceiling by `design.create.void`.
|
|
984
1038
|
* @param component - the entity's {@linkcode ComponentHandle}
|
|
985
1039
|
* @returns child {@linkcode ComponentHandle}`[]` (`[]` if none)
|
|
986
1040
|
*
|
|
@@ -988,6 +1042,7 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
988
1042
|
* @examplePrompt Show the child elements of the selected object
|
|
989
1043
|
* @examplePrompt Which openings belong to this wall?
|
|
990
1044
|
* @examplePrompt List everything nested under this mass
|
|
1045
|
+
* @examplePrompt List all holes in this slab
|
|
991
1046
|
*
|
|
992
1047
|
* # Example
|
|
993
1048
|
* ```ts
|
|
@@ -1004,7 +1059,8 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
1004
1059
|
*/
|
|
1005
1060
|
abstract listChildren(component: ComponentHandle): PluginApiReturn<ComponentHandle[]>;
|
|
1006
1061
|
/**
|
|
1007
|
-
* Get an entity's host/parent entity (e.g. the wall a door is cut into
|
|
1062
|
+
* Get an entity's host/parent entity (e.g. the wall a door is cut into, or
|
|
1063
|
+
* the slab, floor, roof or ceiling a void is cut through).
|
|
1008
1064
|
* @param component - the entity's {@linkcode ComponentHandle}
|
|
1009
1065
|
* @returns the host {@linkcode ComponentHandle}, or `null` if top-level
|
|
1010
1066
|
*
|
|
@@ -1012,6 +1068,7 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
1012
1068
|
* @examplePrompt Find the parent of the selected window
|
|
1013
1069
|
* @examplePrompt What is this element attached to?
|
|
1014
1070
|
* @examplePrompt Which wall hosts this window?
|
|
1071
|
+
* @examplePrompt Which slab is this shaft in?
|
|
1015
1072
|
*
|
|
1016
1073
|
* # Example
|
|
1017
1074
|
* ```ts
|
|
@@ -1123,6 +1180,52 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
1123
1180
|
* ```
|
|
1124
1181
|
*/
|
|
1125
1182
|
abstract getStaircaseParams(staircase: ComponentHandle): PluginApiReturn<PluginStaircaseParams | null>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Read a mass's creation-parameter record — the recipe it was built from
|
|
1185
|
+
* (`kind` plus the values that constructor was called with). Present on
|
|
1186
|
+
* masses committed from a `core.geom.create` brep constructor that carries a
|
|
1187
|
+
* recipe: {@linkcode MassParametersRecord} covers the four primitives
|
|
1188
|
+
* (sphere, cylinder, cone, torus), extrusions, revolutions, lofts and sweeps.
|
|
1189
|
+
*
|
|
1190
|
+
* A fillet, chamfer, shell or offset of a recorded solid keeps the record
|
|
1191
|
+
* too: `kind` stays the base constructor and the operation is appended to the
|
|
1192
|
+
* record's `operations` list. Edit any of it with `design.update.parameters`.
|
|
1193
|
+
*
|
|
1194
|
+
* `null` for everything else — drawn masses, imported geometry, booleans,
|
|
1195
|
+
* split parts, `brepFromFaces` / `brepFromMesh`, and results built on a
|
|
1196
|
+
* source that carried no record — and for a mass whose record no longer
|
|
1197
|
+
* matches what is on
|
|
1198
|
+
* screen (a later free-form edit dropped the recipe, or the mass carries a
|
|
1199
|
+
* baked scale). `null` too when the recipe was not recordable: the record
|
|
1200
|
+
* schema has its own caps (a sweep path of at most 512 points, a loft of at
|
|
1201
|
+
* most 32 sections, at most 8 chained `operations`, at most 256 curves in one
|
|
1202
|
+
* profile loop and 64 holes in one contour), and a mass built past one of
|
|
1203
|
+
* them — through a route that does not enforce the matching creator cap —
|
|
1204
|
+
* commits as ordinary geometry carrying no record. The `operations` cap is
|
|
1205
|
+
* the one an agent can walk into by accident: a 9th chained
|
|
1206
|
+
* fillet/chamfer/shell/offset drops the record silently, so the result
|
|
1207
|
+
* commits as ordinary geometry and reads back `null` here. A record is never
|
|
1208
|
+
* reported unless it is still the truth.
|
|
1209
|
+
*
|
|
1210
|
+
* Points and axes come back in **world** coordinates. Pure read — nothing is
|
|
1211
|
+
* created or modified.
|
|
1212
|
+
*
|
|
1213
|
+
* @param component - the mass's {@linkcode ComponentHandle}
|
|
1214
|
+
* @returns the {@linkcode MassParametersRecord}, or `null`
|
|
1215
|
+
*
|
|
1216
|
+
* @examplePrompt What radius is this sphere?
|
|
1217
|
+
* @examplePrompt Is this mass parametric?
|
|
1218
|
+
* @examplePrompt Read back the dome's creation parameters
|
|
1219
|
+
* @examplePrompt How tall was this cylinder made?
|
|
1220
|
+
*
|
|
1221
|
+
* # Example
|
|
1222
|
+
* ```ts
|
|
1223
|
+
* const [mass] = await snaptrude.design.query.listMasses({ isSelected: true })
|
|
1224
|
+
* const params = await snaptrude.design.query.getParameters(mass)
|
|
1225
|
+
* if (params?.kind === "sphere") console.log("radius:", params.values.radius)
|
|
1226
|
+
* ```
|
|
1227
|
+
*/
|
|
1228
|
+
abstract getParameters(component: ComponentHandle): PluginApiReturn<MassParametersRecord | null>;
|
|
1126
1229
|
/**
|
|
1127
1230
|
* Get the **union** axis-aligned bounding box enclosing a set of entities.
|
|
1128
1231
|
*
|
|
@@ -1211,23 +1314,26 @@ export type PluginOutlinePlanPoint = z.infer<typeof PluginOutlinePlanPoint>;
|
|
|
1211
1314
|
export declare const PluginStoreyOutlineOptions: z.ZodObject<{
|
|
1212
1315
|
storey: z.ZodOptional<z.ZodNumber>;
|
|
1213
1316
|
include: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1317
|
+
void: "void";
|
|
1214
1318
|
mass: "mass";
|
|
1215
1319
|
floor: "floor";
|
|
1216
1320
|
wall: "wall";
|
|
1217
1321
|
ceiling: "ceiling";
|
|
1218
|
-
door: "door";
|
|
1219
|
-
window: "window";
|
|
1220
|
-
furniture: "furniture";
|
|
1221
|
-
space: "space";
|
|
1222
1322
|
slab: "slab";
|
|
1223
1323
|
roof: "roof";
|
|
1224
|
-
|
|
1324
|
+
furniture: "furniture";
|
|
1325
|
+
door: "door";
|
|
1326
|
+
window: "window";
|
|
1225
1327
|
beam: "beam";
|
|
1328
|
+
column: "column";
|
|
1329
|
+
space: "space";
|
|
1226
1330
|
staircase: "staircase";
|
|
1227
1331
|
referenceLine: "referenceLine";
|
|
1228
1332
|
curtainWall: "curtainWall";
|
|
1229
1333
|
mullion: "mullion";
|
|
1230
1334
|
panel: "panel";
|
|
1335
|
+
parametricComponent: "parametricComponent";
|
|
1336
|
+
grid: "grid";
|
|
1231
1337
|
}>>>;
|
|
1232
1338
|
minArea: z.ZodDefault<z.ZodNumber>;
|
|
1233
1339
|
}, z.core.$strip>;
|
|
@@ -1281,4 +1387,5 @@ export type PluginStoreyOutlineResult = z.infer<typeof PluginStoreyOutlineResult
|
|
|
1281
1387
|
export * from "./geometry";
|
|
1282
1388
|
export * from "./spaces";
|
|
1283
1389
|
export * from "./referenceLines";
|
|
1390
|
+
export * from "./grids";
|
|
1284
1391
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAQnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAA;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,EAAE,kCAAkC,EAAE,MAAM,kBAAkB,CAAA;AACrE,OAAO,EAAE,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AAO,0BAA0B,CAClC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAUhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,4DAA4D;AAC5D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;iBAKpC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAA;AAED,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA"}
|
|
@@ -112,38 +112,6 @@ export declare abstract class PluginDesignQuerySpacesApi {
|
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
114
114
|
abstract getEnclosure(space: ComponentHandle): PluginApiReturn<PluginSpaceEnclosure | null>;
|
|
115
|
-
/**
|
|
116
|
-
* List the space's **engine-generated BIM components** — the walls, floors
|
|
117
|
-
* and slabs the parametric engine derived from this space, grouped by kind.
|
|
118
|
-
*
|
|
119
|
-
* Unlike {@linkcode getEnclosure} (a geometric best-effort match), this read
|
|
120
|
-
* reports the engine's own derivation records, so every returned handle is a
|
|
121
|
-
* component the engine created *for this space*.
|
|
122
|
-
*
|
|
123
|
-
* The derived set is NOT stable across writes: a merge/split/rebuild of the
|
|
124
|
-
* space graph retires members and creates successors — re-query after any
|
|
125
|
-
* write that touches the space. This is the churn-recovery anchor: when a
|
|
126
|
-
* cached derived handle goes stale, call this again to pick up the current
|
|
127
|
-
* set.
|
|
128
|
-
*
|
|
129
|
-
* @param space - The space (room mass) to read
|
|
130
|
-
* @returns the generated component handles, grouped by kind
|
|
131
|
-
* ({@linkcode PluginSpaceGeneratedBim}); a group is `[]` when the engine
|
|
132
|
-
* derived nothing of that kind
|
|
133
|
-
* @throws If the space does not exist or the component is not a space/mass
|
|
134
|
-
*
|
|
135
|
-
* @examplePrompt Which walls did this room generate?
|
|
136
|
-
* @examplePrompt List the BIM components derived from the selected space
|
|
137
|
-
* @examplePrompt Get the floors and slabs that belong to this room
|
|
138
|
-
*
|
|
139
|
-
* # Example
|
|
140
|
-
* ```ts
|
|
141
|
-
* const [space] = await snaptrude.design.query.listSpaces()
|
|
142
|
-
* const bim = await snaptrude.design.query.spaces.listGeneratedBim(space)
|
|
143
|
-
* console.log(`${bim.walls.length} walls, ${bim.floors.length} floors`)
|
|
144
|
-
* ```
|
|
145
|
-
*/
|
|
146
|
-
abstract listGeneratedBim(space: ComponentHandle): PluginApiReturn<PluginSpaceGeneratedBim>;
|
|
147
115
|
}
|
|
148
116
|
/**
|
|
149
117
|
* Arguments for {@linkcode PluginDesignQuerySpacesApi.getFootprint}.
|
|
@@ -167,9 +135,9 @@ export declare const PluginDesignQuerySpacesGetProperty: z.ZodEnum<{
|
|
|
167
135
|
type: "type";
|
|
168
136
|
id: "id";
|
|
169
137
|
position: "position";
|
|
138
|
+
height: "height";
|
|
170
139
|
name: "name";
|
|
171
140
|
storey: "storey";
|
|
172
|
-
height: "height";
|
|
173
141
|
depth: "depth";
|
|
174
142
|
innerProfiles: "innerProfiles";
|
|
175
143
|
room_type: "room_type";
|
|
@@ -203,9 +171,9 @@ export declare const PluginDesignQuerySpacesGetArgs: z.ZodObject<{
|
|
|
203
171
|
type: "type";
|
|
204
172
|
id: "id";
|
|
205
173
|
position: "position";
|
|
174
|
+
height: "height";
|
|
206
175
|
name: "name";
|
|
207
176
|
storey: "storey";
|
|
208
|
-
height: "height";
|
|
209
177
|
depth: "depth";
|
|
210
178
|
innerProfiles: "innerProfiles";
|
|
211
179
|
room_type: "room_type";
|
|
@@ -231,7 +199,7 @@ export type PluginDesignQuerySpacesGetArgs = z.infer<typeof PluginDesignQuerySpa
|
|
|
231
199
|
* requested properties are present.
|
|
232
200
|
*/
|
|
233
201
|
export declare const PluginDesignQuerySpacesGetResult: z.ZodObject<{
|
|
234
|
-
profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>>>;
|
|
202
|
+
profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>>>;
|
|
235
203
|
type: z.ZodOptional<z.ZodString>;
|
|
236
204
|
id: z.ZodOptional<z.ZodString>;
|
|
237
205
|
position: z.ZodOptional<z.ZodObject<{
|
|
@@ -239,11 +207,11 @@ export declare const PluginDesignQuerySpacesGetResult: z.ZodObject<{
|
|
|
239
207
|
y: z.ZodNumber;
|
|
240
208
|
z: z.ZodNumber;
|
|
241
209
|
}, z.core.$strip>>;
|
|
210
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
242
211
|
name: z.ZodOptional<z.ZodString>;
|
|
243
212
|
storey: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
245
213
|
depth: z.ZodOptional<z.ZodNumber>;
|
|
246
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>]>>>>;
|
|
214
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"spline">, string>>]>>>>;
|
|
247
215
|
room_type: z.ZodOptional<z.ZodString>;
|
|
248
216
|
area: z.ZodOptional<z.ZodNumber>;
|
|
249
217
|
breadth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -423,33 +391,4 @@ export declare const PluginSpaceEnclosure: z.ZodObject<{
|
|
|
423
391
|
}, z.core.$strip>>;
|
|
424
392
|
}, z.core.$strip>;
|
|
425
393
|
export type PluginSpaceEnclosure = z.infer<typeof PluginSpaceEnclosure>;
|
|
426
|
-
/**
|
|
427
|
-
* Arguments for {@linkcode PluginDesignQuerySpacesApi.listGeneratedBim}.
|
|
428
|
-
*
|
|
429
|
-
* | Property | Type | Description |
|
|
430
|
-
* |---|---|---|
|
|
431
|
-
* | `space` | {@linkcode ComponentHandle} | The space (room mass) to read |
|
|
432
|
-
*/
|
|
433
|
-
export declare const PluginDesignQuerySpacesListGeneratedBimArgs: z.ZodObject<{
|
|
434
|
-
space: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
435
|
-
}, z.core.$strip>;
|
|
436
|
-
export type PluginDesignQuerySpacesListGeneratedBimArgs = z.infer<typeof PluginDesignQuerySpacesListGeneratedBimArgs>;
|
|
437
|
-
/**
|
|
438
|
-
* Result of {@linkcode PluginDesignQuerySpacesApi.listGeneratedBim} — the
|
|
439
|
-
* space's engine-generated BIM component handles, grouped by kind. The set
|
|
440
|
-
* changes whenever a write merges/splits/rebuilds the space graph — re-query
|
|
441
|
-
* after writes rather than caching it.
|
|
442
|
-
*
|
|
443
|
-
* | Property | Type | Description |
|
|
444
|
-
* |---|---|---|
|
|
445
|
-
* | `walls` | {@linkcode ComponentHandle}`[]` | Walls the engine derived from the space |
|
|
446
|
-
* | `floors` | {@linkcode ComponentHandle}`[]` | Floors the engine derived from the space |
|
|
447
|
-
* | `slabs` | {@linkcode ComponentHandle}`[]` | Slabs the engine derived from the space |
|
|
448
|
-
*/
|
|
449
|
-
export declare const PluginSpaceGeneratedBim: z.ZodObject<{
|
|
450
|
-
walls: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
451
|
-
floors: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
452
|
-
slabs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
453
|
-
}, z.core.$strip>;
|
|
454
|
-
export type PluginSpaceGeneratedBim = z.infer<typeof PluginSpaceGeneratedBim>;
|
|
455
394
|
//# sourceMappingURL=spaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/spaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGjE;;;;;;;;;;;GAWG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;aACa,GAAG,CACjB,KAAK,EAAE,eAAe,EACtB,UAAU,EAAE,8BAA8B,CAAC,YAAY,CAAC,GACvD,eAAe,CAAC,gCAAgC,CAAC;IAEpD;;;;;;;;;;;;;;;;;;;OAmBG;aACa,YAAY,CAC1B,KAAK,EAAE,eAAe,GACrB,eAAe,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E;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAI/B,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -38,20 +38,20 @@ import { PluginDesignChangeResult } from "../lock";
|
|
|
38
38
|
*/
|
|
39
39
|
export declare const PluginSelectionEntityType: z.ZodEnum<{
|
|
40
40
|
terrain: "terrain";
|
|
41
|
+
cad: "cad";
|
|
41
42
|
floor: "floor";
|
|
42
43
|
wall: "wall";
|
|
43
44
|
ceiling: "ceiling";
|
|
44
45
|
image: "image";
|
|
45
|
-
cad: "cad";
|
|
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";
|
|
50
|
+
door: "door";
|
|
51
|
+
window: "window";
|
|
54
52
|
beam: "beam";
|
|
53
|
+
column: "column";
|
|
54
|
+
space: "space";
|
|
55
55
|
staircase: "staircase";
|
|
56
56
|
referenceLine: "referenceLine";
|
|
57
57
|
pergola: "pergola";
|
|
@@ -79,20 +79,20 @@ export declare const PluginSelectionFilter: z.ZodObject<{
|
|
|
79
79
|
storeys: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
80
80
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
81
81
|
terrain: "terrain";
|
|
82
|
+
cad: "cad";
|
|
82
83
|
floor: "floor";
|
|
83
84
|
wall: "wall";
|
|
84
85
|
ceiling: "ceiling";
|
|
85
86
|
image: "image";
|
|
86
|
-
cad: "cad";
|
|
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";
|
|
91
|
+
door: "door";
|
|
92
|
+
window: "window";
|
|
95
93
|
beam: "beam";
|
|
94
|
+
column: "column";
|
|
95
|
+
space: "space";
|
|
96
96
|
staircase: "staircase";
|
|
97
97
|
referenceLine: "referenceLine";
|
|
98
98
|
pergola: "pergola";
|