@thatopen/services 0.35.0 → 0.36.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 (40) hide show
  1. package/dist/built-in/index.d.ts +13 -13
  2. package/dist/cli/lib/browser-session.d.ts +17 -0
  3. package/dist/cli/lib/config.d.ts +6 -0
  4. package/dist/cli.js +334 -38
  5. package/dist/cli.js.map +1 -1
  6. package/dist/core/browser-sign-in.d.ts +50 -0
  7. package/dist/core/browser-sign-in.test.d.ts +1 -0
  8. package/dist/core/builtin-recipes/index.d.ts +2 -2
  9. package/dist/core/builtin-recipes/layer-to-native.d.ts +19 -0
  10. package/dist/core/builtin-recipes/records-to-native.d.ts +43 -0
  11. package/dist/core/builtin-recipes/shapes-to-families.d.ts +9 -4
  12. package/dist/core/builtin-recipes/shared.d.ts +8 -11
  13. package/dist/core/channel.d.ts +1 -1
  14. package/dist/core/client.d.ts +46 -2
  15. package/dist/core/frag-items.d.ts +1 -1
  16. package/dist/core/history.d.ts +9 -9
  17. package/dist/core/op-builder.d.ts +2 -2
  18. package/dist/core/platform-client.d.ts +6 -3
  19. package/dist/core/project-recipes.d.ts +1 -1
  20. package/dist/core/recipes.d.ts +31 -5
  21. package/dist/index.cjs.js +23 -20
  22. package/dist/index.cjs.js.map +1 -1
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.es.js +4284 -3455
  25. package/dist/index.es.js.map +1 -1
  26. package/docs/ai-quickstart.md +21 -21
  27. package/docs/builtin/paths.json +1 -1
  28. package/docs/cli/login.md +6 -3
  29. package/docs/client/paths.json +2 -2
  30. package/docs/flow-architecture.md +53 -53
  31. package/docs/flow-plugin-guide.md +13 -13
  32. package/docs/recipes-guide.md +24 -24
  33. package/docs/rhino-interop-quickstart.md +1 -1
  34. package/package.json +1 -1
  35. package/src/built-in/UIManager/src/git-history-panel/example.ts +2 -2
  36. package/src/built-in/index.ts +13 -13
  37. package/src/core/examples/channel.ts +2 -2
  38. package/src/core/examples/history.ts +4 -4
  39. package/dist/core/builtin-recipes/records-to-revit.d.ts +0 -28
  40. package/dist/core/builtin-recipes/rhino-to-revit.d.ts +0 -16
@@ -2,10 +2,10 @@
2
2
 
3
3
  You are an AI assistant. A user wants a **recipe**: something that brings data of their project into a
4
4
  native application — "put a column at every point of this layer", "build the walls of this IFC as
5
- Revit walls", "make a Revit room for every space of this spreadsheet". This guide is everything you
6
- need to write one, test it without Revit, and save it in their project. Follow it in order.
5
+ the modelling tool walls", "make a native room for every space of this spreadsheet". This guide is everything you
6
+ need to write one, test it without the modelling tool, and save it in their project. Follow it in order.
7
7
 
8
- > The user applies recipes from inside the application. In Revit: **That Open > Select recipe**
8
+ > The user applies recipes from inside the application. In the modelling tool: **That Open > Select recipe**
9
9
  > (pick the recipe, its source and its settings) and **That Open > Update** (it runs and the
10
10
  > changes land in ONE transaction; Ctrl+Z undoes it whole; applying again writes only what changed).
11
11
  > When they publish, the model's history says which recipe, which version of it, and which version
@@ -15,19 +15,19 @@ need to write one, test it without Revit, and save it in their project. Follow i
15
15
 
16
16
  ## 1. What a recipe is
17
17
 
18
- A recipe is a **manifest** (what a person reads in Revit) and a **`run(context)` function** that
18
+ A recipe is a **manifest** (what a person reads in the modelling tool) and a **`run(context)` function** that
19
19
  returns **changes**: a list of elements to add, set or remove in the target document, in that
20
- application's own vocabulary (Revit categories, family and type names, levels by name, feet).
20
+ application's own vocabulary (native categories, family and type names, levels by name, feet).
21
21
 
22
- It does not touch Revit. It only says what Revit should end up with. The plugin applies the list.
22
+ It does not touch the modelling tool. It only says what the modelling tool should end up with. The plugin applies the list.
23
23
 
24
24
  Two kinds of recipe exist and both appear in the catalog:
25
25
 
26
26
  - **Built-in** — shipped in `@thatopen/services` (`src/core/builtin-recipes/`). Always available, never
27
27
  replaced. **Read them before writing your own: they are your examples.**
28
- - `ifc-to-revit` / `frag-to-revit` (`records-to-revit.ts`): a whole building — levels, walls,
28
+ - `ifc-to-revit` / `frag-to-revit` (`records-to-native.ts`): a whole building — levels, walls,
29
29
  curtain walls, floors, roofs, ceilings, stairs, columns — from the platform's records.
30
- - `rhino-to-revit` (`rhino-to-revit.ts`): one Revit instance per placed object of a Rhino layer.
30
+ - `rhino-to-revit` (`layer-to-native.ts`): one native instance per placed object of a source layer.
31
31
  - **Project recipes** — yours. Saved in the user's project, versioned there, each with a name of its
32
32
  own (a built-in's name is refused). Starting from a built-in is the normal way: copy what you need.
33
33
 
@@ -61,9 +61,9 @@ const manifest = {
61
61
 
62
62
  - `source.kind: 'project-file'` with `extensions` lists the project's documents of those formats.
63
63
  The one picked arrives as `context.input`: `{ fileId, name, folderId, version }`.
64
- - Settings Revit can show today: **booleans** (a checkbox) and **`x-existing` family types of the
64
+ - Settings the modelling tool can show today: **booleans** (a checkbox) and **`x-existing` family types of the
65
65
  target** (a list of the open model's types, filtered by `CategoryId`). Anything else and the
66
- recipe is not offered in Revit — keep to those two.
66
+ recipe is not offered in the modelling tool — keep to those two.
67
67
  - Write `doc` for a person: what it does, what it carries per thing, what it leaves out.
68
68
 
69
69
  ## 3. The code
@@ -133,7 +133,7 @@ export async function run(context) {
133
133
  | `settings` | What the person chose, keyed as in `settingsSchema`. A family type is `{ categoryId, family, type }`. |
134
134
  | `made` | What this recipe made before in this model, as the model has it now. Use `kit.whatItMadeBefore`. |
135
135
  | `opId` | This run's id: pass it to `operation.build`. |
136
- | `progress(says, fraction?)` | A line for Revit's progress notice. |
136
+ | `progress(says, fraction?)` | A line for the modelling tool's progress notice. |
137
137
  | `kit` | The tools below. |
138
138
 
139
139
  ### `context.kit`
@@ -143,38 +143,38 @@ export async function run(context) {
143
143
  | `readPickedFrag(context, input)` | Downloads the picked file (that version) and reads it: `{ picked, contents: { metadata, items }, site }`. A raw IFC goes through the platform's IFC converter first, so `items` carry records. |
144
144
  | `readFrag(bytes)` | Reads any .frag: `{ metadata, items: [{ localId, guid, category, attrs }] }`. |
145
145
  | `recordsOf(items)` | The platform's semantic records (walls as runs, slabs as extrusions, levels as datums…) out of a converted model: `[{ id, kind, params, item }]`. |
146
- | `innerJson(record, param)`, `levelsOf(records)`, `levelNames(records)`, `stylesOf(records)` | Reading those records (see `records-to-revit.ts` for every kind). |
146
+ | `innerJson(record, param)`, `levelsOf(records)`, `levelNames(records)`, `stylesOf(records)` | Reading those records (see `records-to-native.ts` for every kind). |
147
147
  | `OperationBuilder` | Builds the changes: `add(attrs, { position?, rotationDeg?, source? })`, `set(revitId, attrs, placement?)`, `remove(revitId)`, `length`, `summary`, `build(opId)`. |
148
148
  | `whatItMadeBefore(context, prints?)` | `Map<sourceKey, revitId>`, and fills `prints` with each one's fingerprint. |
149
149
  | `printOf(value)` | A short fingerprint of what a change asks for: unchanged print = nothing to write. |
150
150
  | `siteLocationOf(ifcBytes)` | Where an IFC's site stands (east, north, elevation, angle). |
151
- | `FEET_PER_METRE` | Revit is feet. Records are metres. |
151
+ | `FEET_PER_METRE` | The modelling tool works in feet. Records are metres. |
152
152
 
153
153
  ### The rules that make a recipe behave
154
154
 
155
155
  1. **Every `add` carries a stable `source` key**: the source file's id plus the thing's own id
156
- (an IFC GlobalId, a Rhino guid), never its position in a list. That is how the next Apply knows
156
+ (an IFC GlobalId, a source guid), never its position in a list. That is how the next Apply knows
157
157
  what it made.
158
158
  2. **Fingerprint what you add** (`'flow:print': kit.printOf(...)`): same print, nothing to write.
159
159
  3. **Remove only what you made** (`made`): never anything a person drew.
160
160
  4. **Nothing to write is `UpToDate`**, not an error.
161
- 5. **Feet, Z up, Revit names.** Categories by `CategoryId` (Revit's language-independent id), types
161
+ 5. **Feet, Z up, native names.** Categories by `CategoryId` (the modelling tool's language-independent id), types
162
162
  and levels by their exact names.
163
163
 
164
- ## 4. What Revit understands (the change vocabulary)
164
+ ## 4. What the modelling tool understands (the change vocabulary)
165
165
 
166
- Every attribute of an `add` or `set` is either one of these fields or **a Revit parameter by name**
166
+ Every attribute of an `add` or `set` is either one of these fields or **a native parameter by name**
167
167
  (written as the parameter's value).
168
168
 
169
169
  | Field | Meaning |
170
170
  |---|---|
171
- | `CategoryId` | Revit's category id: levels `-2000240`, walls `-2000011`, floors `-2000032`, roofs `-2000035`, ceilings `-2000038`, structural foundations `-2001300`, stairs `-2000120`, structural columns `-2001330`. |
172
- | `Family`, `Type` | The family and type, by exact name. A loadable family type that the model lacks makes Revit refuse that element. Wall and floor types missing are made from `Type.Width`. |
171
+ | `CategoryId` | the modelling tool's category id: levels `-2000240`, walls `-2000011`, floors `-2000032`, roofs `-2000035`, ceilings `-2000038`, structural foundations `-2001300`, stairs `-2000120`, structural columns `-2001330`. |
172
+ | `Family`, `Type` | The family and type, by exact name. A loadable family type that the model lacks makes the modelling tool refuse that element. Wall and floor types missing are made from `Type.Width`. |
173
173
  | `Type.Width` | A wall or floor type's thickness (feet), to make it when missing. |
174
174
  | `Name` | A level's name (levels are ensured by name: an existing one is reused). |
175
175
  | `Elevation` | A level's height (feet). |
176
176
  | `Level` | The element's level, by name. |
177
- | `Position` / `Rotation` | Via the builder's `position` [x,y,z] (feet) and `rotationDeg` (about Z). For point-placed families. |
177
+ | `Position` / `Rotation` | Via builder's `position` [x,y,z] (feet) and `rotationDeg` (about Z). For point-placed families. |
178
178
  | `LocationLine` | A wall's line: `"x1,y1,z1;x2,y2,z2"` (feet). |
179
179
  | `Height`, `BaseOffset`, `TopLevel`, `TopOffset` | A wall's height, base offset, top level (by name) and offset. |
180
180
  | `JoinEnds`, `Mitre`, `Yields` | A wall's ends (`start`, `end`) that join, mitre, or stop at the wall they meet. |
@@ -190,7 +190,7 @@ Every attribute of an `add` or `set` is either one of these fields or **a Revit
190
190
  What it cannot make yet is said in the built-ins' rules tables ("Nothing yet - read and counted"):
191
191
  hosted doors and windows, footings, ramps.
192
192
 
193
- ## 5. Test it without Revit
193
+ ## 5. Test it without the modelling tool
194
194
 
195
195
  Run it with the services client and read the changes it would ask for:
196
196
 
@@ -213,8 +213,8 @@ Check: the count is what the source holds, every `add` has a `source`, the units
213
213
  names are the model's own. Run it a second time with `made` filled from the first (source → an id)
214
214
  and it must answer `UpToDate`.
215
215
 
216
- (A raw IFC source needs the IFC converter, which the Revit plugin provides. To test an IFC recipe
217
- outside Revit, point it at the IFC's converted .frag instead.)
216
+ (A raw IFC source needs the IFC converter, which the plugin provides. To test an IFC recipe
217
+ outside the modelling tool, point it at the IFC's converted .frag instead.)
218
218
 
219
219
  ## 6. Save it in the project
220
220
 
@@ -226,7 +226,7 @@ const version = await client.recipes.project.save(projectId, { manifest, code },
226
226
  // 'v1', then 'v2'… every save is a new version, all of them kept
227
227
  ```
228
228
 
229
- Then, in Revit, **That Open > Select recipe** lists it (marked "this project", with its version)
229
+ Then, in the modelling tool, **That Open > Select recipe** lists it (marked "this project", with its version)
230
230
  next to the built-ins. Apply runs its latest version; the history says which.
231
231
 
232
232
  Other calls: `client.recipes.catalog(projectId, { to: 'revit' })` (built-ins and the project's),
@@ -213,7 +213,7 @@ lists as a source. Publishing again makes a new version of it; the next Apply re
213
213
  This is the part that is **not** in either plug-in, and should not be. It reads the published
214
214
  `.frag`, decides what it means in Revit, and returns the changes; the Revit add-in applies them.
215
215
 
216
- The one that exists is the built-in **`rhino-to-revit`** (`src/core/builtin-recipes/rhino-to-revit.ts`
216
+ The one that exists is the built-in **`rhino-to-revit`** (`src/core/builtin-recipes/layer-to-native.ts`
217
217
  in `@thatopen/services`): each placed object of a chosen Rhino layer becomes an instance of a chosen
218
218
  Revit family type. It is written to be read and then rewritten as a project recipe — the next person
219
219
  wants walls from curves, or louvres from blocks — and
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "access": "public"
16
16
  },
17
17
  "private": false,
18
- "version": "0.35.0",
18
+ "version": "0.36.0",
19
19
  "main": "dist/index.cjs.js",
20
20
  "module": "dist/index.es.js",
21
21
  "types": "dist/index.d.ts",
@@ -1,8 +1,8 @@
1
1
  /* MD
2
2
  ## git-history-panel
3
3
  ---
4
- `top-git-history` is a GitKraken-style commit timeline for the **revit-flow**
5
- feature. It lists the commits pushed by the Revit add-in (newest first) and,
4
+ `top-git-history` is a git-client-style commit timeline for the **revit-flow**
5
+ feature. It lists the commits pushed by the authoring tool's add-in (newest first) and,
6
6
  when you click a commit, drives the shared 3D viewer to color that commit's
7
7
  changed elements — created green, modified blue, deleted red — on the loaded
8
8
  baseline model.
@@ -2062,7 +2062,7 @@ export const GISManager = { uuid: 'd8f3a1c2-6b4e-4f9a-8c1d-2e7b5a9f3c60' } as ty
2062
2062
  export interface RevitFlowChange {
2063
2063
  /** create → element added, update → geometry/data changed, delete → removed. */
2064
2064
  type: "create" | "update" | "delete" | string;
2065
- /** Revit UniqueId (GUID). Resolves to a fragments localId via getLocalIdsByGuids. */
2065
+ /** The authoring tool's UniqueId (GUID). Resolves to a fragments localId via getLocalIdsByGuids. */
2066
2066
  uniqueId: string;
2067
2067
  }
2068
2068
  /** Per-commit change tallies, mirrored from the add-in's `counts` block. */
@@ -2072,7 +2072,7 @@ export interface RevitFlowCounts {
2072
2072
  removed: number;
2073
2073
  }
2074
2074
  /**
2075
- * A revit-flow commit — one push of changes from the Revit add-in. `id` is a
2075
+ * A revit-flow commit — one push of changes from the authoring tool's add-in. `id` is a
2076
2076
  * monotonic integer; `parent` points at the previous commit (null for the
2077
2077
  * root). The first commit is the baseline: its geometry IS the visible model
2078
2078
  * file. Later commits carry only their delta geometry, in a HIDDEN .frag whose
@@ -2082,8 +2082,8 @@ export interface RevitFlowCommit {
2082
2082
  /**
2083
2083
  * WHAT this commit is. Identity, minted by whoever wrote it, meaningful outside the model it
2084
2084
  * belongs to — which the old integer was not: that was the platform's storage version, a number
2085
- * the CDE handed out. An application that does not push through a Revit central has no such
2086
- * number, and an integer sequence asserts one line of history, which Revit's central enforces and
2085
+ * the CDE handed out. An application that does not push through a central model has no such
2086
+ * number, and an integer sequence asserts one line of history, which the authoring tool's central model enforces and
2087
2087
  * nothing else has to.
2088
2088
  */
2089
2089
  guid: string;
@@ -2095,8 +2095,8 @@ export interface RevitFlowCommit {
2095
2095
  * MERGE means naming both lines, and that needs this. The first entry is the line the commit
2096
2096
  * continues, which is what lets the panel lay out lanes without guessing which side is the trunk.
2097
2097
  *
2098
- * Revit never writes more than one: its central IS a single line and it merges inside itself
2099
- * rather than in this graph. The list is for the applications that are not Revit.
2098
+ * The native authoring tool never writes more than one: its central IS a single line and it merges inside itself
2099
+ * rather than in this graph. The list is for the applications that are not that tool.
2100
2100
  */
2101
2101
  parents?: string[] | null;
2102
2102
  /**
@@ -2116,7 +2116,7 @@ export interface RevitFlowCommit {
2116
2116
  * What the author said this commit was for, in their own words. Absent when nobody said
2117
2117
  * anything, which is most commits.
2118
2118
  *
2119
- * In Revit it comes from the Comment box in its own Synchronize with Central dialog, which
2119
+ * In the native authoring tool it comes from the Comment box in its own Synchronize with Central dialog, which
2120
2120
  * people have been typing into for years while it went nowhere. Free text: never parsed, never
2121
2121
  * relied on for structure.
2122
2122
  */
@@ -2136,7 +2136,7 @@ export interface RevitFlowCommit {
2136
2136
  /**
2137
2137
  * Platform user id of the committer, recorded by the add-in from its API key. Lets the
2138
2138
  * UI resolve the author to a real project member (avatar + name) via getProjectData,
2139
- * instead of deriving initials from the raw Revit username. Absent on history written
2139
+ * instead of deriving initials from the raw authoring-tool username. Absent on history written
2140
2140
  * before this was recorded, or when the key isn't a readable JWT.
2141
2141
  */
2142
2142
  userId?: string;
@@ -2158,7 +2158,7 @@ export interface RevitFlowCommit {
2158
2158
  full?: boolean;
2159
2159
  /**
2160
2160
  * Interoperability operations this commit materialised. Present only when somebody in
2161
- * Revit pulled a deferred edit: the commit is the native half of it, and this is the
2161
+ * the authoring tool pulled a deferred edit: the commit is the native half of it, and this is the
2162
2162
  * link back to the operation that asked for it. Ordinary hand-authored commits, which
2163
2163
  * are nearly all of them, carry no such key at all.
2164
2164
  */
@@ -2188,7 +2188,7 @@ export interface RevitFlowHistory {
2188
2188
  *
2189
2189
  * Operations are NOT commits and do not live in the graph: a commit is immutable past, an
2190
2190
  * operation is optional future. They sit above the model's HEAD until somebody opens the
2191
- * model in Revit and applies one, at which point they become a commit and stop being
2191
+ * model in the authoring tool and applies one, at which point they become a commit and stop being
2192
2192
  * pending. Mirrors the add-in's `revitflow_ops.json`.
2193
2193
  */
2194
2194
  export interface RevitFlowOp {
@@ -2300,10 +2300,10 @@ declare class _GitHistoryManager extends OBC.Component {
2300
2300
  /**
2301
2301
  * Which mark to draw on a commit, by the application that wrote it.
2302
2302
  *
2303
- * Every commit already says who made it, in `source`. The panel used to draw the Revit logo on
2304
- * all of them regardless, which was true while Revit was the only thing that could write one and
2303
+ * Every commit already says who made it, in `source`. The panel used to draw the authoring tool's logo on
2304
+ * all of them regardless, which was true while the authoring tool was the only thing that could write one and
2305
2305
  * became a lie the moment anything else did: a commit from another tool would claim to be a
2306
- * Revit commit, on the one part of the row whose whole job is to say where a change came from.
2306
+ * commit of the authoring tool, on the one part of the row whose whole job is to say where a change came from.
2307
2307
  *
2308
2308
  * The format is deliberately open about who writes history, so the icons have to be too. This is
2309
2309
  * the registry. Only `revit` is built in; an application adds its own:
@@ -1,4 +1,4 @@
1
- // description: "Platform channel (app-side, runs inside the platform iframe) — a collaboration room with presence, and typed commands from external tools (MCP, CLI, Revit, etc) with automatic replies."
1
+ // description: "Platform channel (app-side, runs inside the platform iframe) — a collaboration room with presence, and typed commands from external tools (MCP, CLI, authoring-tool plugins, etc) with automatic replies."
2
2
  import { PlatformClient } from '../platform-client';
3
3
 
4
4
  // Unlike the other examples this is not a Node script: `client.channel` only
@@ -23,7 +23,7 @@ type CollabEvents = {
23
23
 
24
24
  export async function setupChannel(client: PlatformClient) {
25
25
  // Commands from this account's MCP server only. `external()` with no kind
26
- // hears every kind of external tool (MCP, CLI, Revit plugin, etc...).
26
+ // hears every kind of external tool (MCP, CLI, authoring-tool plugin, etc...).
27
27
  const mcp = client.channel.external<McpCommands>('mcp');
28
28
 
29
29
  // What you return is sent back to whoever asked. Throw and it gets an error
@@ -1,11 +1,11 @@
1
- // description: "History and recipes — a project's connected documents (Revit, AutoCAD…), their version timelines, and recipes: scripts that bring a source into an app, in its native language, applied from inside that app."
1
+ // description: "History and recipes — a project's connected documents (authoring tools, CAD tools…), their version timelines, and recipes: scripts that bring a source into an app, in its native language, applied from inside that app."
2
2
  import { EngineServicesClient } from '../client';
3
3
  import type { Recipe } from '../recipes';
4
4
 
5
5
  // The mental model, in three sentences:
6
- // 1. Every connected document (a Revit model, an AutoCAD drawing) has its
6
+ // 1. Every connected document (an authoring-tool model, a CAD drawing) has its
7
7
  // version history: who synced, when, what changed.
8
- // 2. A RECIPE is a script that brings a source (an IFC, a Rhino layer…) into
8
+ // 2. A RECIPE is a script that brings a source (an IFC, a modelling tool's layer…) into
9
9
  // an application, in that application's own words: the changes that make
10
10
  // the document match the source.
11
11
  // 3. Recipes are applied from INSIDE the native application, by its plugin,
@@ -47,7 +47,7 @@ export async function readTheProjectHistory(
47
47
  // app fills, so people pick instead of typing names.
48
48
  const pointsToBlocks: Recipe<{ layer: string; block: string }> = {
49
49
  name: 'points-to-autocad-blocks',
50
- description: 'Places an AutoCAD block on every input point.',
50
+ description: 'Places a CAD block on every input point.',
51
51
  to: 'autocad',
52
52
  inputs: ['points'],
53
53
  settingsSchema: {
@@ -1,28 +0,0 @@
1
- import { Recipe } from '../recipes';
2
-
3
- /** A family type of the target, as the target publishes it. */
4
- interface RevitType {
5
- categoryId: string;
6
- family: string;
7
- type: string;
8
- }
9
- interface Settings {
10
- /** The Revit type columns get, when style names are not trusted. */
11
- columnType?: RevitType;
12
- /**
13
- * Trust the records' own style names: `lookRef` "Family:Type" becomes the
14
- * change's Family and Type verbatim, for columns and instances. Revit
15
- * matches a type exactly and refuses the whole request when one is missing
16
- * - right for a model that came FROM this Revit, wrong for anything else.
17
- * (Walls and floors always go by their style name: system types are named
18
- * identity, and the applier makes a missing one from the carried width.)
19
- */
20
- trustStyleNames?: boolean;
21
- /** Also bring free-standing family instances (furniture, equipment). Needs trustStyleNames. */
22
- includeInstances?: boolean;
23
- /** Carry the model's levels (ensured by name on the target). Default true. */
24
- createLevels?: boolean;
25
- }
26
- export declare const fragToRevit: Recipe<Settings>;
27
- export declare const ifcToRevit: Recipe<Settings>;
28
- export {};
@@ -1,16 +0,0 @@
1
- import { Recipe } from '../recipes';
2
-
3
- /** A family type of the target, as the target publishes it. */
4
- interface RevitType {
5
- categoryId: string;
6
- family: string;
7
- type: string;
8
- }
9
- interface Settings {
10
- /** The Rhino layer that drives placement. */
11
- layer: string;
12
- /** The Revit type every placed object becomes. */
13
- instanceType: RevitType;
14
- }
15
- export declare const rhinoToRevit: Recipe<Settings>;
16
- export {};