@snaptrude/plugin-core 0.8.0 → 0.9.1
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 +35 -1
- package/api-manifest.full.json +1350 -89
- package/api-manifest.json +1146 -48
- 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 +438 -14
- package/dist/api/analysis/heatmaps.d.ts.map +1 -1
- package/dist/api/analysis/index.d.ts +15 -0
- package/dist/api/analysis/index.d.ts.map +1 -1
- package/dist/api/analysis/solar.d.ts +249 -0
- package/dist/api/analysis/solar.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 +37 -0
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/core/geom/create/index.d.ts +318 -1
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- package/dist/api/core/index.d.ts +9 -0
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/io/export/index.d.ts +3 -1
- package/dist/api/core/io/export/index.d.ts.map +1 -1
- package/dist/api/core/io/import/index.d.ts +61 -0
- package/dist/api/core/io/import/index.d.ts.map +1 -1
- package/dist/api/core/io/terrain/index.d.ts +132 -0
- package/dist/api/core/io/terrain/index.d.ts.map +1 -1
- 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/storeys/index.d.ts +251 -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/zoom/index.d.ts +4 -0
- package/dist/api/core/zoom/index.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +115 -4
- 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/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 +4 -0
- 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 +173 -0
- package/dist/api/design/query/spaces.d.ts.map +1 -1
- package/dist/api/design/transform/index.d.ts +12 -0
- package/dist/api/design/transform/index.d.ts.map +1 -1
- package/dist/api/design/update/index.d.ts +51 -1
- package/dist/api/design/update/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 +8 -0
- package/dist/api/entity/referenceLine.d.ts.map +1 -1
- package/dist/api/entity/story.d.ts +20 -0
- package/dist/api/entity/story.d.ts.map +1 -1
- package/dist/api/index.d.ts +5 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/presentation/annotate.d.ts +23 -4
- package/dist/api/presentation/annotate.d.ts.map +1 -1
- package/dist/api/presentation/diagrams.d.ts +64 -2
- package/dist/api/presentation/diagrams.d.ts.map +1 -1
- package/dist/api/presentation/export.d.ts +4 -0
- package/dist/api/presentation/export.d.ts.map +1 -1
- package/dist/api/presentation/import.d.ts +6 -0
- package/dist/api/presentation/import.d.ts.map +1 -1
- package/dist/api/presentation/index.d.ts +20 -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 +42 -0
- 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/program/site.d.ts +260 -2
- package/dist/api/program/site.d.ts.map +1 -1
- package/dist/api/program/spreadsheet.d.ts +260 -28
- 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/index.cjs +2904 -1761
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2762 -1761
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/scripts/generate-manifest.mjs +45 -0
- package/src/api/analysis/daylight.ts +470 -0
- package/src/api/analysis/heatmaps.ts +444 -17
- package/src/api/analysis/index.ts +15 -0
- package/src/api/analysis/solar.ts +237 -0
- package/src/api/analysis/weather.ts +179 -0
- package/src/api/core/camera/index.ts +39 -0
- package/src/api/core/geom/create/index.ts +344 -1
- package/src/api/core/index.ts +9 -0
- package/src/api/core/io/export/index.ts +3 -1
- package/src/api/core/io/import/index.ts +64 -0
- package/src/api/core/io/terrain/index.ts +143 -0
- package/src/api/core/mode/index.ts +96 -0
- package/src/api/core/storeys/index.ts +279 -0
- package/src/api/core/tags.ts +27 -0
- package/src/api/core/zoom/index.ts +4 -0
- package/src/api/design/create/index.ts +138 -1
- package/src/api/design/delete/index.ts +3 -0
- package/src/api/design/query/geometry/index.ts +125 -3
- package/src/api/design/query/index.ts +4 -0
- package/src/api/design/query/referenceLines.ts +52 -0
- package/src/api/design/query/spaces.ts +143 -0
- package/src/api/design/transform/index.ts +12 -0
- package/src/api/design/update/index.ts +66 -1
- package/src/api/entity/buildableEnvelope.ts +4 -0
- package/src/api/entity/referenceLine.ts +8 -0
- package/src/api/entity/story.ts +20 -0
- package/src/api/index.ts +5 -0
- package/src/api/presentation/annotate.ts +27 -2
- package/src/api/presentation/diagrams.ts +67 -2
- package/src/api/presentation/export.ts +4 -0
- package/src/api/presentation/import.ts +6 -0
- package/src/api/presentation/index.ts +20 -1
- package/src/api/presentation/placedViews.ts +1120 -0
- package/src/api/presentation/shapes.ts +274 -0
- package/src/api/presentation/sheets.ts +54 -0
- package/src/api/presentation/slideshow.ts +134 -0
- package/src/api/presentation/tables.ts +84 -0
- package/src/api/program/site.ts +205 -2
- package/src/api/program/spreadsheet.ts +251 -6
- package/src/api/workspace/index.ts +563 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../types";
|
|
3
|
-
import { ComponentHandle, ContourHandle, ProfileHandle, Vec3Handle } from "../../../handles";
|
|
3
|
+
import { BrepHandle, ComponentHandle, ContourHandle, ProfileHandle, Vec3Handle } from "../../../handles";
|
|
4
4
|
import { PluginSpaceType, PluginMassType, PluginDepartmentId } from "../../entity/space";
|
|
5
|
+
import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeCreateResult } from "../../entity/buildableEnvelope";
|
|
5
6
|
/**
|
|
6
7
|
* `design.create.*` — author new scene-committed BIM entities.
|
|
7
8
|
*
|
|
@@ -41,7 +42,7 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
41
42
|
* @param departmentId - Department assignment (default department)
|
|
42
43
|
* @param storey - Target storey number to place the space on — the same integer
|
|
43
44
|
* `entity.story` uses (`1` ground, `2` first floor, `-1` basement). Default:
|
|
44
|
-
* the active storey. Folds
|
|
45
|
+
* the active storey. Folds a `core.storeys.setActive` call into the create,
|
|
45
46
|
* placing the space at that storey's floor elevation (any `position` offset is
|
|
46
47
|
* applied on top). Throws if no storey has that value.
|
|
47
48
|
* @returns the {@linkcode ComponentHandle} of the created space
|
|
@@ -55,6 +56,10 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
55
56
|
* @examplePrompt Can you create a Kitchen space from the sketch I just drew?
|
|
56
57
|
* @examplePrompt Create a bedroom on the second floor from this outline
|
|
57
58
|
*
|
|
59
|
+
* @performance For MORE THAN ONE space, call `design.create.spaces(items[])` — the whole
|
|
60
|
+
* batch is one host round-trip. Looping this single-space creator is N round-trips (slow,
|
|
61
|
+
* and a large loop can trip the plugin rate limit).
|
|
62
|
+
*
|
|
58
63
|
* # Example
|
|
59
64
|
* ```ts
|
|
60
65
|
* const v = snaptrude.core.math.vec3
|
|
@@ -98,6 +103,47 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
98
103
|
* ```
|
|
99
104
|
*/
|
|
100
105
|
abstract mass(contour: ContourHandle, height: number, label?: string, position?: Vec3Handle, massType?: PluginMassType): PluginApiReturn<ComponentHandle>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a **mass** from a custom solid built with a `core.geom.create` brep
|
|
108
|
+
* constructor (`brepFromFaces`, `brepFromExtrusion`, `brepFromLoft`,
|
|
109
|
+
* `brepFromMesh`, or a brep boolean) — the free-form counterpart of
|
|
110
|
+
* {@linkcode PluginDesignCreateApi.mass}, for solids that are not simple
|
|
111
|
+
* footprint extrusions (pyramids, wedges, faceted volumes).
|
|
112
|
+
*
|
|
113
|
+
* Only accepts breps **minted by a `core.geom.create` brep constructor** —
|
|
114
|
+
* scene-derived breps from `design.query.geometry.getBrep` are read-only and
|
|
115
|
+
* throw. The mass is created as a generic mass (`massType` "Generic mass") at
|
|
116
|
+
* the exact coordinates the solid was authored in, committed as a single
|
|
117
|
+
* undo step, and synced to collaborators like any other creator.
|
|
118
|
+
*
|
|
119
|
+
* @param brep - A solid from a `core.geom.create` brep constructor
|
|
120
|
+
* @param label - Label (maps to `room_type`)
|
|
121
|
+
* @returns the {@linkcode ComponentHandle} of the created mass
|
|
122
|
+
* @throws if the brep handle is invalid, or the brep was not created by a
|
|
123
|
+
* `core.geom.create` brep constructor
|
|
124
|
+
*
|
|
125
|
+
* @examplePrompt Create a mass from these faces
|
|
126
|
+
* @examplePrompt Turn this custom brep into a scene mass
|
|
127
|
+
* @examplePrompt Add a pyramid-shaped mass to the model
|
|
128
|
+
*
|
|
129
|
+
* # Example
|
|
130
|
+
* ```ts
|
|
131
|
+
* const apex = { x: 0, y: 4, z: 0 }
|
|
132
|
+
* const a = { x: -2, y: 0, z: -2 }
|
|
133
|
+
* const b = { x: 2, y: 0, z: -2 }
|
|
134
|
+
* const c = { x: 2, y: 0, z: 2 }
|
|
135
|
+
* const d = { x: -2, y: 0, z: 2 }
|
|
136
|
+
* const brep = await snaptrude.core.geom.create.brepFromFaces([
|
|
137
|
+
* [a, d, c, b],
|
|
138
|
+
* [a, b, apex],
|
|
139
|
+
* [b, c, apex],
|
|
140
|
+
* [c, d, apex],
|
|
141
|
+
* [d, a, apex],
|
|
142
|
+
* ])
|
|
143
|
+
* const pyramid = await snaptrude.design.create.massFromBrep(brep, "Pavilion")
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
abstract massFromBrep(brep: BrepHandle, label?: string): PluginApiReturn<ComponentHandle>;
|
|
101
147
|
/**
|
|
102
148
|
* Create a **slab** by extruding a footprint contour by `thickness`
|
|
103
149
|
* (default direction: down).
|
|
@@ -590,6 +636,11 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
590
636
|
* @examplePrompt Array these walls with a 3m offset
|
|
591
637
|
* @examplePrompt Clone the desk as a unique copy, not an instance
|
|
592
638
|
*
|
|
639
|
+
* @performance To place N repeats of the same geometry, bulk-create the seed(s) once then
|
|
640
|
+
* call this ONCE with `{ count: N - 1 }` — one host round-trip for all copies. Never
|
|
641
|
+
* reproduce geometry by looping `design.create.*` N times. Copy only after the create
|
|
642
|
+
* that mints the seed ids.
|
|
643
|
+
*
|
|
593
644
|
* # Example
|
|
594
645
|
* ```ts
|
|
595
646
|
* const { vec3 } = snaptrude.core.math
|
|
@@ -620,6 +671,10 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
620
671
|
* @examplePrompt Add three rooms with different heights in a single undo step
|
|
621
672
|
* @examplePrompt Create one room on the ground floor and one on the first floor
|
|
622
673
|
*
|
|
674
|
+
* @performance Bulk creator — the whole batch is ONE host round-trip. Always prefer this
|
|
675
|
+
* over calling `design.create.space` in a loop: build the full `items[]` array first
|
|
676
|
+
* (all per-item math and geometry up front), then make one call.
|
|
677
|
+
*
|
|
623
678
|
* # Example
|
|
624
679
|
* ```ts
|
|
625
680
|
* const rect = await snaptrude.core.geom.create.profileRect(4, 3)
|
|
@@ -631,6 +686,49 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
631
686
|
* ```
|
|
632
687
|
*/
|
|
633
688
|
abstract spaces(items: PluginCreateSpaceItem[]): PluginApiReturn<ComponentHandle[]>;
|
|
689
|
+
/**
|
|
690
|
+
* Create a new parametric buildable envelope — the zoning-regulated volume a
|
|
691
|
+
* building may occupy — generated from a site polygon, tiered setbacks, a
|
|
692
|
+
* height or floor-count cap, and optional FAR and lot-coverage limits. The host
|
|
693
|
+
* mints the envelope id and returns it. Canonical home of the create formerly
|
|
694
|
+
* at `entity.buildableEnvelope.create` (now deprecated).
|
|
695
|
+
*
|
|
696
|
+
* @param sitePolygon - Site polygon vertices in `lengthUnit`; minimum 3 vertices.
|
|
697
|
+
* @param lengthUnit - Unit used by all length fields (`"ft" | "m"`).
|
|
698
|
+
* @param setbacks - Setback profile, ground tier first; minimum 1 tier.
|
|
699
|
+
* @param verticalCap - Maximum height or floor count.
|
|
700
|
+
* @param floorToFloor - Required floor-to-floor height in `lengthUnit`.
|
|
701
|
+
* @param farRatio - Optional FAR value, positive when provided.
|
|
702
|
+
* @param lotCoverageMaxPct - Optional lot coverage cap, `0..100`.
|
|
703
|
+
* @returns A {@linkcode PluginBuildableEnvelopeCreateResult} with the
|
|
704
|
+
* `buildableEnvelopeId` of the created envelope.
|
|
705
|
+
* @throws If validation fails or generation produces no renderable geometry.
|
|
706
|
+
*
|
|
707
|
+
* @examplePrompt Create a buildable envelope for my site
|
|
708
|
+
* @examplePrompt Generate the zoning envelope with 10ft front setbacks
|
|
709
|
+
* @examplePrompt Show the maximum buildable volume with a 150ft height limit
|
|
710
|
+
* @examplePrompt Create a zoning envelope capped at 12 floors with FAR 3
|
|
711
|
+
*
|
|
712
|
+
* # Example
|
|
713
|
+
* ```ts
|
|
714
|
+
* const { buildableEnvelopeId } = await snaptrude.design.create.buildableEnvelope(
|
|
715
|
+
* [
|
|
716
|
+
* { x: 0, z: 0 },
|
|
717
|
+
* { x: 100, z: 0 },
|
|
718
|
+
* { x: 100, z: 80 },
|
|
719
|
+
* { x: 0, z: 80 },
|
|
720
|
+
* ],
|
|
721
|
+
* "ft",
|
|
722
|
+
* [
|
|
723
|
+
* { aboveHeight: 0, front: 10, side: 5, rear: 10 },
|
|
724
|
+
* { aboveHeight: 100, front: 20, side: 10, rear: 20 },
|
|
725
|
+
* ],
|
|
726
|
+
* { kind: "max_height", maxHeight: 150 },
|
|
727
|
+
* 12,
|
|
728
|
+
* )
|
|
729
|
+
* ```
|
|
730
|
+
*/
|
|
731
|
+
abstract buildableEnvelope(sitePolygon: PluginBuildableEnvelopePolygonVertex[], lengthUnit: "ft" | "m", setbacks: PluginBuildableEnvelopeSetbackTier[], verticalCap: PluginBuildableEnvelopeVerticalCap, floorToFloor: number, farRatio?: number, lotCoverageMaxPct?: number): PluginApiReturn<PluginBuildableEnvelopeCreateResult>;
|
|
634
732
|
}
|
|
635
733
|
/**
|
|
636
734
|
* Line style of a reference line (mirrors the engine `ReferenceLineMode` verbatim).
|
|
@@ -774,6 +872,19 @@ export declare const PluginDesignCreateMassArgs: z.ZodObject<{
|
|
|
774
872
|
}>>;
|
|
775
873
|
}, z.core.$strip>;
|
|
776
874
|
export type PluginDesignCreateMassArgs = z.infer<typeof PluginDesignCreateMassArgs>;
|
|
875
|
+
/**
|
|
876
|
+
* Arguments for {@linkcode PluginDesignCreateApi.massFromBrep}.
|
|
877
|
+
*
|
|
878
|
+
* | Property | Type | Description |
|
|
879
|
+
* |---|---|---|
|
|
880
|
+
* | `brep` | {@linkcode BrepHandle} | A solid from a `core.geom.create` brep constructor |
|
|
881
|
+
* | `label` | `string`? | Label (maps to `room_type`) |
|
|
882
|
+
*/
|
|
883
|
+
export declare const PluginDesignCreateMassFromBrepArgs: z.ZodObject<{
|
|
884
|
+
brep: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"brep">, string>>;
|
|
885
|
+
label: z.ZodOptional<z.ZodString>;
|
|
886
|
+
}, z.core.$strip>;
|
|
887
|
+
export type PluginDesignCreateMassFromBrepArgs = z.infer<typeof PluginDesignCreateMassFromBrepArgs>;
|
|
777
888
|
/**
|
|
778
889
|
* Arguments for {@linkcode PluginDesignCreateApi.slab}.
|
|
779
890
|
*
|
|
@@ -1059,8 +1170,8 @@ export type PluginDesignCreateReferenceLinesArgs = z.infer<typeof PluginDesignCr
|
|
|
1059
1170
|
* | `"unique"` | Independent geometry copies |
|
|
1060
1171
|
*/
|
|
1061
1172
|
export declare const PluginCopyMode: z.ZodEnum<{
|
|
1062
|
-
instance: "instance";
|
|
1063
1173
|
unique: "unique";
|
|
1174
|
+
instance: "instance";
|
|
1064
1175
|
}>;
|
|
1065
1176
|
export type PluginCopyMode = z.infer<typeof PluginCopyMode>;
|
|
1066
1177
|
/**
|
|
@@ -1078,8 +1189,8 @@ export declare const PluginDesignCreateCopyArgs: z.ZodObject<{
|
|
|
1078
1189
|
displacement: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
1079
1190
|
count: z.ZodOptional<z.ZodNumber>;
|
|
1080
1191
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1081
|
-
instance: "instance";
|
|
1082
1192
|
unique: "unique";
|
|
1193
|
+
instance: "instance";
|
|
1083
1194
|
}>>;
|
|
1084
1195
|
}, z.core.$strip>;
|
|
1085
1196
|
export type PluginDesignCreateCopyArgs = z.infer<typeof PluginDesignCreateCopyArgs>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,eAAe,EACf,aAAa,EACb,aAAa,EACb,UAAU,EACX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,UAAU,EACV,eAAe,EACf,aAAa,EACb,aAAa,EACb,UAAU,EACX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;aACa,KAAK,CACnB,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,UAAU,EACrB,SAAS,CAAC,EAAE,eAAe,EAC3B,QAAQ,CAAC,EAAE,cAAc,EACzB,YAAY,CAAC,EAAE,kBAAkB,EACjC,MAAM,CAAC,EAAE,MAAM,GACd,eAAe,CAAC,eAAe,CAAC;IAEnC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,IAAI,CAClB,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,EACd,K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;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;iBAMvC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA;AAQD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB;;;;;iBAc/B,CAAA;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;iBASlC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAM7E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;;iBAM/C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAA;AAMD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;EAAiC,CAAA;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;iBAKrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAQD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAShC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -49,6 +49,9 @@ export declare abstract class PluginDesignDeleteApi {
|
|
|
49
49
|
* @examplePrompt Delete all the furniture I picked
|
|
50
50
|
* @examplePrompt Remove the door and window I just created
|
|
51
51
|
*
|
|
52
|
+
* @performance Array delete — pass every target in one call (one host round-trip). There is
|
|
53
|
+
* no per-item delete; collect the whole set and never loop this per entity.
|
|
54
|
+
*
|
|
52
55
|
* # Example
|
|
53
56
|
* ```ts
|
|
54
57
|
* // Hard-delete every furniture item on storey 2 (a single undo entry)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;;;GASG;AACH,8BAAsB,qBAAqB;;IAGzC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;;;GASG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;aACa,QAAQ,CACtB,UAAU,EAAE,eAAe,EAAE,GAC5B,eAAe,CAAC,wBAAwB,CAAC;CAC7C"}
|
|
@@ -12,6 +12,9 @@ import { ComponentHandle, BrepHandle, ContourHandle, CurveHandle } from "../../.
|
|
|
12
12
|
* {@linkcode ContourHandle} for its footprint outline;
|
|
13
13
|
* {@linkcode PluginDesignQueryGeometryApi.getCenterline} mints a
|
|
14
14
|
* {@linkcode CurveHandle} for a wall's core curve.
|
|
15
|
+
* {@linkcode PluginDesignQueryGeometryApi.getTriangulatedMeshes} is the
|
|
16
|
+
* handle-free exception: it returns the triangulated render meshes as plain
|
|
17
|
+
* world-space arrays.
|
|
15
18
|
*
|
|
16
19
|
* Returned handles are session-ephemeral and go stale on undo/redo/re-topologize
|
|
17
20
|
* — re-fetch a fresh one after edits.
|
|
@@ -103,6 +106,61 @@ export declare abstract class PluginDesignQueryGeometryApi {
|
|
|
103
106
|
* ```
|
|
104
107
|
*/
|
|
105
108
|
abstract getCenterline(component: ComponentHandle): PluginApiReturn<CurveHandle | null>;
|
|
109
|
+
/**
|
|
110
|
+
* Get the **triangulated render meshes** of scene components as plain,
|
|
111
|
+
* serializable arrays — flat world-space vertex `positions` (`[x0, y0, z0,
|
|
112
|
+
* x1, …]`) and triangle `indices` (three per triangle), one record per
|
|
113
|
+
* requested component.
|
|
114
|
+
*
|
|
115
|
+
* Unlike the other `geometry.*` reads this does NOT mint kernel handles — the
|
|
116
|
+
* raw arrays cross the boundary directly, ready for export, custom analysis,
|
|
117
|
+
* or feeding an external renderer. Positions are **always world-space**
|
|
118
|
+
* (instance/transform baked in; there is no local-coordinates mode) in plan
|
|
119
|
+
* units — no conversion needed. Raw doubles, unrounded.
|
|
120
|
+
*
|
|
121
|
+
* With `includeMaterialIds: true` each record also carries `materialIds`: one
|
|
122
|
+
* entry **per triangle** (`indices.length / 3` entries), the material *name*
|
|
123
|
+
* painted on that triangle, or `null` for unpainted/default faces.
|
|
124
|
+
*
|
|
125
|
+
* With `includeFaceIndices: true` each record also carries `faceIds`: one
|
|
126
|
+
* entry **per triangle** (input order), the B-rep face index owning that
|
|
127
|
+
* triangle (same ids as {@linkcode getBrep} faces), or `null` where there is
|
|
128
|
+
* no provenance. Non-B-rep meshes (Revit imports, generic models, furniture)
|
|
129
|
+
* yield all-`null` rather than an error.
|
|
130
|
+
*
|
|
131
|
+
* A resolvable component with no readable mesh geometry yields
|
|
132
|
+
* `{ id, positions: [], indices: [] }` — nothing is silently omitted.
|
|
133
|
+
*
|
|
134
|
+
* The call is capped at **500 000 triangles total**; over the cap it throws a
|
|
135
|
+
* `VALIDATION` error whose message includes the actual total — split the
|
|
136
|
+
* component list into smaller batches and call again.
|
|
137
|
+
*
|
|
138
|
+
* @param components - The scene components to triangulate
|
|
139
|
+
* @param options - `includeMaterialIds` adds the per-triangle material names;
|
|
140
|
+
* `includeFaceIndices` adds the per-triangle B-rep face indices
|
|
141
|
+
* @returns `{ meshes }` — one {@linkcode PluginTriangulatedMesh} per requested
|
|
142
|
+
* component, in input order
|
|
143
|
+
* @throws `HANDLE_INVALID` if any component handle is gone/forged;
|
|
144
|
+
* `VALIDATION` if the combined mesh exceeds 500 000 triangles
|
|
145
|
+
*
|
|
146
|
+
* @examplePrompt Export the selected masses as a triangle mesh
|
|
147
|
+
* @examplePrompt Get the raw vertices and triangles of this wall in world coordinates
|
|
148
|
+
* @examplePrompt Give me the triangulated geometry of every space with its materials
|
|
149
|
+
* @examplePrompt Compute the surface area of this roof from its triangles
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* ```ts
|
|
153
|
+
* const spaces = await snaptrude.design.query.listSpaces()
|
|
154
|
+
* const { meshes } = await snaptrude.design.query.geometry.getTriangulatedMeshes(spaces, {
|
|
155
|
+
* includeMaterialIds: true,
|
|
156
|
+
* })
|
|
157
|
+
* for (const mesh of meshes) {
|
|
158
|
+
* const triangleCount = mesh.indices.length / 3
|
|
159
|
+
* console.log(mesh.id, triangleCount, mesh.materialIds?.[0])
|
|
160
|
+
* }
|
|
161
|
+
* ```
|
|
162
|
+
*/
|
|
163
|
+
abstract getTriangulatedMeshes(components: ComponentHandle[], options?: PluginDesignQueryGeometryGetTriangulatedMeshesArgs["options"]): PluginApiReturn<PluginDesignQueryGeometryGetTriangulatedMeshesResult>;
|
|
106
164
|
}
|
|
107
165
|
/**
|
|
108
166
|
* Arguments for {@linkcode PluginDesignQueryGeometryApi.getBrep}.
|
|
@@ -137,4 +195,58 @@ export declare const PluginDesignQueryGeometryGetCenterlineArgs: z.ZodObject<{
|
|
|
137
195
|
component: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
138
196
|
}, z.core.$strip>;
|
|
139
197
|
export type PluginDesignQueryGeometryGetCenterlineArgs = z.infer<typeof PluginDesignQueryGeometryGetCenterlineArgs>;
|
|
198
|
+
/**
|
|
199
|
+
* One component's triangulated world-space mesh, as plain serializable arrays
|
|
200
|
+
* (no handles).
|
|
201
|
+
*
|
|
202
|
+
* | Property | Type | Description |
|
|
203
|
+
* |---|---|---|
|
|
204
|
+
* | `id` | `string` | The component's id (its {@linkcode ComponentHandle} token) |
|
|
205
|
+
* | `positions` | `number[]` | Flat world-space vertex coordinates `[x0, y0, z0, x1, …]`, plan units, raw doubles |
|
|
206
|
+
* | `indices` | `number[]` | Triangle vertex indices, three per triangle, into `positions / 3` |
|
|
207
|
+
* | `materialIds` | `(string \| null)[]` _(optional)_ | One entry per triangle: the painted material's name, `null` for unpainted/default faces. Present only when requested via `includeMaterialIds` |
|
|
208
|
+
* | `faceIds` | `(number \| null)[]` _(optional)_ | One entry per triangle: the B-rep face index owning it (same ids as {@linkcode PluginDesignQueryGeometryApi.getBrep} faces), `null` where there is no provenance (non-B-rep mesh). Present only when requested via `includeFaceIndices` |
|
|
209
|
+
*/
|
|
210
|
+
export declare const PluginTriangulatedMesh: z.ZodObject<{
|
|
211
|
+
id: z.ZodString;
|
|
212
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
213
|
+
indices: z.ZodArray<z.ZodNumber>;
|
|
214
|
+
materialIds: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodString>>>;
|
|
215
|
+
faceIds: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
export type PluginTriangulatedMesh = z.infer<typeof PluginTriangulatedMesh>;
|
|
218
|
+
/**
|
|
219
|
+
* Arguments for {@linkcode PluginDesignQueryGeometryApi.getTriangulatedMeshes}.
|
|
220
|
+
*
|
|
221
|
+
* | Property | Type | Description |
|
|
222
|
+
* |---|---|---|
|
|
223
|
+
* | `components` | {@linkcode ComponentHandle}`[]` | The scene components to triangulate |
|
|
224
|
+
* | `options.includeMaterialIds` | `boolean` _(optional)_ | Also return the per-triangle material names |
|
|
225
|
+
* | `options.includeFaceIndices` | `boolean` _(optional)_ | Also return the per-triangle B-rep face indices |
|
|
226
|
+
*/
|
|
227
|
+
export declare const PluginDesignQueryGeometryGetTriangulatedMeshesArgs: z.ZodObject<{
|
|
228
|
+
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
229
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
230
|
+
includeMaterialIds: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
+
includeFaceIndices: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
export type PluginDesignQueryGeometryGetTriangulatedMeshesArgs = z.infer<typeof PluginDesignQueryGeometryGetTriangulatedMeshesArgs>;
|
|
235
|
+
/**
|
|
236
|
+
* Result of {@linkcode PluginDesignQueryGeometryApi.getTriangulatedMeshes}.
|
|
237
|
+
*
|
|
238
|
+
* | Property | Type | Description |
|
|
239
|
+
* |---|---|---|
|
|
240
|
+
* | `meshes` | {@linkcode PluginTriangulatedMesh}`[]` | One record per requested component, in input order |
|
|
241
|
+
*/
|
|
242
|
+
export declare const PluginDesignQueryGeometryGetTriangulatedMeshesResult: z.ZodObject<{
|
|
243
|
+
meshes: z.ZodArray<z.ZodObject<{
|
|
244
|
+
id: z.ZodString;
|
|
245
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
246
|
+
indices: z.ZodArray<z.ZodNumber>;
|
|
247
|
+
materialIds: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodString>>>;
|
|
248
|
+
faceIds: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>>>;
|
|
249
|
+
}, z.core.$strip>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
export type PluginDesignQueryGeometryGetTriangulatedMeshesResult = z.infer<typeof PluginDesignQueryGeometryGetTriangulatedMeshesResult>;
|
|
140
252
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/design/query/geometry/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACZ,MAAM,qBAAqB,CAAA;AAE5B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/design/query/geometry/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACZ,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;;;;;;;;;;GAiBG;AACH,8BAAsB,4BAA4B;;IAGhD;;;;;;;;;;;;;;;;;;;;;OAqBG;aACa,OAAO,CACrB,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,UAAU,GAAG,IAAI,CAAC;IAErC;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,oDAAoD,GAAG,CAAC,CAAC,KAAK,CACxE,OAAO,oDAAoD,CAC5D,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { PluginApiReturn } from "../../../types";
|
|
|
3
3
|
import { ComponentHandle, BBoxComponents } from "../../../handles";
|
|
4
4
|
import { PluginDesignQueryGeometryApi } from "./geometry";
|
|
5
5
|
import { PluginDesignQuerySpacesApi } from "./spaces";
|
|
6
|
+
import { PluginDesignQueryReferenceLinesApi } from "./referenceLines";
|
|
6
7
|
/**
|
|
7
8
|
* The kind of a BIM entity — the discovery/filter vocabulary for the whole
|
|
8
9
|
* `design.query.*` surface. Values are clean `lowerCamel` tokens; the host maps
|
|
@@ -496,6 +497,8 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
496
497
|
abstract geometry: PluginDesignQueryGeometryApi;
|
|
497
498
|
/** Space-specific reads (footprint, …). See {@linkcode PluginDesignQuerySpacesApi}. */
|
|
498
499
|
abstract spaces: PluginDesignQuerySpacesApi;
|
|
500
|
+
/** Reference-line-specific reads. See {@linkcode PluginDesignQueryReferenceLinesApi}. */
|
|
501
|
+
abstract referenceLines: PluginDesignQueryReferenceLinesApi;
|
|
499
502
|
constructor();
|
|
500
503
|
/**
|
|
501
504
|
* List **all** BIM entities in the project matching the filter.
|
|
@@ -1148,4 +1151,5 @@ export declare abstract class PluginDesignQueryApi {
|
|
|
1148
1151
|
}
|
|
1149
1152
|
export * from "./geometry";
|
|
1150
1153
|
export * from "./spaces";
|
|
1154
|
+
export * from "./referenceLines";
|
|
1151
1155
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBA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;;;;;;;;;;;;;;;;OAkBG;aACa,YAAY,CAC1B,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,eAAe,CAAC;IAEnC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,YAAY,CAC1B,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,eAAe,EAAE,CAAC;IAErC;;;;;;;;;;;;;;;;;;;;OAoBG;aACa,OAAO,CACrB,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC;IAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;aACa,aAAa,CAC3B,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,sBAAsB,CAAC;IAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;aACa,OAAO,CACrB,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,wBAAwB,GAAG,IAAI,CAAC;IAEnD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,kBAAkB,CAChC,SAAS,EAAE,eAAe,GACzB,eAAe,CAAC,qBAAqB,GAAG,IAAI,CAAC;IAEhD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,cAAc,CAC5B,UAAU,EAAE,eAAe,EAAE,GAC5B,eAAe,CAAC,cAAc,GAAG,IAAI,CAAC;CAC1C;AAED,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { PluginApiReturn } from "../../../types";
|
|
3
|
+
import { PluginReferenceLineGetProperty, PluginReferenceLineGetResult } from "../../entity/referenceLine";
|
|
4
|
+
/**
|
|
5
|
+
* `design.query.referenceLines.*` — reference-line-specific reads.
|
|
6
|
+
*
|
|
7
|
+
* A **reference line** is a 2D guide line (or arc) in the scene, typically used
|
|
8
|
+
* for grid lines and alignment guides. Enumerate reference lines with
|
|
9
|
+
* `design.query.listReferenceLines`; read an individual line's properties here.
|
|
10
|
+
* This is the canonical home of the read formerly at `entity.referenceLine.get`
|
|
11
|
+
* (now deprecated).
|
|
12
|
+
*
|
|
13
|
+
* Accessed via `snaptrude.design.query.referenceLines`.
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class PluginDesignQueryReferenceLinesApi {
|
|
16
|
+
constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Get properties of a reference line by its ID.
|
|
19
|
+
*
|
|
20
|
+
* Only the properties listed in `properties` are returned — unlisted
|
|
21
|
+
* properties will be `undefined` in the result.
|
|
22
|
+
*
|
|
23
|
+
* @param referenceLineId - The unique reference line ID
|
|
24
|
+
* @param properties - Array of property names to retrieve. See
|
|
25
|
+
* {@linkcode PluginReferenceLineGetProperty}.
|
|
26
|
+
* @returns A partial {@linkcode PluginReferenceLineGetResult} containing only the
|
|
27
|
+
* requested properties
|
|
28
|
+
* @throws If the reference line does not exist
|
|
29
|
+
*
|
|
30
|
+
* @examplePrompt Get the curve geometry of this reference line
|
|
31
|
+
* @examplePrompt Where does this grid line run?
|
|
32
|
+
* @examplePrompt Read the geometry of a guide line by its id
|
|
33
|
+
* @examplePrompt Look up the curve of the selected reference line
|
|
34
|
+
*
|
|
35
|
+
* # Example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const [refLine] = await snaptrude.design.query.listReferenceLines()
|
|
38
|
+
* const result = await snaptrude.design.query.referenceLines.get(refLine, ["curve"])
|
|
39
|
+
* // result.curve is an opaque CurveHandle; read its coordinates via
|
|
40
|
+
* // `snaptrude.core.geom.curve`.
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
abstract get(referenceLineId: string, properties: z.infer<typeof PluginReferenceLineGetProperty>[]): PluginApiReturn<PluginReferenceLineGetResult>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=referenceLines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referenceLines.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/referenceLines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,EAC7B,MAAM,4BAA4B,CAAA;AAEnC;;;;;;;;;;GAUG;AACH,8BAAsB,kCAAkC;;IAGtD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,GAAG,CACjB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,EAAE,GAC3D,eAAe,CAAC,4BAA4B,CAAC;CACjD"}
|