@snaptrude/plugin-core 1.0.2-plainpoint-20261102.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/AGENTS.md +17 -0
  2. package/CHANGELOG.md +6 -0
  3. package/api-manifest.json +35 -31
  4. package/dist/api/core/camera/index.d.ts +6 -16
  5. package/dist/api/core/camera/index.d.ts.map +1 -1
  6. package/dist/api/core/comment/index.d.ts +3 -7
  7. package/dist/api/core/comment/index.d.ts.map +1 -1
  8. package/dist/api/core/geom/create/index.d.ts +21 -69
  9. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/circle.d.ts +11 -31
  11. package/dist/api/core/geom/query/circle.d.ts.map +1 -1
  12. package/dist/api/core/geom/query/contour.d.ts +7 -19
  13. package/dist/api/core/geom/query/contour.d.ts.map +1 -1
  14. package/dist/api/core/geom/query/curve.d.ts +24 -72
  15. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  16. package/dist/api/core/geom/query/profile.d.ts +7 -19
  17. package/dist/api/core/geom/query/profile.d.ts.map +1 -1
  18. package/dist/api/core/geom/update/contour.d.ts +12 -36
  19. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  20. package/dist/api/core/geom/update/curve.d.ts +5 -13
  21. package/dist/api/core/geom/update/curve.d.ts.map +1 -1
  22. package/dist/api/core/geom/update/profile.d.ts +12 -36
  23. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  24. package/dist/api/core/io/import/index.d.ts +3 -7
  25. package/dist/api/core/io/import/index.d.ts.map +1 -1
  26. package/dist/api/core/math/quat.d.ts +2 -2
  27. package/dist/api/core/math/quat.d.ts.map +1 -1
  28. package/dist/api/core/math/vec3.d.ts +15 -15
  29. package/dist/api/core/math/vec3.d.ts.map +1 -1
  30. package/dist/api/core/storeys/index.d.ts +0 -5
  31. package/dist/api/core/storeys/index.d.ts.map +1 -1
  32. package/dist/api/design/boolean/index.d.ts +4 -20
  33. package/dist/api/design/boolean/index.d.ts.map +1 -1
  34. package/dist/api/design/create/bulk-items.d.ts +20 -85
  35. package/dist/api/design/create/bulk-items.d.ts.map +1 -1
  36. package/dist/api/design/create/index.d.ts +71 -134
  37. package/dist/api/design/create/index.d.ts.map +1 -1
  38. package/dist/api/design/create/opening-fields.d.ts +6 -18
  39. package/dist/api/design/create/opening-fields.d.ts.map +1 -1
  40. package/dist/api/design/delete/index.d.ts +7 -14
  41. package/dist/api/design/delete/index.d.ts.map +1 -1
  42. package/dist/api/design/dimensions.d.ts +4 -12
  43. package/dist/api/design/dimensions.d.ts.map +1 -1
  44. package/dist/api/design/doors/index.d.ts +37 -0
  45. package/dist/api/design/doors/index.d.ts.map +1 -1
  46. package/dist/api/design/edit/index.d.ts +3 -7
  47. package/dist/api/design/edit/index.d.ts.map +1 -1
  48. package/dist/api/design/family.d.ts +1 -5
  49. package/dist/api/design/family.d.ts.map +1 -1
  50. package/dist/api/design/index.d.ts +1 -0
  51. package/dist/api/design/index.d.ts.map +1 -1
  52. package/dist/api/design/lock.d.ts +0 -3
  53. package/dist/api/design/lock.d.ts.map +1 -1
  54. package/dist/api/design/opening-placement.d.ts +123 -0
  55. package/dist/api/design/opening-placement.d.ts.map +1 -0
  56. package/dist/api/design/transform/index.d.ts +8 -28
  57. package/dist/api/design/transform/index.d.ts.map +1 -1
  58. package/dist/api/design/windows/index.d.ts +23 -0
  59. package/dist/api/design/windows/index.d.ts.map +1 -1
  60. package/dist/api/entity/space.d.ts +6 -30
  61. package/dist/api/entity/space.d.ts.map +1 -1
  62. package/dist/api/entity/story.d.ts +0 -4
  63. package/dist/api/entity/story.d.ts.map +1 -1
  64. package/dist/api/presentation/drawings.d.ts +1 -1
  65. package/dist/api/presentation/views.d.ts +1 -5
  66. package/dist/api/presentation/views.d.ts.map +1 -1
  67. package/dist/handles.d.ts +0 -8
  68. package/dist/handles.d.ts.map +1 -1
  69. package/dist/index.cjs +2496 -2441
  70. package/dist/index.cjs.map +1 -1
  71. package/dist/index.js +2493 -2440
  72. package/dist/index.js.map +1 -1
  73. package/package.json +13 -13
  74. package/src/api/core/camera/index.ts +7 -9
  75. package/src/api/core/comment/index.ts +3 -3
  76. package/src/api/core/geom/create/index.ts +25 -25
  77. package/src/api/core/geom/query/circle.ts +11 -11
  78. package/src/api/core/geom/query/contour.ts +6 -7
  79. package/src/api/core/geom/query/curve.ts +25 -25
  80. package/src/api/core/geom/query/profile.ts +6 -7
  81. package/src/api/core/geom/update/contour.ts +11 -12
  82. package/src/api/core/geom/update/curve.ts +5 -5
  83. package/src/api/core/geom/update/profile.ts +11 -12
  84. package/src/api/core/io/import/index.ts +2 -3
  85. package/src/api/core/math/quat.ts +2 -2
  86. package/src/api/core/math/vec3.ts +16 -16
  87. package/src/api/core/storeys/index.ts +0 -5
  88. package/src/api/design/boolean/index.ts +2 -2
  89. package/src/api/design/create/bulk-items.ts +6 -8
  90. package/src/api/design/create/index.ts +58 -34
  91. package/src/api/design/create/opening-fields.ts +7 -7
  92. package/src/api/design/delete/index.ts +7 -14
  93. package/src/api/design/dimensions.ts +4 -5
  94. package/src/api/design/doors/index.ts +43 -0
  95. package/src/api/design/edit/index.ts +3 -3
  96. package/src/api/design/family.ts +1 -2
  97. package/src/api/design/index.ts +1 -0
  98. package/src/api/design/lock.ts +0 -6
  99. package/src/api/design/opening-placement.ts +79 -0
  100. package/src/api/design/transform/index.ts +7 -15
  101. package/src/api/design/windows/index.ts +29 -0
  102. package/src/api/entity/space.ts +4 -5
  103. package/src/api/entity/story.ts +0 -4
  104. package/src/api/presentation/views.ts +2 -7
  105. package/src/handles.ts +0 -11
  106. 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 { ProfileHandle, Vec3Input, CurveHandle, Vec3Components, BBoxComponents } from "../../../../handles";
3
+ import { ProfileHandle, Vec3Handle, CurveHandle, Vec3Components, BBoxComponents } from "../../../../handles";
4
4
  /**
5
5
  * Profile queries — read-only geometric questions about a profile (an ordered
6
6
  * loop or chain of curves) and the relationships between two profiles
@@ -120,7 +120,7 @@ export declare abstract class PluginGeomQueryProfileApi {
120
120
  * console.log(nearest.x, nearest.y, nearest.z) // 2 0 0
121
121
  * ```
122
122
  */
123
- abstract getNearestPoint(profile: ProfileHandle, point: Vec3Input): PluginApiReturn<Vec3Components>;
123
+ abstract getNearestPoint(profile: ProfileHandle, point: Vec3Handle): PluginApiReturn<Vec3Components>;
124
124
  /**
125
125
  * Test whether a point lies inside a profile.
126
126
  * @param profile The profile to query
@@ -137,7 +137,7 @@ export declare abstract class PluginGeomQueryProfileApi {
137
137
  * const inside = await snaptrude.core.geom.query.profile.hasPoint(rect, point) // true
138
138
  * ```
139
139
  */
140
- abstract hasPoint(profile: ProfileHandle, point: Vec3Input): PluginApiReturn<boolean>;
140
+ abstract hasPoint(profile: ProfileHandle, point: Vec3Handle): PluginApiReturn<boolean>;
141
141
  /**
142
142
  * Test whether a point lies on a profile's boundary.
143
143
  * @param profile The profile to query
@@ -151,7 +151,7 @@ export declare abstract class PluginGeomQueryProfileApi {
151
151
  * const onEdge = await snaptrude.core.geom.query.profile.isOnBoundary(rect, point) // true
152
152
  * ```
153
153
  */
154
- abstract isOnBoundary(profile: ProfileHandle, point: Vec3Input): PluginApiReturn<boolean>;
154
+ abstract isOnBoundary(profile: ProfileHandle, point: Vec3Handle): PluginApiReturn<boolean>;
155
155
  /**
156
156
  * Test whether a profile forms a closed loop.
157
157
  * @param profile The profile to query
@@ -310,11 +310,7 @@ export type PluginGeomQueryProfileGetNormalArgs = z.infer<typeof PluginGeomQuery
310
310
  */
311
311
  export declare const PluginGeomQueryProfileGetNearestPointArgs: z.ZodObject<{
312
312
  profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
313
- point: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
314
- x: z.ZodNumber;
315
- y: z.ZodNumber;
316
- z: z.ZodNumber;
317
- }, z.core.$strip>]>;
313
+ point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
318
314
  }, z.core.$strip>;
319
315
  export type PluginGeomQueryProfileGetNearestPointArgs = z.infer<typeof PluginGeomQueryProfileGetNearestPointArgs>;
320
316
  /**
@@ -327,11 +323,7 @@ export type PluginGeomQueryProfileGetNearestPointArgs = z.infer<typeof PluginGeo
327
323
  */
328
324
  export declare const PluginGeomQueryProfileHasPointArgs: z.ZodObject<{
329
325
  profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
330
- point: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
331
- x: z.ZodNumber;
332
- y: z.ZodNumber;
333
- z: z.ZodNumber;
334
- }, z.core.$strip>]>;
326
+ point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
335
327
  }, z.core.$strip>;
336
328
  export type PluginGeomQueryProfileHasPointArgs = z.infer<typeof PluginGeomQueryProfileHasPointArgs>;
337
329
  /**
@@ -344,11 +336,7 @@ export type PluginGeomQueryProfileHasPointArgs = z.infer<typeof PluginGeomQueryP
344
336
  */
345
337
  export declare const PluginGeomQueryProfileIsOnBoundaryArgs: z.ZodObject<{
346
338
  profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
347
- point: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
348
- x: z.ZodNumber;
349
- y: z.ZodNumber;
350
- z: z.ZodNumber;
351
- }, z.core.$strip>]>;
339
+ point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
352
340
  }, z.core.$strip>;
353
341
  export type PluginGeomQueryProfileIsOnBoundaryArgs = z.infer<typeof PluginGeomQueryProfileIsOnBoundaryArgs>;
354
342
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/query/profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,aAAa,EAEb,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACf,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;;;;;;GAaG;AACH,8BAAsB,yBAAyB;;IAG7C;;;;;;;;;;;;;;OAcG;aACa,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,cAAc,EAAE,CAAC;IAErF;;;;;;;;;;;OAWG;aACa,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,WAAW,EAAE,CAAC;IAElF;;;;;;;;;;;;;OAaG;aACa,OAAO,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC;IAExE;;;;;;;;;;;;;OAaG;aACa,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC;IAE7E;;;;;;;;;;;;;OAaG;aACa,cAAc,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,cAAc,CAAC;IAEvF;;;;;;;;;;;OAWG;aACa,SAAS,CAAC,OAAO,EAAE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AO,MAAM,sCAAsC;;;iBAGjD,CAAA;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAE3G;;;;;;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,kCAAkC;;iBAE7C,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAEnG;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC;;iBAEhD,CAAA;AAEF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAA;AAEzG;;;;;;GAMG;AACH,eAAO,MAAM,4CAA4C;;iBAEvD,CAAA;AAEF,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AAEvH;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;iBAE5C,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;iBAG5C,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../../../types";
3
- import { ContourHandle, ProfileHandle, Vec3Input, Vec3Components } from "../../../../handles";
3
+ import { ContourHandle, ProfileHandle, Vec3Handle, Vec3Components } from "../../../../handles";
4
4
  /**
5
5
  * Contour editing — produce NEW contours from an existing one (all-handle model, §11).
6
6
  *
@@ -56,7 +56,7 @@ export declare abstract class PluginGeomUpdateContourApi {
56
56
  * const moved = await snaptrude.core.geom.update.contour.move(contour, shift)
57
57
  * ```
58
58
  */
59
- abstract move(contour: ContourHandle, translation: Vec3Input): PluginApiReturn<ContourHandle>;
59
+ abstract move(contour: ContourHandle, translation: Vec3Handle): PluginApiReturn<ContourHandle>;
60
60
  /**
61
61
  * Rotate a contour about an axis through an optional pivot. Immutable — returns a
62
62
  * NEW contour and leaves the input unchanged.
@@ -79,7 +79,7 @@ export declare abstract class PluginGeomUpdateContourApi {
79
79
  * const rotated = await snaptrude.core.geom.update.contour.rotate(contour, axis, Math.PI / 4, pivot)
80
80
  * ```
81
81
  */
82
- abstract rotate(contour: ContourHandle, axis: Vec3Input, angle: number, pivot?: Vec3Input): PluginApiReturn<ContourHandle>;
82
+ abstract rotate(contour: ContourHandle, axis: Vec3Handle, angle: number, pivot?: Vec3Handle): PluginApiReturn<ContourHandle>;
83
83
  /**
84
84
  * Scale a contour uniformly or per-axis about an optional pivot. Immutable —
85
85
  * returns a NEW contour and leaves the input unchanged.
@@ -100,7 +100,7 @@ export declare abstract class PluginGeomUpdateContourApi {
100
100
  * const stretched = await snaptrude.core.geom.update.contour.scale(contour, { x: 2, y: 1, z: 1 })
101
101
  * ```
102
102
  */
103
- abstract scale(contour: ContourHandle, factor: number | Vec3Components, pivot?: Vec3Input): PluginApiReturn<ContourHandle>;
103
+ abstract scale(contour: ContourHandle, factor: number | Vec3Components, pivot?: Vec3Handle): PluginApiReturn<ContourHandle>;
104
104
  /**
105
105
  * Mirror a contour across a plane. Immutable — returns a NEW contour and leaves
106
106
  * the input unchanged.
@@ -122,8 +122,8 @@ export declare abstract class PluginGeomUpdateContourApi {
122
122
  * ```
123
123
  */
124
124
  abstract mirror(contour: ContourHandle, plane: {
125
- point: Vec3Input;
126
- normal: Vec3Input;
125
+ point: Vec3Handle;
126
+ normal: Vec3Handle;
127
127
  }): PluginApiReturn<ContourHandle>;
128
128
  /**
129
129
  * Add a hole to a contour by appending an inner profile. Immutable — returns a NEW
@@ -196,11 +196,7 @@ export type PluginGeomUpdateContourOffsetArgs = z.infer<typeof PluginGeomUpdateC
196
196
  */
197
197
  export declare const PluginGeomUpdateContourMoveArgs: z.ZodObject<{
198
198
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
199
- translation: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
200
- x: z.ZodNumber;
201
- y: z.ZodNumber;
202
- z: z.ZodNumber;
203
- }, z.core.$strip>]>;
199
+ translation: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
204
200
  }, z.core.$strip>;
205
201
  export type PluginGeomUpdateContourMoveArgs = z.infer<typeof PluginGeomUpdateContourMoveArgs>;
206
202
  /**
@@ -215,17 +211,9 @@ export type PluginGeomUpdateContourMoveArgs = z.infer<typeof PluginGeomUpdateCon
215
211
  */
216
212
  export declare const PluginGeomUpdateContourRotateArgs: z.ZodObject<{
217
213
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
218
- axis: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
219
- x: z.ZodNumber;
220
- y: z.ZodNumber;
221
- z: z.ZodNumber;
222
- }, z.core.$strip>]>;
214
+ axis: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
223
215
  angle: z.ZodNumber;
224
- pivot: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
225
- x: z.ZodNumber;
226
- y: z.ZodNumber;
227
- z: z.ZodNumber;
228
- }, z.core.$strip>]>>;
216
+ pivot: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
229
217
  }, z.core.$strip>;
230
218
  export type PluginGeomUpdateContourRotateArgs = z.infer<typeof PluginGeomUpdateContourRotateArgs>;
231
219
  /**
@@ -244,11 +232,7 @@ export declare const PluginGeomUpdateContourScaleArgs: z.ZodObject<{
244
232
  y: z.ZodNumber;
245
233
  z: z.ZodNumber;
246
234
  }, z.core.$strip>]>;
247
- pivot: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
248
- x: z.ZodNumber;
249
- y: z.ZodNumber;
250
- z: z.ZodNumber;
251
- }, z.core.$strip>]>>;
235
+ pivot: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
252
236
  }, z.core.$strip>;
253
237
  export type PluginGeomUpdateContourScaleArgs = z.infer<typeof PluginGeomUpdateContourScaleArgs>;
254
238
  /**
@@ -262,16 +246,8 @@ export type PluginGeomUpdateContourScaleArgs = z.infer<typeof PluginGeomUpdateCo
262
246
  export declare const PluginGeomUpdateContourMirrorArgs: z.ZodObject<{
263
247
  contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
264
248
  plane: z.ZodObject<{
265
- point: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
266
- x: z.ZodNumber;
267
- y: z.ZodNumber;
268
- z: z.ZodNumber;
269
- }, z.core.$strip>]>;
270
- normal: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
271
- x: z.ZodNumber;
272
- y: z.ZodNumber;
273
- z: z.ZodNumber;
274
- }, z.core.$strip>]>;
249
+ point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
250
+ normal: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
275
251
  }, z.core.$strip>;
276
252
  }, z.core.$strip>;
277
253
  export type PluginGeomUpdateContourMirrorArgs = z.infer<typeof PluginGeomUpdateContourMirrorArgs>;
@@ -1 +1 @@
1
- {"version":3,"file":"contour.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/update/contour.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,aAAa,EACb,aAAa,EAEb,SAAS,EACT,cAAc,EACf,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;;;;GAWG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;;;OAoBG;aACa,MAAM,CACpB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,MAAM,GACf,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;OAkBG;aACa,IAAI,CAClB,OAAO,EAAE,aAAa,EACtB,WAAW,EAAE,SAAS,GACrB,eAAe,CAAC,aAAa,CAAC;IAEjC;;;;;;;;;;;;;;;;;;;;;OAqBG;aACa,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AAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE/F;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;;;;iBAM5C,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG;;;;;;;GAOG;AACH,eAAO,MAAM,kCAAkC;;;iBAG7C,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAEnG;;;;;;;GAOG;AACH,eAAO,MAAM,qCAAqC;;;iBAGhD,CAAA;AAEF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../../../types";
3
- import { Vec3Input, CurveHandle } from "../../../../handles";
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: Vec3Input): PluginApiReturn<CurveHandle[]>;
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: Vec3Input): PluginApiReturn<CurveHandle>;
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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,EAAc,SAAS,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAExE;;;;;;;;GAQG;AACH,8BAAsB,wBAAwB;;IAG5C;;;;;;;;;;;;;;;;;;;OAmBG;aACa,MAAM,CACpB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,OAAO,GACjB,eAAe,CAAC,WAAW,CAAC;IAE/B;;;;;;;;;;;;;;;;;;OAkBG;aACa,KAAK,CACnB,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,SAAS,GACf,eAAe,CAAC,WAAW,EAAE,CAAC;IAEjC;;;;;;;;;;;;;;;;;;OAkBG;aACa,IAAI,CAClB,KAAK,EAAE,WAAW,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,eAAe,CAAC,WAAW,CAAC;IAE/B;;;;;;;;;;;;;;;;;;OAkBG;aACa,MAAM,CACpB,KAAK,EAAE,WAAW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BAE3C,CAAA;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, Vec3Input, CurveHandle, Vec3Components } from "../../../../handles";
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: Vec3Input): PluginApiReturn<ProfileHandle>;
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: Vec3Input, angle: number, pivot?: Vec3Input): PluginApiReturn<ProfileHandle>;
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?: Vec3Input): PluginApiReturn<ProfileHandle>;
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: Vec3Input;
119
- normal: Vec3Input;
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
287
- x: z.ZodNumber;
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,EAEb,SAAS,EACT,WAAW,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AAO,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
+ {"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,EAC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;AACH,eAAO,MAAM,iCAAiC;;;;;;iBAM5C,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;;;;;;;iBAIzC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,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 { Vec3Input, UnderlayHandle, TerrainHandle, ImportJobHandle, ComponentHandle } from "../../../../handles";
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?: Vec3Input, label?: string): PluginApiReturn<ComponentHandle>;
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.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>, z.ZodObject<{
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,EAEL,SAAS,EACT,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,CA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M,MAAM,mBAAmB,GAAG,CAAC,CAAC,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
+ {"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;aACa,GAAG,CACjB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,CAAC,cAAc,CAAC;IAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;aACa,GAAG,CACjB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,GACd,eAAe,CAAC,eAAe,CAAC;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CAAA;AAEzE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;iBAM9B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,uDAAuD;AACvD,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,2DAA2D;AAC3D,eAAO,MAAM,uBAAuB;;;;;;iBAGlC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAMhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;iBASlC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;iBAE9B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,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, Vec3Input, QuatHandle, QuatComponents } from "../../../handles";
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: Vec3Input, angle: number): PluginApiReturn<QuatHandle>;
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,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEpF;;;;;;GAMG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;OAQG;IACH,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,UAAU,CAAC;IACrF;;;;;;;OAOG;IACH,QAAQ,CAAC,QAAQ,IAAI,eAAe,CAAC,UAAU,CAAC;IAChD;;;;;;;;OAQG;IACH,QAAQ,CAAC,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,eAAe,CAAC,UAAU,CAAC;IACnF;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,UAAU,CAAC;IAChF;;;;;;;;;OASG;IACH,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;IAC5E;;;;;;;;OAQG;IACH,QAAQ,C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;;;;;OASG;IACH,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC;QAAE,IAAI,EAAE,UAAU,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IACzF;;;;;;;;;OASG;IACH,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,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, Vec3Input, Vec3Components } from "../../../handles";
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: Vec3Input, b: Vec3Input): PluginApiReturn<Vec3Handle>;
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: Vec3Input, b: Vec3Input): PluginApiReturn<Vec3Handle>;
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: Vec3Input, scalar: number): PluginApiReturn<Vec3Handle>;
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: Vec3Input, b: Vec3Input): PluginApiReturn<number>;
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: Vec3Input, b: Vec3Input): PluginApiReturn<Vec3Handle>;
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: Vec3Input): PluginApiReturn<number>;
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: Vec3Input): PluginApiReturn<number>;
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: Vec3Input): PluginApiReturn<Vec3Handle>;
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: Vec3Input, b: Vec3Input): PluginApiReturn<number>;
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: Vec3Input, b: Vec3Input, t: number): PluginApiReturn<Vec3Handle>;
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: Vec3Input): PluginApiReturn<Vec3Handle>;
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: Vec3Input, b: Vec3Input): PluginApiReturn<boolean>;
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: Vec3Input, b: Vec3Input, epsilon?: number): PluginApiReturn<boolean>;
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: Vec3Input): PluginApiReturn<Vec3Components>;
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,SAAS,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAExE;;;;;;GAMG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;OAQG;IACH,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,E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