@snaptrude/plugin-core 1.0.2-plainpoint-20261026.2 → 1.0.2
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 +1 -0
- package/CHANGELOG.md +12 -0
- package/api-manifest.json +60 -0
- package/dist/api/core/camera/index.d.ts +4 -12
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/core/comment/index.d.ts +3 -7
- package/dist/api/core/comment/index.d.ts.map +1 -1
- package/dist/api/core/geom/create/index.d.ts +21 -69
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/circle.d.ts +11 -31
- package/dist/api/core/geom/query/circle.d.ts.map +1 -1
- package/dist/api/core/geom/query/contour.d.ts +7 -19
- package/dist/api/core/geom/query/contour.d.ts.map +1 -1
- package/dist/api/core/geom/query/curve.d.ts +24 -72
- package/dist/api/core/geom/query/curve.d.ts.map +1 -1
- package/dist/api/core/geom/query/profile.d.ts +7 -19
- package/dist/api/core/geom/query/profile.d.ts.map +1 -1
- package/dist/api/core/geom/update/contour.d.ts +12 -36
- package/dist/api/core/geom/update/contour.d.ts.map +1 -1
- package/dist/api/core/geom/update/curve.d.ts +5 -13
- package/dist/api/core/geom/update/curve.d.ts.map +1 -1
- package/dist/api/core/geom/update/profile.d.ts +12 -36
- package/dist/api/core/geom/update/profile.d.ts.map +1 -1
- package/dist/api/core/io/import/index.d.ts +3 -7
- package/dist/api/core/io/import/index.d.ts.map +1 -1
- package/dist/api/core/math/quat.d.ts +2 -2
- package/dist/api/core/math/quat.d.ts.map +1 -1
- package/dist/api/core/math/vec3.d.ts +15 -15
- package/dist/api/core/math/vec3.d.ts.map +1 -1
- package/dist/api/design/boolean/index.d.ts +4 -20
- package/dist/api/design/boolean/index.d.ts.map +1 -1
- package/dist/api/design/create/bulk-items.d.ts +4 -20
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +27 -67
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/delete/index.d.ts +7 -14
- package/dist/api/design/delete/index.d.ts.map +1 -1
- package/dist/api/design/dimensions.d.ts +4 -12
- package/dist/api/design/dimensions.d.ts.map +1 -1
- package/dist/api/design/edit/index.d.ts +3 -7
- package/dist/api/design/edit/index.d.ts.map +1 -1
- package/dist/api/design/erase/index.d.ts +2 -10
- package/dist/api/design/erase/index.d.ts.map +1 -1
- package/dist/api/design/family.d.ts +1 -5
- package/dist/api/design/family.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +5 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/lock.d.ts +0 -3
- package/dist/api/design/lock.d.ts.map +1 -1
- package/dist/api/design/text.d.ts +400 -0
- package/dist/api/design/text.d.ts.map +1 -0
- package/dist/api/design/transform/index.d.ts +8 -28
- package/dist/api/design/transform/index.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +6 -30
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/api/presentation/drawings.d.ts +46 -1
- package/dist/api/presentation/drawings.d.ts.map +1 -1
- package/dist/api/presentation/graphics.d.ts +4 -0
- package/dist/api/presentation/graphics.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +29 -1
- package/dist/api/presentation/placedViews.d.ts.map +1 -1
- package/dist/api/presentation/standards.d.ts +14 -0
- package/dist/api/presentation/standards.d.ts.map +1 -1
- package/dist/handles.d.ts +0 -8
- package/dist/handles.d.ts.map +1 -1
- package/dist/index.cjs +2281 -2188
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2269 -2187
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/api/core/camera/index.ts +5 -5
- package/src/api/core/comment/index.ts +3 -3
- package/src/api/core/geom/create/index.ts +25 -25
- package/src/api/core/geom/query/circle.ts +11 -11
- package/src/api/core/geom/query/contour.ts +6 -7
- package/src/api/core/geom/query/curve.ts +25 -25
- package/src/api/core/geom/query/profile.ts +6 -7
- package/src/api/core/geom/update/contour.ts +11 -12
- package/src/api/core/geom/update/curve.ts +5 -5
- package/src/api/core/geom/update/profile.ts +11 -12
- package/src/api/core/io/import/index.ts +2 -3
- package/src/api/core/math/quat.ts +2 -2
- package/src/api/core/math/vec3.ts +16 -16
- package/src/api/design/boolean/index.ts +2 -2
- package/src/api/design/create/bulk-items.ts +2 -3
- package/src/api/design/create/index.ts +26 -27
- package/src/api/design/delete/index.ts +7 -14
- package/src/api/design/dimensions.ts +4 -5
- package/src/api/design/edit/index.ts +3 -3
- package/src/api/design/erase/index.ts +2 -2
- package/src/api/design/family.ts +1 -2
- package/src/api/design/index.ts +5 -0
- package/src/api/design/lock.ts +0 -6
- package/src/api/design/text.ts +394 -0
- package/src/api/design/transform/index.ts +7 -15
- package/src/api/entity/space.ts +4 -5
- package/src/api/presentation/graphics.ts +4 -1
- package/src/api/presentation/placedViews.ts +12 -0
- package/src/api/presentation/standards.ts +6 -0
- package/src/handles.ts +0 -11
- package/test/designText.test.mjs +72 -0
- package/test/paperPensContract.test.mjs +39 -0
- package/test/handles.test.mjs +0 -36
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../../types";
|
|
3
|
-
import {
|
|
3
|
+
import { Vec3Handle, CurveHandle } from "../../../../handles";
|
|
4
4
|
/**
|
|
5
5
|
* Curve editing — produce NEW curves from an existing one (all-handle model, §11).
|
|
6
6
|
*
|
|
@@ -52,7 +52,7 @@ export declare abstract class PluginGeomUpdateCurveApi {
|
|
|
52
52
|
* const [left, right] = await snaptrude.core.geom.update.curve.split(line, mid)
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
|
-
abstract split(curve: CurveHandle, point:
|
|
55
|
+
abstract split(curve: CurveHandle, point: Vec3Handle): PluginApiReturn<CurveHandle[]>;
|
|
56
56
|
/**
|
|
57
57
|
* Trim a curve to the portion between two parameter values. Host API call — returns a handle.
|
|
58
58
|
*
|
|
@@ -92,7 +92,7 @@ export declare abstract class PluginGeomUpdateCurveApi {
|
|
|
92
92
|
* const parallel = await snaptrude.core.geom.update.curve.offset(line, sideways)
|
|
93
93
|
* ```
|
|
94
94
|
*/
|
|
95
|
-
abstract offset(curve: CurveHandle, vector:
|
|
95
|
+
abstract offset(curve: CurveHandle, vector: Vec3Handle): PluginApiReturn<CurveHandle>;
|
|
96
96
|
/**
|
|
97
97
|
* Reverse the direction of a curve. Host API call — returns a handle.
|
|
98
98
|
*
|
|
@@ -135,11 +135,7 @@ export type PluginGeomUpdateCurveExtendArgs = z.infer<typeof PluginGeomUpdateCur
|
|
|
135
135
|
*/
|
|
136
136
|
export declare const PluginGeomUpdateCurveSplitArgs: z.ZodObject<{
|
|
137
137
|
curve: 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>>]>;
|
|
138
|
-
point: z.
|
|
139
|
-
x: z.ZodNumber;
|
|
140
|
-
y: z.ZodNumber;
|
|
141
|
-
z: z.ZodNumber;
|
|
142
|
-
}, z.core.$strip>]>;
|
|
138
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
143
139
|
}, z.core.$strip>;
|
|
144
140
|
export type PluginGeomUpdateCurveSplitArgs = z.infer<typeof PluginGeomUpdateCurveSplitArgs>;
|
|
145
141
|
/**
|
|
@@ -167,11 +163,7 @@ export type PluginGeomUpdateCurveTrimArgs = z.infer<typeof PluginGeomUpdateCurve
|
|
|
167
163
|
*/
|
|
168
164
|
export declare const PluginGeomUpdateCurveOffsetArgs: z.ZodObject<{
|
|
169
165
|
curve: 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>>]>;
|
|
170
|
-
vector: z.
|
|
171
|
-
x: z.ZodNumber;
|
|
172
|
-
y: z.ZodNumber;
|
|
173
|
-
z: z.ZodNumber;
|
|
174
|
-
}, z.core.$strip>]>;
|
|
166
|
+
vector: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
175
167
|
}, z.core.$strip>;
|
|
176
168
|
export type PluginGeomUpdateCurveOffsetArgs = z.infer<typeof PluginGeomUpdateCurveOffsetArgs>;
|
|
177
169
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"curve.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/update/curve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"curve.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/update/curve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAE7D;;;;;;;;GAQG;AACH,8BAAsB,wBAAwB;;IAG5C;;;;;;;;;;;;;;;;;;;OAmBG;aACa,MAAM,CACpB,KAAK,EAAE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A;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../../types";
|
|
3
|
-
import { ProfileHandle,
|
|
3
|
+
import { ProfileHandle, Vec3Handle, CurveHandle, Vec3Components } from "../../../../handles";
|
|
4
4
|
/**
|
|
5
5
|
* Profile editing — produce NEW profiles from an existing one (all-handle model, §11).
|
|
6
6
|
*
|
|
@@ -53,7 +53,7 @@ export declare abstract class PluginGeomUpdateProfileApi {
|
|
|
53
53
|
* const moved = await snaptrude.core.geom.update.profile.move(rect, shift)
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
abstract move(profile: ProfileHandle, translation:
|
|
56
|
+
abstract move(profile: ProfileHandle, translation: Vec3Handle): PluginApiReturn<ProfileHandle>;
|
|
57
57
|
/**
|
|
58
58
|
* Rotate a profile about an axis through an optional pivot. Immutable — returns a
|
|
59
59
|
* NEW profile and leaves the input unchanged.
|
|
@@ -74,7 +74,7 @@ export declare abstract class PluginGeomUpdateProfileApi {
|
|
|
74
74
|
* const rotated = await snaptrude.core.geom.update.profile.rotate(rect, axis, Math.PI / 6)
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
abstract rotate(profile: ProfileHandle, axis:
|
|
77
|
+
abstract rotate(profile: ProfileHandle, axis: Vec3Handle, angle: number, pivot?: Vec3Handle): PluginApiReturn<ProfileHandle>;
|
|
78
78
|
/**
|
|
79
79
|
* Scale a profile uniformly or per-axis about an optional pivot. Immutable —
|
|
80
80
|
* returns a NEW profile and leaves the input unchanged.
|
|
@@ -94,7 +94,7 @@ export declare abstract class PluginGeomUpdateProfileApi {
|
|
|
94
94
|
* const stretched = await snaptrude.core.geom.update.profile.scale(rect, { x: 2, y: 1, z: 1 })
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
97
|
-
abstract scale(profile: ProfileHandle, factor: number | Vec3Components, pivot?:
|
|
97
|
+
abstract scale(profile: ProfileHandle, factor: number | Vec3Components, pivot?: Vec3Handle): PluginApiReturn<ProfileHandle>;
|
|
98
98
|
/**
|
|
99
99
|
* Mirror a profile across a plane. Immutable — returns a NEW profile and leaves
|
|
100
100
|
* the input unchanged.
|
|
@@ -115,8 +115,8 @@ export declare abstract class PluginGeomUpdateProfileApi {
|
|
|
115
115
|
* ```
|
|
116
116
|
*/
|
|
117
117
|
abstract mirror(profile: ProfileHandle, plane: {
|
|
118
|
-
point:
|
|
119
|
-
normal:
|
|
118
|
+
point: Vec3Handle;
|
|
119
|
+
normal: Vec3Handle;
|
|
120
120
|
}): PluginApiReturn<ProfileHandle>;
|
|
121
121
|
/**
|
|
122
122
|
* Append a curve to the start or end of a profile. The curve must connect to the
|
|
@@ -217,11 +217,7 @@ export type PluginGeomUpdateProfileOffsetArgs = z.infer<typeof PluginGeomUpdateP
|
|
|
217
217
|
*/
|
|
218
218
|
export declare const PluginGeomUpdateProfileMoveArgs: z.ZodObject<{
|
|
219
219
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
|
|
220
|
-
translation: z.
|
|
221
|
-
x: z.ZodNumber;
|
|
222
|
-
y: z.ZodNumber;
|
|
223
|
-
z: z.ZodNumber;
|
|
224
|
-
}, z.core.$strip>]>;
|
|
220
|
+
translation: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
225
221
|
}, z.core.$strip>;
|
|
226
222
|
export type PluginGeomUpdateProfileMoveArgs = z.infer<typeof PluginGeomUpdateProfileMoveArgs>;
|
|
227
223
|
/**
|
|
@@ -236,17 +232,9 @@ export type PluginGeomUpdateProfileMoveArgs = z.infer<typeof PluginGeomUpdatePro
|
|
|
236
232
|
*/
|
|
237
233
|
export declare const PluginGeomUpdateProfileRotateArgs: z.ZodObject<{
|
|
238
234
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
|
|
239
|
-
axis: z.
|
|
240
|
-
x: z.ZodNumber;
|
|
241
|
-
y: z.ZodNumber;
|
|
242
|
-
z: z.ZodNumber;
|
|
243
|
-
}, z.core.$strip>]>;
|
|
235
|
+
axis: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
244
236
|
angle: z.ZodNumber;
|
|
245
|
-
pivot: z.ZodOptional<z.
|
|
246
|
-
x: z.ZodNumber;
|
|
247
|
-
y: z.ZodNumber;
|
|
248
|
-
z: z.ZodNumber;
|
|
249
|
-
}, z.core.$strip>]>>;
|
|
237
|
+
pivot: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
|
|
250
238
|
}, z.core.$strip>;
|
|
251
239
|
export type PluginGeomUpdateProfileRotateArgs = z.infer<typeof PluginGeomUpdateProfileRotateArgs>;
|
|
252
240
|
/**
|
|
@@ -265,11 +253,7 @@ export declare const PluginGeomUpdateProfileScaleArgs: z.ZodObject<{
|
|
|
265
253
|
y: z.ZodNumber;
|
|
266
254
|
z: z.ZodNumber;
|
|
267
255
|
}, z.core.$strip>]>;
|
|
268
|
-
pivot: z.ZodOptional<z.
|
|
269
|
-
x: z.ZodNumber;
|
|
270
|
-
y: z.ZodNumber;
|
|
271
|
-
z: z.ZodNumber;
|
|
272
|
-
}, z.core.$strip>]>>;
|
|
256
|
+
pivot: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
|
|
273
257
|
}, z.core.$strip>;
|
|
274
258
|
export type PluginGeomUpdateProfileScaleArgs = z.infer<typeof PluginGeomUpdateProfileScaleArgs>;
|
|
275
259
|
/**
|
|
@@ -283,16 +267,8 @@ export type PluginGeomUpdateProfileScaleArgs = z.infer<typeof PluginGeomUpdatePr
|
|
|
283
267
|
export declare const PluginGeomUpdateProfileMirrorArgs: z.ZodObject<{
|
|
284
268
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
|
|
285
269
|
plane: z.ZodObject<{
|
|
286
|
-
point: z.
|
|
287
|
-
|
|
288
|
-
y: z.ZodNumber;
|
|
289
|
-
z: z.ZodNumber;
|
|
290
|
-
}, z.core.$strip>]>;
|
|
291
|
-
normal: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
|
|
292
|
-
x: z.ZodNumber;
|
|
293
|
-
y: z.ZodNumber;
|
|
294
|
-
z: z.ZodNumber;
|
|
295
|
-
}, z.core.$strip>]>;
|
|
270
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
271
|
+
normal: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
296
272
|
}, z.core.$strip>;
|
|
297
273
|
}, z.core.$strip>;
|
|
298
274
|
export type PluginGeomUpdateProfileMirrorArgs = z.infer<typeof PluginGeomUpdateProfileMirrorArgs>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/update/profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/update/profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,aAAa,EACb,UAAU,EACV,WAAW,EACX,cAAc,EACf,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;;;GAUG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;;OAmBG;aACa,MAAM,CACpB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,MAAM,GACf,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;OAiBG;aACa,IAAI,CAClB,OAAO,EAAE,aAAa,EACtB,WAAW,EAAE,UAAU,GACtB,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;;OAmBG;aACa,MAAM,CACpB,OAAO,EAAE,aAAa,EACtB,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,UAAU,GACjB,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;OAkBG;aACa,KAAK,CACnB,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,GAAG,cAAc,EAC/B,KAAK,CAAC,EAAE,UAAU,GACjB,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;OAkBG;aACa,MAAM,CACpB,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE;QAAE,KAAK,EAAE,UAAU,CAAC;QAAC,MAAM,EAAE,UAAU,CAAA;KAAE,GAC/C,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;;;OAoBG;aACa,GAAG,CACjB,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,WAAW,EAClB,QAAQ,CAAC,E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,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;;;;iBAG5C,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAEnG;;;;;;GAMG;AACH,eAAO,MAAM,mCAAmC;;iBAE9C,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../../types";
|
|
3
|
-
import {
|
|
3
|
+
import { Vec3Handle, UnderlayHandle, TerrainHandle, ImportJobHandle, ComponentHandle } from "../../../../handles";
|
|
4
4
|
/**
|
|
5
5
|
* A file `source` accepted by every importer: an `https://` URL or a `data:`
|
|
6
6
|
* URL (base64). Validated for shape at the boundary — other schemes (`http:`,
|
|
@@ -226,7 +226,7 @@ export declare abstract class PluginCoreIoImportApi {
|
|
|
226
226
|
* )
|
|
227
227
|
* ```
|
|
228
228
|
*/
|
|
229
|
-
abstract model(source: string, storey?: number, format?: ModelFormat, position?:
|
|
229
|
+
abstract model(source: string, storey?: number, format?: ModelFormat, position?: Vec3Handle, label?: string): PluginApiReturn<ComponentHandle>;
|
|
230
230
|
/**
|
|
231
231
|
* Import **site terrain** for a location — Mapbox topography (elevation +
|
|
232
232
|
* satellite/streets imagery, optional neighborhood buildings and parcels).
|
|
@@ -398,11 +398,7 @@ export declare const PluginImportModelArgs: z.ZodObject<{
|
|
|
398
398
|
"3ds": "3ds";
|
|
399
399
|
zip: "zip";
|
|
400
400
|
}>>;
|
|
401
|
-
position: z.ZodOptional<z.
|
|
402
|
-
x: z.ZodNumber;
|
|
403
|
-
y: z.ZodNumber;
|
|
404
|
-
z: z.ZodNumber;
|
|
405
|
-
}, z.core.$strip>]>>;
|
|
401
|
+
position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
|
|
406
402
|
label: z.ZodOptional<z.ZodString>;
|
|
407
403
|
}, z.core.$strip>;
|
|
408
404
|
export type PluginImportModelArgs = z.infer<typeof PluginImportModelArgs>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/io/import/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/io/import/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,UAAU,EACV,cAAc,EACd,aAAa,EACb,eAAe,EACf,eAAe,EAChB,MAAM,qBAAqB,CAAA;AAE5B;;;;GAIG;AACH,eAAO,MAAM,YAAY,aAKrB,CAAA;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;aACa,KAAK,CACnB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM,GACb,eAAe,CAAC,cAAc,CAAC;IAElC;;;;;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AC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluginApiReturn } from "../../../types";
|
|
2
|
-
import { Vec3Handle,
|
|
2
|
+
import { Vec3Handle, QuatHandle, QuatComponents } from "../../../handles";
|
|
3
3
|
/**
|
|
4
4
|
* Quaternion operations (all-handle model, §11).
|
|
5
5
|
*
|
|
@@ -37,7 +37,7 @@ export declare abstract class PluginQuatApi {
|
|
|
37
37
|
* const quarterTurn = await snaptrude.core.math.quat.fromAxisAngle(axis, Math.PI / 2)
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
abstract fromAxisAngle(axis:
|
|
40
|
+
abstract fromAxisAngle(axis: Vec3Handle, angle: number): PluginApiReturn<QuatHandle>;
|
|
41
41
|
/**
|
|
42
42
|
* Build a quaternion from Euler angles in radians.
|
|
43
43
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quat.d.ts","sourceRoot":"","sources":["../../../../src/api/core/math/quat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"quat.d.ts","sourceRoot":"","sources":["../../../../src/api/core/math/quat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEzE;;;;;;GAMG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;OAQG;IACH,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAA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e,CAAC,UAAU,CAAC;IACpF;;;;;;;;;OASG;IACH,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC;IACnE;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC;IACvE;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAY,CACnB,CAAC,EAAE,UAAU,EACb,CAAC,EAAE,UAAU,EACb,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,CAAC,OAAO,CAAC;IAC3B;;;;;;;;OAQG;IACH,QAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,cAAc,CAAC;CACpE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluginApiReturn } from "../../../types";
|
|
2
|
-
import { Vec3Handle,
|
|
2
|
+
import { Vec3Handle, Vec3Components } from "../../../handles";
|
|
3
3
|
/**
|
|
4
4
|
* 3D vector operations (all-handle model, §11).
|
|
5
5
|
*
|
|
@@ -29,7 +29,7 @@ export declare abstract class PluginVec3Api {
|
|
|
29
29
|
* const sum = await snaptrude.core.math.vec3.add(a, b)
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
abstract add(a:
|
|
32
|
+
abstract add(a: Vec3Handle, b: Vec3Handle): PluginApiReturn<Vec3Handle>;
|
|
33
33
|
/**
|
|
34
34
|
* Subtract vector `b` from `a` component-wise (`a - b`).
|
|
35
35
|
*
|
|
@@ -40,7 +40,7 @@ export declare abstract class PluginVec3Api {
|
|
|
40
40
|
* const diff = await snaptrude.core.math.vec3.subtract(a, b)
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
abstract subtract(a:
|
|
43
|
+
abstract subtract(a: Vec3Handle, b: Vec3Handle): PluginApiReturn<Vec3Handle>;
|
|
44
44
|
/**
|
|
45
45
|
* Scale `v` by a scalar.
|
|
46
46
|
*
|
|
@@ -50,7 +50,7 @@ export declare abstract class PluginVec3Api {
|
|
|
50
50
|
* const doubled = await snaptrude.core.math.vec3.scale(v, 2)
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
|
-
abstract scale(v:
|
|
53
|
+
abstract scale(v: Vec3Handle, scalar: number): PluginApiReturn<Vec3Handle>;
|
|
54
54
|
/**
|
|
55
55
|
* Compute the dot product of two vectors.
|
|
56
56
|
*
|
|
@@ -61,7 +61,7 @@ export declare abstract class PluginVec3Api {
|
|
|
61
61
|
* const d = await snaptrude.core.math.vec3.dot(a, b) // 0.5
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
abstract dot(a:
|
|
64
|
+
abstract dot(a: Vec3Handle, b: Vec3Handle): PluginApiReturn<number>;
|
|
65
65
|
/**
|
|
66
66
|
* Compute the cross product `a × b` — the vector perpendicular to both.
|
|
67
67
|
*
|
|
@@ -72,7 +72,7 @@ export declare abstract class PluginVec3Api {
|
|
|
72
72
|
* const perpendicular = await snaptrude.core.math.vec3.cross(a, b)
|
|
73
73
|
* ```
|
|
74
74
|
*/
|
|
75
|
-
abstract cross(a:
|
|
75
|
+
abstract cross(a: Vec3Handle, b: Vec3Handle): PluginApiReturn<Vec3Handle>;
|
|
76
76
|
/**
|
|
77
77
|
* Compute the Euclidean length (magnitude) of a vector.
|
|
78
78
|
*
|
|
@@ -82,7 +82,7 @@ export declare abstract class PluginVec3Api {
|
|
|
82
82
|
* const len = await snaptrude.core.math.vec3.length(v) // 5
|
|
83
83
|
* ```
|
|
84
84
|
*/
|
|
85
|
-
abstract length(v:
|
|
85
|
+
abstract length(v: Vec3Handle): PluginApiReturn<number>;
|
|
86
86
|
/**
|
|
87
87
|
* Compute the squared Euclidean length of a vector (avoids the sqrt).
|
|
88
88
|
*
|
|
@@ -92,7 +92,7 @@ export declare abstract class PluginVec3Api {
|
|
|
92
92
|
* const sq = await snaptrude.core.math.vec3.lengthSquared(v) // 25
|
|
93
93
|
* ```
|
|
94
94
|
*/
|
|
95
|
-
abstract lengthSquared(v:
|
|
95
|
+
abstract lengthSquared(v: Vec3Handle): PluginApiReturn<number>;
|
|
96
96
|
/**
|
|
97
97
|
* Return the unit vector in the same direction (the zero vector if length is 0).
|
|
98
98
|
*
|
|
@@ -102,7 +102,7 @@ export declare abstract class PluginVec3Api {
|
|
|
102
102
|
* const unit = await snaptrude.core.math.vec3.normalize(v) // (0, 0, 1)
|
|
103
103
|
* ```
|
|
104
104
|
*/
|
|
105
|
-
abstract normalize(v:
|
|
105
|
+
abstract normalize(v: Vec3Handle): PluginApiReturn<Vec3Handle>;
|
|
106
106
|
/**
|
|
107
107
|
* Measure the straight-line (Euclidean) distance between two points.
|
|
108
108
|
*
|
|
@@ -116,7 +116,7 @@ export declare abstract class PluginVec3Api {
|
|
|
116
116
|
* const dist = await snaptrude.core.math.vec3.distance(a, b) // 5
|
|
117
117
|
* ```
|
|
118
118
|
*/
|
|
119
|
-
abstract distance(a:
|
|
119
|
+
abstract distance(a: Vec3Handle, b: Vec3Handle): PluginApiReturn<number>;
|
|
120
120
|
/**
|
|
121
121
|
* Linearly interpolate between two vectors: `a + (b - a) * t`.
|
|
122
122
|
*
|
|
@@ -127,7 +127,7 @@ export declare abstract class PluginVec3Api {
|
|
|
127
127
|
* const midpoint = await snaptrude.core.math.vec3.lerp(a, b, 0.5)
|
|
128
128
|
* ```
|
|
129
129
|
*/
|
|
130
|
-
abstract lerp(a:
|
|
130
|
+
abstract lerp(a: Vec3Handle, b: Vec3Handle, t: number): PluginApiReturn<Vec3Handle>;
|
|
131
131
|
/**
|
|
132
132
|
* Negate a vector, reversing its direction.
|
|
133
133
|
*
|
|
@@ -137,7 +137,7 @@ export declare abstract class PluginVec3Api {
|
|
|
137
137
|
* const reversed = await snaptrude.core.math.vec3.negate(v) // (-1, 2, -3)
|
|
138
138
|
* ```
|
|
139
139
|
*/
|
|
140
|
-
abstract negate(v:
|
|
140
|
+
abstract negate(v: Vec3Handle): PluginApiReturn<Vec3Handle>;
|
|
141
141
|
/**
|
|
142
142
|
* Test whether two vectors have exactly equal components.
|
|
143
143
|
*
|
|
@@ -148,7 +148,7 @@ export declare abstract class PluginVec3Api {
|
|
|
148
148
|
* const same = await snaptrude.core.math.vec3.equals(a, b) // true
|
|
149
149
|
* ```
|
|
150
150
|
*/
|
|
151
|
-
abstract equals(a:
|
|
151
|
+
abstract equals(a: Vec3Handle, b: Vec3Handle): PluginApiReturn<boolean>;
|
|
152
152
|
/**
|
|
153
153
|
* Test whether two vectors are equal within a tolerance `epsilon` (default `1e-6`).
|
|
154
154
|
*
|
|
@@ -159,7 +159,7 @@ export declare abstract class PluginVec3Api {
|
|
|
159
159
|
* const close = await snaptrude.core.math.vec3.equalsApprox(a, b, 1e-3) // true
|
|
160
160
|
* ```
|
|
161
161
|
*/
|
|
162
|
-
abstract equalsApprox(a:
|
|
162
|
+
abstract equalsApprox(a: Vec3Handle, b: Vec3Handle, epsilon?: number): PluginApiReturn<boolean>;
|
|
163
163
|
/**
|
|
164
164
|
* Read the primitive `{ x, y, z }` components of a vector handle.
|
|
165
165
|
*
|
|
@@ -169,6 +169,6 @@ export declare abstract class PluginVec3Api {
|
|
|
169
169
|
* const { x, y, z } = await snaptrude.core.math.vec3.components(v)
|
|
170
170
|
* ```
|
|
171
171
|
*/
|
|
172
|
-
abstract components(v:
|
|
172
|
+
abstract components(v: Vec3Handle): PluginApiReturn<Vec3Components>;
|
|
173
173
|
}
|
|
174
174
|
//# sourceMappingURL=vec3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vec3.d.ts","sourceRoot":"","sources":["../../../../src/api/core/math/vec3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"vec3.d.ts","sourceRoot":"","sources":["../../../../src/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C,UAAU,CAAC;IAC9D;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC;IACxE;;;;;;;;;OASG;IACH,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,UAAU,CAAC;IACnF;;;;;;;;OAQG;IACH,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;IAC3D;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC;IACvE;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAY,CACnB,CAAC,EAAE,UAAU,EACb,CAAC,EAAE,UAAU,EACb,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,CAAC,OAAO,CAAC;IAC3B;;;;;;;;OAQG;IACH,QAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,cAAc,CAAC;CACpE"}
|
|
@@ -117,11 +117,7 @@ export declare abstract class PluginDesignBooleanApi {
|
|
|
117
117
|
* | `offset` | {@linkcode Vec3Handle} | Translation added to the created result mass(es) (default: none) |
|
|
118
118
|
*/
|
|
119
119
|
export declare const BooleanOptions: z.ZodObject<{
|
|
120
|
-
offset: z.ZodOptional<z.
|
|
121
|
-
x: z.ZodNumber;
|
|
122
|
-
y: z.ZodNumber;
|
|
123
|
-
z: z.ZodNumber;
|
|
124
|
-
}, z.core.$strip>]>>;
|
|
120
|
+
offset: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
125
121
|
}, z.core.$strip>;
|
|
126
122
|
export type BooleanOptions = z.infer<typeof BooleanOptions>;
|
|
127
123
|
/**
|
|
@@ -135,11 +131,7 @@ export type BooleanOptions = z.infer<typeof BooleanOptions>;
|
|
|
135
131
|
export declare const PluginDesignBooleanUnionArgs: z.ZodObject<{
|
|
136
132
|
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
137
133
|
options: z.ZodOptional<z.ZodObject<{
|
|
138
|
-
offset: z.ZodOptional<z.
|
|
139
|
-
x: z.ZodNumber;
|
|
140
|
-
y: z.ZodNumber;
|
|
141
|
-
z: z.ZodNumber;
|
|
142
|
-
}, z.core.$strip>]>>;
|
|
134
|
+
offset: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
143
135
|
}, z.core.$strip>>;
|
|
144
136
|
}, z.core.$strip>;
|
|
145
137
|
export type PluginDesignBooleanUnionArgs = z.infer<typeof PluginDesignBooleanUnionArgs>;
|
|
@@ -156,11 +148,7 @@ export declare const PluginDesignBooleanSubtractArgs: z.ZodObject<{
|
|
|
156
148
|
target: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
157
149
|
tools: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
158
150
|
options: z.ZodOptional<z.ZodObject<{
|
|
159
|
-
offset: z.ZodOptional<z.
|
|
160
|
-
x: z.ZodNumber;
|
|
161
|
-
y: z.ZodNumber;
|
|
162
|
-
z: z.ZodNumber;
|
|
163
|
-
}, z.core.$strip>]>>;
|
|
151
|
+
offset: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
164
152
|
}, z.core.$strip>>;
|
|
165
153
|
}, z.core.$strip>;
|
|
166
154
|
export type PluginDesignBooleanSubtractArgs = z.infer<typeof PluginDesignBooleanSubtractArgs>;
|
|
@@ -175,11 +163,7 @@ export type PluginDesignBooleanSubtractArgs = z.infer<typeof PluginDesignBoolean
|
|
|
175
163
|
export declare const PluginDesignBooleanIntersectArgs: z.ZodObject<{
|
|
176
164
|
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
177
165
|
options: z.ZodOptional<z.ZodObject<{
|
|
178
|
-
offset: z.ZodOptional<z.
|
|
179
|
-
x: z.ZodNumber;
|
|
180
|
-
y: z.ZodNumber;
|
|
181
|
-
z: z.ZodNumber;
|
|
182
|
-
}, z.core.$strip>]>>;
|
|
166
|
+
offset: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
183
167
|
}, z.core.$strip>>;
|
|
184
168
|
}, z.core.$strip>;
|
|
185
169
|
export type PluginDesignBooleanIntersectArgs = z.infer<typeof PluginDesignBooleanIntersectArgs>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/boolean/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/boolean/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAc,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,8BAAsB,sBAAsB;;IAG1C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,KAAK,CACnB,UAAU,EAAE,eAAe,EAAE,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,eAAe,CAAC,cAAc,CAAC;IAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;aACa,QAAQ,CACtB,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,eAAe,EAAE,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,eAAe,CAAC,cAAc,CAAC;IAElC;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,SAAS,CACvB,UAAU,EAAE,eAAe,EAAE,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,eAAe,CAAC,cAAc,CAAC;CACnC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;iBAEzB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B;;;;;iBAGvC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAEvF;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B;;;;;;iBAI1C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAE7F;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;iBAG3C,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
|
|
@@ -100,22 +100,14 @@ export type PluginCreateWallRunItems = z.infer<typeof PluginCreateWallRunItems>;
|
|
|
100
100
|
export declare const PluginCreateFloorItem: z.ZodObject<{
|
|
101
101
|
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
|
|
102
102
|
thickness: z.ZodNumber;
|
|
103
|
-
position: z.ZodOptional<z.
|
|
104
|
-
x: z.ZodNumber;
|
|
105
|
-
y: z.ZodNumber;
|
|
106
|
-
z: z.ZodNumber;
|
|
107
|
-
}, z.core.$strip>]>>;
|
|
103
|
+
position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
108
104
|
}, z.core.$strip>;
|
|
109
105
|
export type PluginCreateFloorItem = z.infer<typeof PluginCreateFloorItem>;
|
|
110
106
|
/** The `items` array of {@linkcode PluginDesignCreateApi.floors} (1…1000). */
|
|
111
107
|
export declare const PluginCreateFloorItems: z.ZodArray<z.ZodObject<{
|
|
112
108
|
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"contour">, string>>;
|
|
113
109
|
thickness: z.ZodNumber;
|
|
114
|
-
position: z.ZodOptional<z.
|
|
115
|
-
x: z.ZodNumber;
|
|
116
|
-
y: z.ZodNumber;
|
|
117
|
-
z: z.ZodNumber;
|
|
118
|
-
}, z.core.$strip>]>>;
|
|
110
|
+
position: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
119
111
|
}, z.core.$strip>>;
|
|
120
112
|
export type PluginCreateFloorItems = z.infer<typeof PluginCreateFloorItems>;
|
|
121
113
|
/**
|
|
@@ -238,11 +230,7 @@ export type PluginCreateWindowItems = z.infer<typeof PluginCreateWindowItems>;
|
|
|
238
230
|
*/
|
|
239
231
|
export declare const PluginCreateFurnitureItem: z.ZodObject<{
|
|
240
232
|
catalogId: z.ZodString;
|
|
241
|
-
position: z.
|
|
242
|
-
x: z.ZodNumber;
|
|
243
|
-
y: z.ZodNumber;
|
|
244
|
-
z: z.ZodNumber;
|
|
245
|
-
}, z.core.$strip>]>;
|
|
233
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
246
234
|
label: z.ZodOptional<z.ZodString>;
|
|
247
235
|
angleInDegrees: z.ZodOptional<z.ZodNumber>;
|
|
248
236
|
}, z.core.$strip>;
|
|
@@ -253,11 +241,7 @@ export type PluginCreateFurnitureItem = z.infer<typeof PluginCreateFurnitureItem
|
|
|
253
241
|
*/
|
|
254
242
|
export declare const PluginCreateFurnitureItems: z.ZodArray<z.ZodObject<{
|
|
255
243
|
catalogId: z.ZodString;
|
|
256
|
-
position: z.
|
|
257
|
-
x: z.ZodNumber;
|
|
258
|
-
y: z.ZodNumber;
|
|
259
|
-
z: z.ZodNumber;
|
|
260
|
-
}, z.core.$strip>]>;
|
|
244
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
261
245
|
label: z.ZodOptional<z.ZodString>;
|
|
262
246
|
angleInDegrees: z.ZodOptional<z.ZodNumber>;
|
|
263
247
|
}, z.core.$strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-items.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/bulk-items.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"bulk-items.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/bulk-items.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EACL,eAAe,EAIhB,MAAM,kBAAkB,CAAA;AAKzB;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,OAAO,CAAA;AAM7C;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAA;AACF,MAAM,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