@snaptrude/plugin-core 0.7.1 → 0.9.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.
Files changed (193) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/api-manifest.full.json +7703 -0
  3. package/api-manifest.json +2946 -259
  4. package/dist/api/analysis/daylight.d.ts +603 -0
  5. package/dist/api/analysis/daylight.d.ts.map +1 -0
  6. package/dist/api/analysis/heatmaps.d.ts +438 -14
  7. package/dist/api/analysis/heatmaps.d.ts.map +1 -1
  8. package/dist/api/analysis/index.d.ts +15 -0
  9. package/dist/api/analysis/index.d.ts.map +1 -1
  10. package/dist/api/analysis/solar.d.ts +249 -0
  11. package/dist/api/analysis/solar.d.ts.map +1 -0
  12. package/dist/api/analysis/weather.d.ts +193 -0
  13. package/dist/api/analysis/weather.d.ts.map +1 -0
  14. package/dist/api/core/camera/index.d.ts +245 -0
  15. package/dist/api/core/camera/index.d.ts.map +1 -0
  16. package/dist/api/core/comment/index.d.ts +105 -2
  17. package/dist/api/core/comment/index.d.ts.map +1 -1
  18. package/dist/api/core/geom/create/index.d.ts +331 -14
  19. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  20. package/dist/api/core/geom/delete/index.d.ts +8 -2
  21. package/dist/api/core/geom/delete/index.d.ts.map +1 -1
  22. package/dist/api/core/geom/query/arc.d.ts +5 -5
  23. package/dist/api/core/geom/query/brep.d.ts +18 -18
  24. package/dist/api/core/geom/query/circle.d.ts +18 -18
  25. package/dist/api/core/geom/query/contour.d.ts +20 -20
  26. package/dist/api/core/geom/query/curve.d.ts +49 -49
  27. package/dist/api/core/geom/query/edge.d.ts +5 -5
  28. package/dist/api/core/geom/query/face.d.ts +16 -16
  29. package/dist/api/core/geom/query/halfedge.d.ts +8 -8
  30. package/dist/api/core/geom/query/profile.d.ts +19 -19
  31. package/dist/api/core/geom/query/vertex.d.ts +8 -8
  32. package/dist/api/core/geom/update/contour.d.ts +14 -14
  33. package/dist/api/core/geom/update/curve.d.ts +7 -7
  34. package/dist/api/core/geom/update/profile.d.ts +16 -16
  35. package/dist/api/core/handles/index.d.ts +210 -0
  36. package/dist/api/core/handles/index.d.ts.map +1 -0
  37. package/dist/api/core/index.d.ts +24 -0
  38. package/dist/api/core/index.d.ts.map +1 -1
  39. package/dist/api/core/io/export/index.d.ts +134 -0
  40. package/dist/api/core/io/export/index.d.ts.map +1 -0
  41. package/dist/api/core/io/import/index.d.ts +62 -1
  42. package/dist/api/core/io/import/index.d.ts.map +1 -1
  43. package/dist/api/core/io/index.d.ts +5 -0
  44. package/dist/api/core/io/index.d.ts.map +1 -1
  45. package/dist/api/core/layers.d.ts +7 -7
  46. package/dist/api/core/mode/index.d.ts +99 -0
  47. package/dist/api/core/mode/index.d.ts.map +1 -0
  48. package/dist/api/core/proposals/index.d.ts +65 -9
  49. package/dist/api/core/proposals/index.d.ts.map +1 -1
  50. package/dist/api/core/storeys/index.d.ts +251 -0
  51. package/dist/api/core/storeys/index.d.ts.map +1 -0
  52. package/dist/api/core/tags.d.ts +24 -0
  53. package/dist/api/core/tags.d.ts.map +1 -1
  54. package/dist/api/core/user.d.ts +44 -0
  55. package/dist/api/core/user.d.ts.map +1 -0
  56. package/dist/api/core/zoom/index.d.ts +4 -0
  57. package/dist/api/core/zoom/index.d.ts.map +1 -1
  58. package/dist/api/design/boolean/index.d.ts +4 -4
  59. package/dist/api/design/create/index.d.ts +253 -47
  60. package/dist/api/design/create/index.d.ts.map +1 -1
  61. package/dist/api/design/delete/index.d.ts +3 -0
  62. package/dist/api/design/delete/index.d.ts.map +1 -1
  63. package/dist/api/design/doors/index.d.ts +36 -0
  64. package/dist/api/design/doors/index.d.ts.map +1 -1
  65. package/dist/api/design/edit/index.d.ts +1 -1
  66. package/dist/api/design/erase/index.d.ts +2 -2
  67. package/dist/api/design/furniture/index.d.ts +114 -3
  68. package/dist/api/design/furniture/index.d.ts.map +1 -1
  69. package/dist/api/design/index.d.ts +10 -0
  70. package/dist/api/design/index.d.ts.map +1 -1
  71. package/dist/api/design/materials/index.d.ts +111 -14
  72. package/dist/api/design/materials/index.d.ts.map +1 -1
  73. package/dist/api/design/query/geometry/index.d.ts +112 -0
  74. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  75. package/dist/api/design/query/index.d.ts +35 -1
  76. package/dist/api/design/query/index.d.ts.map +1 -1
  77. package/dist/api/design/query/referenceLines.d.ts +45 -0
  78. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  79. package/dist/api/design/query/spaces.d.ts +178 -5
  80. package/dist/api/design/query/spaces.d.ts.map +1 -1
  81. package/dist/api/design/transform/index.d.ts +95 -14
  82. package/dist/api/design/transform/index.d.ts.map +1 -1
  83. package/dist/api/design/types/index.d.ts +181 -0
  84. package/dist/api/design/types/index.d.ts.map +1 -0
  85. package/dist/api/design/update/index.d.ts +385 -2
  86. package/dist/api/design/update/index.d.ts.map +1 -1
  87. package/dist/api/design/visibility.d.ts +98 -0
  88. package/dist/api/design/visibility.d.ts.map +1 -0
  89. package/dist/api/entity/buildableEnvelope.d.ts +4 -0
  90. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  91. package/dist/api/entity/referenceLine.d.ts +10 -2
  92. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  93. package/dist/api/entity/space.d.ts +19 -19
  94. package/dist/api/entity/story.d.ts +148 -15
  95. package/dist/api/entity/story.d.ts.map +1 -1
  96. package/dist/api/index.d.ts +5 -0
  97. package/dist/api/index.d.ts.map +1 -1
  98. package/dist/api/presentation/annotate.d.ts +448 -0
  99. package/dist/api/presentation/annotate.d.ts.map +1 -0
  100. package/dist/api/presentation/diagrams.d.ts +49 -8
  101. package/dist/api/presentation/diagrams.d.ts.map +1 -1
  102. package/dist/api/presentation/export.d.ts +108 -0
  103. package/dist/api/presentation/export.d.ts.map +1 -0
  104. package/dist/api/presentation/import.d.ts +6 -0
  105. package/dist/api/presentation/import.d.ts.map +1 -1
  106. package/dist/api/presentation/index.d.ts +47 -0
  107. package/dist/api/presentation/index.d.ts.map +1 -1
  108. package/dist/api/presentation/placedViews.d.ts +370 -0
  109. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  110. package/dist/api/presentation/shapes.d.ts +481 -0
  111. package/dist/api/presentation/shapes.d.ts.map +1 -0
  112. package/dist/api/presentation/sheets.d.ts +410 -13
  113. package/dist/api/presentation/sheets.d.ts.map +1 -1
  114. package/dist/api/presentation/views.d.ts +165 -10
  115. package/dist/api/presentation/views.d.ts.map +1 -1
  116. package/dist/api/program/areas.d.ts +63 -3
  117. package/dist/api/program/areas.d.ts.map +1 -1
  118. package/dist/api/program/cores.d.ts +3 -99
  119. package/dist/api/program/cores.d.ts.map +1 -1
  120. package/dist/api/program/index.d.ts +2 -2
  121. package/dist/api/program/index.d.ts.map +1 -1
  122. package/dist/api/program/layout.d.ts +172 -12
  123. package/dist/api/program/layout.d.ts.map +1 -1
  124. package/dist/api/program/site.d.ts +105 -8
  125. package/dist/api/program/site.d.ts.map +1 -1
  126. package/dist/api/program/spreadsheet.d.ts +365 -41
  127. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  128. package/dist/api/workspace/index.d.ts +460 -0
  129. package/dist/api/workspace/index.d.ts.map +1 -0
  130. package/dist/handles.d.ts +64 -25
  131. package/dist/handles.d.ts.map +1 -1
  132. package/dist/index.cjs +3210 -1671
  133. package/dist/index.cjs.map +1 -1
  134. package/dist/index.js +3008 -1666
  135. package/dist/index.js.map +1 -1
  136. package/package.json +3 -2
  137. package/scripts/generate-manifest.mjs +45 -0
  138. package/src/api/analysis/daylight.ts +470 -0
  139. package/src/api/analysis/heatmaps.ts +444 -17
  140. package/src/api/analysis/index.ts +15 -0
  141. package/src/api/analysis/solar.ts +237 -0
  142. package/src/api/analysis/weather.ts +179 -0
  143. package/src/api/core/camera/index.ts +251 -0
  144. package/src/api/core/comment/index.ts +120 -2
  145. package/src/api/core/geom/create/index.ts +344 -1
  146. package/src/api/core/geom/delete/index.ts +6 -0
  147. package/src/api/core/handles/index.ts +233 -0
  148. package/src/api/core/index.ts +24 -0
  149. package/src/api/core/io/export/index.ts +126 -0
  150. package/src/api/core/io/import/index.ts +64 -0
  151. package/src/api/core/io/index.ts +5 -0
  152. package/src/api/core/mode/index.ts +96 -0
  153. package/src/api/core/proposals/index.ts +71 -11
  154. package/src/api/core/storeys/index.ts +279 -0
  155. package/src/api/core/tags.ts +27 -0
  156. package/src/api/core/user.ts +46 -0
  157. package/src/api/core/zoom/index.ts +4 -0
  158. package/src/api/design/create/index.ts +303 -36
  159. package/src/api/design/delete/index.ts +3 -0
  160. package/src/api/design/doors/index.ts +40 -0
  161. package/src/api/design/furniture/index.ts +127 -3
  162. package/src/api/design/index.ts +10 -0
  163. package/src/api/design/materials/index.ts +157 -30
  164. package/src/api/design/query/geometry/index.ts +125 -3
  165. package/src/api/design/query/index.ts +37 -7
  166. package/src/api/design/query/referenceLines.ts +52 -0
  167. package/src/api/design/query/spaces.ts +143 -0
  168. package/src/api/design/transform/index.ts +101 -12
  169. package/src/api/design/types/index.ts +156 -0
  170. package/src/api/design/update/index.ts +467 -6
  171. package/src/api/design/visibility.ts +109 -0
  172. package/src/api/entity/buildableEnvelope.ts +4 -0
  173. package/src/api/entity/referenceLine.ts +8 -0
  174. package/src/api/entity/story.ts +161 -15
  175. package/src/api/index.ts +5 -0
  176. package/src/api/presentation/annotate.ts +360 -0
  177. package/src/api/presentation/diagrams.ts +53 -8
  178. package/src/api/presentation/export.ts +108 -0
  179. package/src/api/presentation/import.ts +6 -0
  180. package/src/api/presentation/index.ts +55 -0
  181. package/src/api/presentation/placedViews.ts +363 -0
  182. package/src/api/presentation/shapes.ts +274 -0
  183. package/src/api/presentation/sheets.ts +346 -13
  184. package/src/api/presentation/views.ts +164 -12
  185. package/src/api/program/areas.ts +57 -6
  186. package/src/api/program/cores.ts +3 -91
  187. package/src/api/program/index.ts +2 -2
  188. package/src/api/program/layout.ts +182 -12
  189. package/src/api/program/site.ts +106 -8
  190. package/src/api/program/spreadsheet.ts +376 -35
  191. package/src/api/workspace/index.ts +516 -0
  192. package/src/handles.ts +77 -13
  193. package/tsconfig.json +7 -2
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { PluginApiReturn } from "../../../../types";
3
- import { Vec3Handle, LineHandle, ArcHandle, CircleHandle, CurveHandle, ProfileHandle, ContourHandle } from "../../../../handles";
3
+ import { Vec3Handle, LineHandle, ArcHandle, CircleHandle, CurveHandle, ProfileHandle, ContourHandle, BrepHandle, Vec3Components } from "../../../../handles";
4
4
  /**
5
5
  * Curve creation — construct new geometric curves from point handles (all-handle
6
6
  * model, §11).
@@ -152,6 +152,243 @@ export declare abstract class PluginGeomCreateApi {
152
152
  * ```
153
153
  */
154
154
  abstract contourFromProfiles(outer: ProfileHandle, holes?: ProfileHandle[]): PluginApiReturn<ContourHandle>;
155
+ /**
156
+ * Create a closed solid **B-rep** from explicit face loops. Host API call —
157
+ * returns a {@linkcode BrepHandle}. Faces are plain arrays of `{x, y, z}`
158
+ * point components, NOT point handles (bulk-data precedent:
159
+ * `design.query.geometry.getTriangulatedMeshes`), in raw Babylon units.
160
+ *
161
+ * Each face is one planar loop of at least 3 points; at least 4 faces are
162
+ * required. Loops may be authored in any consistent winding — the host
163
+ * validates edge coherence (every edge shared by exactly two faces, in
164
+ * opposite directions) and fixes the global orientation so faces point
165
+ * outward. Faces must be planar and the solid must be closed; holes in faces
166
+ * are not supported (v1).
167
+ *
168
+ * Inspect the result via `core.geom.query.brep.*`, or commit it to the scene
169
+ * with `design.create.massFromBrep`.
170
+ *
171
+ * @param faces Face loops — each an ordered array of `{x, y, z}` points (≥3 points per face, ≥4 faces)
172
+ * @returns The new solid as a {@linkcode BrepHandle}
173
+ * @throws if a face is degenerate or non-planar, an edge is not shared by
174
+ * exactly two faces (open shell, non-manifold, or inconsistent winding), or
175
+ * the faces do not form a valid closed solid
176
+ *
177
+ * @examplePrompt Create a brep from faces
178
+ * @examplePrompt Build a custom solid from a set of faces
179
+ * @examplePrompt Make a pyramid from triangular faces
180
+ *
181
+ * # Example
182
+ * ```ts
183
+ * // A pyramid: square base + 4 triangular sides
184
+ * const apex = { x: 0, y: 4, z: 0 }
185
+ * const a = { x: -2, y: 0, z: -2 }
186
+ * const b = { x: 2, y: 0, z: -2 }
187
+ * const c = { x: 2, y: 0, z: 2 }
188
+ * const d = { x: -2, y: 0, z: 2 }
189
+ * const brep = await snaptrude.core.geom.create.brepFromFaces([
190
+ * [a, d, c, b], // base
191
+ * [a, b, apex],
192
+ * [b, c, apex],
193
+ * [c, d, apex],
194
+ * [d, a, apex],
195
+ * ])
196
+ * const faceCount = await snaptrude.core.geom.query.brep.getFaceCount(brep) // 5
197
+ * ```
198
+ */
199
+ abstract brepFromFaces(faces: Vec3Components[][]): PluginApiReturn<BrepHandle>;
200
+ /**
201
+ * Create a closed solid **B-rep** by extruding a contour along a direction.
202
+ * Host API call — returns a {@linkcode BrepHandle}. The direction is
203
+ * normalised by the host, so `amount` is the extrusion distance in raw
204
+ * Babylon units (negative extrudes the opposite way). The contour is copied —
205
+ * the input handle is never mutated. Holes and arc/circle profiles extrude
206
+ * natively (a circle profile yields a cylinder).
207
+ *
208
+ * Inspect the result via `core.geom.query.brep.*`, or commit it to the scene
209
+ * with `design.create.massFromBrep`.
210
+ *
211
+ * @param contour The cross-section to extrude (outer profile + optional holes)
212
+ * @param direction Extrusion direction as plain `{x, y, z}` components (non-zero, normalised by the host)
213
+ * @param amount Extrusion distance (non-zero; negative extrudes opposite to `direction`)
214
+ * @returns The new solid as a {@linkcode BrepHandle}
215
+ * @throws if the extrusion is degenerate (zero amount, zero direction, or a
216
+ * direction lying in the contour plane) or the contour cannot be extruded
217
+ * into a valid solid
218
+ *
219
+ * @examplePrompt Extrude this profile 3 metres up
220
+ * @examplePrompt Make a solid by extruding this outline
221
+ * @examplePrompt Create a cylinder from a circle profile
222
+ *
223
+ * # Example
224
+ * ```ts
225
+ * const rect = await snaptrude.core.geom.create.profileRect(4, 3)
226
+ * const contour = await snaptrude.core.geom.create.contourFromProfile(rect)
227
+ * const brep = await snaptrude.core.geom.create.brepFromExtrusion(contour, { x: 0, y: 1, z: 0 }, 3)
228
+ * const faceCount = await snaptrude.core.geom.query.brep.getFaceCount(brep) // 6
229
+ * ```
230
+ */
231
+ abstract brepFromExtrusion(contour: ContourHandle, direction: Vec3Components, amount: number): PluginApiReturn<BrepHandle>;
232
+ /**
233
+ * Create a closed solid **B-rep** by lofting between a bottom and a top
234
+ * contour. Host API call — returns a {@linkcode BrepHandle}. Both contours
235
+ * must have the same number of edges (and matching hole counts); side faces
236
+ * connect corresponding edges by authored index. Corresponding edges must
237
+ * stay coplanar — a twisted loft would produce non-planar side faces and is
238
+ * rejected. The contours are copied — the input handles are never mutated.
239
+ *
240
+ * Inspect the result via `core.geom.query.brep.*`, or commit it to the scene
241
+ * with `design.create.massFromBrep`.
242
+ *
243
+ * @param bottomContour The bottom cross-section
244
+ * @param topContour The top cross-section (same edge and hole counts as the bottom)
245
+ * @returns The new solid as a {@linkcode BrepHandle}
246
+ * @throws if the contours are coincident, their edge or hole counts differ,
247
+ * a side face between corresponding edges would be non-planar, or the
248
+ * contours cannot be lofted into a valid solid
249
+ *
250
+ * @examplePrompt Make a tapered tower from these two outlines
251
+ * @examplePrompt Loft between a large base and a smaller top
252
+ * @examplePrompt Create a frustum from two squares
253
+ *
254
+ * # Example
255
+ * ```ts
256
+ * // A square frustum: 4m base lofted to a 2m top, 3m up
257
+ * const base = await snaptrude.core.geom.create.profileRect(4, 4)
258
+ * const top = await snaptrude.core.geom.create.profileRect(2, 2, await snaptrude.core.math.vec3.new(0, 3, 0))
259
+ * const brep = await snaptrude.core.geom.create.brepFromLoft(
260
+ * await snaptrude.core.geom.create.contourFromProfile(base),
261
+ * await snaptrude.core.geom.create.contourFromProfile(top),
262
+ * )
263
+ * const faceCount = await snaptrude.core.geom.query.brep.getFaceCount(brep) // 6
264
+ * ```
265
+ */
266
+ abstract brepFromLoft(bottomContour: ContourHandle, topContour: ContourHandle): PluginApiReturn<BrepHandle>;
267
+ /**
268
+ * Create a closed solid **B-rep** from indexed mesh data: a vertex position
269
+ * array plus face loops of indices into it. Host API call — returns a
270
+ * {@linkcode BrepHandle}. The indexed form of
271
+ * {@linkcode PluginGeomCreateApi.brepFromFaces} — same validation (planar
272
+ * faces, closed manifold solid, every edge shared by exactly two faces) after
273
+ * the indices are expanded to point loops.
274
+ *
275
+ * Inspect the result via `core.geom.query.brep.*`, or commit it to the scene
276
+ * with `design.create.massFromBrep`.
277
+ *
278
+ * @param positions Vertex positions as plain `{x, y, z}` components (≥4)
279
+ * @param faces Face loops — each an ordered array of indices into `positions` (≥3 indices per face, ≥4 faces)
280
+ * @returns The new solid as a {@linkcode BrepHandle}
281
+ * @throws if an index is not an integer within `positions` bounds, a face is
282
+ * degenerate or non-planar, or the faces do not form a valid closed solid
283
+ *
284
+ * @examplePrompt Create a brep from mesh vertices and indices
285
+ * @examplePrompt Turn this indexed mesh into a solid
286
+ * @examplePrompt Build a solid from vertex positions and face indices
287
+ *
288
+ * # Example
289
+ * ```ts
290
+ * // A tetrahedron from 4 vertices and 4 triangular faces
291
+ * const positions = [
292
+ * { x: 0, y: 0, z: 0 },
293
+ * { x: 4, y: 0, z: 0 },
294
+ * { x: 2, y: 0, z: 4 },
295
+ * { x: 2, y: 3, z: 1.5 },
296
+ * ]
297
+ * const brep = await snaptrude.core.geom.create.brepFromMesh(positions, [
298
+ * [0, 2, 1], // base
299
+ * [0, 1, 3],
300
+ * [1, 2, 3],
301
+ * [2, 0, 3],
302
+ * ])
303
+ * const vertexCount = await snaptrude.core.geom.query.brep.getVertexCount(brep) // 4
304
+ * ```
305
+ */
306
+ abstract brepFromMesh(positions: Vec3Components[], faces: number[][]): PluginApiReturn<BrepHandle>;
307
+ /**
308
+ * Create a closed solid **B-rep** as the boolean **union** of two breps
309
+ * (`a ∪ b`). Host API call — returns a new {@linkcode BrepHandle}. Inputs are
310
+ * read-only and may be authored breps (any `core.geom.create` brep
311
+ * constructor) or scene-derived breps from `design.query.geometry.getBrep`;
312
+ * coordinates are combined as-is, so both inputs must share a frame. The
313
+ * result must be a single solid — disjoint inputs are rejected.
314
+ *
315
+ * The first boolean call loads the OpenCascade geometry kernel (a wasm of
316
+ * tens of MB — expect a pause of seconds); subsequent calls are fast.
317
+ *
318
+ * @param a First solid
319
+ * @param b Second solid
320
+ * @returns The union as a new {@linkcode BrepHandle}
321
+ * @throws if the inputs do not overlap or touch (the union would be disjoint
322
+ * solids) or the result cannot be built as a valid single solid
323
+ *
324
+ * @examplePrompt Union these two solids
325
+ * @examplePrompt Merge these breps into one mass
326
+ * @examplePrompt Combine the tower and the podium into a single solid
327
+ *
328
+ * # Example
329
+ * ```ts
330
+ * const a = await snaptrude.core.geom.create.brepFromExtrusion(baseContour, { x: 0, y: 1, z: 0 }, 3)
331
+ * const b = await snaptrude.core.geom.create.brepFromExtrusion(overlappingContour, { x: 0, y: 1, z: 0 }, 5)
332
+ * const merged = await snaptrude.core.geom.create.brepFromUnion(a, b)
333
+ * ```
334
+ */
335
+ abstract brepFromUnion(a: BrepHandle, b: BrepHandle): PluginApiReturn<BrepHandle>;
336
+ /**
337
+ * Create a closed solid **B-rep** as the boolean **subtraction** of two
338
+ * breps: **`a` minus `b`** — `b` is cut away from `a`. Host API call —
339
+ * returns a new {@linkcode BrepHandle}. Argument order matters:
340
+ * `brepFromSubtraction(a, b)` removes `b`'s volume from `a`. Inputs are
341
+ * read-only and may be authored or scene-derived breps (see
342
+ * {@linkcode PluginGeomCreateApi.brepFromUnion}); coordinates are combined
343
+ * as-is.
344
+ *
345
+ * The first boolean call loads the OpenCascade geometry kernel (a wasm of
346
+ * tens of MB — expect a pause of seconds); subsequent calls are fast.
347
+ *
348
+ * @param a The solid to subtract from
349
+ * @param b The solid to remove from `a`
350
+ * @returns `a` minus `b` as a new {@linkcode BrepHandle}
351
+ * @throws if `b` consumes `a` entirely (empty result), the result splits into
352
+ * disjoint solids, or it cannot be built as a valid single solid
353
+ *
354
+ * @examplePrompt Subtract the courtyard from the building mass
355
+ * @examplePrompt Cut this solid out of that one
356
+ * @examplePrompt Punch a hole through the slab with this box
357
+ *
358
+ * # Example
359
+ * ```ts
360
+ * // buildingBrep minus courtyardBrep — order matters
361
+ * const carved = await snaptrude.core.geom.create.brepFromSubtraction(buildingBrep, courtyardBrep)
362
+ * ```
363
+ */
364
+ abstract brepFromSubtraction(a: BrepHandle, b: BrepHandle): PluginApiReturn<BrepHandle>;
365
+ /**
366
+ * Create a closed solid **B-rep** as the boolean **intersection** of two
367
+ * breps (`a ∩ b` — the shared volume only). Host API call — returns a new
368
+ * {@linkcode BrepHandle}. Inputs are read-only and may be authored or
369
+ * scene-derived breps (see {@linkcode PluginGeomCreateApi.brepFromUnion});
370
+ * coordinates are combined as-is.
371
+ *
372
+ * The first boolean call loads the OpenCascade geometry kernel (a wasm of
373
+ * tens of MB — expect a pause of seconds); subsequent calls are fast.
374
+ *
375
+ * @param a First solid
376
+ * @param b Second solid
377
+ * @returns The shared volume as a new {@linkcode BrepHandle}
378
+ * @throws if the inputs do not overlap (empty intersection), the result
379
+ * splits into disjoint solids, or it cannot be built as a valid single
380
+ * solid
381
+ *
382
+ * @examplePrompt Keep only the overlap of these two solids
383
+ * @examplePrompt Intersect these two masses
384
+ * @examplePrompt Clip the tower to the zoning envelope
385
+ *
386
+ * # Example
387
+ * ```ts
388
+ * const overlap = await snaptrude.core.geom.create.brepFromIntersection(towerBrep, envelopeBrep)
389
+ * ```
390
+ */
391
+ abstract brepFromIntersection(a: BrepHandle, b: BrepHandle): PluginApiReturn<BrepHandle>;
155
392
  }
156
393
  /**
157
394
  * Arguments for {@linkcode PluginGeomCreateApi.line}.
@@ -162,8 +399,8 @@ export declare abstract class PluginGeomCreateApi {
162
399
  * | `endPoint` | {@linkcode Vec3Handle} | End point of the line segment |
163
400
  */
164
401
  export declare const PluginGeomCreateLineArgs: z.ZodObject<{
165
- startPoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
166
- endPoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
402
+ startPoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
403
+ endPoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
167
404
  }, z.core.$strip>;
168
405
  export type PluginGeomCreateLineArgs = z.infer<typeof PluginGeomCreateLineArgs>;
169
406
  /**
@@ -177,10 +414,10 @@ export type PluginGeomCreateLineArgs = z.infer<typeof PluginGeomCreateLineArgs>;
177
414
  * | `axis` | {@linkcode Vec3Handle} | Axis direction of the arc |
178
415
  */
179
416
  export declare const PluginGeomCreateArcArgs: z.ZodObject<{
180
- startPoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
181
- endPoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
182
- centrePoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
183
- axis: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
417
+ startPoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
418
+ endPoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
419
+ centrePoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
420
+ axis: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
184
421
  }, z.core.$strip>;
185
422
  export type PluginGeomCreateArcArgs = z.infer<typeof PluginGeomCreateArcArgs>;
186
423
  /**
@@ -193,8 +430,8 @@ export type PluginGeomCreateArcArgs = z.infer<typeof PluginGeomCreateArcArgs>;
193
430
  * | `radius` | `number` | Radius of the circle |
194
431
  */
195
432
  export declare const PluginGeomCreateCircleArgs: z.ZodObject<{
196
- centrePoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
197
- axis: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
433
+ centrePoint: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
434
+ axis: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
198
435
  radius: z.ZodNumber;
199
436
  }, z.core.$strip>;
200
437
  export type PluginGeomCreateCircleArgs = z.infer<typeof PluginGeomCreateCircleArgs>;
@@ -206,7 +443,7 @@ export type PluginGeomCreateCircleArgs = z.infer<typeof PluginGeomCreateCircleAr
206
443
  * | `points` | {@linkcode Vec3Handle}`[]` | Ordered vertex handles of the profile |
207
444
  */
208
445
  export declare const PluginGeomCreateProfileFromLinePointsArgs: z.ZodObject<{
209
- points: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
446
+ points: z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>>;
210
447
  }, z.core.$strip>;
211
448
  export type PluginGeomCreateProfileFromLinePointsArgs = z.infer<typeof PluginGeomCreateProfileFromLinePointsArgs>;
212
449
  /**
@@ -217,7 +454,7 @@ export type PluginGeomCreateProfileFromLinePointsArgs = z.infer<typeof PluginGeo
217
454
  * | `curves` | {@linkcode CurveHandle}`[]` | Ordered curve handles forming a closed loop |
218
455
  */
219
456
  export declare const PluginGeomCreateProfileFromCurvesArgs: z.ZodObject<{
220
- curves: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"arc">, string>>]>>;
457
+ curves: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"arc">, string>>]>>;
221
458
  }, z.core.$strip>;
222
459
  export type PluginGeomCreateProfileFromCurvesArgs = z.infer<typeof PluginGeomCreateProfileFromCurvesArgs>;
223
460
  /**
@@ -228,7 +465,7 @@ export type PluginGeomCreateProfileFromCurvesArgs = z.infer<typeof PluginGeomCre
228
465
  * | `outer` | {@linkcode ProfileHandle} | The outer boundary loop |
229
466
  */
230
467
  export declare const PluginGeomCreateContourFromProfileArgs: z.ZodObject<{
231
- outer: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
468
+ outer: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
232
469
  }, z.core.$strip>;
233
470
  export type PluginGeomCreateContourFromProfileArgs = z.infer<typeof PluginGeomCreateContourFromProfileArgs>;
234
471
  /**
@@ -240,8 +477,88 @@ export type PluginGeomCreateContourFromProfileArgs = z.infer<typeof PluginGeomCr
240
477
  * | `holes` | {@linkcode ProfileHandle}`[]` | Optional inner hole loops |
241
478
  */
242
479
  export declare const PluginGeomCreateContourFromProfilesArgs: z.ZodObject<{
243
- outer: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
244
- holes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"profile">, string>>>>;
480
+ outer: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
481
+ holes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"profile">, string>>>>;
245
482
  }, z.core.$strip>;
246
483
  export type PluginGeomCreateContourFromProfilesArgs = z.infer<typeof PluginGeomCreateContourFromProfilesArgs>;
484
+ /**
485
+ * Arguments for {@linkcode PluginGeomCreateApi.brepFromFaces}.
486
+ *
487
+ * | Property | Type | Description |
488
+ * |---|---|---|
489
+ * | `faces` | {@linkcode Vec3Components}`[][]` | Face loops — each an ordered array of `{x, y, z}` points (≥3 points per face, ≥4 faces) |
490
+ */
491
+ export declare const PluginGeomCreateBrepFromFacesArgs: z.ZodObject<{
492
+ faces: z.ZodArray<z.ZodArray<z.ZodObject<{
493
+ x: z.ZodNumber;
494
+ y: z.ZodNumber;
495
+ z: z.ZodNumber;
496
+ }, z.core.$strip>>>;
497
+ }, z.core.$strip>;
498
+ export type PluginGeomCreateBrepFromFacesArgs = z.infer<typeof PluginGeomCreateBrepFromFacesArgs>;
499
+ /**
500
+ * Arguments for {@linkcode PluginGeomCreateApi.brepFromExtrusion}.
501
+ *
502
+ * | Property | Type | Description |
503
+ * |---|---|---|
504
+ * | `contour` | {@linkcode ContourHandle} | The cross-section to extrude |
505
+ * | `direction` | {@linkcode Vec3Components} | Extrusion direction (non-zero, finite components) |
506
+ * | `amount` | `number` | Extrusion distance (finite, non-zero) |
507
+ */
508
+ export declare const PluginGeomCreateBrepFromExtrusionArgs: z.ZodObject<{
509
+ contour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
510
+ direction: z.ZodObject<{
511
+ x: z.ZodNumber;
512
+ y: z.ZodNumber;
513
+ z: z.ZodNumber;
514
+ }, z.core.$strip>;
515
+ amount: z.ZodNumber;
516
+ }, z.core.$strip>;
517
+ export type PluginGeomCreateBrepFromExtrusionArgs = z.infer<typeof PluginGeomCreateBrepFromExtrusionArgs>;
518
+ /**
519
+ * Arguments for {@linkcode PluginGeomCreateApi.brepFromLoft}.
520
+ *
521
+ * | Property | Type | Description |
522
+ * |---|---|---|
523
+ * | `bottomContour` | {@linkcode ContourHandle} | The bottom cross-section |
524
+ * | `topContour` | {@linkcode ContourHandle} | The top cross-section |
525
+ */
526
+ export declare const PluginGeomCreateBrepFromLoftArgs: z.ZodObject<{
527
+ bottomContour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
528
+ topContour: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
529
+ }, z.core.$strip>;
530
+ export type PluginGeomCreateBrepFromLoftArgs = z.infer<typeof PluginGeomCreateBrepFromLoftArgs>;
531
+ /**
532
+ * Arguments for {@linkcode PluginGeomCreateApi.brepFromMesh}.
533
+ *
534
+ * | Property | Type | Description |
535
+ * |---|---|---|
536
+ * | `positions` | {@linkcode Vec3Components}`[]` | Vertex positions (≥4) |
537
+ * | `faces` | `number[][]` | Face loops of indices into `positions` (≥3 indices per face, ≥4 faces) |
538
+ */
539
+ export declare const PluginGeomCreateBrepFromMeshArgs: z.ZodObject<{
540
+ positions: z.ZodArray<z.ZodObject<{
541
+ x: z.ZodNumber;
542
+ y: z.ZodNumber;
543
+ z: z.ZodNumber;
544
+ }, z.core.$strip>>;
545
+ faces: z.ZodArray<z.ZodArray<z.ZodNumber>>;
546
+ }, z.core.$strip>;
547
+ export type PluginGeomCreateBrepFromMeshArgs = z.infer<typeof PluginGeomCreateBrepFromMeshArgs>;
548
+ /**
549
+ * Arguments for the brep boolean constructors —
550
+ * {@linkcode PluginGeomCreateApi.brepFromUnion},
551
+ * {@linkcode PluginGeomCreateApi.brepFromSubtraction} (`a` minus `b`), and
552
+ * {@linkcode PluginGeomCreateApi.brepFromIntersection}.
553
+ *
554
+ * | Property | Type | Description |
555
+ * |---|---|---|
556
+ * | `a` | {@linkcode BrepHandle} | First solid (the subtraction target) |
557
+ * | `b` | {@linkcode BrepHandle} | Second solid (the subtraction tool) |
558
+ */
559
+ export declare const PluginGeomCreateBrepBooleanArgs: z.ZodObject<{
560
+ a: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
561
+ b: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
562
+ }, z.core.$strip>;
563
+ export type PluginGeomCreateBrepBooleanArgs = z.infer<typeof PluginGeomCreateBrepBooleanArgs>;
247
564
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAEhI;;;;;;;;;;GAUG;AACH,8BAAsB,mBAAmB;;IAGvC;;;;;;;;;;;;;;;OAeG;aACa,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;IAE/F;;;;;;;;;;;;;;;;;OAiBG;aACa,GAAG,CACjB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,UAAU,EACvB,I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,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,sCAAsC;;iBAEjD,CAAA;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,uCAAuC;;;iBAGlD,CAAA;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,uCAAuC,CAC/C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;;;;;iBAE5C,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;iBAWhD,CAAA;AAEF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE/F;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;iBAG3C,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE/F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,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.ZodString, z.ZodTransform<import("../../../..").Handle<"profile">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"contour">, string>>;
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,OAA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AA2B,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.ZodString, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"arc">, string>>;
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
@@ -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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
351
- vertex: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vertex">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
399
- brepB: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"brep">, string>>;
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