Skip to content

Beams run to the ends of their location line, where Revit's export cuts them back at the columns they frame into (#1829) #1839

Open

Description

@DrunkOnJava

Found by HWT-25's report (#1829) on a confidential Revit 2027 structural model (CHL): a concrete frame, read with 0.18.0 and compared with Revit's IFC4 export.

What happens.

  • Only 275 of 694 beams match Revit's box and volume.
  • The rest come out longer, by a median of about 475 mm. They run to the ends of their location line, where Revit's export cuts them back at the columns they frame into.
  • Shear walls modelled as structural columns do not cut the beams either.
  • In the reporter's clash run, this adds about 160 clashes that Revit's IFC does not give.

What the reader does. A beam's body runs along the line its record holds: partition_beam_axis (604 of CHL's beams) and partition_beam_box_along_axis (310). No join between a beam and a column is read.

To find out first:

  • Where Revit keeps the cutback. Either the beam's own record (its join cutbacks, or the line's ends) holds it, or only the joined geometry does.
  • Whether the saved mesh of a cut beam is the cut body. On CHL, the saved-mesh export matched 72.6% of elements, against 18.7% without saved meshes.
  • Which measured models have beams framing into columns in Revit's export, so that a rule can be scored. The BIM4LCA offices' 291 beams (RE-428) are one candidate.

Done when the beams Revit cuts at a column are cut by the same amount on the measured models. If no record holds the cut, the negative is reported.

Activity

  1. added
    area:geometry
    type:feature
    on Nov 12, 2026
  2. HWT-25 commented on Nov 13, 2026

    @HWT-25

    The beam lengths, measured again against Revit's export of the same save.

    The numbers in this issue come from my first report. That report compared against an export eight days older than
    the .rvt. I measured the beams again on 0.21.0 (default export) against Revit's export of the same save, the one
    from #1838 (NumberOfSaves: 14).

    The difference holds, and it is the concrete frame. For each beam, I took the longer horizontal side of its box,
    rvt-rs minus Revit:

    Beams In both Longer (> 10 mm) Same (± 10 mm) Shorter
    Concrete frame 719 396 323 0
    Steel roof 195 4 191 0
    • How much longer: of the 396 longer concrete beams, the median is 296 mm. Half fall between 215 and 496 mm, and
      the longest is 1,294 mm over.
    • What changes from the issue: the issue's 475 mm median was measured another way, against the older export, so
      these numbers are the ones to use. No beam comes out shorter.
    • The steel roof: its 4 longer beams are about 22 mm over.

    I have not run the clash count again against the same-save export, so the "about 160 clashes" is still the old
    figure.

  3. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    @HWT-25, thank you: these replace the figures in the issue, and the table is the target.

    The pattern is the one RE-122 found: Revit's export stops a beam at the near face of the column its record names, where rvt-rs's box runs to the line's end, which is the column's centre. That rule ships for Revit 2023. It is off for 2024 and later because, in the Snowdon Towers structural sample, most steel beams stop a stored join cutback short of the face (1/2" or 1-1/2") and nothing read says when Revit applies it; the 32 concrete beams of that survey stopped at the face exactly. A concrete frame is the case where the face alone could be exact, and 396 beams longer with none shorter is the shape the face rule would explain; whether the amounts are the half-widths of the columns they frame into is what the probe measures.

    The next step, before any change: a probe that lists, for every beam end held by exactly one named column, how far the column's near face is from the line's end, scored against Revit's box on the BIM4LCA models that have concrete beams and columns. If the face is exact there, a rule for concrete frames on 2024 and later is written with rows; if not, the negative is reported. It runs after the storey change of #1842, and I will post its rows here before it runs.

  4. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    Rows for the probe run, registered before it is dispatched and before any result is read.

    What runs. A probe, probe_1839_beam_column_ends, and its scorer, beam_ends_vs_ifc, on branch research/1839-beam-column-ends (no change to any export). For every placed structural framing record the probe prints its box along the longer plan axis, the columns its list names that hold each end, and the bounds RE-122's rule (beam_column_trims, shipped for Revit 2023) gives; the scorer meshes Revit's beam in its own frame and counts the beams by how Revit's length stands to the record box's (the same within 1 mm, shorter, longer) and, for the beams the rule cuts, whether the trimmed length is Revit's. On the BIM4LCA models of Measure that have beams and columns and Revit's export: the concrete and timber offices (as built and at permit) and the concrete and timber housing.

    Rows.

    1. The probe and the scorer run on every model asked for and exit 0.
    2. The phenomenon is there to be tested. At least one open model has beams that Revit makes shorter than the record box by more than 1 mm. If none does, these models cannot test a rule for 2024 and later and that is the result: the face rule stays unmeasured there, and your model's own counts after a candidate change are the only check.
    3. Where Revit shortens a beam and the rule gives bounds, the trimmed length is Revit's (within 1 mm) for every such beam of a class, and the class has at least 10. RE-122 found concrete beams exact at the face and steel beams short of it by a stored cutback; the timber and concrete beams of these models are the first test of which side glulam falls on. A rule for a class is written only where this holds; a class with a miss is reported with the misses.
    4. No beam is cut where Revit does not cut it: for the beams Revit leaves at the record box's length, the rule gives no bounds (0 cut too far or cut where Revit does not).
    5. Nothing is exported differently.
  5. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    The first probe run, read: 43450655901 (c5ea03f, the ten BIM4LCA models that have Revit's export, 300 beams). Rows 1, 2 and 5 hold; rows 3 and 4 do not, and the open models cannot test the column rule.

    1. Holds. The probe and the scorer exit 0 on all ten models.
    2. Holds as written. Revit's beam is shorter than the record box on 25 beam-saves (13 beams: 1 on the concrete housing, 11 on the timber housing, 1 on the permit save of the timber office) and longer on 2.
    3. Does not hold: the class has 1 beam, not 10. The beams of the two timber office files are the only ones of the ten models whose list names a column, and the rule gives bounds on 60 of them per file. Revit's beam is the record box's length (within 1 mm) on 118 of the 120 beam-saves the rule gives bounds for, and on 116 of those the bounds are the box's own ends, so the rule changes nothing. The one beam Revit shortens that the rule reaches (3346643, permit save) is exact: Revit 18.479 ft, the rule 18.479 ft, the box 18.834 ft. The other 12 beams Revit shortens name no column.
    4. Does not hold: one beam is cut where Revit does not cut it. Beam 3360608 of the timber office has the box and Revit at 18.940 ft on both files, and the rule would cut it to 18.184 ft, 230 mm short.
    5. Holds. Nothing is exported differently.

    What it means. In these models the record box of a beam that frames into a column already ends where Revit's body ends (at the column's near face), so there is no cut for the rule to make. The pattern of your model, a box that runs to the line's ends inside the column, is not in any of the ten models of this run, and a rule for it cannot be written from them: for 2024 and later the face rule stays unmeasured, and a run on your own model is the test. Once the probe is on main I will ask for it, with the exact commands; for a confidential model the scorer prints counts only (without --list), and its first table answers the question.

    The second run. The 13 beams Revit does shorten are shorter by 2 mm (3 beams), 50 mm (2), 96 mm (6), 108 mm (1) and 2,320 mm (1), and 12 of them name no column. The probe now also records, for columns, walls and other beams, how many each beam's list names, how many hold an end and where the beam would stop if the one element holding the end cut it (870b4276).

    Rows, registered before it is dispatched.

    1. The probe and the scorer run and exit 0 on the same ten models.
    2. For the beams Revit shortens, the scorer counts how many name an element of each kind, how many have one that holds an end and how many get bounds from it. No result is expected; the counts are the finding.
    3. A kind is carried into a rule only where it gives bounds on the shortened beams, the cut length is Revit's within 1 mm for every one of them, those beams number at least 10, and it cuts no beam that Revit leaves at the record box's length. A kind with a miss is reported with its misses and nothing is written for it.
    4. Nothing is exported differently.
  6. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    @HWT-25, the beam-end probe and its scorer are on main (#1917, report RE-455), and what they found on our models is the reason to ask you for a run.

    What we found. On the ten BIM4LCA models that have Revit's export, the record box of a beam that names a column already ends at the column's near face: Revit's beam is the box's length on 118 of the 120 beams the column rule reaches, so there was no cut for the rule to make. The pattern of your model, a box that runs to the line's ends inside the column, is in none of them. The column face can therefore be tested only on your model.

    What to run (only counts leave your machine).

    1. Download the Windows build from the run: probe_1839_beam_column_ends-gd90c1fa8-x86_64-pc-windows-msvc, with its SHA256SUMS.
    2. probe_1839_beam_column_ends.exe CHL.rvt > beams.txt, on the save you compared with Revit's export. beams.txt has one line per beam with ElementIds and lengths: keep it on your machine.
    3. python tools/re/beam_ends_vs_ifc.py beams.txt <Revit's export of the same save>.ifc, from a checkout or download of main (it needs pip install ifcopenshell). Without --list it prints only lines that start beam ends: and hold counts: post those.

    What the lines say. Revit's beam against the record box (the same within 1 mm, shorter, longer). For the beams Revit makes shorter than the box: whether the 2023 column rule gives bounds, and whether its cut length is Revit's (exact), too far or too little; the same for each kind of element a beam's list names (column, wall, beam); and how many beams Revit leaves at the box's length that a kind would cut anyway, which should be none. If the column's near face is where Revit stops your beams, column ... exact is most of the 396 you measured longer.

  7. HWT-25 commented on Nov 13, 2026

    @HWT-25

    The beam-end probe on CHL: the column face cuts most of the shortened beams too far.

    Run on the same save as before, against Revit's export of that save. I used the Windows build from run 43460256185
    (SHA256 checked) and beam_ends_vs_ifc.py at d90c1fa. The .rvt and the IFC hashes are the same before and after.
    The scorer's lines, as printed (without --list):

    beam ends: 915 beams in the probe, 915 with a body in Revit's export, 0 square in plan (not scored)
    beam ends: Revit's length against the record box's, and whether the rule gives bounds:
    beam ends:   Revit longer   rule gives none    188
    beam ends:   Revit same     rule gives bounds  76
    beam ends:   Revit same     rule gives none    113
    beam ends:   Revit shorter  rule gives bounds  361
    beam ends:   Revit shorter  rule gives none    177
    beam ends: the beams the rule cuts, against Revit's length (Revit's length against the record box's, verdict):
    beam ends:   Revit same     cut too far    76
    beam ends:   Revit shorter  cut too far    310
    beam ends:   Revit shorter  cut too little 49
    beam ends:   Revit shorter  exact          2
    beam ends: the beams the rule gives no bounds, by what they name (columns named, held at the low/high end):
    beam ends:   Revit longer   names 0 column(s), holds 0/0       188
    beam ends:   Revit same     names 0 column(s), holds 0/0       69
    beam ends:   Revit same     names 2 column(s), holds 0/0       20
    beam ends:   Revit same     names 1 column(s), holds 0/0       10
    beam ends:   Revit same     names 2 column(s), holds 1/1       9
    beam ends:   Revit same     names 3 column(s), holds 1/1       1
    beam ends:   Revit same     names 6 column(s), holds 1/1       1
    beam ends:   Revit same     names 5 column(s), holds 1/1       1
    beam ends:   Revit same     names 4 column(s), holds 0/0       1
    beam ends:   Revit same     names 3 column(s), holds 2/2       1
    beam ends:   Revit shorter  names 0 column(s), holds 0/0       61
    beam ends:   Revit shorter  names 2 column(s), holds 0/0       42
    beam ends:   Revit shorter  names 3 column(s), holds 0/0       14
    beam ends:   Revit shorter  names 1 column(s), holds 0/0       13
    beam ends:   Revit shorter  names 1 column(s), holds 1/1       9
    beam ends:   Revit shorter  names 4 column(s), holds 0/0       7
    beam ends:   Revit shorter  names 3 column(s), holds 1/1       6
    beam ends:   Revit shorter  names 2 column(s), holds 1/1       6
    beam ends:   Revit shorter  names 3 column(s), holds 1/2       5
    beam ends:   Revit shorter  names 5 column(s), holds 0/0       3
    beam ends:   Revit shorter  names 4 column(s), holds 0/2       2
    beam ends:   Revit shorter  names 7 column(s), holds 2/2       1
    beam ends:   Revit shorter  names 3 column(s), holds 2/1       1
    beam ends:   Revit shorter  names 4 column(s), holds 1/1       1
    beam ends:   Revit shorter  names 7 column(s), holds 2/1       1
    beam ends:   Revit shorter  names 2 column(s), holds 0/2       1
    beam ends:   Revit shorter  names 3 column(s), holds 2/0       1
    beam ends:   Revit shorter  names 5 column(s), holds 2/1       1
    beam ends:   Revit shorter  names 6 column(s), holds 0/0       1
    beam ends:   Revit shorter  names 3 column(s), holds 2/2       1
    beam ends: the 538 beams Revit makes shorter than the record box, by the kind of element their list names:
    beam ends:   column names 477, holds an end 397, gives bounds 364 (exact 3, cut too far 309, cut too little 52)
    beam ends:   wall   names 17, holds an end 0, gives bounds 0 (exact 0, cut too far 0, cut too little 0)
    beam ends:   beam   names 468, holds an end 410, gives bounds 365 (exact 12, cut too far 192, cut too little 161)
    beam ends: the beams Revit leaves at the record box's length or makes longer, cut by a kind of element (cut where Revit does not):
    beam ends:   column same 75, longer 0
    beam ends:   wall   same 0, longer 0
    beam ends:   beam   same 42, longer 0
    beam ends: Revit's beam is shorter than the record box by a median 256 mm (quartiles 129 and 433, longest 1294) on 538 beams
    

    What I read in it (you will know better):

    • Why it says 538 shorter, not the 396 I posted: the scorer counts within 1 mm, on Revit's body in its own frame.
      My table used 10 mm, on the plan box.

    • The column face is not where Revit stops these beams. The 2023 rule gives bounds on 361 of the 538 beams Revit
      shortens, and its length is exact on 2 (310 cut too far, 49 too little). Over the 361:

      • Revit's length minus the rule's has a median of 108 mm, with quartiles 20 and 503 mm.
      • The rule shortens them by a median of 559 mm, while Revit shortens them by 261 mm.
      • It would also cut 76 beams that Revit leaves at the box's length.
    • The beam kind is no closer: 12 exact of 365.

    • A guess, not a measurement: some of this model's structural columns are shear walls (long or L-shaped
      sections). The beams frame into them, so the near face of a column's box may not be where a beam meets the column.

    • By material (from the family names in Revit's export):

      Material Shorter Same Longer
      Concrete 529 179 12
      Steel roof and other 9 10 176

      The 188 beams Revit makes longer (176 of them steel) name no column, and are longer by a median of 13 mm.

  8. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    @HWT-25, thank you: this is the answer we needed, and it settles the column-face rule.

    The rule is not Revit's on CHL, and it is not shipped. It gives bounds on 361 of the 538 beams Revit shortens and is exact on 2: it cuts 310 of them too far (a median 559 mm where Revit takes 261 mm) and would shorten 76 beams that Revit leaves at the box's length. On the ten BIM4LCA models the same rule changes nothing on 116 of 118 beams (RE-455), so no file we hold could have shown it right either. rvt-rs's beams on CHL are unchanged by this.

    What your table adds.

    • The 188 beams Revit makes longer are steel roof members that name no column, longer by a median 13 mm. That is another case than the concrete shortening, and the record box is not their question.
    • On the concrete beams, a column face in the wrong place on 310 of 361 fits your guess about the columns. The probe takes a column's axis-aligned record box, whose near face lies beyond the real section's face when the column is turned or L-shaped, so a rule built on it over-cuts.

    Next, on our side. A probe that cuts each beam's axis with the column's actual plan section (the profile the export draws for it) instead of its box, scored with the same table. I will name it here when it is on main, so you can run it the way you ran this one. Nothing is needed from you until then.

  9. 38 remaining items

  10. DrunkOnJava commented on Nov 19, 2026

    @DrunkOnJava
    OwnerAuthor

    Thank you, @HWT-25. Row 3 applies, as you say: every extent on CHL is read from the column's section, and it is within 1 per cent of the chord on only 9 of 21 in-line ends and 47 of 703 oblique ones.

    Your reading is where I am starting: an extent taken along a plan axis of rvt-rs's frame, not along the beam, on a structure turned about 4 degrees. It fits both the plan-axis line of your earlier post (538 of 703) and the rectangular columns that still come out long: 185 of the 339 oblique ends on a rectangle are on a column in line with its beam, yet only 7 of the 339 are within 1 per cent.

    I am reading the probe's section extent now, and I will check the fix on a model I can turn myself before I ask you for anything. There is nothing for you to run until I post a build here.

  11. DrunkOnJava commented on Nov 19, 2026

    @DrunkOnJava
    OwnerAuthor

    @HWT-25, here is the build I said I would post. Your reading was right, and it was the probe.

    What was wrong. The probe took the rectangle the export draws for a column as the column's section, but the export draws many columns as their record box. On a column turned with the structure, that box is the axis-aligned box around it, so it is longer along the beam. The probe also cut that box along a plan axis instead of along the beam, and placed the end of the beam's box instead of the end of its line. For a column in line with a beam turned 4 degrees, the box's extent over the true chord comes out at 1.07 for a square column and more for a longer one, and never under 1. That is your 308 of 339 above 1.01 with none under 0.99.

    The new fields. line_low and line_high read each end along the beam's own line, against the column's own outline: the plan outline of the column's saved mesh where it decodes, else the section the export draws where that is not the box, else the box, each labelled.

    Checked on a model I turned myself first. The probe now turns the whole model by 4 degrees itself and reads every end again. On the BIM4LCA timber office (as built and at permit), every end read from a saved mesh comes out the same after the turn, 67 of 67 and 56 of 56, and is within 1 per cent of Revit's chord on the model as it is. The old fields on the turned model reproduce your finding: 66 of 66 and 56 of 56 above 1.01, none under 0.99. The rows and the counts are on #2093.

    What to run, once, on the same save.

    1. The Windows build from run 44486526184: probe_1839_beam_column_ends-g857f7f06-x86_64-pc-windows-msvc, with its SHA256SUMS (857f7f06).
    2. The scorer at the same commit: tools/re/beam_ends_vs_ifc.py (one file, the same pip install ifcopenshell numpy).
    3. Post the beam ends: lines as before. There are new ones: the probe's outlines and two turncheck lines, and the S6 lines.

    Rows, registered before you run it.

    1. The probe exits 0 and the scorer reads Revit's export, and every line of your last post is the same, apart from the added lines.
    2. If at least 90 in 100 of the ends read from a saved mesh are within 1 per cent of Revit's chord, in both the in-line and the oblique group, the column's extent is right where the column's own outline is read. What is left is where Revit stops the beam, and that is what I read next.
    3. If it is under 90 in 100 in either group, the column's mesh outline is not its section at the beam, for example a column whose section changes with height. The next step is then to read the outline at the beam's own height.
    4. Where the outlines come from (mesh, section, box) and the end table are reported as they come.

    Counts and fixed words only, as before.

  12. HWT-25 commented on Nov 19, 2026

    @HWT-25

    S6 on CHL: row 1 holds; row 3 applies on the oblique beams, but mostly not for a section that changes with height.

    Same save and same Revit export as my last posts. The model has been saved again since, so I ran the probe on
    Revit's backup of that save, which is byte-identical to the file of my earlier runs (same SHA256). Probe: the Windows
    build of 857f7f06 from run 44486526184 (SHA256 checked); scorer at the same commit. The .rvt and the IFC hashes
    are the same before and after.

    beam ends: the probe's outlines mesh=380 section=0 box=340
    beam ends: the probe's turncheck degrees=4 line ends=1098 same=305 largest_t=0.287060168 largest_extent=3.840303027 mesh=305/305 mesh_largest_t=0.000000000 mesh_largest_extent=0.000000000 section=0/0 box=0/793
    beam ends: the probe's turncheck degrees=4 s5 extent over the chord: under 0.99 0; within 1 per cent 11; 1.01 to 1.1 121; 1.1 to 1.5 91; over 1.5 12; no s5 extent 70
    beam ends: S6, each end by the beam's own line and the column's own outline (the probe's line_* fields), beside the chord of Revit's beam line through Revit's column:
    beam ends:   S6, 1098 beam ends the probe's line names a column for
    beam ends:   S6, 1098 of those the export draws the column of
    beam ends:   S6, 97 of those, ends whose line crosses no face of Revit's column
    beam ends:   S6, beams in line with a plan axis, the line's extent over the chord: within 1 per cent 9; over 1.5 10; chord under 1 mm 2
    beam ends:   S6, beams in line with a plan axis, the line's extent over the chord, outline from the column's saved mesh: within 1 per cent 6
    beam ends:   S6, beams in line with a plan axis, the line's extent over the chord, outline from the column's record box: within 1 per cent 3; over 1.5 10; chord under 1 mm 2
    beam ends:   S6, beams oblique to the plan axes, the line's extent over the chord: 0.9 to 0.99 4; within 1 per cent 227; 1.01 to 1.1 196; 1.1 to 1.5 230; over 1.5 255; chord under 1 mm 68
    beam ends:   S6, beams oblique to the plan axes, the line's extent over the chord, outline from the column's saved mesh: 0.9 to 0.99 2; within 1 per cent 193; 1.01 to 1.1 4; 1.1 to 1.5 11; over 1.5 46; chord under 1 mm 16
    beam ends:   S6, beams oblique to the plan axes, the line's extent over the chord, outline from the column's record box: 0.9 to 0.99 2; within 1 per cent 34; 1.01 to 1.1 192; 1.1 to 1.5 219; over 1.5 209; chord under 1 mm 52
    beam ends:   S6, Revit shorter  beam, outline from the column's saved mesh, 146 ends, the line's end -> Revit's end in the chord: short -> near 2; near -> near 4; near -> 0-.5 1; 0-.5 -> short 3; 0-.5 -> near 1; 0-.5 -> 0-.5 4; 0-.5 -> .5-1 1; 0-.5 -> far 2; 0-.5 -> beyond 2; centre -> near 65; centre -> 0-.5 1; centre -> centre 6; centre -> .5-1 1; centre -> far 6; centre -> beyond 21; .5-1 -> short 1; .5-1 -> near 9; .5-1 -> .5-1 5; .5-1 -> far 11
    beam ends:   S6, Revit shorter  beam, outline from the column's record box, 649 ends, the line's end -> Revit's end in the chord: short -> beyond 1; near -> near 3; 0-.5 -> short 14; 0-.5 -> near 73; 0-.5 -> 0-.5 18; 0-.5 -> centre 1; 0-.5 -> .5-1 2; 0-.5 -> far 23; 0-.5 -> beyond 15; centre -> short 5; centre -> near 179; centre -> 0-.5 54; centre -> centre 9; centre -> .5-1 3; centre -> far 35; centre -> beyond 20; .5-1 -> short 18; .5-1 -> near 71; .5-1 -> 0-.5 8; .5-1 -> .5-1 34; .5-1 -> far 33; .5-1 -> beyond 11; far -> short 2; far -> near 4; far -> 0-.5 2; beyond -> short 5; beyond -> near 1; beyond -> beyond 5
    beam ends:   S6, Revit same     beam, outline from the column's saved mesh, 132 ends, the line's end -> Revit's end in the chord: short -> short 2; short -> near 82; short -> far 1; short -> beyond 1; near -> 0-.5 4; near -> beyond 2; 0-.5 -> 0-.5 2; 0-.5 -> beyond 3; centre -> centre 22; centre -> far 2; centre -> beyond 3; .5-1 -> .5-1 6; beyond -> short 2
    beam ends:   S6, Revit same     beam, outline from the column's record box, 72 ends, the line's end -> Revit's end in the chord: short -> near 10; near -> near 3; near -> 0-.5 1; 0-.5 -> short 4; 0-.5 -> near 1; 0-.5 -> 0-.5 2; 0-.5 -> .5-1 1; 0-.5 -> far 2; 0-.5 -> beyond 3; centre -> centre 5; centre -> far 3; .5-1 -> short 2; .5-1 -> near 4; .5-1 -> 0-.5 7; .5-1 -> .5-1 9; .5-1 -> far 6; .5-1 -> beyond 6; far -> short 1; far -> near 1; far -> far 1
    
    1. Holds. The probe exits 0 and the scorer reads Revit's export, and every line of my last post is the same
      (diffed: no old line changes; these 17 are added).
    2. Holds in line, not oblique. Of the ends read from a saved mesh, the line's extent is within 1 per cent of the
      chord on 6 of 6 in-line ends, and on 193 of 272 oblique ends (71 in 100; 16 of the 272 have a chord under 1 mm).
    3. So this row applies, on the oblique group.
    4. As they come: outlines from a saved mesh on 380 columns and from the box on 340, none from the section; on
      the turned model the mesh-read ends are the same on 305 of 305 and the box-read ones on 0 of 793. Most ends here
      (723 of 1,001 with a chord) are read from a box.

    What I read in it (you will know better):

    • The misses on a mesh outline are mostly not a section that changes with height. I tied the 272 mesh-read
      oblique ends to the body Revit's export draws for their column. 232 are on columns drawn as an extrusion of a
      four-corner outline with right angles, a prism of one section all the way up: 182 within 1 per cent, none from 1.01
      to 1.1, 6 from 1.1 to 1.5, 33 over 1.5 and 11 with no chord. The other 40: 32 ends on extrusions
      of an outline with more than four corners (10 within) and 8 on the one column drawn as an IfcPolygonalFaceSet
      (1 within).
    • On those prisms it splits by the column's turn against its beam. 160 of the 182 within 1 per cent are on a
      column in line with its beam (within half a degree). Of the 33 over 1.5, 32 are on a column turned from its beam:
      23 by up to 5 degrees, 7 by up to 15 and 2 by up to 40. On a prism in line with the beam any line along it gives
      the column's full depth, so these large ratios look like the probe's line and Revit's beam line crossing a turned
      column at different places. I have not checked that.
  13. DrunkOnJava commented on Nov 19, 2026

    @DrunkOnJava
    OwnerAuthor

    Thank you, @HWT-25. Read against the rows:

    1. Holds.
    2. Holds in line, 6 of 6; not oblique, 193 of 272 within 1 per cent.
    3. Applies, as registered. But the step it names, reading the outline at the beam's own height, does not fit what you found: 232 of the 272 are on prisms of one rectangular section all the way up, and 32 of the 33 over 1.5 are on a column turned from its beam. A section that changes with height cannot explain those.

    Your reading, and where it can come from on our side. The probe's extent is a true chord of the column's outline along the beam's line, so I looked at the scorer's side first. The scorer draws Revit's beam line through the centres of the beam's two end caps: the vertices at each end of the beam's longest direction. Where Revit cuts a beam back to the face of a column turned against it, that end is oblique. Its end vertices then sit on one side of the beam, so the scorer's line runs along that side. Through a turned column, a line near the beam's side can cross near a corner, where the chord is short. That would put the large ratios on turned columns, as you found for 32 of the 33. Whether Revit cuts these ends obliquely is not known; this run tests it.

    What the scorer now adds, at 0eeeabb8:

    • S6 middle line: the same extents set over the chord along the beam's middle line, through the middle of its extent across in plan and up, beside the caps' line. An end whose middle line crosses no face of the column is counted apart.
    • S6 offsets: for each end read from a saved mesh and off the caps' chord by more than 1 per cent, how far the caps' line is from the middle line at that end, and whether the extent is longer than the column's longest chord along any line parallel to the middle line.

    Checked before posting.

    • On the BIM4LCA timber office, as built and at permit (run 44577034237, at 4182b733), the middle line gives the caps' line's counts: 67 and 42 ends, and 56 and 40, all within 1 per cent. Every beam there is in line with its column, where any line across the column gives its full depth, so this shows the new lines run, not that the middle line is placed right.
    • No end there is off the chord, so I forced the offsets branch locally with the 0eeeabb8 file, which differs from 4182b733 only in counting middle-line misses apart, on copies of that run's probe output as built. With three mesh-read extents doubled and three halved, the doubled ones came out longer than every parallel chord, the halved ones not, and none was within 1 per cent of the middle line's chord. With every mesh-read extent doubled, the caps' line was within 0.05 ft of the middle line at all 67 ends.
    • So no obliquely cut end has been read on any file yet: yours is the first.
    • On the unforced output, the 857f7f06 and 0eeeabb8 scorers print the same lines apart from the added ones.

    What to run, once, on the same probe output. Nothing needs building:

    1. The scorer at 0eeeabb8: tools/re/beam_ends_vs_ifc.py (one file, the same pip install ifcopenshell numpy), against the same Revit export.
    2. Post the beam ends: lines that start S6 middle line and S6 offsets.

    Rows, registered before you run it.

    1. Every line of your last post is the same, apart from the added lines.
    2. Of the oblique ends read from a saved mesh whose middle line crosses the column, if at least 90 in 100 are within 1 per cent, the misses were the scorer's line, not the probe's. That total will differ from your 272, since it also counts ends whose caps' line crossed no face; the middle-line misses are counted apart. The probe's extent is then right where the column's own outline is read, and what is left is where Revit stops the beam, which is what I read next.
    3. If under 90 in 100 are, the S6 offsets line is read on its own counts: the ends read from a saved mesh and off the caps' chord by more than 1 per cent, which leaves out those whose caps' chord is under 1 mm. Of those:
      • an extent longer than every parallel chord means the outline itself differs from Revit's column at the beam, and that is what I read next;
      • one no longer than the longest is consistent with a line that crosses the column elsewhere, which this does not show.
    4. The middle-line counts for the record-box ends, the offset bins and the ends whose middle line crosses no face are reported as they come.

    Counts and fixed words only, as before.

  14. HWT-25 commented on Nov 20, 2026

    @HWT-25

    S6 middle line on CHL: row 1 holds, and row 2 holds: the misses were the scorer's line.

    Same probe output as my last post (the 857f7f06 build on the same save) and the same Revit export; the scorer is
    0eeeabb8. Nothing was rebuilt. The IFC and probe output hashes are the same before and after.

    beam ends:   S6 middle line, beams in line with a plan axis, the line's extent over the chord of the beam's middle line: within 1 per cent 9; 1.1 to 1.5 1; over 1.5 12
    beam ends:   S6 middle line, beams in line with a plan axis, the line's extent over the chord of the beam's middle line, outline from the column's saved mesh: within 1 per cent 6
    beam ends:   S6 middle line, beams in line with a plan axis, the line's extent over the chord of the beam's middle line, outline from the column's record box: within 1 per cent 3; 1.1 to 1.5 1; over 1.5 12
    beam ends:   S6 middle line, beams oblique to the plan axes, the line's extent over the chord of the beam's middle line: 0.9 to 0.99 3; within 1 per cent 423; 1.01 to 1.1 352; 1.1 to 1.5 170; over 1.5 123; middle line crosses no face of Revit's column 5
    beam ends:   S6 middle line, beams oblique to the plan axes, the line's extent over the chord of the beam's middle line, outline from the column's saved mesh: 0.9 to 0.99 1; within 1 per cent 291; 1.01 to 1.1 4; 1.1 to 1.5 2; middle line crosses no face of Revit's column 1
    beam ends:   S6 middle line, beams oblique to the plan axes, the line's extent over the chord of the beam's middle line, outline from the column's record box: 0.9 to 0.99 2; within 1 per cent 132; 1.01 to 1.1 348; 1.1 to 1.5 168; over 1.5 123; middle line crosses no face of Revit's column 4
    beam ends:   S6 offsets, beams oblique to the plan axes, outline from the column's saved mesh, 63 ends off the caps' chord by more than 1 per cent: longer than every parallel line's chord by over 1 per cent 4; no longer than the longest parallel line's chord 59; the caps' line from the middle line at the end 0.05 to 0.2 ft 29; the caps' line from the middle line at the end 0.2 to 0.5 ft 22; the caps' line from the middle line at the end over 0.5 ft 9; the caps' line from the middle line at the end under 0.05 ft 3; within 1 per cent of the middle line's chord 56
    
    1. Holds. Every line of my last post is the same (diffed: no old line changes; these 7 are added).
    2. Holds. Of the oblique ends read from a saved mesh whose middle line crosses the column, 291 of 298 are
      within 1 per cent of the middle line's chord (98 in 100). One more end's middle line crosses no face of it,
      counted apart. In line, 6 of 6 as before.
    3. Not needed by row 2, but as it comes: of the 63 mesh-read oblique ends off the caps' chord by more than 1 per cent,
      56 are within 1 per cent of the middle line's chord, 59 are no longer than the longest parallel chord and 4 are
      longer than every one. The caps' line is 0.05 ft or more from the middle line at 60 of the 63 ends.
    4. As they come: the lines above. On the record-box ends the middle line gives 132 of 777 oblique within
      1 per cent (and 3 of 16 in line).

    What I read in it (you will know better): it fits your reading. Where an end is cut against a turned column, the
    line through the caps' centres runs off the beam's middle, and through the middle line the probe's mesh extent is
    the column's chord on almost every end. What is left on the mesh-read ends is small: 7 of the 298 outside 1 per cent, and 4 ends
    longer than every parallel chord of their column. The record-box ends are still long, as the box of a turned column would be.

  15. DrunkOnJava commented on Nov 20, 2026

    @DrunkOnJava
    OwnerAuthor

    Thank you, @HWT-25. Read against the rows:

    1. Holds.
    2. Holds: 291 of 298 oblique ends read from a saved mesh are within 1 per cent of the middle line's chord. The misses were the scorer's line, and the probe's extent is right where the column's own outline is read. Not read: the 7 of 298 outside 1 per cent, and the 4 ends longer than every parallel chord of their column.

    Your record-box ends are also the first measurement of #2096 (the export draws a turned column with no saved mesh as the axis-aligned box around it): on the middle line, 132 of 777 oblique ends are within 1 per cent, and 3 of 16 in line.

    What is left is where Revit stops the beam, as registered. The S6, Revit shorter/same beam tables of your 19 November post cannot settle it. They put Revit's end on the caps' line, the line row 2 has just shown runs off the beam's middle where an end is cut against a turned column. Read as they are, on the mesh-outline ends whose line runs into the column and does not already end at its near face, they put 75 of 177 of Revit's ends at the near face, and 22 centre -> centre on beams Revit leaves at the record length. That is reason to expect the near face is not the whole rule, so the round below is set to say what the file can tell the cases apart by.

    What the scorer adds, at 06200dbf:

    • S6 middle line ends. Revit's end is where the middle line leaves the beam's own mesh, at the end nearer the column, not a cap's centre. It is set as a fraction of the chord of Revit's column along that line. The ends are counted by where the probe's line ends and where Revit's beam ends, as in the caps' tables. For outlines from a column's saved mesh, the counts are also split by whether the beam is narrower than, about as wide as or wider than the column, and by how far the column is turned from the beam.
    • S6 middle line row. The same ends, by where the probe's line ends: inside the column, already at its near face, short of it or past it. A beam Revit shortens also has the end it does not cut, so the row is on ends, not beams, and a line that already ends at the near face is counted apart, since it tests no cut. For each group it counts Revit's ends at the column's near face within 2 per cent of the chord and within 1 mm, and bins them by their distance from the face in millimetres (within 1, 1 to 5, 5 to 15, 15 to 50, over 50), short of the face and inside the column apart, since a fixed setback would gather in one of those bins while the fraction bins move with the column's size. For outlines from a column's saved mesh, it also splits the ends by how many of the beam's named columns hold the end (the probe's held_*, from their record boxes): that is a test an exporter can make from the file.
    • A hollow or channel section has no material on its middle line. There, Revit's end is read where the beam's mesh crosses the middle line's vertical plane, and those ends are counted.

    Checked before posting.

    • A scratch model with a known answer: five beams into columns turned 10 degrees.
      • A beam cut back obliquely to the column's face reads near, within 1 mm.
      • One as wide as the column, cut back the same way, reads near.
      • A hollow tube square-ended at the face reads near, its end read in the vertical plane.
      • One stopped 10 mm short of the face, cut parallel to it, reads short of the face 5 to 15 mm.
      • One run to the column's centre reads centre, more than 50 mm inside.
      • The caps' tables read the same on the four that reach the face or the centre. On the three cut back to the face, Revit's end cap lies on the face itself, so it reads near whichever line passes through it. So the scratch shows the new table reads right; it does not show the two tables apart.
    • On the BIM4LCA timber office, as built and at permit (run 44715802386, at 06200dbf), the middle line's table equals the caps' table cell for cell: on the saved-mesh outlines 66 of 67 ends near -> near and 1 0-.5 -> 0-.5, and 55 of 56 and 1; on the record-box outlines all 42 and all 40 near -> near. Every beam there is in line with its column, so the two lines cross the column alike. The office does not exercise the row: there, the probe's line already ends at the near face on 66 and 55 ends (Revit's too, within 1 mm on all), and runs into the column on 1 end a file, where Revit's end is more than 50 mm inside the column.

    What to run, once, on the same probe output. Nothing needs building:

    1. The scorer at 06200dbf: tools/re/beam_ends_vs_ifc.py, against the same Revit export.
    2. Post the beam ends: lines that start S6 middle line ends and S6 middle line row.

    Rows, registered before you run it.

    1. Every line of your last post is the same, apart from the added lines.
    2. If at least 90 in 100 of the ends on the line S6 middle line row, outline from the column's saved mesh, the line ending inside the column have Revit's end within 1 mm of the column's near face, Revit cuts the beam back by the plane of the near face of the column's own outline there. This reads Revit's beam against Revit's column only. I then build that cut into the exporter on a branch, each beam end cut by the plane of the near face of the column's saved-mesh outline. No open model holds enough such ends to test it (the office has one a file), so your save is the test: I post a probe build for it with its rows, and the exporter's Measure on the open models checks that it changes nothing where the lines already end at the face.
    3. If under 90 in 100, the split by how many named columns hold the end decides it.
      • If the ends one named column holds reach 90 in 100 within 1 mm, the exporter cuts only those, which it can test from the file. I build that, as in 2.
      • If at least 90 in 100 of the ends that miss fall in one millimetre bin short of the face, Revit stops the beam a fixed setback from the face, and I build that setback, as in 2.
      • If neither holds, the split by width and turn says where Revit stops instead, and I add to the scorer which face or corner of the column those ends lie on.
    4. Reported as they come: the record-box ends, apart, since their outline is not the column's (Columns turned off the model's axes are drawn unturned: at their section's size, or too big where only the record box is known (read from the code, unmeasured) #2096); the ends whose end was read in the vertical plane; and the lines already at the near face, short of or past the column.

    Counts and fixed words only, as before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:geometrypriority:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions