@snaptrude/plugin-core 0.0.0-dev-20260708130115 → 0.0.0-dev-20260827135706
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 +152 -1
- package/api-manifest.json +3620 -276
- package/dist/api/analysis/daylight.d.ts +603 -0
- package/dist/api/analysis/daylight.d.ts.map +1 -0
- package/dist/api/analysis/heatmaps.d.ts +658 -0
- package/dist/api/analysis/heatmaps.d.ts.map +1 -0
- package/dist/api/analysis/illuminance.d.ts +145 -0
- package/dist/api/analysis/illuminance.d.ts.map +1 -0
- package/dist/api/analysis/index.d.ts +59 -0
- package/dist/api/analysis/index.d.ts.map +1 -0
- package/dist/api/analysis/shadows.d.ts +165 -0
- package/dist/api/analysis/shadows.d.ts.map +1 -0
- package/dist/api/analysis/solar.d.ts +249 -0
- package/dist/api/analysis/solar.d.ts.map +1 -0
- package/dist/api/analysis/sunlightHours.d.ts +208 -0
- package/dist/api/analysis/sunlightHours.d.ts.map +1 -0
- package/dist/api/analysis/sunpath.d.ts +80 -0
- package/dist/api/analysis/sunpath.d.ts.map +1 -0
- package/dist/api/analysis/weather.d.ts +193 -0
- package/dist/api/analysis/weather.d.ts.map +1 -0
- package/dist/api/core/camera/index.d.ts +261 -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 +840 -14
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- 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 +130 -18
- package/dist/api/core/geom/query/brep.d.ts.map +1 -1
- 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 +34 -0
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/io/export/index.d.ts +134 -0
- package/dist/api/core/io/export/index.d.ts.map +1 -0
- package/dist/api/core/io/import/index.d.ts +453 -0
- package/dist/api/core/io/import/index.d.ts.map +1 -0
- package/dist/api/core/io/index.d.ts +40 -0
- package/dist/api/core/io/index.d.ts.map +1 -0
- package/dist/api/core/io/job/index.d.ts +139 -0
- package/dist/api/core/io/job/index.d.ts.map +1 -0
- package/dist/api/core/io/query/index.d.ts +74 -0
- package/dist/api/core/io/query/index.d.ts.map +1 -0
- package/dist/api/core/io/terrain/index.d.ts +341 -0
- package/dist/api/core/io/terrain/index.d.ts.map +1 -0
- package/dist/api/core/io/underlay/index.d.ts +805 -0
- package/dist/api/core/io/underlay/index.d.ts.map +1 -0
- package/dist/api/core/layers.d.ts +7 -7
- package/dist/api/core/mode/index.d.ts +99 -0
- package/dist/api/core/mode/index.d.ts.map +1 -0
- package/dist/api/core/project/index.d.ts +68 -1
- package/dist/api/core/project/index.d.ts.map +1 -1
- package/dist/api/core/proposals/index.d.ts +531 -0
- package/dist/api/core/proposals/index.d.ts.map +1 -0
- package/dist/api/core/storeys/index.d.ts +265 -0
- package/dist/api/core/storeys/index.d.ts.map +1 -0
- package/dist/api/core/tags.d.ts +24 -0
- package/dist/api/core/tags.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/core/zoom/index.d.ts +4 -0
- package/dist/api/core/zoom/index.d.ts.map +1 -1
- package/dist/api/design/boolean/index.d.ts +4 -4
- package/dist/api/design/create/index.d.ts +568 -45
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/delete/index.d.ts +3 -0
- package/dist/api/design/delete/index.d.ts.map +1 -1
- package/dist/api/design/doors/index.d.ts +195 -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/family.d.ts +349 -0
- package/dist/api/design/family.d.ts.map +1 -0
- package/dist/api/design/furniture/index.d.ts +181 -8
- package/dist/api/design/furniture/index.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +98 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/lock.d.ts +26 -0
- package/dist/api/design/lock.d.ts.map +1 -1
- package/dist/api/design/materials/index.d.ts +270 -16
- package/dist/api/design/materials/index.d.ts.map +1 -1
- package/dist/api/design/query/geometry/index.d.ts +112 -0
- package/dist/api/design/query/geometry/index.d.ts.map +1 -1
- package/dist/api/design/query/index.d.ts +282 -11
- package/dist/api/design/query/index.d.ts.map +1 -1
- package/dist/api/design/query/referenceLines.d.ts +45 -0
- package/dist/api/design/query/referenceLines.d.ts.map +1 -0
- package/dist/api/design/query/spaces.d.ts +181 -8
- package/dist/api/design/query/spaces.d.ts.map +1 -1
- package/dist/api/design/selection/index.d.ts +144 -0
- package/dist/api/design/selection/index.d.ts.map +1 -1
- package/dist/api/design/transform/index.d.ts +172 -10
- 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 +553 -2
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/design/visibility.d.ts +126 -0
- package/dist/api/design/visibility.d.ts.map +1 -0
- package/dist/api/design/windows/index.d.ts +113 -2
- package/dist/api/design/windows/index.d.ts.map +1 -1
- package/dist/api/entity/buildableEnvelope.d.ts +4 -0
- package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
- package/dist/api/entity/referenceLine.d.ts +10 -2
- package/dist/api/entity/referenceLine.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +21 -21
- package/dist/api/entity/story.d.ts +242 -15
- package/dist/api/entity/story.d.ts.map +1 -1
- package/dist/api/index.d.ts +10 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/presentation/aiInspiration.d.ts +25 -25
- package/dist/api/presentation/annotate.d.ts +467 -0
- package/dist/api/presentation/annotate.d.ts.map +1 -0
- package/dist/api/presentation/diagrams.d.ts +111 -8
- package/dist/api/presentation/diagrams.d.ts.map +1 -1
- package/dist/api/presentation/export.d.ts +108 -0
- package/dist/api/presentation/export.d.ts.map +1 -0
- package/dist/api/presentation/import.d.ts +55 -4
- package/dist/api/presentation/import.d.ts.map +1 -1
- package/dist/api/presentation/index.d.ts +58 -1
- package/dist/api/presentation/index.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +1139 -0
- package/dist/api/presentation/placedViews.d.ts.map +1 -0
- package/dist/api/presentation/shapes.d.ts +481 -0
- package/dist/api/presentation/shapes.d.ts.map +1 -0
- package/dist/api/presentation/sheets.d.ts +452 -13
- package/dist/api/presentation/sheets.d.ts.map +1 -1
- package/dist/api/presentation/slideshow.d.ts +125 -0
- package/dist/api/presentation/slideshow.d.ts.map +1 -0
- package/dist/api/presentation/tables.d.ts +81 -0
- package/dist/api/presentation/tables.d.ts.map +1 -0
- package/dist/api/presentation/views.d.ts +367 -7
- package/dist/api/presentation/views.d.ts.map +1 -1
- package/dist/api/program/areas.d.ts +102 -12
- 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 +7 -15
- package/dist/api/program/index.d.ts.map +1 -1
- package/dist/api/program/layout.d.ts +346 -11
- package/dist/api/program/layout.d.ts.map +1 -1
- package/dist/api/program/site.d.ts +469 -13
- package/dist/api/program/site.d.ts.map +1 -1
- package/dist/api/program/spreadsheet.d.ts +365 -41
- package/dist/api/program/spreadsheet.d.ts.map +1 -1
- package/dist/api/workspace/index.d.ts +505 -0
- package/dist/api/workspace/index.d.ts.map +1 -0
- package/dist/errors/codes.d.ts +34 -0
- package/dist/errors/codes.d.ts.map +1 -0
- package/dist/errors/envelope.d.ts +56 -0
- package/dist/errors/envelope.d.ts.map +1 -0
- package/dist/errors/index.d.ts +6 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/plugin-error.d.ts +69 -0
- package/dist/errors/plugin-error.d.ts.map +1 -0
- package/dist/handles.d.ts +97 -25
- package/dist/handles.d.ts.map +1 -1
- package/dist/host-utils.d.ts +4 -0
- package/dist/host-utils.d.ts.map +1 -1
- package/dist/index.cjs +4582 -1422
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4171 -1411
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
- package/scripts/generate-manifest.mjs +45 -0
- package/scripts/generate-manifest.test.mjs +103 -4
- package/src/api/analysis/daylight.ts +470 -0
- package/src/api/analysis/heatmaps.ts +683 -0
- package/src/api/analysis/illuminance.ts +155 -0
- package/src/api/analysis/index.ts +61 -0
- package/src/api/analysis/shadows.ts +183 -0
- package/src/api/analysis/solar.ts +237 -0
- package/src/api/analysis/sunlightHours.ts +211 -0
- package/src/api/analysis/sunpath.ts +83 -0
- package/src/api/analysis/weather.ts +179 -0
- package/src/api/core/camera/index.ts +268 -0
- package/src/api/core/comment/index.ts +120 -2
- package/src/api/core/geom/create/index.ts +912 -1
- package/src/api/core/geom/delete/index.ts +6 -0
- package/src/api/core/geom/query/brep.ts +119 -0
- package/src/api/core/handles/index.ts +233 -0
- package/src/api/core/index.ts +34 -0
- package/src/api/core/io/export/index.ts +126 -0
- package/src/api/core/io/import/index.ts +496 -0
- package/src/api/core/io/index.ts +42 -0
- package/src/api/core/io/job/index.ts +140 -0
- package/src/api/core/io/query/index.ts +71 -0
- package/src/api/core/io/terrain/index.ts +360 -0
- package/src/api/core/io/underlay/index.ts +705 -0
- package/src/api/core/mode/index.ts +96 -0
- package/src/api/core/project/index.ts +62 -1
- package/src/api/core/proposals/index.ts +569 -0
- package/src/api/core/storeys/index.ts +294 -0
- package/src/api/core/tags.ts +27 -0
- package/src/api/core/user.ts +46 -0
- package/src/api/core/zoom/index.ts +4 -0
- package/src/api/design/create/index.ts +670 -30
- package/src/api/design/delete/index.ts +3 -0
- package/src/api/design/doors/index.ts +208 -0
- package/src/api/design/erase/index.ts +1 -1
- package/src/api/design/family.ts +388 -0
- package/src/api/design/furniture/index.ts +197 -8
- package/src/api/design/index.ts +102 -0
- package/src/api/design/lock.ts +27 -0
- package/src/api/design/materials/index.ts +334 -27
- package/src/api/design/query/geometry/index.ts +125 -3
- package/src/api/design/query/index.ts +217 -7
- package/src/api/design/query/referenceLines.ts +52 -0
- package/src/api/design/query/spaces.ts +143 -0
- package/src/api/design/selection/index.ts +129 -0
- package/src/api/design/transform/index.ts +170 -9
- package/src/api/design/types/index.ts +156 -0
- package/src/api/design/update/index.ts +631 -3
- package/src/api/design/visibility.ts +143 -0
- package/src/api/design/windows/index.ts +128 -2
- package/src/api/entity/buildableEnvelope.ts +4 -0
- package/src/api/entity/referenceLine.ts +8 -0
- package/src/api/entity/story.ts +259 -15
- package/src/api/index.ts +10 -0
- package/src/api/presentation/annotate.ts +385 -0
- package/src/api/presentation/diagrams.ts +118 -8
- package/src/api/presentation/export.ts +108 -0
- package/src/api/presentation/import.ts +51 -4
- package/src/api/presentation/index.ts +66 -1
- package/src/api/presentation/placedViews.ts +1120 -0
- package/src/api/presentation/shapes.ts +274 -0
- package/src/api/presentation/sheets.ts +400 -13
- package/src/api/presentation/slideshow.ts +134 -0
- package/src/api/presentation/tables.ts +84 -0
- package/src/api/presentation/views.ts +376 -8
- package/src/api/program/areas.ts +88 -15
- package/src/api/program/cores.ts +3 -91
- package/src/api/program/index.ts +7 -15
- package/src/api/program/layout.ts +365 -11
- package/src/api/program/site.ts +435 -13
- package/src/api/program/spreadsheet.ts +376 -35
- package/src/api/workspace/index.ts +563 -0
- package/src/errors/codes.ts +136 -0
- package/src/errors/envelope.ts +75 -0
- package/src/errors/index.ts +21 -0
- package/src/errors/plugin-error.ts +134 -0
- package/src/handles.ts +123 -13
- package/src/host-utils.ts +4 -0
- package/src/index.ts +1 -0
- package/test/errors.test.mjs +184 -0
- package/tsconfig.json +7 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpL;;;;;;;;;;GAUG;AACH,8BAAsB,mBAAmB;;IAGvC;;;;;;;;;;;;;;;OAeG;aACa,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,GAAG,eAA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AC3C,CAAA;AAMD;;;;;;;;GAQG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;iBAiC1C,CAAA;AAEJ,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG;;;;;;;;;GASG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;iBAKjD,CAAA;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAA"}
|
|
@@ -18,6 +18,9 @@ export declare abstract class PluginGeomDeleteApi {
|
|
|
18
18
|
* reclaims its share of the plugin's resource quota. This is a handle-lifecycle
|
|
19
19
|
* operation only and does NOT tear down any engine-side geometry.
|
|
20
20
|
*
|
|
21
|
+
* @deprecated Use `core.handles.release([profile])` — the universal, batched
|
|
22
|
+
* release API for every arena handle kind.
|
|
23
|
+
*
|
|
21
24
|
* @param profile The transient profile handle to release
|
|
22
25
|
* @returns Nothing
|
|
23
26
|
*
|
|
@@ -34,6 +37,9 @@ export declare abstract class PluginGeomDeleteApi {
|
|
|
34
37
|
* reclaims its share of the plugin's resource quota. Handle-lifecycle only; does
|
|
35
38
|
* NOT tear down engine-side geometry, nor the contour's child profile handles.
|
|
36
39
|
*
|
|
40
|
+
* @deprecated Use `core.handles.release([contour])` — the universal, batched
|
|
41
|
+
* release API for every arena handle kind.
|
|
42
|
+
*
|
|
37
43
|
* @param contour The transient contour handle to release
|
|
38
44
|
* @returns Nothing
|
|
39
45
|
*
|
|
@@ -55,7 +61,7 @@ export declare abstract class PluginGeomDeleteApi {
|
|
|
55
61
|
* | `profile` | {@linkcode ProfileHandle} | The transient profile handle to release |
|
|
56
62
|
*/
|
|
57
63
|
export declare const PluginGeomDeleteProfileArgs: z.ZodObject<{
|
|
58
|
-
profile: z.ZodPipe<z.
|
|
64
|
+
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
|
|
59
65
|
}, z.core.$strip>;
|
|
60
66
|
export type PluginGeomDeleteProfileArgs = z.infer<typeof PluginGeomDeleteProfileArgs>;
|
|
61
67
|
/**
|
|
@@ -66,7 +72,7 @@ export type PluginGeomDeleteProfileArgs = z.infer<typeof PluginGeomDeleteProfile
|
|
|
66
72
|
* | `contour` | {@linkcode ContourHandle} | The transient contour handle to release |
|
|
67
73
|
*/
|
|
68
74
|
export declare const PluginGeomDeleteContourArgs: z.ZodObject<{
|
|
69
|
-
contour: z.ZodPipe<z.
|
|
75
|
+
contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
|
|
70
76
|
}, z.core.$strip>;
|
|
71
77
|
export type PluginGeomDeleteContourArgs = z.infer<typeof PluginGeomDeleteContourArgs>;
|
|
72
78
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAElE;;;;;;;;;GASG;AACH,8BAAsB,mBAAmB;;IAGvC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAElE;;;;;;;;;GASG;AACH,8BAAsB,mBAAmB;;IAGvC;;;;;;;;;;;;;;;;;OAiBG;aACa,OAAO,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,IAAI,CAAC;IAEtE;;;;;;;;;;;;;;;;;;OAkBG;aACa,OAAO,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAAC,IAAI,CAAC;CACvE;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B;;iBAEtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAErF;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B;;iBAEtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
|
|
@@ -119,7 +119,7 @@ export declare abstract class PluginGeomQueryArcApi {
|
|
|
119
119
|
* | `arc` | {@linkcode ArcHandle} | The arc to query |
|
|
120
120
|
*/
|
|
121
121
|
export declare const PluginGeomQueryArcGetRadiusArgs: z.ZodObject<{
|
|
122
|
-
arc: z.ZodPipe<z.
|
|
122
|
+
arc: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
124
|
export type PluginGeomQueryArcGetRadiusArgs = z.infer<typeof PluginGeomQueryArcGetRadiusArgs>;
|
|
125
125
|
/**
|
|
@@ -130,7 +130,7 @@ export type PluginGeomQueryArcGetRadiusArgs = z.infer<typeof PluginGeomQueryArcG
|
|
|
130
130
|
* | `arc` | {@linkcode ArcHandle} | The arc to query |
|
|
131
131
|
*/
|
|
132
132
|
export declare const PluginGeomQueryArcGetCentreArgs: z.ZodObject<{
|
|
133
|
-
arc: z.ZodPipe<z.
|
|
133
|
+
arc: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
|
|
134
134
|
}, z.core.$strip>;
|
|
135
135
|
export type PluginGeomQueryArcGetCentreArgs = z.infer<typeof PluginGeomQueryArcGetCentreArgs>;
|
|
136
136
|
/**
|
|
@@ -141,7 +141,7 @@ export type PluginGeomQueryArcGetCentreArgs = z.infer<typeof PluginGeomQueryArcG
|
|
|
141
141
|
* | `arc` | {@linkcode ArcHandle} | The arc to query |
|
|
142
142
|
*/
|
|
143
143
|
export declare const PluginGeomQueryArcGetAxisArgs: z.ZodObject<{
|
|
144
|
-
arc: z.ZodPipe<z.
|
|
144
|
+
arc: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
|
|
145
145
|
}, z.core.$strip>;
|
|
146
146
|
export type PluginGeomQueryArcGetAxisArgs = z.infer<typeof PluginGeomQueryArcGetAxisArgs>;
|
|
147
147
|
/**
|
|
@@ -152,7 +152,7 @@ export type PluginGeomQueryArcGetAxisArgs = z.infer<typeof PluginGeomQueryArcGet
|
|
|
152
152
|
* | `arc` | {@linkcode ArcHandle} | The arc to query |
|
|
153
153
|
*/
|
|
154
154
|
export declare const PluginGeomQueryArcGetSweepAngleArgs: z.ZodObject<{
|
|
155
|
-
arc: z.ZodPipe<z.
|
|
155
|
+
arc: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
|
|
156
156
|
}, z.core.$strip>;
|
|
157
157
|
export type PluginGeomQueryArcGetSweepAngleArgs = z.infer<typeof PluginGeomQueryArcGetSweepAngleArgs>;
|
|
158
158
|
/**
|
|
@@ -163,7 +163,7 @@ export type PluginGeomQueryArcGetSweepAngleArgs = z.infer<typeof PluginGeomQuery
|
|
|
163
163
|
* | `arc` | {@linkcode ArcHandle} | The arc to query |
|
|
164
164
|
*/
|
|
165
165
|
export declare const PluginGeomQueryArcIsValidArgs: z.ZodObject<{
|
|
166
|
-
arc: z.ZodPipe<z.
|
|
166
|
+
arc: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
export type PluginGeomQueryArcIsValidArgs = z.infer<typeof PluginGeomQueryArcIsValidArgs>;
|
|
169
169
|
//# sourceMappingURL=arc.d.ts.map
|
|
@@ -134,6 +134,61 @@ export declare abstract class PluginGeomQueryBrepApi {
|
|
|
134
134
|
* ```
|
|
135
135
|
*/
|
|
136
136
|
abstract listEdgesBetween(brep: BrepHandle, vertexIndexA: number, vertexIndexB: number): PluginApiReturn<EdgeHandle[]>;
|
|
137
|
+
/**
|
|
138
|
+
* Read the exact curve of a brep edge as plain values — a discriminated
|
|
139
|
+
* union on `type`. Pure read: no geometry kernel is loaded. Points and
|
|
140
|
+
* directions are {@linkcode Vec3Components}; lengths and radii are raw
|
|
141
|
+
* Babylon units.
|
|
142
|
+
*
|
|
143
|
+
* | `type` | Fields |
|
|
144
|
+
* |---|---|
|
|
145
|
+
* | `"line"` | `startPoint`, `endPoint`, `length` |
|
|
146
|
+
* | `"arc"` | `startPoint`, `endPoint`, `centre`, `axis`, `radius`, `length` |
|
|
147
|
+
* | `"circle"` | `centre`, `axis`, `radius`, `length` — a full-circle edge (e.g. a cylinder cap rim) |
|
|
148
|
+
*
|
|
149
|
+
* @param brep The brep the edge belongs to
|
|
150
|
+
* @param edge The edge whose curve to read
|
|
151
|
+
* @returns The curve data as a discriminated union on `type` (see table above)
|
|
152
|
+
* @throws VALIDATION if the edge is not on `brep`
|
|
153
|
+
*
|
|
154
|
+
* @examplePrompt Read the radius of this curved edge
|
|
155
|
+
* @examplePrompt Is this edge straight or an arc?
|
|
156
|
+
* @examplePrompt Get the exact start and end points of this edge
|
|
157
|
+
* @examplePrompt Measure the length of each edge of this mass
|
|
158
|
+
*
|
|
159
|
+
* # Example
|
|
160
|
+
* ```ts
|
|
161
|
+
* const [mass] = await snaptrude.design.query.listMasses()
|
|
162
|
+
* const brep = await snaptrude.design.query.geometry.getBrep(mass)
|
|
163
|
+
* if (brep) {
|
|
164
|
+
* const edges = await snaptrude.core.geom.query.brep.listEdges(brep)
|
|
165
|
+
* for (const edge of edges) {
|
|
166
|
+
* const curve = await snaptrude.core.geom.query.brep.getEdgeCurve(brep, edge)
|
|
167
|
+
* if (curve.type === "arc") console.log("arc radius:", curve.radius)
|
|
168
|
+
* }
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
abstract getEdgeCurve(brep: BrepHandle, edge: EdgeHandle): PluginApiReturn<{
|
|
173
|
+
type: "line";
|
|
174
|
+
startPoint: Vec3Components;
|
|
175
|
+
endPoint: Vec3Components;
|
|
176
|
+
length: number;
|
|
177
|
+
} | {
|
|
178
|
+
type: "arc";
|
|
179
|
+
startPoint: Vec3Components;
|
|
180
|
+
endPoint: Vec3Components;
|
|
181
|
+
centre: Vec3Components;
|
|
182
|
+
axis: Vec3Components;
|
|
183
|
+
radius: number;
|
|
184
|
+
length: number;
|
|
185
|
+
} | {
|
|
186
|
+
type: "circle";
|
|
187
|
+
centre: Vec3Components;
|
|
188
|
+
axis: Vec3Components;
|
|
189
|
+
radius: number;
|
|
190
|
+
length: number;
|
|
191
|
+
}>;
|
|
137
192
|
/**
|
|
138
193
|
* Get the position of a vertex within a brep.
|
|
139
194
|
* @param brep The brep to query
|
|
@@ -288,25 +343,56 @@ export declare abstract class PluginGeomQueryBrepApi {
|
|
|
288
343
|
* ```
|
|
289
344
|
*/
|
|
290
345
|
abstract isEqual(brepA: BrepHandle, brepB: BrepHandle): PluginApiReturn<boolean>;
|
|
346
|
+
/**
|
|
347
|
+
* Measures the minimum distance between two solids, with the closest witness
|
|
348
|
+
* point on each. Touching or overlapping solids report a distance of 0 with
|
|
349
|
+
* contact points.
|
|
350
|
+
*
|
|
351
|
+
* @param brepA First solid
|
|
352
|
+
* @param brepB Second solid
|
|
353
|
+
* @returns `{ distance, pointA, pointB }` — the minimum distance and the
|
|
354
|
+
* closest points on `brepA` and `brepB` as {@linkcode Vec3Components}
|
|
355
|
+
* @throws OPERATION_FAILED if the kernel cannot compute the distance
|
|
356
|
+
*
|
|
357
|
+
* @examplePrompt What is the clearance between these two masses?
|
|
358
|
+
* @examplePrompt How far apart are the tower and the neighbouring building?
|
|
359
|
+
* @examplePrompt Find the closest points between these two solids
|
|
360
|
+
*
|
|
361
|
+
* # Example
|
|
362
|
+
* ```ts
|
|
363
|
+
* const [a, b] = await snaptrude.design.query.listMasses()
|
|
364
|
+
* const brepA = await snaptrude.design.query.geometry.getBrep(a)
|
|
365
|
+
* const brepB = await snaptrude.design.query.geometry.getBrep(b)
|
|
366
|
+
* if (brepA && brepB) {
|
|
367
|
+
* const { distance, pointA, pointB } = await snaptrude.core.geom.query.brep.getDistance(brepA, brepB)
|
|
368
|
+
* console.log("clearance:", distance)
|
|
369
|
+
* }
|
|
370
|
+
* ```
|
|
371
|
+
*/
|
|
372
|
+
abstract getDistance(brepA: BrepHandle, brepB: BrepHandle): PluginApiReturn<{
|
|
373
|
+
distance: number;
|
|
374
|
+
pointA: Vec3Components;
|
|
375
|
+
pointB: Vec3Components;
|
|
376
|
+
}>;
|
|
291
377
|
}
|
|
292
378
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listFaces}. `{ brep: BrepHandle }` */
|
|
293
379
|
export declare const PluginGeomQueryBrepListFacesArgs: z.ZodObject<{
|
|
294
|
-
brep: z.ZodPipe<z.
|
|
380
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
295
381
|
}, z.core.$strip>;
|
|
296
382
|
export type PluginGeomQueryBrepListFacesArgs = z.infer<typeof PluginGeomQueryBrepListFacesArgs>;
|
|
297
383
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listEdges}. `{ brep: BrepHandle }` */
|
|
298
384
|
export declare const PluginGeomQueryBrepListEdgesArgs: z.ZodObject<{
|
|
299
|
-
brep: z.ZodPipe<z.
|
|
385
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
300
386
|
}, z.core.$strip>;
|
|
301
387
|
export type PluginGeomQueryBrepListEdgesArgs = z.infer<typeof PluginGeomQueryBrepListEdgesArgs>;
|
|
302
388
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listVertices}. `{ brep: BrepHandle }` */
|
|
303
389
|
export declare const PluginGeomQueryBrepListVerticesArgs: z.ZodObject<{
|
|
304
|
-
brep: z.ZodPipe<z.
|
|
390
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
305
391
|
}, z.core.$strip>;
|
|
306
392
|
export type PluginGeomQueryBrepListVerticesArgs = z.infer<typeof PluginGeomQueryBrepListVerticesArgs>;
|
|
307
393
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listHalfEdges}. `{ brep: BrepHandle }` */
|
|
308
394
|
export declare const PluginGeomQueryBrepListHalfEdgesArgs: z.ZodObject<{
|
|
309
|
-
brep: z.ZodPipe<z.
|
|
395
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
310
396
|
}, z.core.$strip>;
|
|
311
397
|
export type PluginGeomQueryBrepListHalfEdgesArgs = z.infer<typeof PluginGeomQueryBrepListHalfEdgesArgs>;
|
|
312
398
|
/**
|
|
@@ -319,25 +405,38 @@ export type PluginGeomQueryBrepListHalfEdgesArgs = z.infer<typeof PluginGeomQuer
|
|
|
319
405
|
* | `vertexIndexB` | `number` | Second vertex index |
|
|
320
406
|
*/
|
|
321
407
|
export declare const PluginGeomQueryBrepGetEdgeArgs: z.ZodObject<{
|
|
322
|
-
brep: z.ZodPipe<z.
|
|
408
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
323
409
|
vertexIndexA: z.ZodNumber;
|
|
324
410
|
vertexIndexB: z.ZodNumber;
|
|
325
411
|
}, z.core.$strip>;
|
|
326
412
|
export type PluginGeomQueryBrepGetEdgeArgs = z.infer<typeof PluginGeomQueryBrepGetEdgeArgs>;
|
|
327
413
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.hasEdge}. `{ brep, vertexIndexA, vertexIndexB }` */
|
|
328
414
|
export declare const PluginGeomQueryBrepHasEdgeArgs: z.ZodObject<{
|
|
329
|
-
brep: z.ZodPipe<z.
|
|
415
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
330
416
|
vertexIndexA: z.ZodNumber;
|
|
331
417
|
vertexIndexB: z.ZodNumber;
|
|
332
418
|
}, z.core.$strip>;
|
|
333
419
|
export type PluginGeomQueryBrepHasEdgeArgs = z.infer<typeof PluginGeomQueryBrepHasEdgeArgs>;
|
|
334
420
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listEdgesBetween}. `{ brep, vertexIndexA, vertexIndexB }` */
|
|
335
421
|
export declare const PluginGeomQueryBrepListEdgesBetweenArgs: z.ZodObject<{
|
|
336
|
-
brep: z.ZodPipe<z.
|
|
422
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
337
423
|
vertexIndexA: z.ZodNumber;
|
|
338
424
|
vertexIndexB: z.ZodNumber;
|
|
339
425
|
}, z.core.$strip>;
|
|
340
426
|
export type PluginGeomQueryBrepListEdgesBetweenArgs = z.infer<typeof PluginGeomQueryBrepListEdgesBetweenArgs>;
|
|
427
|
+
/**
|
|
428
|
+
* Arguments for {@linkcode PluginGeomQueryBrepApi.getEdgeCurve}.
|
|
429
|
+
*
|
|
430
|
+
* | Property | Type | Description |
|
|
431
|
+
* |---|---|---|
|
|
432
|
+
* | `brep` | {@linkcode BrepHandle} | The brep the edge belongs to |
|
|
433
|
+
* | `edge` | {@linkcode EdgeHandle} | The edge whose curve to read |
|
|
434
|
+
*/
|
|
435
|
+
export declare const PluginGeomQueryBrepGetEdgeCurveArgs: z.ZodObject<{
|
|
436
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
437
|
+
edge: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"edge">, string>>;
|
|
438
|
+
}, z.core.$strip>;
|
|
439
|
+
export type PluginGeomQueryBrepGetEdgeCurveArgs = z.infer<typeof PluginGeomQueryBrepGetEdgeCurveArgs>;
|
|
341
440
|
/**
|
|
342
441
|
* Arguments for {@linkcode PluginGeomQueryBrepApi.getVertexPosition}.
|
|
343
442
|
*
|
|
@@ -347,43 +446,43 @@ export type PluginGeomQueryBrepListEdgesBetweenArgs = z.infer<typeof PluginGeomQ
|
|
|
347
446
|
* | `vertex` | {@linkcode VertexHandle} | The vertex whose position to read |
|
|
348
447
|
*/
|
|
349
448
|
export declare const PluginGeomQueryBrepGetVertexPositionArgs: z.ZodObject<{
|
|
350
|
-
brep: z.ZodPipe<z.
|
|
351
|
-
vertex: z.ZodPipe<z.
|
|
449
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
450
|
+
vertex: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vertex">, string>>;
|
|
352
451
|
}, z.core.$strip>;
|
|
353
452
|
export type PluginGeomQueryBrepGetVertexPositionArgs = z.infer<typeof PluginGeomQueryBrepGetVertexPositionArgs>;
|
|
354
453
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.listVertexPositions}. `{ brep: BrepHandle }` */
|
|
355
454
|
export declare const PluginGeomQueryBrepListVertexPositionsArgs: z.ZodObject<{
|
|
356
|
-
brep: z.ZodPipe<z.
|
|
455
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
357
456
|
}, z.core.$strip>;
|
|
358
457
|
export type PluginGeomQueryBrepListVertexPositionsArgs = z.infer<typeof PluginGeomQueryBrepListVertexPositionsArgs>;
|
|
359
458
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getCentroid}. `{ brep: BrepHandle }` */
|
|
360
459
|
export declare const PluginGeomQueryBrepGetCentroidArgs: z.ZodObject<{
|
|
361
|
-
brep: z.ZodPipe<z.
|
|
460
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
362
461
|
}, z.core.$strip>;
|
|
363
462
|
export type PluginGeomQueryBrepGetCentroidArgs = z.infer<typeof PluginGeomQueryBrepGetCentroidArgs>;
|
|
364
463
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getFaceCount}. `{ brep: BrepHandle }` */
|
|
365
464
|
export declare const PluginGeomQueryBrepGetFaceCountArgs: z.ZodObject<{
|
|
366
|
-
brep: z.ZodPipe<z.
|
|
465
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
367
466
|
}, z.core.$strip>;
|
|
368
467
|
export type PluginGeomQueryBrepGetFaceCountArgs = z.infer<typeof PluginGeomQueryBrepGetFaceCountArgs>;
|
|
369
468
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getEdgeCount}. `{ brep: BrepHandle }` */
|
|
370
469
|
export declare const PluginGeomQueryBrepGetEdgeCountArgs: z.ZodObject<{
|
|
371
|
-
brep: z.ZodPipe<z.
|
|
470
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
372
471
|
}, z.core.$strip>;
|
|
373
472
|
export type PluginGeomQueryBrepGetEdgeCountArgs = z.infer<typeof PluginGeomQueryBrepGetEdgeCountArgs>;
|
|
374
473
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getVertexCount}. `{ brep: BrepHandle }` */
|
|
375
474
|
export declare const PluginGeomQueryBrepGetVertexCountArgs: z.ZodObject<{
|
|
376
|
-
brep: z.ZodPipe<z.
|
|
475
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
377
476
|
}, z.core.$strip>;
|
|
378
477
|
export type PluginGeomQueryBrepGetVertexCountArgs = z.infer<typeof PluginGeomQueryBrepGetVertexCountArgs>;
|
|
379
478
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getHalfEdgeCount}. `{ brep: BrepHandle }` */
|
|
380
479
|
export declare const PluginGeomQueryBrepGetHalfEdgeCountArgs: z.ZodObject<{
|
|
381
|
-
brep: z.ZodPipe<z.
|
|
480
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
382
481
|
}, z.core.$strip>;
|
|
383
482
|
export type PluginGeomQueryBrepGetHalfEdgeCountArgs = z.infer<typeof PluginGeomQueryBrepGetHalfEdgeCountArgs>;
|
|
384
483
|
/** Arguments for {@linkcode PluginGeomQueryBrepApi.getBoundingBox}. `{ brep: BrepHandle }` */
|
|
385
484
|
export declare const PluginGeomQueryBrepGetBoundingBoxArgs: z.ZodObject<{
|
|
386
|
-
brep: z.ZodPipe<z.
|
|
485
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
387
486
|
}, z.core.$strip>;
|
|
388
487
|
export type PluginGeomQueryBrepGetBoundingBoxArgs = z.infer<typeof PluginGeomQueryBrepGetBoundingBoxArgs>;
|
|
389
488
|
/**
|
|
@@ -395,8 +494,21 @@ export type PluginGeomQueryBrepGetBoundingBoxArgs = z.infer<typeof PluginGeomQue
|
|
|
395
494
|
* | `brepB` | {@linkcode BrepHandle} | Second brep |
|
|
396
495
|
*/
|
|
397
496
|
export declare const PluginGeomQueryBrepIsEqualArgs: z.ZodObject<{
|
|
398
|
-
brepA: z.ZodPipe<z.
|
|
399
|
-
brepB: z.ZodPipe<z.
|
|
497
|
+
brepA: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
498
|
+
brepB: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
400
499
|
}, z.core.$strip>;
|
|
401
500
|
export type PluginGeomQueryBrepIsEqualArgs = z.infer<typeof PluginGeomQueryBrepIsEqualArgs>;
|
|
501
|
+
/**
|
|
502
|
+
* Arguments for {@linkcode PluginGeomQueryBrepApi.getDistance}.
|
|
503
|
+
*
|
|
504
|
+
* | Property | Type | Description |
|
|
505
|
+
* |---|---|---|
|
|
506
|
+
* | `brepA` | {@linkcode BrepHandle} | First solid |
|
|
507
|
+
* | `brepB` | {@linkcode BrepHandle} | Second solid |
|
|
508
|
+
*/
|
|
509
|
+
export declare const PluginGeomQueryBrepGetDistanceArgs: z.ZodObject<{
|
|
510
|
+
brepA: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
511
|
+
brepB: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
|
|
512
|
+
}, z.core.$strip>;
|
|
513
|
+
export type PluginGeomQueryBrepGetDistanceArgs = z.infer<typeof PluginGeomQueryBrepGetDistanceArgs>;
|
|
402
514
|
//# sourceMappingURL=brep.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brep.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/query/brep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,cAAc,EACd,cAAc,EACf,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;;;;;GAYG;AACH,8BAAsB,sBAAsB;;IAG1C;;;;;;;;;;;;;OAaG;aACa,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAAC,UAAU,EAAE,CAAC;IAE1E;;;;;;;;;;;;;OAaG;aACa,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAAC,UAAU,EAAE,CAAC;IAE1E;;;;;;;;;;;;;OAaG;aACa,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAAC,YAAY,EAAE,CAAC;IAE/E;;;;;;;;;;;;;OAaG;aACa,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAAC,cAAc,EAAE,CAAC;IAElF;;;;;;;;;;;;;;;;;;;OAmBG;aACa,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,GACnB,eAAe,CAAC,UAAU,GAAG,IAAI,CAAC;IAErC;;;;;;;;;;;;;;;;OAgBG;aACa,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,YAAY,EAAE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CAAA;AAC9D,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,uCAAuC,CAC/C,CAAA;AAED,8FAA8F;AAC9F,eAAO,MAAM,qCAAqC;;iBAAU,CAAA;AAC5D,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;GAOG;AACH,eAAO,MAAM,kCAAkC;;;iBAG7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA"}
|
|
@@ -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>;
|