bimdown-cli 0.3.0 → 0.5.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.
Files changed (151) hide show
  1. package/README.md +24 -3
  2. package/dist/chunk-4SKM4RHY.js +142 -0
  3. package/dist/chunk-4SKM4RHY.js.map +1 -0
  4. package/dist/chunk-4YHVOWS4.js +255 -0
  5. package/dist/chunk-4YHVOWS4.js.map +1 -0
  6. package/dist/chunk-AYAXRYGP.js +2129 -0
  7. package/dist/chunk-AYAXRYGP.js.map +1 -0
  8. package/dist/chunk-EC5MR5ZH.js +648 -0
  9. package/dist/chunk-EC5MR5ZH.js.map +1 -0
  10. package/dist/chunk-HS3PO2LB.js +487 -0
  11. package/dist/chunk-HS3PO2LB.js.map +1 -0
  12. package/dist/chunk-IQJA3EFO.js +179 -0
  13. package/dist/chunk-IQJA3EFO.js.map +1 -0
  14. package/dist/chunk-JY6KWRDB.js +80 -0
  15. package/dist/chunk-JY6KWRDB.js.map +1 -0
  16. package/dist/chunk-KWSGJUMZ.js +2501 -0
  17. package/dist/chunk-KWSGJUMZ.js.map +1 -0
  18. package/dist/chunk-LWYIPR64.js +35 -0
  19. package/dist/chunk-LWYIPR64.js.map +1 -0
  20. package/dist/chunk-OBY3UYCO.js +44 -0
  21. package/dist/chunk-OBY3UYCO.js.map +1 -0
  22. package/dist/chunk-XC6WHJRL.js +29 -0
  23. package/dist/chunk-XC6WHJRL.js.map +1 -0
  24. package/dist/chunk-XQU52JKB.js +187 -0
  25. package/dist/chunk-XQU52JKB.js.map +1 -0
  26. package/dist/clash-load-D3LNQR6G.js +941 -0
  27. package/dist/clash-load-D3LNQR6G.js.map +1 -0
  28. package/dist/cli.js +431 -0
  29. package/dist/cli.js.map +1 -0
  30. package/dist/dehydrate-ZHAGOI7Q.js +90 -0
  31. package/dist/dehydrate-ZHAGOI7Q.js.map +1 -0
  32. package/dist/diff-T2KOK2WR.js +89 -0
  33. package/dist/diff-T2KOK2WR.js.map +1 -0
  34. package/dist/engine-2TPWJVEQ.js +12 -0
  35. package/dist/engine-2TPWJVEQ.js.map +1 -0
  36. package/dist/hydrate-V24H7IF3.js +673 -0
  37. package/dist/hydrate-V24H7IF3.js.map +1 -0
  38. package/dist/import-ifc-RCZSXDA6.js +5324 -0
  39. package/dist/import-ifc-RCZSXDA6.js.map +1 -0
  40. package/dist/info-QC7YXWNX.js +92 -0
  41. package/dist/info-QC7YXWNX.js.map +1 -0
  42. package/dist/init-VWDML3UC.js +112 -0
  43. package/dist/init-VWDML3UC.js.map +1 -0
  44. package/dist/lib.d.ts +492 -0
  45. package/dist/lib.js +6528 -0
  46. package/dist/lib.js.map +1 -0
  47. package/dist/mep-W4HJI363.js +25 -0
  48. package/dist/mep-W4HJI363.js.map +1 -0
  49. package/dist/merge-ESOPDSA5.js +413 -0
  50. package/dist/merge-ESOPDSA5.js.map +1 -0
  51. package/dist/publish-3TAXQCUV.js +80 -0
  52. package/dist/publish-3TAXQCUV.js.map +1 -0
  53. package/dist/render-UEWYHPN6.js +1807 -0
  54. package/dist/render-UEWYHPN6.js.map +1 -0
  55. package/dist/resolve-topology-AQ2RO3W3.js +338 -0
  56. package/dist/resolve-topology-AQ2RO3W3.js.map +1 -0
  57. package/dist/spec/csv-schema/annotation/dimension.yaml +77 -0
  58. package/dist/spec/csv-schema/annotation/tag.yaml +44 -0
  59. package/dist/spec/csv-schema/annotation/text_note.yaml +52 -0
  60. package/dist/spec/csv-schema/architecture/ceiling.yaml +8 -1
  61. package/dist/spec/csv-schema/architecture/column.yaml +5 -1
  62. package/dist/spec/csv-schema/architecture/curtain_wall.yaml +45 -5
  63. package/dist/spec/csv-schema/architecture/door.yaml +5 -0
  64. package/dist/spec/csv-schema/architecture/furniture.yaml +28 -0
  65. package/dist/spec/csv-schema/architecture/opening.yaml +27 -6
  66. package/dist/spec/csv-schema/architecture/railing.yaml +35 -0
  67. package/dist/spec/csv-schema/architecture/roof.yaml +34 -1
  68. package/dist/spec/csv-schema/architecture/slab.yaml +19 -0
  69. package/dist/spec/csv-schema/architecture/space.yaml +11 -1
  70. package/dist/spec/csv-schema/architecture/stair.yaml +49 -0
  71. package/dist/spec/csv-schema/architecture/stair_landing.yaml +36 -0
  72. package/dist/spec/csv-schema/architecture/stair_run.yaml +31 -0
  73. package/dist/spec/csv-schema/architecture/wall.yaml +14 -1
  74. package/dist/spec/csv-schema/architecture/window.yaml +19 -0
  75. package/dist/spec/csv-schema/base/element.yaml +20 -11
  76. package/dist/spec/csv-schema/base/furniture_params.yaml +60 -0
  77. package/dist/spec/csv-schema/base/hosted_element.yaml +10 -2
  78. package/dist/spec/csv-schema/base/mep_connectable.yaml +23 -0
  79. package/dist/spec/csv-schema/base/mep_design.yaml +24 -0
  80. package/dist/spec/csv-schema/base/mep_insulated.yaml +9 -0
  81. package/dist/spec/csv-schema/base/mep_system_tag.yaml +12 -0
  82. package/dist/spec/csv-schema/base/point_element.yaml +1 -0
  83. package/dist/spec/csv-schema/base/section_profile.yaml +5 -0
  84. package/dist/spec/csv-schema/base/spatial_line_element.yaml +4 -2
  85. package/dist/spec/csv-schema/base/structural_section_profile.yaml +50 -0
  86. package/dist/spec/csv-schema/base/vertical_span.yaml +9 -3
  87. package/dist/spec/csv-schema/base/wall_bounded.yaml +21 -0
  88. package/dist/spec/csv-schema/grid.yaml +5 -0
  89. package/dist/spec/csv-schema/mep/cable_tray.yaml +10 -3
  90. package/dist/spec/csv-schema/mep/circuit.yaml +70 -0
  91. package/dist/spec/csv-schema/mep/conduit.yaml +2 -2
  92. package/dist/spec/csv-schema/mep/connector.yaml +112 -0
  93. package/dist/spec/csv-schema/mep/duct.yaml +10 -3
  94. package/dist/spec/csv-schema/mep/equipment.yaml +18 -1
  95. package/dist/spec/csv-schema/mep/mep_node.yaml +91 -2
  96. package/dist/spec/csv-schema/mep/mep_system.yaml +21 -0
  97. package/dist/spec/csv-schema/mep/pipe.yaml +27 -3
  98. package/dist/spec/csv-schema/mep/terminal.yaml +22 -1
  99. package/dist/spec/csv-schema/model_group.yaml +40 -0
  100. package/dist/spec/csv-schema/sheet/sheet.yaml +50 -0
  101. package/dist/spec/csv-schema/sheet/sheet_viewport.yaml +86 -0
  102. package/dist/spec/csv-schema/structure/beam.yaml +29 -1
  103. package/dist/spec/csv-schema/structure/beam_system.yaml +29 -0
  104. package/dist/spec/csv-schema/structure/brace.yaml +24 -1
  105. package/dist/spec/csv-schema/structure/foundation.yaml +40 -7
  106. package/dist/spec/csv-schema/structure/structure_column.yaml +19 -1
  107. package/dist/spec/csv-schema/structure/structure_slab.yaml +32 -0
  108. package/dist/spec/csv-schema/structure/structure_wall.yaml +22 -0
  109. package/dist/spec/csv-schema/types/beam_type.yaml +11 -0
  110. package/dist/spec/csv-schema/types/ceiling_type.yaml +6 -0
  111. package/dist/spec/csv-schema/types/column_type.yaml +12 -0
  112. package/dist/spec/csv-schema/types/curtain_wall_type.yaml +32 -0
  113. package/dist/spec/csv-schema/types/door_type.yaml +27 -0
  114. package/dist/spec/csv-schema/types/element_type.yaml +21 -0
  115. package/dist/spec/csv-schema/types/fenestration.yaml +16 -0
  116. package/dist/spec/csv-schema/types/foundation_type.yaml +36 -0
  117. package/dist/spec/csv-schema/types/furniture_type.yaml +11 -0
  118. package/dist/spec/csv-schema/types/layered_type.yaml +13 -0
  119. package/dist/spec/csv-schema/types/railing_type.yaml +40 -0
  120. package/dist/spec/csv-schema/types/roof_type.yaml +7 -0
  121. package/dist/spec/csv-schema/types/slab_type.yaml +9 -0
  122. package/dist/spec/csv-schema/types/type_layer.yaml +47 -0
  123. package/dist/spec/csv-schema/types/wall_type.yaml +6 -0
  124. package/dist/spec/csv-schema/types/window_type.yaml +31 -0
  125. package/dist/spec/csv-schema/underlay.yaml +73 -0
  126. package/dist/spec/csv-schema/view.yaml +36 -0
  127. package/dist/spec/duckdb-strategy.md +4 -3
  128. package/dist/spec/geojson-schema/readme.md +380 -0
  129. package/dist/spec/mep-port-conventions.md +190 -0
  130. package/dist/spec/migration-guide.md +1 -1
  131. package/dist/spec/project_metadata.schema.yaml +52 -4
  132. package/dist/spec/readme.md +356 -97
  133. package/dist/spec/starter-types/global/beam_type.csv +5 -0
  134. package/dist/spec/starter-types/global/ceiling_type.csv +3 -0
  135. package/dist/spec/starter-types/global/column_type.csv +5 -0
  136. package/dist/spec/starter-types/global/curtain_wall_type.csv +2 -0
  137. package/dist/spec/starter-types/global/door_type.csv +6 -0
  138. package/dist/spec/starter-types/global/foundation_type.csv +7 -0
  139. package/dist/spec/starter-types/global/furniture_type.csv +11 -0
  140. package/dist/spec/starter-types/global/railing_type.csv +5 -0
  141. package/dist/spec/starter-types/global/roof_type.csv +3 -0
  142. package/dist/spec/starter-types/global/slab_type.csv +4 -0
  143. package/dist/spec/starter-types/global/type_layer.csv +40 -0
  144. package/dist/spec/starter-types/global/wall_type.csv +8 -0
  145. package/dist/spec/starter-types/global/window_type.csv +6 -0
  146. package/dist/spec/svg-schema/readme.md +47 -1
  147. package/package.json +17 -5
  148. package/dist/index.js +0 -3366
  149. package/dist/index.js.map +0 -1
  150. package/dist/spec/csv-schema/base/mep_connected_segment.yaml +0 -17
  151. package/dist/spec/csv-schema/base/mep_system.yaml +0 -7
@@ -0,0 +1,86 @@
1
+ name: sheet_viewport
2
+ description: >
3
+ One view placed on a sheet (global/sheet_viewport.csv only). x / y is the
4
+ centre of the viewport on the paper in millimetres from the sheet's
5
+ bottom-left corner; the view is drawn at 1:scale around the centre of its
6
+ own extent. Annotation sizes (text, tags, dimensions) are paper sizes, so
7
+ they read the same at every scale.
8
+
9
+ fields:
10
+ - name: id
11
+ type: string
12
+ required: true
13
+
14
+ - name: sheet_id
15
+ type: reference
16
+ reference: sheet
17
+ required: true
18
+
19
+ - name: view_type
20
+ type: enum
21
+ required: true
22
+ values: [plan, section, elevation, schedule, legend]
23
+ description: >
24
+ plan = the plan of level_id; section = the section view_id of
25
+ global/view.csv; elevation = the derived elevation view_id (north /
26
+ south / east / west); schedule = the schedule table `schedule`;
27
+ legend = the symbol legend of the views on the sheet.
28
+
29
+ - name: level_id
30
+ type: reference
31
+ reference: level
32
+ description: Level of a plan viewport (required for view_type plan).
33
+
34
+ - name: view_id
35
+ type: string
36
+ description: Section id (view.csv) or elevation direction (north, south, east, west).
37
+
38
+ - name: schedule
39
+ type: enum
40
+ values: [rooms, doors, windows, walls, slabs, columns, framing, foundations, mep, equipment, terminals, accessories, circuits, panel, furniture]
41
+ description: Schedule shown by a schedule viewport.
42
+
43
+ - name: discipline
44
+ type: enum
45
+ default: architecture
46
+ values: [architecture, structure, mep, all]
47
+ description: What a plan viewport shows (others are hidden or half-toned).
48
+
49
+ - name: scale
50
+ type: int
51
+ default: 100
52
+ description: Scale denominator (100 = 1:100). Ignored by schedule and legend viewports.
53
+
54
+ - name: x
55
+ type: float
56
+ required: true
57
+ description: Viewport centre X on the sheet, mm from the left edge of the paper.
58
+
59
+ - name: y
60
+ type: float
61
+ required: true
62
+ description: Viewport centre Y on the sheet, mm from the bottom edge of the paper.
63
+
64
+ - name: title
65
+ type: string
66
+ description: Viewport title under the view. Empty = the view's name (e.g. "Level 2 Plan").
67
+
68
+ - name: crop_min_x
69
+ type: float
70
+ description: |
71
+ Crop region of a drawing viewport, in the view's own model coordinates
72
+ (plan X / Y; sections and elevations: distance along the view and
73
+ elevation), project units. All four set = only that box is drawn; empty
74
+ = the whole view.
75
+
76
+ - name: crop_min_y
77
+ type: float
78
+ description: Crop region, minimum Y (see crop_min_x).
79
+
80
+ - name: crop_max_x
81
+ type: float
82
+ description: Crop region, maximum X (see crop_min_x).
83
+
84
+ - name: crop_max_y
85
+ type: float
86
+ description: Crop region, maximum Y (see crop_min_x).
@@ -4,4 +4,32 @@ bases:
4
4
  - structural_section_profile
5
5
  - materialized
6
6
 
7
- fields: []
7
+ fields:
8
+ - name: type_id
9
+ type: reference
10
+ reference: beam_type
11
+ description: Optional beam_type id. Empty type parameters (shape, size_x, size_y, flange, web, thickness, material) inherit the type's value; a set value overrides it for this element.
12
+
13
+ - name: beam_system_id
14
+ type: reference
15
+ reference: beam_system
16
+ description: Beam system (same level) that generated this beam; tools regenerate it with the system. Empty = a free beam.
17
+
18
+ - name: material_grade
19
+ type: string
20
+ description: Strength grade, e.g. C30 (concrete), Q355 / S355 (steel), GL24h (timber).
21
+
22
+ - name: cut_length
23
+ type: float
24
+ computed: true
25
+ description: Length between the faces of the columns and girders the member frames into (schedules, volume and weight use it), hydrated at query time.
26
+
27
+ - name: volume
28
+ type: float
29
+ computed: true
30
+ description: Material volume (section × length / height, area × thickness), hydrated at query time.
31
+
32
+ - name: weight
33
+ type: float
34
+ computed: true
35
+ description: Mass in kg (volume × material density, steel 7850 kg/m³), hydrated at query time.
@@ -0,0 +1,29 @@
1
+ name: beam_system
2
+ bases:
3
+ - polygon_element
4
+ description: >
5
+ Beam system (Revit "Structural Beam System"): parallel infill beams across a
6
+ bay. The Polygon is the bay; beams run along `direction` (degrees CCW from
7
+ +X) at most `spacing` apart, excluding the bay edges, and carry
8
+ `beam_system_id` = this id. Tools regenerate the beams when the bay,
9
+ spacing, direction or type changes; edit a single beam by removing its
10
+ `beam_system_id` first.
11
+
12
+ fields:
13
+ - name: spacing
14
+ type: float
15
+ required: true
16
+ description: Maximum distance between beams, measured across them.
17
+
18
+ - name: direction
19
+ type: float
20
+ description: Beam direction, degrees CCW from +X. Empty = along the bay's short side (beams span the short way).
21
+
22
+ - name: type_id
23
+ type: reference
24
+ reference: beam_type
25
+ description: beam_type of the generated beams.
26
+
27
+ - name: material_grade
28
+ type: string
29
+ description: Strength grade of the generated beams (empty = the type's).
@@ -4,4 +4,27 @@ bases:
4
4
  - structural_section_profile
5
5
  - materialized
6
6
 
7
- fields: []
7
+ fields:
8
+ - name: type_id
9
+ type: reference
10
+ reference: beam_type
11
+ description: Optional beam_type id. Empty type parameters (shape, size_x, size_y, flange, web, thickness, material) inherit the type's value; a set value overrides it for this element.
12
+
13
+ - name: material_grade
14
+ type: string
15
+ description: Strength grade, e.g. C30 (concrete), Q355 / S355 (steel), GL24h (timber).
16
+
17
+ - name: cut_length
18
+ type: float
19
+ computed: true
20
+ description: Length between the faces of the columns and girders the member frames into (schedules, volume and weight use it), hydrated at query time.
21
+
22
+ - name: volume
23
+ type: float
24
+ computed: true
25
+ description: Material volume (section × length / height, area × thickness), hydrated at query time.
26
+
27
+ - name: weight
28
+ type: float
29
+ computed: true
30
+ description: Mass in kg (volume × material density, steel 7850 kg/m³), hydrated at query time.
@@ -3,20 +3,53 @@ bases:
3
3
  - element
4
4
  - materialized
5
5
  description: >
6
- Unified foundation type. Geometry form is determined by the SVG element:
7
- - <rect>/<circle> (point-based): isolated/pad footing
8
- - <path> (line-based): strip/continuous footing
9
- - <polygon> (polygon-based): raft/mat foundation
10
- Computed geometry fields are hydrated from SVG at query time.
6
+ Unified foundation table. The top face is at level elevation + base_offset;
7
+ the body hangs down by `thickness`. The GeoJSON geometry gives the footprint,
8
+ `kind` names the foundation type (empty = the default for the geometry):
9
+ - Point: isolated pad footing (kind pad, default), `width` along X ×
10
+ `length` along Y (empty = square) centred on the point, turned by
11
+ `rotation`; or a pile (kind pile): round with diameter `width`, or
12
+ rectangular `width` × `length` when `length` is set; `thickness` is the
13
+ pile length.
14
+ - LineString: strip / continuous footing (kind strip, default), `width`
15
+ across the centre line.
16
+ - Polygon: raft / mat (kind raft, default), pile cap (kind pile_cap) or a pad
17
+ with an irregular footprint (kind pad), drawn at its real footprint.
18
+ Computed geometry fields are hydrated from GeoJSON at query time.
11
19
 
12
20
  fields:
21
+ - name: type_id
22
+ type: reference
23
+ reference: foundation_type
24
+ description: Optional foundation_type id. Empty type parameters (kind, width, length, thickness, material, material_grade) inherit the type's value; a set value overrides it for this element.
25
+
26
+ - name: kind
27
+ type: enum
28
+ values:
29
+ - pad
30
+ - strip
31
+ - raft
32
+ - pile_cap
33
+ - pile
34
+ description: Foundation type. Empty = from geometry (Point pad, LineString strip, Polygon raft).
35
+
13
36
  - name: thickness
14
37
  type: float
38
+ description: Depth below the top face (pile = pile length).
15
39
 
16
40
  - name: width
17
41
  type: float
18
- description: Width of strip foundation or pad dimension
42
+ description: Point pad size along X / pile diameter; strip footing width.
19
43
 
20
44
  - name: length
21
45
  type: float
22
- description: Length of pad foundation
46
+ description: Point pad size along Y (empty = width); rectangular pile size along Y.
47
+
48
+ - name: material_grade
49
+ type: string
50
+ description: Strength grade, e.g. C30, C35/45.
51
+
52
+ - name: volume
53
+ type: float
54
+ computed: true
55
+ description: Material volume (section × length / height, area × thickness), hydrated at query time.
@@ -5,4 +5,22 @@ bases:
5
5
  - materialized
6
6
  - structural_section_profile
7
7
 
8
- fields: []
8
+ fields:
9
+ - name: type_id
10
+ type: reference
11
+ reference: column_type
12
+ description: Optional column_type id. Empty type parameters (shape, size_x, size_y, flange, web, thickness, material) inherit the type's value; a set value overrides it for this element.
13
+
14
+ - name: material_grade
15
+ type: string
16
+ description: Strength grade, e.g. C30 (concrete), Q355 / S355 (steel), GL24h (timber).
17
+
18
+ - name: volume
19
+ type: float
20
+ computed: true
21
+ description: Material volume (section × length / height, area × thickness), hydrated at query time.
22
+
23
+ - name: weight
24
+ type: float
25
+ computed: true
26
+ description: Mass in kg (volume × material density, steel 7850 kg/m³), hydrated at query time.
@@ -2,6 +2,7 @@ name: structure_slab
2
2
  bases:
3
3
  - polygon_element
4
4
  - materialized
5
+ - wall_bounded
5
6
 
6
7
  fields:
7
8
  - name: function
@@ -12,3 +13,34 @@ fields:
12
13
 
13
14
  - name: thickness
14
15
  type: float
16
+
17
+ - name: type_id
18
+ type: reference
19
+ reference: slab_type
20
+ description: Optional slab_type id. Empty type parameters (thickness, material) inherit the type's value; a set value overrides it for this element.
21
+
22
+ - name: material_grade
23
+ type: string
24
+ description: Strength grade, e.g. C30 (concrete), Q355 / S355 (steel), GL24h (timber).
25
+
26
+ - name: span_direction
27
+ type: float
28
+ description: Main span direction of a one-way slab or deck, degrees CCW from +X. Empty = two-way / not set.
29
+
30
+ - name: slope_arrow
31
+ type: string
32
+ description: >
33
+ Sloped floor (Revit slope arrow): "tx,ty,tz;hx,hy,hz" = plan tail and head
34
+ points (m) and the top's height (m) above level + base_offset at each.
35
+ The top is the plane through them, level across the arrow (the head need
36
+ not lie inside the outline); thickness stays vertical. Empty = flat.
37
+
38
+ - name: volume
39
+ type: float
40
+ computed: true
41
+ description: Material volume (section × length / height, area × thickness), hydrated at query time.
42
+
43
+ - name: net_area
44
+ type: float
45
+ computed: true
46
+ description: Plan area net of inner rings and of the Polygon openings hosted on this slab, hydrated at query time.
@@ -7,3 +7,25 @@ bases:
7
7
  fields:
8
8
  - name: thickness
9
9
  type: float
10
+
11
+ - name: type_id
12
+ type: reference
13
+ reference: wall_type
14
+ description: Optional wall_type id. Empty type parameters (thickness, material) inherit the type's value; a set value overrides it for this element.
15
+
16
+ - name: top_attach_id
17
+ type: reference
18
+ reference: element
19
+ description: >
20
+ Attach Top (Revit): id of a roof or slab (any level) whose underside the
21
+ wall top follows wherever the wall is under it; elsewhere the wall keeps
22
+ its top_level_id / top_offset top. Empty = not attached.
23
+
24
+ - name: material_grade
25
+ type: string
26
+ description: Strength grade, e.g. C30 (concrete), Q355 / S355 (steel), GL24h (timber).
27
+
28
+ - name: volume
29
+ type: float
30
+ computed: true
31
+ description: Material volume (section × length / height, area × thickness), hydrated at query time.
@@ -0,0 +1,11 @@
1
+ name: beam_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ - structural_section_profile
6
+ type_of: [beam, brace]
7
+
8
+ fields:
9
+ - name: material_grade
10
+ type: string
11
+ description: Strength grade the type's instances inherit, e.g. C40 (concrete), Q355 / S355 / A992 (steel), GL24h (timber).
@@ -0,0 +1,6 @@
1
+ name: ceiling_type
2
+ bases:
3
+ - layered_type
4
+ type_of: [ceiling]
5
+
6
+ fields: []
@@ -0,0 +1,12 @@
1
+ name: column_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ - structural_section_profile
6
+ type_of: [column, structure_column]
7
+ description: Section profile type. An architectural column accepts only the rect and round shapes.
8
+
9
+ fields:
10
+ - name: material_grade
11
+ type: string
12
+ description: Strength grade the type's instances inherit, e.g. C40 (concrete), Q355 / S355 / A992 (steel), GL24h (timber).
@@ -0,0 +1,32 @@
1
+ name: curtain_wall_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ - fenestration
6
+ type_of: [curtain_wall]
7
+ description: "`material` is the mullion material."
8
+
9
+ fields:
10
+ - name: u_spacing
11
+ type: float
12
+
13
+ - name: v_spacing
14
+ type: float
15
+
16
+ - name: panel_material
17
+ type: string
18
+
19
+ - name: mullion_width
20
+ type: float
21
+
22
+ - name: mullion_depth
23
+ type: float
24
+
25
+ - name: mullion_profile
26
+ type: enum
27
+ values:
28
+ - rect
29
+ - round
30
+
31
+ - name: solid_material
32
+ type: string
@@ -0,0 +1,27 @@
1
+ name: door_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ - fenestration
6
+ type_of: [door]
7
+
8
+ fields:
9
+ - name: width
10
+ type: float
11
+ required: true
12
+
13
+ - name: height
14
+ type: float
15
+
16
+ - name: operation
17
+ type: enum
18
+ values:
19
+ - single_swing
20
+ - double_swing
21
+ - sliding
22
+ - folding
23
+ - revolving
24
+
25
+ - name: frame_width
26
+ type: float
27
+ description: Visible frame (jamb and head) width, meters.
@@ -0,0 +1,21 @@
1
+ name: element_type
2
+ abstract: true
3
+ description: >
4
+ A reusable element type (Revit "family type"): named defaults shared by every
5
+ instance whose `type_id` points at it. Type tables live in global/ only.
6
+ A type parameter is any field a type table shares by name with the instance
7
+ table (e.g. wall_type.thickness ↔ wall.thickness): an instance leaves it empty
8
+ to inherit the type's value, or sets it to override that one instance.
9
+
10
+ fields:
11
+ - name: id
12
+ type: string
13
+ required: true
14
+
15
+ - name: name
16
+ type: string
17
+ required: true
18
+ description: Display name, e.g. "Exterior - Concrete 200 + EPS 100".
19
+
20
+ - name: description
21
+ type: string
@@ -0,0 +1,16 @@
1
+ name: fenestration
2
+ abstract: true
3
+ description: Thermal performance of a door, window or curtain wall unit (whole unit, frame included).
4
+
5
+ fields:
6
+ - name: u_value
7
+ type: float
8
+ description: Thermal transmittance, W/(m²·K).
9
+
10
+ - name: shgc
11
+ type: float
12
+ description: Solar heat gain coefficient, 0-1.
13
+
14
+ - name: vt
15
+ type: float
16
+ description: Visible transmittance, 0-1.
@@ -0,0 +1,36 @@
1
+ name: foundation_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ type_of: [foundation]
6
+ description: >
7
+ Foundation type (Revit isolated / wall / pile families): kind and sizes
8
+ shared by the foundations that reference it, e.g. "Pad 2000 x 2000 x 600 C30"
9
+ or "Bored pile Ø600 x 15 m".
10
+
11
+ fields:
12
+ - name: kind
13
+ type: enum
14
+ values:
15
+ - pad
16
+ - strip
17
+ - raft
18
+ - pile_cap
19
+ - pile
20
+ description: Foundation kind the type's instances inherit (empty = from geometry).
21
+
22
+ - name: width
23
+ type: float
24
+ description: Pad size along X / pile diameter / strip width.
25
+
26
+ - name: length
27
+ type: float
28
+ description: Pad size along Y (empty = width); rectangular pile size along Y.
29
+
30
+ - name: thickness
31
+ type: float
32
+ description: Depth below the top face (pile = pile length).
33
+
34
+ - name: material_grade
35
+ type: string
36
+ description: Strength grade, e.g. C30.
@@ -0,0 +1,11 @@
1
+ name: furniture_type
2
+ bases:
3
+ - element_type
4
+ - furniture_params
5
+ type_of: [furniture]
6
+ description: >
7
+ A named library component (e.g. "Desk 1600 x 800"): family, variant and
8
+ default size shared by every furniture row whose type_id points here. Instance
9
+ rows keep their own position, rotation and mirror.
10
+
11
+ fields: []
@@ -0,0 +1,13 @@
1
+ name: layered_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ abstract: true
6
+ description: >
7
+ A type built from ordered layers (rows of type_layer.csv carrying this type's
8
+ id). `material` is the primary (core) material.
9
+
10
+ fields:
11
+ - name: thickness
12
+ type: float
13
+ description: Total thickness, meters. With layers it must equal their sum; leave it empty to derive it from the layers.
@@ -0,0 +1,40 @@
1
+ name: railing_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ type_of: [railing]
6
+ description: >
7
+ A railing type: height, top rail and infill shared by every railing whose
8
+ type_id points here. `material` is the rail and baluster material.
9
+
10
+ fields:
11
+ - name: height
12
+ type: float
13
+ description: Top of rail above the walking surface, m.
14
+
15
+ - name: top_rail_shape
16
+ type: enum
17
+ values:
18
+ - round
19
+ - rect
20
+ description: Top rail section (default round).
21
+
22
+ - name: top_rail_size
23
+ type: float
24
+ description: Top rail diameter / width, m (default 0.05).
25
+
26
+ - name: infill
27
+ type: enum
28
+ values:
29
+ - balusters
30
+ - glass
31
+ - none
32
+ description: Infill between the walking surface and the top rail (default balusters).
33
+
34
+ - name: baluster_spacing
35
+ type: float
36
+ description: Baluster centre spacing, m (default 0.12).
37
+
38
+ - name: baluster_size
39
+ type: float
40
+ description: Square baluster size, m (default 0.025).
@@ -0,0 +1,7 @@
1
+ name: roof_type
2
+ bases:
3
+ - layered_type
4
+ type_of: [roof]
5
+ description: Roof build-up. Unrelated to the roof's `roof_type` field (its shape - flat, gable, ...).
6
+
7
+ fields: []
@@ -0,0 +1,9 @@
1
+ name: slab_type
2
+ bases:
3
+ - layered_type
4
+ type_of: [slab, structure_slab]
5
+
6
+ fields:
7
+ - name: material_grade
8
+ type: string
9
+ description: Strength grade structure_slab instances inherit, e.g. C30.
@@ -0,0 +1,47 @@
1
+ name: type_layer
2
+ bases:
3
+ - materialized
4
+ description: >
5
+ One layer of a layered type (wall_type, slab_type, roof_type, ceiling_type).
6
+ `seq` 1 is the exterior face of a wall (its left side looking from start to
7
+ end, as in Revit for walls drawn clockwise) or the top face of a slab, roof
8
+ or ceiling.
9
+
10
+ fields:
11
+ - name: id
12
+ type: string
13
+ required: true
14
+
15
+ - name: type_id
16
+ type: reference
17
+ reference: element
18
+ required: true
19
+ description: The wall_type / slab_type / roof_type / ceiling_type this layer belongs to.
20
+
21
+ - name: seq
22
+ type: integer
23
+ required: true
24
+ description: Layer order, 1 = exterior / top.
25
+
26
+ - name: function
27
+ type: enum
28
+ required: true
29
+ values:
30
+ - core
31
+ - substrate
32
+ - insulation
33
+ - air_gap
34
+ - membrane
35
+ - finish
36
+
37
+ - name: thickness
38
+ type: float
39
+ required: true
40
+
41
+ - name: conductivity
42
+ type: float
43
+ description: Thermal conductivity λ, W/(m·K).
44
+
45
+ - name: name
46
+ type: string
47
+ description: Product name, e.g. "EPS 100", "Lime plaster".
@@ -0,0 +1,6 @@
1
+ name: wall_type
2
+ bases:
3
+ - layered_type
4
+ type_of: [wall, structure_wall]
5
+
6
+ fields: []
@@ -0,0 +1,31 @@
1
+ name: window_type
2
+ bases:
3
+ - element_type
4
+ - materialized
5
+ - fenestration
6
+ type_of: [window]
7
+
8
+ fields:
9
+ - name: width
10
+ type: float
11
+ required: true
12
+
13
+ - name: height
14
+ type: float
15
+
16
+ - name: operation
17
+ type: enum
18
+ values:
19
+ - fixed
20
+ - casement
21
+ - sliding
22
+ - awning
23
+ - hopper
24
+ - pivot
25
+ - double_hung
26
+ - single_hung
27
+ - tilt_and_turn
28
+
29
+ - name: frame_width
30
+ type: float
31
+ description: Visible frame width, meters.