@snaptrude/plugin-core 0.7.0 → 0.8.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/CHANGELOG.md +22 -0
- package/api-manifest.full.json +360 -19
- package/api-manifest.json +915 -37
- package/dist/api/core/camera/index.d.ts +208 -0
- package/dist/api/core/camera/index.d.ts.map +1 -0
- package/dist/api/core/comment/index.d.ts +105 -2
- package/dist/api/core/comment/index.d.ts.map +1 -1
- package/dist/api/core/geom/create/index.d.ts +13 -13
- package/dist/api/core/geom/delete/index.d.ts +8 -2
- package/dist/api/core/geom/delete/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/arc.d.ts +5 -5
- package/dist/api/core/geom/query/brep.d.ts +18 -18
- package/dist/api/core/geom/query/circle.d.ts +18 -18
- package/dist/api/core/geom/query/contour.d.ts +20 -20
- package/dist/api/core/geom/query/curve.d.ts +49 -49
- package/dist/api/core/geom/query/edge.d.ts +5 -5
- package/dist/api/core/geom/query/face.d.ts +16 -16
- package/dist/api/core/geom/query/halfedge.d.ts +8 -8
- package/dist/api/core/geom/query/profile.d.ts +19 -19
- package/dist/api/core/geom/query/vertex.d.ts +8 -8
- package/dist/api/core/geom/update/contour.d.ts +14 -14
- package/dist/api/core/geom/update/curve.d.ts +7 -7
- package/dist/api/core/geom/update/profile.d.ts +16 -16
- package/dist/api/core/handles/index.d.ts +210 -0
- package/dist/api/core/handles/index.d.ts.map +1 -0
- package/dist/api/core/index.d.ts +15 -0
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/io/export/index.d.ts +132 -0
- package/dist/api/core/io/export/index.d.ts.map +1 -0
- package/dist/api/core/io/import/index.d.ts +1 -1
- package/dist/api/core/io/index.d.ts +5 -0
- package/dist/api/core/io/index.d.ts.map +1 -1
- package/dist/api/core/layers.d.ts +7 -7
- package/dist/api/core/proposals/index.d.ts +65 -9
- package/dist/api/core/proposals/index.d.ts.map +1 -1
- package/dist/api/core/user.d.ts +44 -0
- package/dist/api/core/user.d.ts.map +1 -0
- package/dist/api/design/boolean/index.d.ts +4 -4
- package/dist/api/design/create/index.d.ts +139 -44
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/doors/index.d.ts +36 -0
- package/dist/api/design/doors/index.d.ts.map +1 -1
- package/dist/api/design/edit/index.d.ts +1 -1
- package/dist/api/design/erase/index.d.ts +2 -2
- package/dist/api/design/furniture/index.d.ts +114 -3
- package/dist/api/design/furniture/index.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +10 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/materials/index.d.ts +111 -14
- package/dist/api/design/materials/index.d.ts.map +1 -1
- package/dist/api/design/query/index.d.ts +31 -1
- package/dist/api/design/query/index.d.ts.map +1 -1
- package/dist/api/design/query/spaces.d.ts +5 -5
- package/dist/api/design/transform/index.d.ts +83 -14
- package/dist/api/design/transform/index.d.ts.map +1 -1
- package/dist/api/design/types/index.d.ts +181 -0
- package/dist/api/design/types/index.d.ts.map +1 -0
- package/dist/api/design/update/index.d.ts +335 -2
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/design/visibility.d.ts +98 -0
- package/dist/api/design/visibility.d.ts.map +1 -0
- package/dist/api/entity/referenceLine.d.ts +2 -2
- package/dist/api/entity/space.d.ts +19 -19
- package/dist/api/entity/story.d.ts +128 -15
- package/dist/api/entity/story.d.ts.map +1 -1
- package/dist/api/presentation/aiInspiration.d.ts +1967 -7
- package/dist/api/presentation/aiInspiration.d.ts.map +1 -1
- package/dist/api/presentation/annotate.d.ts +448 -0
- package/dist/api/presentation/annotate.d.ts.map +1 -0
- package/dist/api/presentation/diagrams.d.ts +49 -8
- package/dist/api/presentation/diagrams.d.ts.map +1 -1
- package/dist/api/presentation/export.d.ts +104 -0
- package/dist/api/presentation/export.d.ts.map +1 -0
- package/dist/api/presentation/index.d.ts +40 -3
- package/dist/api/presentation/index.d.ts.map +1 -1
- package/dist/api/presentation/sheets.d.ts +410 -13
- package/dist/api/presentation/sheets.d.ts.map +1 -1
- package/dist/api/presentation/views.d.ts +165 -10
- package/dist/api/presentation/views.d.ts.map +1 -1
- package/dist/api/program/areas.d.ts +63 -3
- package/dist/api/program/areas.d.ts.map +1 -1
- package/dist/api/program/cores.d.ts +3 -99
- package/dist/api/program/cores.d.ts.map +1 -1
- package/dist/api/program/index.d.ts +2 -2
- package/dist/api/program/index.d.ts.map +1 -1
- package/dist/api/program/layout.d.ts +172 -12
- package/dist/api/program/layout.d.ts.map +1 -1
- package/dist/api/program/site.d.ts +11 -8
- package/dist/api/program/site.d.ts.map +1 -1
- package/dist/api/program/spreadsheet.d.ts +105 -13
- package/dist/api/program/spreadsheet.d.ts.map +1 -1
- package/dist/handles.d.ts +64 -25
- package/dist/handles.d.ts.map +1 -1
- package/dist/index.cjs +2502 -1466
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2369 -1461
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/core/camera/index.ts +212 -0
- package/src/api/core/comment/index.ts +120 -2
- package/src/api/core/geom/delete/index.ts +6 -0
- package/src/api/core/handles/index.ts +233 -0
- package/src/api/core/index.ts +15 -0
- package/src/api/core/io/export/index.ts +124 -0
- package/src/api/core/io/index.ts +5 -0
- package/src/api/core/proposals/index.ts +71 -11
- package/src/api/core/user.ts +46 -0
- package/src/api/design/create/index.ts +166 -36
- package/src/api/design/doors/index.ts +40 -0
- package/src/api/design/furniture/index.ts +127 -3
- package/src/api/design/index.ts +10 -0
- package/src/api/design/materials/index.ts +157 -30
- package/src/api/design/query/index.ts +33 -7
- package/src/api/design/transform/index.ts +89 -12
- package/src/api/design/types/index.ts +156 -0
- package/src/api/design/update/index.ts +402 -6
- package/src/api/design/visibility.ts +109 -0
- package/src/api/entity/story.ts +141 -15
- package/src/api/presentation/aiInspiration.ts +761 -7
- package/src/api/presentation/annotate.ts +360 -0
- package/src/api/presentation/diagrams.ts +53 -8
- package/src/api/presentation/export.ts +104 -0
- package/src/api/presentation/index.ts +48 -3
- package/src/api/presentation/sheets.ts +346 -13
- package/src/api/presentation/views.ts +164 -12
- package/src/api/program/areas.ts +57 -6
- package/src/api/program/cores.ts +3 -91
- package/src/api/program/index.ts +2 -2
- package/src/api/program/layout.ts +182 -12
- package/src/api/program/site.ts +11 -8
- package/src/api/program/spreadsheet.ts +125 -29
- package/src/handles.ts +77 -13
- package/tsconfig.json +7 -2
|
@@ -291,22 +291,22 @@ export declare abstract class PluginGeomQueryBrepApi {
|
|
|
291
291
|
}
|
|
292
292
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listFaces}. `{ brep: BrepHandle }` */
|
|
293
293
|
export declare const PluginGeomQueryBrepListFacesArgs: z.ZodObject<{
|
|
294
|
-
brep: z.ZodPipe<z.
|
|
294
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
295
295
|
}, z.core.$strip>;
|
|
296
296
|
export type PluginGeomQueryBrepListFacesArgs = z.infer<typeof PluginGeomQueryBrepListFacesArgs>;
|
|
297
297
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listEdges}. `{ brep: BrepHandle }` */
|
|
298
298
|
export declare const PluginGeomQueryBrepListEdgesArgs: z.ZodObject<{
|
|
299
|
-
brep: z.ZodPipe<z.
|
|
299
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
300
300
|
}, z.core.$strip>;
|
|
301
301
|
export type PluginGeomQueryBrepListEdgesArgs = z.infer<typeof PluginGeomQueryBrepListEdgesArgs>;
|
|
302
302
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listVertices}. `{ brep: BrepHandle }` */
|
|
303
303
|
export declare const PluginGeomQueryBrepListVerticesArgs: z.ZodObject<{
|
|
304
|
-
brep: z.ZodPipe<z.
|
|
304
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
305
305
|
}, z.core.$strip>;
|
|
306
306
|
export type PluginGeomQueryBrepListVerticesArgs = z.infer<typeof PluginGeomQueryBrepListVerticesArgs>;
|
|
307
307
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listHalfEdges}. `{ brep: BrepHandle }` */
|
|
308
308
|
export declare const PluginGeomQueryBrepListHalfEdgesArgs: z.ZodObject<{
|
|
309
|
-
brep: z.ZodPipe<z.
|
|
309
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
310
310
|
}, z.core.$strip>;
|
|
311
311
|
export type PluginGeomQueryBrepListHalfEdgesArgs = z.infer<typeof PluginGeomQueryBrepListHalfEdgesArgs>;
|
|
312
312
|
/**
|
|
@@ -319,21 +319,21 @@ export type PluginGeomQueryBrepListHalfEdgesArgs = z.infer<typeof PluginGeomQuer
|
|
|
319
319
|
* | `vertexIndexB` | `number` | Second vertex index |
|
|
320
320
|
*/
|
|
321
321
|
export declare const PluginGeomQueryBrepGetEdgeArgs: z.ZodObject<{
|
|
322
|
-
brep: z.ZodPipe<z.
|
|
322
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
323
323
|
vertexIndexA: z.ZodNumber;
|
|
324
324
|
vertexIndexB: z.ZodNumber;
|
|
325
325
|
}, z.core.$strip>;
|
|
326
326
|
export type PluginGeomQueryBrepGetEdgeArgs = z.infer<typeof PluginGeomQueryBrepGetEdgeArgs>;
|
|
327
327
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.hasEdge}. `{ brep, vertexIndexA, vertexIndexB }` */
|
|
328
328
|
export declare const PluginGeomQueryBrepHasEdgeArgs: z.ZodObject<{
|
|
329
|
-
brep: z.ZodPipe<z.
|
|
329
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
330
330
|
vertexIndexA: z.ZodNumber;
|
|
331
331
|
vertexIndexB: z.ZodNumber;
|
|
332
332
|
}, z.core.$strip>;
|
|
333
333
|
export type PluginGeomQueryBrepHasEdgeArgs = z.infer<typeof PluginGeomQueryBrepHasEdgeArgs>;
|
|
334
334
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listEdgesBetween}. `{ brep, vertexIndexA, vertexIndexB }` */
|
|
335
335
|
export declare const PluginGeomQueryBrepListEdgesBetweenArgs: z.ZodObject<{
|
|
336
|
-
brep: z.ZodPipe<z.
|
|
336
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
337
337
|
vertexIndexA: z.ZodNumber;
|
|
338
338
|
vertexIndexB: z.ZodNumber;
|
|
339
339
|
}, z.core.$strip>;
|
|
@@ -347,43 +347,43 @@ export type PluginGeomQueryBrepListEdgesBetweenArgs = z.infer<typeof PluginGeomQ
|
|
|
347
347
|
* | `vertex` | {@linkcode VertexHandle} | The vertex whose position to read |
|
|
348
348
|
*/
|
|
349
349
|
export declare const PluginGeomQueryBrepGetVertexPositionArgs: z.ZodObject<{
|
|
350
|
-
brep: z.ZodPipe<z.
|
|
351
|
-
vertex: z.ZodPipe<z.
|
|
350
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
351
|
+
vertex: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vertex">, string>>;
|
|
352
352
|
}, z.core.$strip>;
|
|
353
353
|
export type PluginGeomQueryBrepGetVertexPositionArgs = z.infer<typeof PluginGeomQueryBrepGetVertexPositionArgs>;
|
|
354
354
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listVertexPositions}. `{ brep: BrepHandle }` */
|
|
355
355
|
export declare const PluginGeomQueryBrepListVertexPositionsArgs: z.ZodObject<{
|
|
356
|
-
brep: z.ZodPipe<z.
|
|
356
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
357
357
|
}, z.core.$strip>;
|
|
358
358
|
export type PluginGeomQueryBrepListVertexPositionsArgs = z.infer<typeof PluginGeomQueryBrepListVertexPositionsArgs>;
|
|
359
359
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getCentroid}. `{ brep: BrepHandle }` */
|
|
360
360
|
export declare const PluginGeomQueryBrepGetCentroidArgs: z.ZodObject<{
|
|
361
|
-
brep: z.ZodPipe<z.
|
|
361
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
362
362
|
}, z.core.$strip>;
|
|
363
363
|
export type PluginGeomQueryBrepGetCentroidArgs = z.infer<typeof PluginGeomQueryBrepGetCentroidArgs>;
|
|
364
364
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getFaceCount}. `{ brep: BrepHandle }` */
|
|
365
365
|
export declare const PluginGeomQueryBrepGetFaceCountArgs: z.ZodObject<{
|
|
366
|
-
brep: z.ZodPipe<z.
|
|
366
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
367
367
|
}, z.core.$strip>;
|
|
368
368
|
export type PluginGeomQueryBrepGetFaceCountArgs = z.infer<typeof PluginGeomQueryBrepGetFaceCountArgs>;
|
|
369
369
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getEdgeCount}. `{ brep: BrepHandle }` */
|
|
370
370
|
export declare const PluginGeomQueryBrepGetEdgeCountArgs: z.ZodObject<{
|
|
371
|
-
brep: z.ZodPipe<z.
|
|
371
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
372
372
|
}, z.core.$strip>;
|
|
373
373
|
export type PluginGeomQueryBrepGetEdgeCountArgs = z.infer<typeof PluginGeomQueryBrepGetEdgeCountArgs>;
|
|
374
374
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getVertexCount}. `{ brep: BrepHandle }` */
|
|
375
375
|
export declare const PluginGeomQueryBrepGetVertexCountArgs: z.ZodObject<{
|
|
376
|
-
brep: z.ZodPipe<z.
|
|
376
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
377
377
|
}, z.core.$strip>;
|
|
378
378
|
export type PluginGeomQueryBrepGetVertexCountArgs = z.infer<typeof PluginGeomQueryBrepGetVertexCountArgs>;
|
|
379
379
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getHalfEdgeCount}. `{ brep: BrepHandle }` */
|
|
380
380
|
export declare const PluginGeomQueryBrepGetHalfEdgeCountArgs: z.ZodObject<{
|
|
381
|
-
brep: z.ZodPipe<z.
|
|
381
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
382
382
|
}, z.core.$strip>;
|
|
383
383
|
export type PluginGeomQueryBrepGetHalfEdgeCountArgs = z.infer<typeof PluginGeomQueryBrepGetHalfEdgeCountArgs>;
|
|
384
384
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getBoundingBox}. `{ brep: BrepHandle }` */
|
|
385
385
|
export declare const PluginGeomQueryBrepGetBoundingBoxArgs: z.ZodObject<{
|
|
386
|
-
brep: z.ZodPipe<z.
|
|
386
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
387
387
|
}, z.core.$strip>;
|
|
388
388
|
export type PluginGeomQueryBrepGetBoundingBoxArgs = z.infer<typeof PluginGeomQueryBrepGetBoundingBoxArgs>;
|
|
389
389
|
/**
|
|
@@ -395,8 +395,8 @@ export type PluginGeomQueryBrepGetBoundingBoxArgs = z.infer<typeof PluginGeomQue
|
|
|
395
395
|
* | `brepB` | {@linkcode BrepHandle} | Second brep |
|
|
396
396
|
*/
|
|
397
397
|
export declare const PluginGeomQueryBrepIsEqualArgs: z.ZodObject<{
|
|
398
|
-
brepA: z.ZodPipe<z.
|
|
399
|
-
brepB: z.ZodPipe<z.
|
|
398
|
+
brepA: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
399
|
+
brepB: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
400
400
|
}, z.core.$strip>;
|
|
401
401
|
export type PluginGeomQueryBrepIsEqualArgs = z.infer<typeof PluginGeomQueryBrepIsEqualArgs>;
|
|
402
402
|
//# sourceMappingURL=brep.d.ts.map
|
|
@@ -233,7 +233,7 @@ export declare abstract class PluginGeomQueryCircleApi {
|
|
|
233
233
|
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
234
234
|
*/
|
|
235
235
|
export declare const PluginGeomQueryCircleGetRadiusArgs: z.ZodObject<{
|
|
236
|
-
circle: z.ZodPipe<z.
|
|
236
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
237
237
|
}, z.core.$strip>;
|
|
238
238
|
export type PluginGeomQueryCircleGetRadiusArgs = z.infer<typeof PluginGeomQueryCircleGetRadiusArgs>;
|
|
239
239
|
/**
|
|
@@ -244,7 +244,7 @@ export type PluginGeomQueryCircleGetRadiusArgs = z.infer<typeof PluginGeomQueryC
|
|
|
244
244
|
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
245
245
|
*/
|
|
246
246
|
export declare const PluginGeomQueryCircleGetCentreArgs: z.ZodObject<{
|
|
247
|
-
circle: z.ZodPipe<z.
|
|
247
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
249
|
export type PluginGeomQueryCircleGetCentreArgs = z.infer<typeof PluginGeomQueryCircleGetCentreArgs>;
|
|
250
250
|
/**
|
|
@@ -255,7 +255,7 @@ export type PluginGeomQueryCircleGetCentreArgs = z.infer<typeof PluginGeomQueryC
|
|
|
255
255
|
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
256
256
|
*/
|
|
257
257
|
export declare const PluginGeomQueryCircleGetAxisArgs: z.ZodObject<{
|
|
258
|
-
circle: z.ZodPipe<z.
|
|
258
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
259
259
|
}, z.core.$strip>;
|
|
260
260
|
export type PluginGeomQueryCircleGetAxisArgs = z.infer<typeof PluginGeomQueryCircleGetAxisArgs>;
|
|
261
261
|
/**
|
|
@@ -266,7 +266,7 @@ export type PluginGeomQueryCircleGetAxisArgs = z.infer<typeof PluginGeomQueryCir
|
|
|
266
266
|
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
267
267
|
*/
|
|
268
268
|
export declare const PluginGeomQueryCircleGetLengthArgs: z.ZodObject<{
|
|
269
|
-
circle: z.ZodPipe<z.
|
|
269
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
270
270
|
}, z.core.$strip>;
|
|
271
271
|
export type PluginGeomQueryCircleGetLengthArgs = z.infer<typeof PluginGeomQueryCircleGetLengthArgs>;
|
|
272
272
|
/**
|
|
@@ -277,7 +277,7 @@ export type PluginGeomQueryCircleGetLengthArgs = z.infer<typeof PluginGeomQueryC
|
|
|
277
277
|
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
278
278
|
*/
|
|
279
279
|
export declare const PluginGeomQueryCircleIsValidArgs: z.ZodObject<{
|
|
280
|
-
circle: z.ZodPipe<z.
|
|
280
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
281
281
|
}, z.core.$strip>;
|
|
282
282
|
export type PluginGeomQueryCircleIsValidArgs = z.infer<typeof PluginGeomQueryCircleIsValidArgs>;
|
|
283
283
|
/**
|
|
@@ -289,8 +289,8 @@ export type PluginGeomQueryCircleIsValidArgs = z.infer<typeof PluginGeomQueryCir
|
|
|
289
289
|
* | `point` | {@linkcode Vec3Handle} | The reference point |
|
|
290
290
|
*/
|
|
291
291
|
export declare const PluginGeomQueryCircleGetNearestPointArgs: z.ZodObject<{
|
|
292
|
-
circle: z.ZodPipe<z.
|
|
293
|
-
point: z.ZodPipe<z.
|
|
292
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
293
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
294
294
|
}, z.core.$strip>;
|
|
295
295
|
export type PluginGeomQueryCircleGetNearestPointArgs = z.infer<typeof PluginGeomQueryCircleGetNearestPointArgs>;
|
|
296
296
|
/**
|
|
@@ -302,8 +302,8 @@ export type PluginGeomQueryCircleGetNearestPointArgs = z.infer<typeof PluginGeom
|
|
|
302
302
|
* | `point` | {@linkcode Vec3Handle} | The point to test |
|
|
303
303
|
*/
|
|
304
304
|
export declare const PluginGeomQueryCircleHasPointArgs: z.ZodObject<{
|
|
305
|
-
circle: z.ZodPipe<z.
|
|
306
|
-
point: z.ZodPipe<z.
|
|
305
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
306
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
307
307
|
}, z.core.$strip>;
|
|
308
308
|
export type PluginGeomQueryCircleHasPointArgs = z.infer<typeof PluginGeomQueryCircleHasPointArgs>;
|
|
309
309
|
/**
|
|
@@ -315,8 +315,8 @@ export type PluginGeomQueryCircleHasPointArgs = z.infer<typeof PluginGeomQueryCi
|
|
|
315
315
|
* | `point` | {@linkcode Vec3Handle} | A point on the circle |
|
|
316
316
|
*/
|
|
317
317
|
export declare const PluginGeomQueryCircleGetTangentArgs: z.ZodObject<{
|
|
318
|
-
circle: z.ZodPipe<z.
|
|
319
|
-
point: z.ZodPipe<z.
|
|
318
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
319
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
320
320
|
}, z.core.$strip>;
|
|
321
321
|
export type PluginGeomQueryCircleGetTangentArgs = z.infer<typeof PluginGeomQueryCircleGetTangentArgs>;
|
|
322
322
|
/**
|
|
@@ -328,8 +328,8 @@ export type PluginGeomQueryCircleGetTangentArgs = z.infer<typeof PluginGeomQuery
|
|
|
328
328
|
* | `point` | {@linkcode Vec3Handle} | A point on the circle |
|
|
329
329
|
*/
|
|
330
330
|
export declare const PluginGeomQueryCircleGetNormalArgs: z.ZodObject<{
|
|
331
|
-
circle: z.ZodPipe<z.
|
|
332
|
-
point: z.ZodPipe<z.
|
|
331
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
332
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
333
333
|
}, z.core.$strip>;
|
|
334
334
|
export type PluginGeomQueryCircleGetNormalArgs = z.infer<typeof PluginGeomQueryCircleGetNormalArgs>;
|
|
335
335
|
/**
|
|
@@ -343,8 +343,8 @@ export type PluginGeomQueryCircleGetNormalArgs = z.infer<typeof PluginGeomQueryC
|
|
|
343
343
|
* | `forward` | `boolean` | Travel direction (optional; default forward) |
|
|
344
344
|
*/
|
|
345
345
|
export declare const PluginGeomQueryCircleGetPointAtDistanceArgs: z.ZodObject<{
|
|
346
|
-
circle: z.ZodPipe<z.
|
|
347
|
-
referencePoint: z.ZodPipe<z.
|
|
346
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
347
|
+
referencePoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
348
348
|
distance: z.ZodNumber;
|
|
349
349
|
forward: z.ZodOptional<z.ZodBoolean>;
|
|
350
350
|
}, z.core.$strip>;
|
|
@@ -358,8 +358,8 @@ export type PluginGeomQueryCircleGetPointAtDistanceArgs = z.infer<typeof PluginG
|
|
|
358
358
|
* | `circleB` | {@linkcode CircleHandle} | Second circle |
|
|
359
359
|
*/
|
|
360
360
|
export declare const PluginGeomQueryCircleIsEqualArgs: z.ZodObject<{
|
|
361
|
-
circleA: z.ZodPipe<z.
|
|
362
|
-
circleB: z.ZodPipe<z.
|
|
361
|
+
circleA: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
362
|
+
circleB: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
363
363
|
}, z.core.$strip>;
|
|
364
364
|
export type PluginGeomQueryCircleIsEqualArgs = z.infer<typeof PluginGeomQueryCircleIsEqualArgs>;
|
|
365
365
|
/**
|
|
@@ -371,7 +371,7 @@ export type PluginGeomQueryCircleIsEqualArgs = z.infer<typeof PluginGeomQueryCir
|
|
|
371
371
|
* | `resolution` | `number` | Number of segments to sample (optional) |
|
|
372
372
|
*/
|
|
373
373
|
export declare const PluginGeomQueryCircleListPointsArgs: z.ZodObject<{
|
|
374
|
-
circle: z.ZodPipe<z.
|
|
374
|
+
circle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
375
375
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
376
376
|
}, z.core.$strip>;
|
|
377
377
|
export type PluginGeomQueryCircleListPointsArgs = z.infer<typeof PluginGeomQueryCircleListPointsArgs>;
|
|
@@ -271,7 +271,7 @@ export declare abstract class PluginGeomQueryContourApi {
|
|
|
271
271
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
272
272
|
*/
|
|
273
273
|
export declare const PluginGeomQueryContourGetOuterProfileArgs: z.ZodObject<{
|
|
274
|
-
contour: z.ZodPipe<z.
|
|
274
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
275
275
|
}, z.core.$strip>;
|
|
276
276
|
export type PluginGeomQueryContourGetOuterProfileArgs = z.infer<typeof PluginGeomQueryContourGetOuterProfileArgs>;
|
|
277
277
|
/**
|
|
@@ -282,7 +282,7 @@ export type PluginGeomQueryContourGetOuterProfileArgs = z.infer<typeof PluginGeo
|
|
|
282
282
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
283
283
|
*/
|
|
284
284
|
export declare const PluginGeomQueryContourListHolesArgs: z.ZodObject<{
|
|
285
|
-
contour: z.ZodPipe<z.
|
|
285
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
286
286
|
}, z.core.$strip>;
|
|
287
287
|
export type PluginGeomQueryContourListHolesArgs = z.infer<typeof PluginGeomQueryContourListHolesArgs>;
|
|
288
288
|
/**
|
|
@@ -293,7 +293,7 @@ export type PluginGeomQueryContourListHolesArgs = z.infer<typeof PluginGeomQuery
|
|
|
293
293
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
294
294
|
*/
|
|
295
295
|
export declare const PluginGeomQueryContourGetHoleCountArgs: z.ZodObject<{
|
|
296
|
-
contour: z.ZodPipe<z.
|
|
296
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
297
297
|
}, z.core.$strip>;
|
|
298
298
|
export type PluginGeomQueryContourGetHoleCountArgs = z.infer<typeof PluginGeomQueryContourGetHoleCountArgs>;
|
|
299
299
|
/**
|
|
@@ -304,7 +304,7 @@ export type PluginGeomQueryContourGetHoleCountArgs = z.infer<typeof PluginGeomQu
|
|
|
304
304
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
305
305
|
*/
|
|
306
306
|
export declare const PluginGeomQueryContourGetAreaArgs: z.ZodObject<{
|
|
307
|
-
contour: z.ZodPipe<z.
|
|
307
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
308
308
|
}, z.core.$strip>;
|
|
309
309
|
export type PluginGeomQueryContourGetAreaArgs = z.infer<typeof PluginGeomQueryContourGetAreaArgs>;
|
|
310
310
|
/**
|
|
@@ -315,7 +315,7 @@ export type PluginGeomQueryContourGetAreaArgs = z.infer<typeof PluginGeomQueryCo
|
|
|
315
315
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
316
316
|
*/
|
|
317
317
|
export declare const PluginGeomQueryContourGetPerimeterArgs: z.ZodObject<{
|
|
318
|
-
contour: z.ZodPipe<z.
|
|
318
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
319
319
|
}, z.core.$strip>;
|
|
320
320
|
export type PluginGeomQueryContourGetPerimeterArgs = z.infer<typeof PluginGeomQueryContourGetPerimeterArgs>;
|
|
321
321
|
/**
|
|
@@ -326,7 +326,7 @@ export type PluginGeomQueryContourGetPerimeterArgs = z.infer<typeof PluginGeomQu
|
|
|
326
326
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
327
327
|
*/
|
|
328
328
|
export declare const PluginGeomQueryContourGetBoundingBoxArgs: z.ZodObject<{
|
|
329
|
-
contour: z.ZodPipe<z.
|
|
329
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
330
330
|
}, z.core.$strip>;
|
|
331
331
|
export type PluginGeomQueryContourGetBoundingBoxArgs = z.infer<typeof PluginGeomQueryContourGetBoundingBoxArgs>;
|
|
332
332
|
/**
|
|
@@ -337,7 +337,7 @@ export type PluginGeomQueryContourGetBoundingBoxArgs = z.infer<typeof PluginGeom
|
|
|
337
337
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
338
338
|
*/
|
|
339
339
|
export declare const PluginGeomQueryContourGetNormalArgs: z.ZodObject<{
|
|
340
|
-
contour: z.ZodPipe<z.
|
|
340
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
341
341
|
}, z.core.$strip>;
|
|
342
342
|
export type PluginGeomQueryContourGetNormalArgs = z.infer<typeof PluginGeomQueryContourGetNormalArgs>;
|
|
343
343
|
/**
|
|
@@ -349,8 +349,8 @@ export type PluginGeomQueryContourGetNormalArgs = z.infer<typeof PluginGeomQuery
|
|
|
349
349
|
* | `point` | {@linkcode Vec3Handle} | The reference point |
|
|
350
350
|
*/
|
|
351
351
|
export declare const PluginGeomQueryContourGetNearestPointArgs: z.ZodObject<{
|
|
352
|
-
contour: z.ZodPipe<z.
|
|
353
|
-
point: z.ZodPipe<z.
|
|
352
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
353
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
354
354
|
}, z.core.$strip>;
|
|
355
355
|
export type PluginGeomQueryContourGetNearestPointArgs = z.infer<typeof PluginGeomQueryContourGetNearestPointArgs>;
|
|
356
356
|
/**
|
|
@@ -362,8 +362,8 @@ export type PluginGeomQueryContourGetNearestPointArgs = z.infer<typeof PluginGeo
|
|
|
362
362
|
* | `point` | {@linkcode Vec3Handle} | The point to test |
|
|
363
363
|
*/
|
|
364
364
|
export declare const PluginGeomQueryContourHasPointArgs: z.ZodObject<{
|
|
365
|
-
contour: z.ZodPipe<z.
|
|
366
|
-
point: z.ZodPipe<z.
|
|
365
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
366
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
367
367
|
}, z.core.$strip>;
|
|
368
368
|
export type PluginGeomQueryContourHasPointArgs = z.infer<typeof PluginGeomQueryContourHasPointArgs>;
|
|
369
369
|
/**
|
|
@@ -375,8 +375,8 @@ export type PluginGeomQueryContourHasPointArgs = z.infer<typeof PluginGeomQueryC
|
|
|
375
375
|
* | `point` | {@linkcode Vec3Handle} | The point to test |
|
|
376
376
|
*/
|
|
377
377
|
export declare const PluginGeomQueryContourIsOnBoundaryArgs: z.ZodObject<{
|
|
378
|
-
contour: z.ZodPipe<z.
|
|
379
|
-
point: z.ZodPipe<z.
|
|
378
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
379
|
+
point: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
380
380
|
}, z.core.$strip>;
|
|
381
381
|
export type PluginGeomQueryContourIsOnBoundaryArgs = z.infer<typeof PluginGeomQueryContourIsOnBoundaryArgs>;
|
|
382
382
|
/**
|
|
@@ -387,7 +387,7 @@ export type PluginGeomQueryContourIsOnBoundaryArgs = z.infer<typeof PluginGeomQu
|
|
|
387
387
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
388
388
|
*/
|
|
389
389
|
export declare const PluginGeomQueryContourIsClockwiseArgs: z.ZodObject<{
|
|
390
|
-
contour: z.ZodPipe<z.
|
|
390
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
391
391
|
}, z.core.$strip>;
|
|
392
392
|
export type PluginGeomQueryContourIsClockwiseArgs = z.infer<typeof PluginGeomQueryContourIsClockwiseArgs>;
|
|
393
393
|
/**
|
|
@@ -398,7 +398,7 @@ export type PluginGeomQueryContourIsClockwiseArgs = z.infer<typeof PluginGeomQue
|
|
|
398
398
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
399
399
|
*/
|
|
400
400
|
export declare const PluginGeomQueryContourIsPlanarArgs: z.ZodObject<{
|
|
401
|
-
contour: z.ZodPipe<z.
|
|
401
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
402
402
|
}, z.core.$strip>;
|
|
403
403
|
export type PluginGeomQueryContourIsPlanarArgs = z.infer<typeof PluginGeomQueryContourIsPlanarArgs>;
|
|
404
404
|
/**
|
|
@@ -409,7 +409,7 @@ export type PluginGeomQueryContourIsPlanarArgs = z.infer<typeof PluginGeomQueryC
|
|
|
409
409
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
410
410
|
*/
|
|
411
411
|
export declare const PluginGeomQueryContourIsEmptyArgs: z.ZodObject<{
|
|
412
|
-
contour: z.ZodPipe<z.
|
|
412
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
413
413
|
}, z.core.$strip>;
|
|
414
414
|
export type PluginGeomQueryContourIsEmptyArgs = z.infer<typeof PluginGeomQueryContourIsEmptyArgs>;
|
|
415
415
|
/**
|
|
@@ -420,7 +420,7 @@ export type PluginGeomQueryContourIsEmptyArgs = z.infer<typeof PluginGeomQueryCo
|
|
|
420
420
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
421
421
|
*/
|
|
422
422
|
export declare const PluginGeomQueryContourIsSelfIntersectingArgs: z.ZodObject<{
|
|
423
|
-
contour: z.ZodPipe<z.
|
|
423
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
424
424
|
}, z.core.$strip>;
|
|
425
425
|
export type PluginGeomQueryContourIsSelfIntersectingArgs = z.infer<typeof PluginGeomQueryContourIsSelfIntersectingArgs>;
|
|
426
426
|
/**
|
|
@@ -431,7 +431,7 @@ export type PluginGeomQueryContourIsSelfIntersectingArgs = z.infer<typeof Plugin
|
|
|
431
431
|
* | `contour` | {@linkcode ContourHandle} | The contour to query |
|
|
432
432
|
*/
|
|
433
433
|
export declare const PluginGeomQueryContourIsOrientationValidArgs: z.ZodObject<{
|
|
434
|
-
contour: z.ZodPipe<z.
|
|
434
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
435
435
|
}, z.core.$strip>;
|
|
436
436
|
export type PluginGeomQueryContourIsOrientationValidArgs = z.infer<typeof PluginGeomQueryContourIsOrientationValidArgs>;
|
|
437
437
|
/**
|
|
@@ -443,8 +443,8 @@ export type PluginGeomQueryContourIsOrientationValidArgs = z.infer<typeof Plugin
|
|
|
443
443
|
* | `contourB` | {@linkcode ContourHandle} | Second contour |
|
|
444
444
|
*/
|
|
445
445
|
export declare const PluginGeomQueryContourIsEqualArgs: z.ZodObject<{
|
|
446
|
-
contourA: z.ZodPipe<z.
|
|
447
|
-
contourB: z.ZodPipe<z.
|
|
446
|
+
contourA: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
447
|
+
contourB: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
448
448
|
}, z.core.$strip>;
|
|
449
449
|
export type PluginGeomQueryContourIsEqualArgs = z.infer<typeof PluginGeomQueryContourIsEqualArgs>;
|
|
450
450
|
//# sourceMappingURL=contour.d.ts.map
|