Repository navigation
Description
Found while reworking the beam-end probe for #1839 (#2093). Read from the code, not yet measured on any file: no open model Measure reads has a column turned off the model's axes.
What the export does with a turned column
A column whose body is not its saved mesh is drawn as an axis-aligned rectangle at its record box's centre:
- Columns never get their instance's plan axis.
attach_instance_axes(RE-87) reads it for doors, windows and products only (src/research/partition_schema_mvp.rs). TURNED_BOX_EXCLUDED_CLASSESinsrc/ifc/export_content.rsleavesColumnandStructuralColumnout of the turned-box rule, because their type's section draws them.- That section is drawn without a turn. Where no section is joined, the record box is drawn as it is.
Measured on #2097 (run 44511799400, 101 models): this holds for columns drawn from a rectangular or hollow section or from the record box, not for I-section columns, which the export already draws turned by their own angle. On the Revit 2024 to 2027 saves of every file Measure reads (the older saves give the probe no column transform), the only columns more than 2 degrees off a multiple of 90 are six on Snowdon Towers Structural, and the export already draws them turned by their own angle (read from the code: the I-section route is the one column route in its record-body code that sets a rotation). So no open file has the case below, and a fix cannot be checked on one yet. At a quarter turn the record-box fallback is already right on 112 of the 120 columns with a mesh (such a column's box is its footprint), so a fix turns a type's section, never the fallback.
So for a w by d column turned by a from the model's axes:
| What is joined | What is drawn | Off by |
|---|---|---|
| The type's section | w by d, at no angle |
The right size, turned wrong by a |
| No section | The record box, w cos a + d sin a by w sin a + d cos a |
Too big: a square column at 4 degrees has 1 + sin 8° = 1.139 times its plan area, so 13.9 per cent more cross-section and volume |
Which columns take this path
On Revit 2023 to 2027 the default export draws a column from its saved mesh where it decodes (#1191), and that mesh is turned correctly. This path is for:
- columns whose saved graphics are refused or absent;
- every column of a file before 2023;
- an export made with
--no-saved-meshes.
How many columns that is on a turned model is not known. On #1839's model, the probe's outlines line from the S6 build will give the count of columns drawn from the saved mesh, the section and the box.
Done when
- Columns get their instance's plan axis, and the section is drawn turned by it. Where only the record box is known, the rectangle comes from
turned_boxas for other instances (RE-87), refused near 45 degrees as there. - It is measured before it lands:
- The rows are registered first.
- A count of turned columns on Autodesk's samples (the instance transform's plan angle,
OST_ColumnsandOST_StructuralColumns). - Each column's section, as drawn and turned by the column's transform, set against its saved mesh in the same file, which is drawn turned as Revit draws it (probe(probes): count turned columns and set the section the export draws, as drawn and turned, against the saved mesh (#2096) #2097). Turning the probe's readings of the BIM4LCA files by a known angle, as research(elements): the beam-end probe reads each end along the beam's own line by the column's own outline, and checks itself on a model it turns (#1839) #2093's turn check does, shows only that the rule gives the same answer at any angle, not that the answer is Revit's.
- Any Revit export with a turned column, scored by
mesh_bodies_vs_ifc.
CrossSectionAreaandNetVolumeof such a column follow the turned shape, or are left out where the shape is not known.
Activity
probe(probes): the #2096 probe doc ends its field list before the tal…
probe(probes): the #2096 probe prints each column section and mesh ou…