Skip to content

Releases

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 07:27
v0.14.1
7193e91

0.14.1 is a patch release of 0.14 for users who compare rvt-rs's output
exactly and so cannot move to 0.15 or later, whose exports differ (#1808). It
lowers the peak memory of the saved-mesh pass and changes no export: each
file it writes equals 0.14.0's except for the rvt-rs version it records,
0.14.1, in the header's FILE_NAME and in IfcApplication. It does not
become the latest release: 0.25.0 is.

Fixed

  • The saved-mesh pass reads each owner's graph with the batch it is meshed
    in and frees it with that batch, so it no longer holds every owner's graph
    at once (#1429, #1690). This backports #1691 and the owner freeing of
    #1441 from 0.15. It keeps 0.14.0's plan of the batches: #1441's plan
    raised the 2023 rac_basic sample's peak from 537 to 790 MiB.

Security

  • rvt-rs-mcp builds with rmcp 3.9.0 (RUSTSEC-2026-0462).

Measured

Against 0.14.0 on 112 models: the reference models, Autodesk's sample
projects of every year, the BIM4LCA offices, BIMcollab's Revit 2015 model,
the R2025 set and the held-out models. The runs are Measure 43315345839 (the
default export) and 43315354501 (--saved-meshes, timed). Both measured
f6c4458f, this release's code without its version bump, against v0.14.0.

  • 112 of 112 exports and 93 of 93 diagnostics files equal 0.14.0's in each
    run, and so does every scorer output.
  • With --saved-meshes, no file's peak memory is above 0.14.0's. The 2023
    rac_basic sample peaks at 523 MiB (537 on 0.14.0), and Snowdon Towers
    Architectural at 1,892 MiB (2,846).
  • Over the 28 samples of Revit 2023 to 2027, the median time is 1.01 of
    0.14.0's, and no file takes more than 1.06.
  • The BIM4LCA offices peak at 0.90 and 0.97 of 0.14.0's. Before the runs we
    set the bar at 0.80 or less on both, and neither met it: their peak is held
    by the export model, 0.7 to 0.85 GiB before the saved-mesh pass starts,
    which this release does not change.
  • #1808's reporter measured their own earlier port of #1691, not this
    release's code: 6.8 GB down to 1.8 GB on their model, with an identical
    output. 0.14.1 itself has not been run on that model.
  • #1808's reporter reviewed this release's changes (#1827) and contributed a
    check that CI runs on every push (#2081): on the Einhoven project (Revit
    2023, 2,615 owners with saved graphics), the read in batches gives the same
    elements and the same progress events as the read in one pass.

User guide: https://github.com/DrunkOnJava/rvt-rs/blob/v0.14.1/docs/user-guide.md

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:46
v0.25.0
e3a9404

0.25.0 ships a security fix and a batch of repairs found by checking 0.24.0 against Revit's own exports: the partition scanner no longer takes unbounded memory from a crafted stream (#1833); beams whose copies in several partitions disagree, hollow rectangular tube beams, wall ends, door openings and axes, ceilings and roof equipment, and the types of Revit 2015 to 2023 doors and windows are read as Revit's export has them; and the columns and footings of a Revit 2027 structural model reach their storeys.

Not measured, and said in each entry:

  • The Revit 2027 columns' and footings' storeys (#1842) rest on one reporter's model (counts only), so they apply to Revit 2027 only and are listed under "Rules that rest on one project".
  • Tube beams (#1698) are measured on the BIM4LCA concrete office's 8 beams of Revit 2024, the one model that holds such a type.
  • A ceiling's or a roof fitting's GrossArea from its saved mesh (#1209) rests on the BIM4LCA office and housing; the 15 ceilings it adds on Autodesk's sample projects are checked by no Revit export.
  • A curtain wall's Length before Revit 2024 (#1584) is measured on Revit 2023, where it is held to the same project's 2024 save: no untouched Revit IFC4 export of a file of 2015 to 2023 holds a curtain wall's Length to compare. An ordinary wall's Length on those releases is checked by nothing: the Autodesk samples gain none and 8 walls of a Revit 2021 project do (counts only), on an IFC2X3 export that writes no base quantities. The side areas, footprint and volumes of walls before Revit 2024 stay out.
  • The types of Revit 2015 to 2023 doors and windows (#1603) are checked against three projects' exports, two of them IFC2X3 and counted apart (the spent Revit 2018 project's and BIM Whale's); their type objects' GlobalIds are not Revit's and they take no material from the type map yet.
  • A stair landing's type object on Revit 2025 to 2027 (#2046) has no Revit export of a model with a landing to score its Name (RE-476).
  • A door's opening in a second wall of other heights (#1165) still writes nothing: nothing read tells which of Revit's writes and omissions it is.
  • A wall end cut back at a joined wall's face (#1474) is written on 2 ends of the BIM4LCA office at building permit, and none of the wall body, end, height or layer scorers moves with it.

Measured against 0.24.0 on every model Measure holds (run 43721278321, main at 156e2b2; the release adds only its notes, version strings, witness files and fixtures to them):

  • 44 of the 127 exports differ, and 57 of the 102 diagnostics.json files. 29 of the 44 have no Revit export on Measure, so no scorer says which of what moved there is Revit's: 28 are Autodesk's sample projects of 2015 to 2027 and the other is Einhoven (Revit 2023); each entry below was measured in its own pull request. The other 15 are scored against Revit's own exports, counts only for the held-out ones: 8 of the 12 BIM4LCA models, RE1 Architecture, 5 of the 18 held-out files and the spent Vitoria "Before". On them nothing that equals Revit's falls and nothing that differs from Revit's rises, but for the type objects of the spent Vitoria (said below), and the values Revit does not write rise only on four IFC2X3 files counted apart (the last line). The 83 exports that do not move include the 24 Revit 2025 models, Core Interior, the six rac_advanced saves of 2015 to 2020, three of RE1's four files and 13 of the 18 held-out files. What moved:
    • Quantities (#1046, #1165, #1209, #1698, #1719, #1803): on the eight BIM4LCA files that move the ones equal to Revit's rise by 1,006, with 937 fewer missing, and none differs. 745 are the walls' GrossSideArea (189), NetSideArea (209), GrossVolume (189) and Height (158) (#1046); 94 are the GrossArea of coverings, the 22 cut ceilings of one piece of the office and 72 roof fittings of the office and housing (#1209); 96 are the six base quantities of the 8 tube beams, 48 on each of the concrete office's two files (#1698); 16 are the NetSurfaceArea of 4 mullions on each office file (#1803); 9 are the Length of the beams of #1719; and 46 are the Depth and Height of the 23 new door openings (#1165), whose 23 Width rvt-rs leaves out, as for every door opening in a second wall, so they add 23 to the missing.
    • Properties (#1165, #1719): on the same files the property values equal to Revit's rise by 94, with 27 fewer missing, and none differs: the Span, Slope and Roll of the 9 beams (27) and 67 on the 23 new door openings (Reference in two sets on each, and FireExit on the 21 of the offices).
    • Door openings (#1165): 23 more doors' openings in a second wall are written (the timber housing 1 to 2 on each of its two files; the office 25 to 30, 33 to 39, 16 to 21 and 16 to 21), each with Revit's GlobalId, Name, PredefinedType, References and Depth, and its box within 0.01 ft of Revit's; none is an opening Revit's export lacks. Each office opening also holds 2 of Revit's values from the project's own property set file, which are out of scope (RE-239) and not scored (10, 12, 10 and 10 more on the four office files). door_second_wall_parallel_to_door_wall (9, 9, 10, 10, 9, 9, 7 and 7 on the eight files, 38 on Snowdon Towers Architectural) falls to none, and those steps are counted as door_second_wall_spans_other_heights_than_door_wall (9, 9, 9, 9, 4, 3, 2 and 2, and 20), with door_opening_not_in_second_wall (15) and opening_outside_wall_height (3) on Snowdon Towers Architectural. The box scorer also moves two unfilled wall openings of each office file from over 1 ft to within 0.001 ft of Revit's, which no entry here explains.
    • Doors in curtain walls (#1494): the doors on Revit's axes rise from 212 to 261 of 269, 210 to 261 of 269, 207 to 258 of 266 and 207 to 258 of 266 on the four office files and from 4 to 5 of 5 on RE1 Architecture; the doors the rule places go from 194, 192, 190 and 190 to 260, 260, 257 and 257 (4 to 5 on RE1), and none differs from Revit's. The doors a half turn or a quarter turn from Revit's go from 57, 59, 59 and 59 to 8 on each office file. The same-project check compares 124 doors and windows of each rac_advanced and rme save of 2025 to 2027 with the 2024 save where it compared 107, and 22 of each rac_basic save where it compared 17.
    • Doors and windows before Revit 2024 (#1603): on the spent Revit 2018 project, an IFC2X3 export counted apart, the 70 windows and 68 doors have Revit's Name and ObjectType (the windows 70 of 70 where none did, the doors 68 of 68 where 66 did), 72 more objects are typed (1,005 to 1,077 of 1,280) each with Revit's entity, and 144 property values become equal (the Reference of the 72 in Pset_EnvironmentalImpactIndicators, of the 70 windows in Pset_WindowCommon and of the 2 doors in Pset_DoorCommon); but the 72 type objects it now has differ from Revit's in Name and GlobalId, 72 more disagreements of each (no type Name of this export agrees, and the GlobalIds agree on 414 of 1,077 as they did on 414 of 1,005). On the held-out Revit 2020 project (an unmodified Revit IFC4 export) the 4 windows and 9 doors that differed in Name and ObjectType are equal and 26 property values become equal. On BIM Whale's Revit 2021 project the doors with Revit's Name rise from 11 to all 126, and 220 property values become equal.
    • Walls (#1474, #1584): on the office at building permit the 2 ends counted as joined_wall_face_inside_the_wall are cut back, which raises the ends stepped to the joined walls from 4 to 6; the 5 ends of each timber office file counted so are counted as joined_wall_faces_overhang_the_lower_end and stay refused. None of the wall body, end, height or layer scorers moves on the BIM4LCA files. On BIM Whale's Revit 2021 project the angled walls' ends within 0.001 ft of Revit's rise from 124 to 167 of 390. The Revit 2015 to 2023 saves read their walls' types and curve lengths: decoded.walls_type_confirmed is filled on 36 of the 102 files and decoded.wall_curve_lengths_feet gains 68 walls on 18 of them; Einhoven's curtain wall gets its Length, and 8 walls of BIM Whale's Revit 2021 project get theirs (the last line).
    • Columns (#1801): the same-project check's column lengths of the six rme_advanced and rme_basic saves of 2025 to 2027 go from 4 of 135 equal to the 2024 save's to 135 of 135, and its verdict from FAIL to PASS on each; its other checks pass (15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save).
    • Held-out files (counts only): beside the ones named above, a Revit 2025 file's one wall gains its four side-area, volume and height values, equal to Revit's (#1046), and a Revit 2021 project's one beam gains its Span and Slope, equal (#1719); the held-out Revit 2018 project moves as the spent one does (144 property values).
    • diagnostics.json, beside the counters above: exported.total_entities rises on 34 files (389 in all) and decoded.parameter_value_count on 17 (274 in all), none falls, and the sample names of the skipped items carry the family and type of a door or window that is now typed on 10 files (their counts are unchanged).
    • Counted apart (IFC2X3 exports, which never remove a value): the values rvt-rs writes that the export does not rise by 10 properties and 8 quantities on BIM Whale's Revit 2021 project (the Reference of 10 more doors, 11 now and 1 before; the Qto_WallBaseQuantities.Length of 8 walls, which count there because the export writes no base quantities), and in the MCP answers' census by 5 property values on each of the spent Revit 2018 project and its held-out twin, 4 on BIM Whale's and 1 property and 1 quantity value on a held-out Revit 2021 project.

Upgrading from 0.24

  • Hollow rectangular tube beams change shape. A beam whose type holds bf, d, tf, tw, ri and ra as a hollow rectangle is an extrusion over `...
Read more

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:56
v0.24.0
21bb7d1

0.24.0 closes #1713: on the 42 models with a public Revit export, every one of the 58,665 elements both exports hold has Revit's PredefinedType (Measure 43596206950) (railings, doors, proxies, ramps and geographic elements are new in this release), and a Revit 2024 or later file whose export parameters differ between its partitions gives each element its current copy's value. It also writes more of what Revit's own export writes: a ramp's railings are its parts, a gutter is an IfcFlowSegment, a multistory stair is written once on each storey it repeats on, a ceiling in pieces has its piece's GrossArea, and a wall under a roof drawn from its slopes is cut along the roof's underside. The export notes count the storeyless elements honestly, and the Semantic check now finds its artifact on every Measure run.

Not measured, and said in each entry:

  • PredefinedType agrees on the 42 models with a public Revit export, not on every model: on the held-out pairs of Revit 2023 and earlier 4 of 12 roofs, 1 of 5 stairs, 1 of 5 stair flights, 12 of 60 furniture and 2 of 10 railings stay unset (counts only; none differs), since no default covers those releases.
  • A ceiling's piece GrossArea (#1209) rests on the one building that holds ceilings in pieces; a multistory stair's copies (#1977) are inferred from three groups of one building, since the file does not say how far a stair repeats.
  • NOTDEFINED on ramps and geographic elements (#1713) is measured on Revit 2024 only, the one release whose export holds them; on railings it is 2024 to 2026, and 2027 and the releases before 2024 write no such default.
  • A wall under a roof (#1478) is measured against Revit's exports on 2025; 2026 and 2027 are held to the same project's 2025 save.
  • The layers of a type whose copies disagree on Revit 2020 (#1805, RE-466) are measured on one Revit 2020 file; the other releases before 2024 still drop such a type.

Measured against 0.23.0 on every model Measure holds (run 43608604021, main at 009a070; the release adds only the version files and this section):

  • 72 of the 126 exports differ, and 29 of the 102 diagnostics.json files: 28 move the count of elements skipped for want of a level (#1842), beside the class counts the entries below describe, and the spent Vitoria "Before" moves its two gutters from IfcPipeSegment to IfcFlowSegment. 28 of the 72 are Autodesk's sample projects of 2015 to 2027, with no Revit export on Measure, so no scorer says which of what moved there is Revit's: each entry below was measured in its own pull request. The other 44 are scored against Revit's own exports: the 12 BIM4LCA models, 17 of the 24 Revit 2025 models, the six rac_advanced saves of 2015 to 2020, RE1 Architecture, seven held-out files and the spent Vitoria "Before". On them nothing that equals Revit's falls except the counts named in the last two lines, and nothing that differs from Revit's rises, but for the 4 floors of one held-out Revit 2020 file whose new layer sets leave out Revit's 0-wide membrane layers (#1805, RE-466, said in its entry). What moved:
    • PredefinedType (#1713): on the 42 models with a public Revit export, the elements that agree with Revit's go from 58,480 to all 58,665 (17 models move): the 124 with none (42 spaces, 40 walls, 18 railings, 12 proxies, 6 ramps and 6 geographic elements) and the 52 doors written DOOR where Revit writes TRAPDOOR now agree, and "NOTDEFINED where Revit writes none" stays 0. Three held-out pairs gain 6 railings the same way (counts only).
    • Values (#1713, #1209, #1989): property values equal to Revit's rise by 52 (50 on the timber office at permit, 2 on the concrete housing as built), with 52 fewer missing and 31 fewer that Revit does not write (15 on the four housing files, 16 on the timber office at permit); quantities equal to Revit's rise by 95, with 95 fewer missing: 62 are the GrossArea of ceilings in pieces on the four offices (15, 16, 15 and 16, Revit's piece on 62 of 62) and 33 are the IfcSlab roofs of the timber office at permit; the 6 fewer quantities that Revit does not write are all on the concrete housing as built (the wall that is an IfcCovering). Type objects with Revit's entity rise by 1 and 8 (the concrete housing as built, the timber office at permit) and with Revit's GlobalId by 1 and 16 (the office at permit, the timber office at permit).
    • Classes (#1989): the gutters of the four large housing files and of Vitoria's two projects read as flow segments (3 of 3 on each housing file, from none), and the ducts the scorer counts are 3 of 3 where they were 1 of 3. The saved-mesh row of IfcCovering falls by 2 on each of those four files (26 to 24, 25 to 23, 26 to 24 and 25 to 23) and that of IfcPipeSegment from 1 to none, because the three gutters are now in the IfcFlowSegment row (none to 3).
    • Aggregates (#1988): the 2 ramp railings per housing file that only Revit aggregated are aggregated, and none the other way; the ramp rows of the mesh scorer read through their parts (volume ratio 0.49 to 0.51, farthest vertex 3.248 ft to 0.0066 ft), the ramp's own body unchanged.
    • Bodies (#1713): 52 roofs of the eight BIM4LCA files that Revit writes as IfcSlab or IfcSolarDevice are drawn from their saved meshes (50 of the 52 equal to Revit's in all six measures, 2 in five), so the saved-mesh scores of IfcSlab rise (the housing files 4 to 10, 4 to 9, 3 to 7 and 3 to 7, the offices 0 to 10 twice and 13 to 21 and 13 to 22) and the timber office at permit's IfcRoof row goes from 9 to 1, its roofs now IfcSlab as Revit writes them. Two counts that compare the old body with Revit's fall with them: the plan-outline vertices of IfcSlab within 0.01 ft of Revit's go from 40 to 39, 37 to 36, 36 to 35 and 36 to 35 on the four housing files (and rise from 36 to 37 on the two concrete offices), and the GLB's layers within 0.001 ft go from 100 of 127, 97 of 103, 101 of 102 and 97 of 98 to 95 of 122, 92 of 98, 98 of 99 and 96 of 97 on the offices (82 of 84 to 83 of 85 on the concrete housing as built), because the GLB draws these roofs from their mesh and not in layers; no layer compared is wrong.

Upgrading from 0.23

  • Gutters change class. A gutter is an IfcFlowSegment typed by an IfcPipeSegmentType GUTTER, no longer an IfcCovering or IfcPipeSegment, unless its own "Export to IFC As" names IfcPipeSegment (#1989); a script that looked for gutters among the coverings or the pipe segments looks at the flow segments.
  • More aggregates and copies. The railings of a ramp that Revit's export contains in an IfcRamp (Revit 2024, a railing with no level of its own) are its parts through an IfcRelAggregates, as a stair's are (#1988); a multistory stair is written again on each storey it repeats on, with :2 names and MultistoryCopyOf on its record set (Revit 2024, #1977), so a count of stairs rises by Revit's.
  • More values. PredefinedType is NOTDEFINED on railings, ramps and geographic elements that carry no value, TRAPDOOR on the doors Revit's export writes it on, and USERDEFINED on a proxy that carries it (#1713); a ceiling in pieces has its piece's GrossArea (#1209).
  • diagnostics.json. unsupported_geometry_missing_level no longer counts the flights, landings and stringers of a stair, which are in the storey of their stair (#1842); a curtain wall's host panels are counted as element_record_curtain_host_panel and no longer written as IfcPlate (#1975).

Added

  • A ceiling whose sketch is several separate loops gets
    Qto_CoveringBaseQuantities.GrossArea (#1209, RE-465).
    It is the area of
    the piece its sketch's two lowest-ElementId lines, the first drawn, both lie
    on: Revit's piece on 62 of 62 such ceilings of the BIM4LCA office. A ceiling
    whose two lowest lines lie on two pieces gets none. Measured on that one
    building only, since no other model with a Revit export has a ceiling in
    pieces.

  • A door takes its own or its type's "IFC Predefined Type" where that is an
    IFC4 enumerator, as Revit's export writes it (#1713).
    The wall hatches of
    the BIM4LCA files, 3 on each housing file and 10 on each office file, are
    TRAPDOOR in Revit's export; rvt-rs wrote DOOR on every door. A door with
    no value keeps DOOR.

  • A building element proxy takes its own or its type's "IFC Predefined Type"
    where that is an IfcBuildingElementProxyTypeEnum enumerator (#1713).
    In
    each of the twelve BIM4LCA files (six housing, six office) one proxy carries
    USERDEFINED under an "Export to IFC As" of IfcBuildingElementProxy, and
    Revit's export writes USERDEFINED on it; rvt-rs left it unset. A proxy with
    no value keeps NOTDEFINED.

  • A railing with no predefined type of its own or its type's is NOTDEFINED
    on Revit 2024 to 2026, as Revit's export writes it (#1713).
    Revit's export
    gives every such railing NOTDEFINED: the 8 of the BIM4LCA office files, the
    10 of the R2025 models 13 to 17 and the 2 of each held-out pair of 2024 to
    2026; rvt-rs left them unset. The 2027 export writes no value on a railing and
    a 2022 file's export parameters are not read, so neither release takes the
    default.

  • A ramp or a geographic element with no predefined type of its own or its
    type's is NOTDEFINED on Revit 2024, as Revit's export writes it (#1713).

    Revit's export gives NOTDEFINED to the one ramp of each BIM4LCA housing
    file and to 3 of the 23 geographic elements of each of its two terrain files
    (6 and 6 in all), where rvt-rs left them unset. No measured file of another
    release and no held-out pair holds either in both exports, so no other
    release takes the default.

  • A multistory stair is written again on each storey its group repeats it
    on, as Revit's export writes it, on Revit 2024 (#1977, RE-463).
    Where no set
    of a MultistoryStairs record covers the span between two c...

Read more

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 06:17
v0.23.0
28b5ed8

0.23.0 writes more of what Revit's own export writes, and narrows rules that audits found wider than their evidence. A wall of a curtain wall type is an IfcCurtainWall on Revit 2023 to 2027 whether or not a mullion names it, and a curtain wall that is the host panel of another is not one. A roof, stair, stair flight or building element proxy with no predefined type of its own gets Revit's NOTDEFINED, a sloped floor gets its Qto_SlabBaseQuantities.Depth and GrossVolume, a door's or window's FireRating is read from its saved parameter, and a column whose saved mesh is a prism of another section than its type's rectangle is drawn from the mesh. The doors and windows of Revit 2015 to 2023 cut the outline their symbol cuts and carry its OverallWidth and OverallHeight. A material's colour reaches IFC viewers. A file that stores no project GUID gets the project, building and site GlobalIds Revit's export gives them, from the GUID in its history header. rvt-diff --elements counts a change in the rule that read a value as a label change, not as a changed element.

Not measured, and said in each entry:

  • A horizontal bracing's IfcMemberType carrying BRACE on Revit 2027 (#1841) is checked on a reporter's counts of a structural model alone: no model Measure holds with a Revit export has a horizontal bracing.
  • NOTDEFINED on stairs and flights is measured on Revit 2024 only, the one release whose export has such stairs (#1713).
  • A multistory stair is written once, where Revit's export writes it once per storey: Snowdon Towers' three lack 53 entities (#1977, RE-463).
  • No Revit export holds a curtain wall without a mullion, so what Revit writes for rme_basic's two rests on the source of its exporter (#1960).

Measured against 0.22.0 on every model Measure holds (run 43555120928, main at 21d310f; the release adds only its notes, witness files, version strings, fixtures and the publish workflow's viewer smoke to them, and #1991, a probe, a scorer and a report, landed on main after it):

  • All 146 exports differ, and 120 of the 121 diagnostics.json files (the
    blank Revit 2025 model's is equal). 79 of the 146 have no Revit export:
    Autodesk's 59 sample projects (34 of 2015 to 2023, 25 of 2024 to 2027), 19
    families and Einhoven, so no scorer says which of what moved is Revit's: each
    entry above was measured in its own pull request. The other 67 are scored
    against Revit's own exports: Core Interior, the four RE1 models, BIMcollab's
    example, the 12 BIM4LCA models, the 24 Revit 2025 models, the six
    rac_advanced saves of 2015 to 2020, 18 held-out files and the spent Vitoria
    "Before". On them no count of values or quantities that equals Revit's falls
    and none that differs rises, what rvt-rs writes that Revit's export does not
    rises on four files (the last two lines below), BIMcollab's example moves in
    no scorer line, and every other line that moves is one of these:
    • The project's, building's and site's GlobalId is Revit's on 50 models (0 of
      1 each before), and the storeys' on 11 files of 2017 to 2022 (69 storeys,
      from 6) (RE-459). On the spent Vitoria "Before", 1,297 of the 1,314
      elements Revit's export holds are Revit's (from none), its 73 rooms pair
      with Revit's by GlobalId (from none) and 414 of 1,005 type objects have
      Revit's GlobalId (from none).
    • NOTDEFINED (#1713): the roofs that agree with Revit's PredefinedType go
      from 8 to 39 of 39 on 30 models and the proxies from 34 to 456 of 464 on 22
      (the 8 left are the one proxy in each of the eight BIM4LCA files at permit
      and as built that Revit writes USERDEFINED on). The stairs of the two
      timber housing files go from 70 to 76 of 76 and the flights of the two
      timber offices from 58 to 62 of 62.
    • A door's or window's FireRating (#1507) is Revit's on 120 values (from
      none) on 14 models: the eight held-out files of 2024 to 2027 and six of the
      Revit 2025 models.
    • A wall's quantities with each opening at its real height:
      Qto_WallBaseQuantities equal to Revit's on all 10 walls of each of four
      held-out files of 2024 to 2027 (2 before) and all 9 of each of four
      held-out offices (3 before), on 4 of 5 walls of six Revit 2025 models (2
      before), and on 1 or 2 more walls of four BIM4LCA files.
    • The openings of Revit 2015 to 2023 doors and windows (RE-450): the
      opening's Qto_OpeningElementBaseQuantities.Depth is Revit's on 224 of 224
      openings of four held-out files (from none); on the spent Vitoria "Before"
      68 of 68 doors and 64 of 70 windows have Revit's OverallWidth and
      OverallHeight (from none; the other 6 windows get none) and the boxes of
      54 doors and 3 windows are within 0.001 ft of Revit's (within 0.26 ft for 5
      and within 1 ft for 52 before).
    • The mullions' Pset_MemberCommon.Span and Qto_MemberBaseQuantities.Length
      are Revit's on 6 more mullions of each concrete office and 8 more of each
      timber office (#1193); the sloped floors' Qto_SlabBaseQuantities.Depth
      and GrossVolume on 8 more floors of each office (#1208); and 4 more of
      the timber housing's columns are drawn from the mesh Revit saved, which
      matches Revit's on all 8 scored (#1710).
    • A wall profile region that a pocket equals is no longer cut into the wall's
      body: wall_profile_cut_in_body goes from 9 to 8 as built and from 10 to 8
      at permit on the timber offices (#1947), and one more wall of the timber
      office as built is drawn in layers (593, of which 592 are within 0.001 ft
      of Revit's, where 591 of 592 were).
    • Where Revit's setup wrote no base quantities, rvt-rs writes more of them,
      counted apart (RE-242): 24 more on Core Interior (3,859 to 3,883), 107 more
      on each rac_advanced save of 2015 to 2020 (3,469 to 3,576) and 37 more on
      one held-out file (127 to 164). On another held-out file, whose export holds
      no quantities on the objects rvt-rs writes, rvt-rs writes 389 more opening
      depths, which the scorer counts as quantities Revit does not write (522 to
      911), not apart.
    • One measured negative: the spent Vitoria "Before" gains one opening that
      nothing fills and that Revit's export does not hold (Revit's 5 unfilled
      openings in that file are other doors'), and a held-out Vitoria and a
      held-out Gdynia each gain one opening that Revit's export does not hold,
      with 2 more values that Revit does not write on each of the three (#1165).
      It is a door's cut in a second wall: reading the door cuts of 2015 to 2023
      (RE-450) takes the door cuts the spent file leaves out because the door's
      box was not read from 9 to 2, 6 of the 7 now read are left out as a wall
      parallel to the door's and 1 is written. The three files whose Revit export
      lacks the opening are all Revit's IFC2X3 Coordination View 2.0 exports, and
      an IFC2X3 view does not remove a value. The rule stays on every release,
      held to the same project's 2024 save (RE-353, RE-461): rvt-rs's export of every save
      of rac_basic from 2015 to 2027 holds the same door's opening in its second
      wall as its 2024 save. rac_basic has no Revit export, so that shows the cut
      is read alike on every release, not that Revit writes it there. Revit's own
      exports hold this kind of opening on 8 of the 12 BIM4LCA models, all Revit
      2024 (13 to 43 each, rvt-rs writing 1 to 33 of them with every box within
      0.01 ft), and on one held-out Revit 2026 house (1, none written; counts
      only); no Revit export of 2015 to 2023 does (#1165).
  • What differs in diagnostics.json is counts: the wording of the storey
    warning (120 files), the skipped items (62), the parameter values (32), the
    exported entities (21), the bodies' sources (the saved mesh in 11 files, the
    partition record's box in 10), the walls and curtain walls exported (10), and
    the door openings a wall's cuts leave out because the door's box is not read
    (10).
  • Time and peak memory, base and head on one runner (timing run
    43558339212,
    main at 92af055 against 0.22.0, three rounds each): the 16 reference
    models and BIM4LCA files take a median 1.02 times the time (0.995 to 1.04) and
    1.00 times the peak memory (0.99 to 1.00); the 29 samples of 2023 to 2027,
    1.00 times the time (0.99 to 1.05) and 1.00 times the peak memory (0.99 to
    1.06). Five files are more than 3% slower: the two BIM4LCA offices as built
    (concrete 1.04, timber 1.04) and three samples (1.03 to 1.05). No peak is more
    than 2% higher but two Snowdon files', HVAC (1.06) and Plumbing (1.05), whose
    peak is one of two values from round to round and the higher one on every head
    round.

Upgrading from 0.22

  • GlobalIds move once on files that store none. The project's, the building's and the site's GlobalId of a Revit 2017 to 2027 file that stores none, and the storeys' of a file of 2017 to 2022, are Revit's now (#878, RE-459); a tool that tracks them sees the old ones removed and the new ones added. The type of a hosted door or window whose host frame or facing was not read no longer carries a GlobalId hashed with a guessed flip (#1947).
  • New entities and values. Every coloured material has an IfcMaterialDefinitionRepresentation naming its surface style; roofs, stairs, flights and proxies carry PredefinedType NOTDEFINED where they carried none; the two single-cell curtain walls of rme_basic and rme_advanced (573660 and 573664) are IfcCurtainWall with their panels where they were IfcWall; the openings of doors and windows of Revit 2015 to 2023 have their symbol's outline, not their record box's.
  • rvt-diff --elements JSON lists the elements whose only difference is a label (relabelled, each with its labels); a script that counted every difference as a change reads fewer.

Added

  • **A sl...
Read more

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 21:23
v0.22.0
7a31459

0.22.0 limits what a crafted Revit file can make the MCP server, the command-line tools, the Python bindings and the viewer do, and writes more elements the way Revit's own export writes them. The MCP server reads from and writes to one folder and bounds what an answer carries (#1883). rvt-doc --redact, rvt-info -f csv, rvt-dump, rvt-ifc, rvt-write, the Python bindings and the viewer each lose a way a hostile file reached a terminal, a spreadsheet, a log or a file they should not touch (#1884, #1885, #1887, #1919), and a wall profile of thousands of regions no longer builds a chain of boolean cuts too deep for a thread to walk (#1845). On the element side, roofs by extrusion of Revit 2024, 2026 and 2027, floors of the Structural Foundations category, horizontal bracing, the storeys of beams and braces, the corner mullions and the door of a curtain wall on Revit 2027, a lone non-ASCII name on Revit 2023, and the doors, windows and walls of Revit 2015 to 2023 are read as Revit's export writes them (#1479, #1841, #1842, #1865, #1899, #1912, RE-448, RE-456). puzzbobb wrote the last two: doors and windows of Revit 2015 to 2023 are set in the wall their own record names, and those releases' walls get the openings their rectangular openings cut.

Not measured, and said in each entry:

  • A foundation slab and a horizontal bracing (#1841) are checked on a reporter's counts of a Revit 2027 structural model alone: no model Measure holds with a Revit export has either, and the bracing member's PredefinedType is not read.
  • A roof by extrusion of Revit 2024, 2026 and 2027 is held to the same project's 2025 save, which cannot catch an error both saves share; no Revit export of one exists here (#1479).
  • On the 2027 save of rac_advanced 5 corner mullions, whose wall nothing in the file names, stand in no curtain wall (#1865).
  • The peak memory of concurrent rvt-rs-mcp opens, a crafted file with a very long name, and the memory rvt-dump saves by releasing each partition it has written are not measured (#1883, #1885).

Measured against 0.21.0 on every model Measure holds (run 43491038743, main at 2b81542; the release adds only its notes, witness files, version strings and fixtures to them):

  • 72 of the 146 exports differ and 74 are identical, and 37 of the 121
    diagnostics.json files differ and 84 are equal. Of the 72, 56 are Autodesk's
    sample projects (34 of 2015 to 2023, 22 of 2024 to 2027), which no Revit
    export covers, so no scorer says which of what moved is Revit's: each entry
    above was measured in its own pull request. The other 16 are scored against
    Revit's own exports: the four BIM4LCA offices, the six rac_advanced saves
    of 2015 to 2020, BIMcollab's example, four held-out files and the spent
    Vitoria "Before". No scorer line moves on any other model, and every line that
    moves is one of these:
    • The 268 doors that Revit's export aggregates into a curtain wall on the four
      offices (66, 68, 67 and 67) and 0.21.0 did not are aggregated now, and two of
      the four members that each timber office left out (RE-452, RE-453, RE-449).
    • The beams of the two timber offices are on Revit's storey: 67 rows on another
      storey in each become 4, all ramps, with no beam left (RE-454).
    • On the spent Vitoria "Before", 3 more doors are set in the wall Revit's
      export puts them in, 133 of 133 where 130 were (RE-448).
    • The wall openings of Revit 2015 to 2023 (RE-456) add one opening to each
      rac_advanced save of 2015 to 2020, 6 to one held-out file and 18 to
      BIMcollab's example. Each carries the Reference values every opening
      carries and Revit's export does not write on them, so the values rvt-rs
      writes that Revit's export does not rise by 2 on each of those saves
      (342 to 344), by 12 on the held-out file (8 to 20) and by 36 on BIMcollab's
      (522 to 558, IFC2X3, counted apart).
    • The check of bodies across saves passes on the 2026 and 2027 saves of
      rac_basic, which failed it at 0.21.0 on one roof each: the roof by
      extrusion is drawn as the 2025 save draws it (RE-458).
    • The schema check of 23 samples counts what the entries add: one opening on
      each rac_advanced save of 2015 to 2023 and two on each rac_basic
      (RE-456), and a foundation floor as IfcSlab on the 2024 to 2027
      rac_basic and four on Snowdon Towers Structural (RE-457).
  • What differs in diagnostics.json is counts: the parameter values (28 files),
    the exported entities (23), the openings a wall's cuts leave out, by reason
    (24, 10 and 1 files), the storey-bound elements and the beams skipped (5
    each), the IfcFooting and IfcSlab counts (5) and the roofs' body sources
    (3).

Upgrading from 0.21

  • rvt-rs-mcp reads and writes inside one folder. It is --root <folder>, else RVT_MCP_ROOT, else the folder the server starts in unless that is /, the home folder or one above it (then each tool that touches a file refuses and names --root). A setup that opens files outside the folder its client starts the server in passes --root, or --unconfined for the old reach. list_rooms pages as list_elements does and answers total, offset, limit and returned; a limit outside 1 to 1000 is a tool error; a name or value from a file is cut at 1,000 characters; an answer over 4 MiB is refused with a message that says how to ask for less.
  • rvt-ifc, rvt-gltf, rvt-sheet and rvt-schedule refuse to write over their input, however it is named, and rvt-info -f csv leads a cell that starts with =, +, - or @ with '. rvt-dump has --max-stream-bytes, --max-inflate-bytes and --large-model, lists a stream a limit left unread, and exits 3 when it did (--allow-partial makes it 0). rvt-write --dry-run checks the patches, and a patch that frames a stream otherwise than it is stored is refused.
  • The Python bindings raise RuntimeError for a second call on one RevitFile from another thread while one runs (open one handle for each thread or hold a lock), RuntimeWarning for an element whose saved mesh decodes in part, and ImportError for a failed load of the extension.
  • Exports change where the entries below say: a roof by extrusion of Revit 2024, 2026 and 2027, a floor of the Structural Foundations category (IfcSlab, BASESLAB) and a horizontal bracing (IfcMember), the storey of a beam or brace, curtain mullions, doors and windows of curtain walls, the host wall and the openings of doors, windows and walls of Revit 2015 to 2023, and the type of two furred ceilings of Revit 2023.
  • Library: new rvt::redact::redact_json_strings, rvt::cli::csv_text, rvt::writer::validate_patches, rvt::ifc::gltf::write_glb_to and a public RevitFile::release_inflated_partitions; rvt::writer::write_with_patches returns Error::WriteRefused for a patch that frames a stream otherwise than it is stored, before it writes anything.

Changed

  • rvt-rs-mcp reads models from, and writes exports to, one folder that its
    setup picks; a path that leaves it is refused (#1883).
    The names, values
    and messages in a Revit file reach the client's model unmarked, so a crafted
    file could steer it into asking the server to open a file outside the
    project, or to overwrite one; until now the server read any file the account
    could read and wrote anywhere but inside --output-dir. The folder is
    --root <folder>, else the environment variable RVT_MCP_ROOT (for a
    client that passes only an environment), else the folder the server was
    started in, unless that is the top of a file system, the home folder or a
    folder that holds it (an MCP client chooses a server's working directory, and
    some start theirs from /): then the server starts and each tool that
    touches a file refuses with a message that names --root. A relative path
    is taken from the folder; a path is compared with it once .. and links are
    resolved, and one whose text alone puts it outside is refused before any file
    is looked at, so the refusal does not say whether the file exists. The tool
    descriptions and the refusals say where the folder is and how to move it.
    --root / and --unconfined lift the limit, and --output-dir still sends
    the exports to a folder of their own. Upgrade: a setup that opens files
    outside the folder its client starts the server in now passes --root (or
    sets RVT_MCP_ROOT), or --unconfined for the old reach (docs/mcp.md,
    "The root folder"). Not defended: another process that rewrites the links
    inside the folder while a call runs.

Fixed

  • A roof by extrusion is a solid on Revit 2024, 2026 and 2027 as on 2025,
    held to the same project's 2025 save (#1479, #1864, RE-458).
    The release
    list of the B-spline reader held Revit 2025 alone, so such a roof was its
    saved mesh on 2024, 2026 and 2027 (its record box before #1191). Autodesk's
    rac_basic has one, roof 243274: its 2024, 2026 and 2027 saves now draw it
    as the 2025 save does (35.424 m3, where its mesh was 34.974 m3 on 2026 and
    2027), and are the only 3 of 146 exports of an
    unfiltered Measure that change; every body of the project's 2026 and 2027
    saves is the 2025 save's. No Revit export of such a roof of those releases
    exists here, so the check is the 2025 save. rac_advanced's roof 201262,
    which #1479 took for a second one, is not a roof by extrusion and is
    unchanged.

  • A floor of the Structural Foundations category is an IfcSlab with
    BASESLAB, and a horizontal bracing an IfcMember (#1841, RE-457).

    StructuralFoundation was mapped to IfcFooting and StructuralFraming
    to IfcBeam whole. On a reporter's Revit 2027 structural model, Revit's
    export writes the 59 foundation slabs as IfcSlab (BASESLAB on their
    types) and the one framing instance with stored structural usage 8
    (Horizontal Bracing) as IfcMember,...

Read more

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 08:43
v0.21.0
b979b79

0.21.0 makes the GlobalIds an export writes hold from one save of a project to the next, and adds a command that compares two saves element by element. Between two saves of one Autodesk sample, every GlobalId the writer derived moved while the elements kept theirs, because each was seeded from the document's Unique Document GUID, which changes on every save; each is now seeded from the GlobalId of the entity it belongs to, which the file keeps (#1840, #1854). rvt-diff --elements lists what changed between two saves, keyed by GlobalId (#1843). --redact now scrubs the user name of a Linux home folder and every path of a message (#1871). The warning for element records of ElementIds the element table does not declare no longer calls the IFC incomplete for what a same-save comparison showed to be deleted elements (#1838).

Not measured, and said in each entry:

  • What belongs to no entity still moves between saves: the project, site, building and storeys where Revit gives them no GlobalId, classifications, materials, MEP systems, and types Revit gives no GlobalId (#1854).
  • rvt-diff --elements compares what rvt-rs reads, and a change in how rvt-rs reads a file shows as a change, so two saves are compared with one build (#1843). On Autodesk's rst_basic, its 2025 and 2026 saves differ in 12 beams' level-bind provenance because the 2026 records name one more Level (#1864), not because rvt-rs reads them differently.
  • On the 2027 save of rac_advanced, 80 curtain parts (79 L Mullion 1 corner mullions and a curtain door) stand in no curtain wall where the 2025 save aggregates them, so the 79 mullions get no IsExternal (#1865).
  • The reading of #1838 rests on the one model compared with Revit's export of the same save (a Revit 2027 structural model, as counts): no model of Measure has such a record.

Measured against 0.20.0 on every model Measure holds (run
43381774360,
main at 9b7dee8, 146 exports; the release adds only its notes, witness files,
version strings and fixtures to them):

  • All 146 exports move, and diagnostics.json is equal on all 121 models that
    publish one, so what is read, approximated and left out does not change. That
    the exports move only in their GlobalIds is what the line-by-line comparisons
    of the two GlobalId changes found on the exports they kept (#1850 for the
    further pieces, #1859 for the rest: every changed line is an entity with only
    its GlobalId changed, apart from the header's timestamps); this run compares
    hashes, not lines.
  • The same-project check of the MEP samples shows what the GlobalIds change:
    bodies_across_saves for the 2025, 2026 and 2027 saves of rme_advanced and
    rme_basic goes from FAIL (25 differences in each, the layered floors'
    pieces) to PASS, and the sketch outlines of the 2026 and 2027 saves against
    the 2025 save from 47 equal and 6 differing to 53 equal and none. Those six
    scorer outputs are the only ones that differ.
  • Time and memory, from the timing job of Measure run
    43381779893
    (rvt-ifc built at v0.20.0 and at main 9b7dee8, each file exported three
    times in turn on one runner, the median kept, with the peak resident memory of
    the export): the 75 files take 0.94 to 1.06 times the time (median 1.00; the
    1.06 is rac_advanced 2024, whose three rounds run 4.3 to 4.7 s on the base
    side and 4.6 to 5.0 s on the head side) and 0.99 to 1.01 times the peak memory
    (median 1.00).
  • Not measured in this run: the size of the IFC.

Upgrading from 0.20

  • Every export's IFC header names rvt-rs 0.21.0, so an export that is otherwise
    unchanged still differs from 0.20.0's there.
  • Every derived GlobalId changes once (#1840, #1854). Openings, voids,
    fills, property sets, quantity sets, material associations, containment,
    aggregation, type relationships, ports and the further pieces of a layered
    floor, a slab or a curtain wall take new GlobalIds in this release; from then
    on they hold from save to save. A tool that follows elements by GlobalId (a
    clash or issue-tracking (BCF) workflow) sees those removed and added again
    between an export made with 0.20.0 or earlier and one made with this
    release. The elements' own GlobalIds do not change.
  • rvt-diff has a second mode, --elements A.rvt B.rvt (#1843). Its JSON
    is described by docs/schemas/rvt-diff-elements.schema.json. The first mode,
    two files compared stream by stream, is unchanged.
  • Rust: rvt::ifc::element_diff is new (#1843). It adds public items and
    changes none.
  • The wording of the warning for undeclared element records changes
    (#1838).
    The command line's warning, the diagnostics' warning, rvt-inspect's
    failure-mode text and the viewer's card say what these records are; the count,
    the readiness score and the element_record_without_element_id item, and
    rvt-inspect's failure kind incomplete_model, are unchanged.

Added

  • rvt-diff --elements compares two saves of a model element by element
    (#1843).
    Each file is exported as rvt-ifc exports it, and the elements
    are keyed by the GlobalId the export writes. It lists the elements added,
    removed and changed, and for each changed one the fields that differ:
    class, name, storey, type, predefined type, material, where the body is
    placed, a digest of the body, and each property the export writes, less
    rvt-rs's own record of where in the file it read the element (its
    stream and offsets), which a later save moves. --json
    writes the whole comparison (docs/schemas/rvt-diff-elements.schema.json),
    and --redact scrubs names, parameter names and text values, and the file
    paths in what it prints. An element whose GlobalId an export writes for more
    than one element is left out of the comparison and reported, as
    duplicate_global_ids and set_aside, so a repeated GlobalId cannot hide a
    change. The library is rvt::ifc::element_diff. What rvt-rs does not read is not compared, and a
    change in how rvt-rs reads a file shows as a change, so compare two saves
    with one build. Suggested by HWT-25 (#1829), who compared two saves of a
    Revit 2027 model by hand.

Fixed

  • Records of ElementIds the element table does not declare are no longer
    all reported as an incomplete IFC from a layout this release cannot locate
    (#1838).
    The element records the reader leaves out because their ElementId
    is not one the file's element table declares were reported that way. A Revit
    2027 structural model, compared with Revit's export of the same save, showed
    84 of them were roof framing deleted between two saves: the record chain
    was the same in both, the table declared 143 fewer of its records, and
    Revit's export held none of the 84 and nothing the reader lacked (2,355 of
    2,355 elements by GlobalId). The command line's and the diagnostics'
    warnings, rvt-inspect's failure mode, readiness and next step, the
    viewer's card and the docs now say what was measured: on that one model such
    records were elements deleted since the file's last Save As, which a file
    saved in place keeps, and if nothing was deleted the model is likely
    incomplete. Other causes are known (an element table read short, as on
    Autodesk's Snowdon Towers 2024 sample before RE-41) or not ruled out, so the
    count, the readiness score and the element_record_without_element_id item
    are unchanged. Not measured: no model of Measure has such a record (none of
    its 121 published diagnostics carries the item), so the one comparison is
    the reporter's, as counts.

  • An element's further pieces keep their GlobalIds from one save to the
    next (#1840).
    A layered floor's parts, a slab's further pieces and a
    curtain wall's parts share their element's Tag, and Revit gives only the
    first a GlobalId. The others were derived from the document's
    Unique Document GUID, which can change between two saves of one project,
    so on a Revit 2027 structural model every part's GlobalId moved on every
    save (#1829). They are now derived from their element's Revit GlobalId,
    which the file keeps. The element's own GlobalId does not change.
    Upgrade note for clash and issue-tracking (BCF) users: each such
    further piece's GlobalId changes once, in this release. A tool that
    follows elements by GlobalId sees those pieces removed and added again
    between an export made with the previous release and one made with this
    one; from then on they hold. With each piece go the GlobalIds of its
    material association and its property sets. On Autodesk's MEP samples
    that is 25 pieces a file, on Snowdon Towers Architectural 25, and on the
    BIM4LCA concrete housing as built 3; a model with no layered floor, slab
    or curtain wall split into parts has none.

  • Openings, property sets, quantities and the relationships between
    entities keep their GlobalIds from one save to the next (#1854).
    Each
    GlobalId the IFC writer derives was seeded from the document's
    Unique Document GUID, which changes on every save of every Autodesk
    sample measured, so between two saves of one project every opening,
    property set, quantity set, material association, containment, void,
    fill, aggregation, type relationship and port took a new GlobalId while
    the elements kept theirs. Each is now seeded from the GlobalId of the
    entity it belongs to: an opening from its host's, a property set from its
    element's, a relationship from the entity it starts from. It holds wherever
    that entity's does, and two documents share it only where they share that
    entity's. No project-level identity could take the document's place: the
    first episode and the ProjectInfo GlobalId are the template's, one value
    on 64 of the 102 models measured. What belongs to no entity still moves
    between saves: the project, site, building and storeys where Revit gi...

Read more

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 05:37
v0.20.0
9bb58fe

0.20.0 is mostly hardening against crafted files. Such a file can no longer crash the browser viewer through a record's length or an overflow in a value it stores, make a read take exponential time or time that grows with the square of its element count, exhaust the stack through the chains it sets, or write its own text into an export's STEP (#1815, #1831, #1833, #1845). No real file of the measured corpus changes from any of those fixes. A reader that stops at one of the new work budgets says so, in a work_budget_reached skipped item and a warning, and the export is still written.

It also changes what users of real files get:

  • A wall, floor, ceiling or roof type edited since an earlier save keeps its layers on Revit 2024 and later, so 180 elements of the BIM4LCA files gain their type and its layers (#1802, RE-446).
  • The project's display units are read from its Project Units (RE-445).
  • 105 duct fittings of Autodesk's Revit 2023 MEP sample are drawn from their saved surfaces instead of boxes (RE-443).
  • The first run of each of rac_advanced 2024's five stairs reads its own settings (#1845).
  • Each GLB material says whether its colour and alpha are the file's (#1812).
  • Revit 2026 and 2027 walls, and the curtain parts on them, get the IsExternal the same project's 2025 save gets (#1860).
  • An element on a Level that is not a building story goes to the building story below it, as Revit's export places it, and a file whose Levels include no building story (Autodesk's rst_basic, saved by Revit 2016 to 2027) is written with no storey instead of storeys made up from its elements' heights (#1842).
  • Two rooms of the BIM4LCA timber office drop a vertex Revit's outline does not have (#1825).
  • Two exports of one file write the same wall GrossSideArea and GrossVolume to the last bit (#1862).

The saved-graphics pass of a default export keeps no inflated copy of the partitions it walks, and each of its reads visits only the partitions holding a record it selects (#1694).

Not measured, and said in each entry:

  • The layer rule of #1802 rests on one project, the BIM4LCA files, the only model that holds a type it reaches. Revit 2008 to 2023 keep dropping such a type (#1805).
  • None of RE-443's 105 duct fittings passes the 0.001 ft shape threshold against the native reference at its default tessellation, and that reference is not shared.
  • No measured material is read the way #1820 changes, so no export shows it.
  • On the 2027 save of rac_advanced, 79 of its 3,192 curtain members still get no IsExternal (#1865).
  • No held-out model has a Level that is not a building story, so #1842 is measured on the BIM4LCA housing files, Autodesk's Snowdon Towers structural sample and rst_basic alone.
  • The crafted-file bounds are exercised by crafted inputs, not by any real file, none of which comes near them.

Measured against 0.19.0 on the reference models, the BIM4LCA office and housing, the Revit 2025 models, Autodesk's sample projects of every release, the held-out models, rac_advanced's IFC2X3 pairs and BIMcollab's model (Measure run
43357862138,
main at 58395b6, 146 exports; the release adds only its notes, witness files, version strings and fixtures to them):

  • 49 of the 146 exports move: 7 held-out files, 10 of the 12 BIM4LCA models (all but the office's two terrain files) and 32 of Autodesk's samples, the rst_basic saves of 2016 to 2027 among them. The 97 that do not are Core Interior, Einhoven, RE1's four models, puzzbobb's 24 Revit 2025 models, BIMcollab's model, the 6 rac_advanced IFC2X3 pairs, 27 of Autodesk's samples (the 23 of Revit 2015 to 2022 that are not an rst_basic save of 2016 to 2022, rac_advanced of 2023 and 2025, and Snowdon Towers Electrical and Plumbing), 12 held-out files, the 19 family exports and the BIM4LCA office's two terrain files. diagnostics.json differs on 89 of 121 models, always in the project's display units and the warning about them (RE-445), and on the models above in what they write.
  • On the BIM4LCA housing's four large files the property values equal go from 27,125 to 27,559 of 30,630 (missing 3,501 to 3,083, different 4, the values rvt-rs writes that Revit does not 118, both unchanged) and the quantities from 16,977 to 17,258 of 21,956 (missing 4,979 to 4,686): on the concrete housing as built the coverings' Reference 79 to 87 of 88, the environmental indicators' Reference 1,410 to 1,456 of 1,465, the openings' Depth 75 to 79 of 79 and the coverings' GrossArea 28 to 36 of 51, with 1,375 of 1,386 types typed where 1,329 were and 347 layer sets written where 328 were. On the timber office at permit the property values equal go from 38,090 to 38,142 of 39,623 (missing 1,532 to 1,482) and the quantities from 31,425 to 31,502 of 33,673 (missing 2,247 to 2,165): the walls' Reference 572 to 586 of 586, the openings' Depth 270 to 284 of 284, 14 more types typed, 7 more layer sets written and 5 more wall ends within 0.001 ft of Revit's (311 to 316 of 586). Two rooms of the timber office, TSTO5 and TSTO9, now lie within 0.01 ft of Revit's outline, as built and at permit (the space profiles' vertices within 0.01 ft 120 to 122, #1825). The concrete office's two files move no census line, the housing's terrain files move by 2 values at most and their storeys, and the property values and quantities of every other model are as in 0.19.0.
  • Storeys (#1842): on the housing's terrain files the elements on Revit's storey go from 476 to 482 and from 477 to 483 (those on none from 25 to 19 each), on the timber housing as built from 1,609 to 1,620 (26 to 15) and at permit from 1,535 to 1,552 (31 to 14), the count on a different storey unchanged; Snowdon Towers Structural binds 824 elements to a storey where it bound 633. The 12 rst_basic saves go from 5 storeys (2016 to 2023) or 2 (2024 to 2027), made up from record-box elevations and holding 36 or 14 elements, to none.
  • IsExternal (#1860): the values Autodesk's 2026 samples lack that the same project's 2025 save gives go from 4,643 to 0 on rac_advanced (its walls, curtain walls, members and plates), 244 to 0 on rac_basic, 2,244 to 0 on each of rme_advanced and rme_basic and 9 to 0 on rst_basic; on the 2027 saves from 4,750 to 186, 257 to 13, 2,351 to 107 and 9 to 0, what is left being the 79 curtain members of #1865 and the doors' and windows' Area, which rvt-rs does not write on those 2027 saves (186 is 79, 83 and 24 on rac_advanced). On one held-out house the walls' IsExternal equal to Revit's go from 0 to 59 of 59 (counts only).
  • On the 25 held-out, BIMcollab and IFC2X3-pair files, counts only, the property values equal go from 104,526 to 104,624 of 122,608 ("different" 315 to 314, missing 17,767 to 17,670) and the quantities from 1,798 to 1,800 of 6,920; 6 of them move a census line. A held-out Revit 2024 file's stair flight gets Revit's NumberOfTreads, Length and NetVolume.
  • What got worse (Measure's comparison lists 0 census regressions and 0 body regressions): the stair runs that read their own settings (#1845) are drawn from their sketch where their saved mesh drew them, 2.55% larger in volume on the five stairs of rac_advanced 2024 and one saved-mesh body fewer on a held-out file (#1856); an IfcRoofType is written where Revit's export writes none on the terrain timber housing (types whose entity disagrees with Revit's 3 to 4 of 502), and the concrete housing at permit writes 3 roof types against Revit's 1 where it wrote 2.
  • Not measured in this run: the size of the IFC.
  • Time and memory, from the timing job of Measure run 43357979238 (rvt-ifc built at v0.19.0 and at main 58395b6, each file exported three times in turn on one runner, the median kept, with the peak resident memory of the export): the 30 samples of Revit 2015 to 2022 take 0.98 to 1.00 times the time (median 0.99) and 1.00 to 1.02 times the peak memory (median 1.00), and the 29 samples of Revit 2023 to 2027 take 0.89 to 1.03 times the time (median 0.97) and 0.67 to 0.80 times the peak memory (median 0.76), Snowdon Towers' five models taking 0.67 to 0.74 times the peak memory. The BIM4LCA office goes from 28.6 s and 946 MiB to 24.7 s and 775 MiB as built (0.86 and 0.82 times) and from 24.0 s and 1,028 MiB to 22.2 s and 835 MiB at permit; its timber files from 32.8 s and 913 MiB to 27.2 s and 709 MiB as built and from 45.5 s and 1,343 MiB to 38.7 s and 1,158 MiB at permit; the housing's four large files take 0.81 to 0.82 times the time and 0.91 to 0.95 times the peak memory (concrete as built 28.3 s and 779 MiB to 22.8 s and 718 MiB); Snowdon Towers Architectural goes from 36.6 s and 1,111 MiB to 32.7 s and 794 MiB (0.89 and 0.71 times); Core Interior from 5.4 s and 327 MiB to 5.2 s and 290 MiB; RE1's four models take 0.94 to 0.97 times the time. What costs more: one file reads more than 3% slower, Autodesk's rme_basic of 2023 (8.18 s to 8.44 s, 1.03), which the timing run of the same code before #1868 (run 43354699944) reads at 0.98 (5.55 s to 5.46 s), so it is the runner and not the code; no file's peak memory is higher by more than 2%.

Upgrading from 0.19

  • Every export's IFC header names rvt-rs 0.20.0, so an export that is otherwise
    unchanged still differs from 0.19.0's there.
  • Rust: gltf::Material has a new field, extras (#1812). Code that builds
    one with a struct literal sets it. Every GLB material now carries
    extras.colourSource and extras.alphaSource, "file" or "rvt-rs".
  • Diagnostics name the project's display units (RE-445).
    recovered_unit_identifiers lists the units the project sets for length,
    area, volume, angle, mass and time. On Core Interior these are feet and
    fractional inches, square and cubic feet, degrees, pounds and seconds, where it
    li...
Read more

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 05:56
v0.19.0
09b18bd

0.19.0 takes back much of the time and memory that 0.18.0's saved-mesh default cost, draws more of the elements that stayed bounding boxes (which makes the IFC of some files larger), and writes more of what Revit's own export writes for the bodies it draws. A decoded graph's fields take a sixth of the memory they did (rvt::research::graph_value::Fv), and the saved-graphics pass builds only the fields meshing reads, cuts its batches by the bytes of the symbols they read and meshes the owners that name nothing 5,000 objects at a time (#1694): the default export of Autodesk's 28 samples of Revit 2023 to 2027 takes a median 0.64 times the peak memory of 0.18.0's (0.29 to 1.18) and 0.89 times the time (0.75 to 1.27), and against 0.17.0, which drew doors and windows alone, 1.04 to 1.92 times the time and 1.04 to 1.69 times the peak memory where 0.18.0 took 1.13 to 1.85 and 1.42 to 4.38. A revolved face is cut into steps by the reach of its profile over its own range, and a face cut by its trim is cut across at the steps of the chord and of the trim and not at every point of it (#1737, RE-435, RE-437), which takes 5% to 14% off the triangles of the files each reaches. More elements are drawn from their saved meshes: faces where a plane meets a cylinder across both of its parameters (175 elements of Autodesk's 2024 samples, RE-426), faces whose trim is not the rectangle of their parameters or has holes (119 elements of Snowdon Towers Architectural and 43 of each BIM4LCA office, RE-430), plane rings that visit a vertex twice (21 sanitary terminals, RE-434), four of Snowdon Towers Architectural's six block roofs (RE-422), and the curtain mullions and panels that were drawn as their turned box (RE-421). A beam gets its six base quantities from its saved mesh (RE-423) and its Length, Span, Slope and Roll from its location line (RE-428); a column its Length, CrossSectionArea, OuterSurfaceArea and GrossVolume (RE-424, RE-425) and a hollow section its NetVolume (RE-247); a curtain mullion its NetVolume, NetSurfaceArea and Length (RE-404, RE-418, RE-432, RE-433, RE-436, RE-438, RE-439, RE-441); a wall that is a prism less its openings its side areas, gross volume and height (#1046); a building element proxy its NetVolume (RE-387); and walls, floors and stairs their LoadBearing (RE-429). The housing's railing types have the name Revit gives them (RE-431), an element framed in several partitions is read from its newest frame (RE-444), and an element whose "Export to IFC As" names IfcGeographicElement is one (#1772). Furniture, railings, walls, ramps, light fixtures and pipe segments carry their own or their type's PredefinedType (#1681, #1713), and a Revit 2027 save is written without one on the fourteen classes whose exporter leaves it off (#1692, #1716): this is the one change that moves an export on purpose for every user of a 2027 file. A planar face whose rings hold more than 10,000 points, or whose boundary search would take more than 250 million steps, is refused and keeps its box instead of being triangulated, so a hostile file cannot take an export hours (#1748, #1770).

Not measured, and said in each entry: the quantity rules for beams, columns, curtain mullions and walls were developed on, and are scored against, the one project with a Revit export that holds them (the BIM4LCA office and housing, Revit 2024), so the 938 beams of Autodesk's samples and the columns, mullions and walls of the models with no Revit export that gain them are scored by none (RE-423, RE-424, RE-425, RE-404, #1046). A mullion's NetSurfaceArea stays unread beside a mullion the reader leaves out and at two kinds of end, a mullion across centred on an end (3 of 28 wrong) and an overlapped mullion's axis on the plane of a free end (4 of 4 wrong, RE-441); the 8 hollow tube beams of the office get none of the six (RE-442); and LoadBearing is written on Revit 2024 and later, a stair with a checked box and a wall whose usage is Shear or Combined being in no model (RE-429). A mesh is not always Revit's: the 24 railings newly drawn read about 1.2 times Revit's volume (RE-426), the 102 chairs 1.0164 and the faucet 1.0992, and no body of the 176 elements newly drawn that Revit's export holds has every vertex of Revit's within 0.001 ft of rvt-rs's surface, Revit drawing round tubes as inscribed polygons (RE-430). The rule that leaves PredefinedType off beams, columns, plates and coverings of a Revit 2027 save follows Autodesk's exporter source and no measured 2027 export (#1716). Reading the newest frame (RE-444) leaves 25 elements of the timber office at permit, 10 of the concrete office at permit and 1 of the concrete housing as built whose newest frame is still not Revit's height, the record's box not being Revit's body there, and the 131 columns each of rme_advanced and rme_basic of 2025 to 2027 whose Length is not a choice of frame (#1801). The IFC is larger where more is drawn (below), the chord bound staying 0.001 ft.

Measured against 0.18.0 on the reference models, the BIM4LCA office and housing, the Revit 2025 models, Autodesk's sample projects of every release, the held-out models, rac_advanced's IFC2X3 pairs and BIMcollab's model (Measure run
43152139337,
main at 1d76c82, 126 exports; the release adds only its notes, witness files, version strings, help text and one doc comment to them):

  • 107 of the 126 exports move. The 19 that do not are the Revit 2025 model 00_Blank, BIMcollab's model, 12 of Autodesk's samples of Revit 2015 to 2022 and 5 held-out files; the 19 family exports are byte for byte 0.18.0's.
  • On the BIM4LCA office the quantities Revit writes that rvt-rs writes equal go from 34,281 to 37,451 of 39,754 as built (missing 5,472 to 2,302) and from 34,616 to 37,831 of 40,006 at building permit (missing 5,389 to 2,174), "different" staying at 1 on each and rvt-rs's own at 0: the mullions' NetSurfaceArea 7,532 to 9,883 of 10,003 and NetVolume 9,678 to 10,001 as built, the walls' NetSideArea 303 to 383, Height 306 to 386, GrossVolume 299 to 379 and GrossSideArea 299 to 379 of 579, the columns' NetVolume 199 to 278 of 279, the openings' Depth 283 to 308 of 308, Height 96 to 121 of 152 and Area 0 to 5 of 5, the spaces' Height 234 to 248 of 248. The property values equal go from 44,492 to 44,501 of 45,798 as built and from 44,648 to 44,655 of 45,957 at permit, "different" unchanged at 1. The bodies still drawn as their record box fall from 168 to 100 as built and from 169 to 101 at permit.
  • On the timber office the quantities equal go from 27,253 to 31,693 of 33,800 as built (different 3 to 1, missing 6,544 to 2,106) and from 26,782 of 33,663 to 31,425 of 33,673 at permit (different 71 to 1, missing 6,810 to 2,247): the beams' six quantities 0 to 71 of 71 each, the columns' OuterSurfaceArea 59 to 339 of 339, GrossVolume 58 to 338, CrossSectionArea 60 to 340 of 344 and Length 203 to 339 as built, the mullions' NetSurfaceArea 5,431 to 7,749 of 7,876 and NetVolume 7,549 to 7,875, the walls' side areas, gross volume and height 78 more of 594 each. The property values equal go from 37,791 to 38,090 at permit (different 101 to 1, missing 1,725 to 1,532): the shading devices' Reference 0 to 44 of 44, the members' Reference 7,834 to 7,872 of 7,872 and Span 7,801 to 7,859, the railings' Reference and Height 4 to 41 of 41, LoadBearing 583 to 586 of 586.
  • On the housing's four large files the quantities equal go from 15,006 to 16,977 of 21,956 (different 4 to 0, missing 6,946 to 4,979) and the property values from 24,673 to 27,125 of 30,630 (missing 5,953 to 3,501, different 4 to 4): the railings' Reference and Height 0 to 43 of 43 and the LoadBearing of the concrete housing as built's walls 0 to 369 of 369, slabs 5 to 35 of 35 and stairs 0 to 29 of 29. On the four terrain files the quantities equal go from 2,802 to 2,868 of 3,016 and the property values from 3,289 to 3,327 of 3,477, and the values rvt-rs writes that Revit does not from 98 to 12 and from 12 to 0 (the IfcGeographicElement of #1772).
  • On puzzbobb's 24 Revit 2025 models the property values equal go from 1,354 to 1,492 of 1,930 (missing 576 to 438) and the quantities from 993 to 1,029 of 1,411 (missing 418 to 382), none different; on RE1 Architecture the property values equal go from 209 to 218, the bodies still drawn as their record box fall from 3 to 2, and the other three models' values are as in 0.18.0.
  • On Autodesk's 28 sample projects of Revit 2023 to 2027 the bodies still drawn as their record box fall from 3,584 to 2,703 (Snowdon Towers' five, from 1,111 to 816); no sample of Revit 2015 to 2022 changes a body (67,661 boxes).
  • On the 13 of 18 held-out files that move, counts only, the quantities equal go from 1,205 to 1,493 of 3,601 ("different" stays at 16, missing falls from 2,380 to 2,092) and the property values from 7,455 to 7,628 of 10,925 ("different" stays at 22).
  • What got worse (Measure's comparison lists 0 census regressions and 2 body lines): the layer sets of the timber office at permit, "layer spans within 0.1 ft of Revit's" 450 to 449 of 450 and "whole layer sets" 553 to 552 of 552, because a wall retyped since an earlier save takes a type whose layers are not read (#1802); five values that were equal to Revit's there are no longer written (a wall's NetVolume and an opening's Height and Width, from the two retyped walls above, #1802, and two mullions' NetSurfaceArea beside a mullion whose frame moved, #1803) and a wall is drawn from its record box where it was drawn from its saved mesh (#1407), all from reading the newest frame (RE-444); one wall of the concrete housing as built carries a LoadBearing that Revit's export does not write (RE-429), the values rvt-rs writes that Revit does not going from 117 to 118 on the housing's four large files.
  • What costs more, size: the IF...
Read more

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 06:14
v0.18.0
274165f

0.18.0 draws every element that would be a bounding box from the mesh Revit saved
for it, by default on Revit 2023 to 2027, and writes more of what Revit's own
export writes for the bodies it draws. Where all of a mesh decodes, a wall, roof,
railing, curtain mullion or panel, column, door, window, piece of furniture,
fixture or item of equipment is that mesh and not its record box (#1191): a roof
that was the level block of its sketch outline, a railing whose parts are
instances of other elements, an instance forbidden the targets 10, a turned family
instance, and the ellipses, curved ruled surfaces and rings that repeat their
first point in the saved graphics are read now (#1612, #1630, #1635, RE-385,
RE-389, RE-397, RE-401, RE-408). Reading every box's saved graphics costs 1.1 to 1.9
times the time and 1.4 to 4.4 times the peak memory of 0.17.0 on Autodesk's samples of
Revit 2023 to 2027 and makes the IFC larger; --no-saved-meshes keeps the boxes (#1694).
A railing that belongs to a stair is aggregated under it, as Revit's export aggregates
it (#1624). A wall's NetVolume and side
areas, a mullion's NetVolume and NetSurfaceArea, a panel's Width, a roof's
GrossArea and GrossVolume, a sloped floor's PitchAngle and the properties of
an opening are written as Revit's export writes them where the BIM4LCA office
and housing show it, and a round column no longer carries a square's quantities.
A wall with an edited elevation profile has the openings Revit's export writes
for it. Four more "Export to IFC As" values are acted on (#1636), every type
object has a GlobalId of its own (#1667), and a standalone Revit 2020 family with
one revolution exports as an IfcRevolvedAreaSolid (#156, experimental). Every
record box, beam box and turned box that stays one says why, on every release: its
SavedMeshRefusal property and exported.saved_mesh_refusals give the reason
(#1645); a mullion or panel drawn as its oriented box has none yet (#1689). puzzbobb wrote the
turned-instance and curved-surface mesh reads (#1620) and the correction of a
family type table's warning (#1633), BIM4GIB the standalone family revolutions
(#1632) and their measurement (#1628), and mahach666, RvtIO's maintainer, linked
the shadow cutout steps to the steps they mirror (#1165) and offered the weld
passes and the round-column rule measured under RE-410 and RE-411; thanks.

Not measured, and said in each entry: no roof, beam, slab, footing or stair flight
mesh is among the bodies scored against Revit's export on 31 models, so the roofs
drawn from their meshes rest on Snowdon Towers Architectural (Revit 2024, local
only; 14 of its 20 roofs read within 0.061% of Revit's volume and 6 keep their
level blocks, RE-420, #1683), the T and U roof of puzzbobb's Revit 2025 models and
the same-project gates, and on 3 held-out roofs two scorers disagree (RE-389). A
mesh is not always Revit's: doors are 675 of 681, sanitary terminals 68 of 94,
flow fittings 71 of 89, flow terminals 30 of 35 and walls 14 of 18 with every
vertex within 0.001 ft of Revit's export. A stair that aggregates its railings
has Revit's height and, where a railing is still its record box because its mesh
is not whole, more volume than Revit's (2 to 127 times on the office's 13 stairs
that hold railings, RE-303). The quantity rules were developed on the BIM4LCA
office, and their first measurement on a second project, the housing, found 5 of
15 census lines holding where they are exercised (RE-402); RE-403, RE-405, RE-413
and RE-417 repair what it found wrong, and an entry says where no second project
exercises its rule. A mullion's NetSurfaceArea rests on the one model whose
Revit export writes it, and 263 mullions of the office whose count still gets 7
wrong stay out (RE-400).

Measured against 0.17.0 on the reference models, the BIM4LCA office and housing,
the Revit 2025 models, Autodesk's sample projects of every release, the held-out
models, rac_advanced's IFC2X3 pairs and BIMcollab's model (Measure run
42949360321,
main at 8334726, 126 exports; #1691 moves none of them, run
42954375538, and the
release adds only its notes, witness files, version strings and help text to them):

  • 123 of the 126 exports move. The 3 that do not are the Revit 2025 models
    00_Blank, 01_Walls and 11_RoofByExtrusion. On the 45 of Revit 2015 to
    2022 no census line moves but the plate types written with no Tag (0 to 5 on
    rac_advanced's six saves and on the held-out Vitoria project, #1594); their
    exports move by the SavedMeshRefusal each box body gains (68,579 on the 31
    that report diagnostics, as many as their box bodies; the other 14 are counts
    only).
  • On the BIM4LCA office the quantities Revit writes that rvt-rs writes equal go
    from 29,761 to 34,281 of 39,754 as built (missing 9,992 to 5,472) and from
    30,037 to 34,616 of 40,006 at building permit (9,968 to 5,389), "different"
    staying at 1 on each and rvt-rs's own at 0: the mullions' NetVolume 7,795 to
    9,678 of 10,003 and NetSurfaceArea 6,606 to 7,532 as built, the panels'
    NetVolume 0 to 260 of 260 and Width 0 to 257 of 257, the walls' NetVolume
    100 to 519 of 607, NetSideArea 100 to 303 of 579 and Height 132 to 306 of
    579. The property values equal go from 44,422 to 44,492 of 45,798 as built and
    from 44,571 to 44,648 of 45,957 at permit (the openings' Reference 12,787 to
    12,824, their FireExit 0 to 25, the floors' PitchAngle 54 to 62), "different"
    unchanged at 1. The bodies still drawn as their record box fall from 10,679 to
    168 as built. On its two terrain files the quantities equal go from 16 of 44 to 25
    of 45 on each.
  • On the timber office the quantities equal go from 22,868 of 33,796 to 27,253 of
    33,800 as built (different 8 to 3) and from 22,335 of 33,659 to 26,782 of
    33,663 at permit (different 145 to 71); the property values different stay at
    101 at permit.
  • On the housing's four large files the quantities equal go from 3,059 of 5,268
    to 3,636 of 5,358 and from 2,800 of 4,972 to 3,598 of 5,062 in concrete (as
    built, at permit) and from 2,699 of 5,788 to 3,909 of 5,872 and from 2,658 of
    5,580 to 3,863 of 5,664 in timber (the totals rise with the objects #1636
    writes), and "different" from 131, 169, 170 and 109 to 0, 4, 0 and 0; the quantities
    rvt-rs writes that Revit does not fall from 38, 2, 28 and 15 to 7, 0, 2 and 2,
    and the property values it writes that Revit does not from 167, 163, 168 and
    163 to 31, 27, 32 and 27.
  • On puzzbobb's 24 Revit 2025 models the quantities equal go from 878 to 993 of
    1,411, none different, and the property values are as in 0.17.0. On RE1 the
    bodies still drawn as their record box fall from 52 to 3 (Architecture), 49 to
    2 (Electrical), 43 to 0 (Mechanical) and 60 to 0 (Plumbing), Einhoven's from 9
    to 0, and the values are as in 0.17.0; Core Interior draws none as a box in
    either release and writes no property set or quantity, as before.
  • On Autodesk's 28 sample projects of Revit 2023 to 2027 the bodies still drawn
    as their record box fall from 78,310 to 3,584 (Snowdon Towers' five, from 9,953
    to 1,111); no sample of Revit 2015 to 2022 changes a body (67,661 boxes, each
    now with its reason).
  • On the held-out files of Revit 2023 to 2027, counts only, 11 move: the
    quantities equal go from 845 to 1,056, "different" stays at 16 and missing
    falls from 2,593 to 2,380.
  • What got worse (Measure's comparison lists 0 census regressions and 19 body
    lines): the volume of a stair that aggregates its railings, which read as their
    record boxes where their mesh is not whole (#1624, RE-303): 13 stairs of the
    office, the worst 6.0 to 911.9 ft3 as built against Revit's 7.2, and the Revit
    2025 spiral stair of 17_Rooms_Stairs_Spiral, 683.7 to 1,365.1 ft3 against
    Revit's 58.9. A wall or floor drawn from its saved mesh is drawn whole, not in
    layers, in the glTF: 3 fewer walls in the concrete office at permit and 1 fewer
    in the timber office as built, and 9 and 2 fewer floors, roofs and ceilings in
    the timber office at permit and as built; the layers still drawn are as close
    to Revit's as before.
  • What costs more, time and memory, from the timing job of Measure run
    42956917709
    (rvt-ifc built at v0.17.0 and at the source of main from #1691 on, each
    file exported three times in turn on one runner, the median kept, with the
    peak resident memory of the export): the 30 samples of Revit 2015 to 2022 take
    1.00 to 1.02 times the time and 1.00 to 1.01 times the peak memory, because
    the pass is not offered there; the 28 samples of Revit 2023 to 2027 take 1.13
    to 1.85 times the time (median 1.39) and 1.42 to 4.38 times the peak memory
    (median 1.87), the most for rac_basic 2023 (1.9 s and 200 MiB to 3.4 s and
    875 MiB). The BIM4LCA office goes from 25.4 s and 914 MiB to 33.0 s and 1,432
    MiB as built (1.30 and 1.57 times) and from 22.5 s and 973 MiB to 27.6 s and
    1,545 MiB at permit; Snowdon Towers Architectural from 17.6 s and 1,073 MiB to
    28.0 s and 2,086 MiB (1.60 and 1.94 times), its IFC from 37 MB to 189; Core
    Interior from 4.7 s and 305 MiB to 5.3 s and 437 MiB; RE1's four models
    1.05 to 1.14 times the time and up to 1.60 times the memory; Einhoven and the
    office's two terrain files within 5%. The peak memory still above 0.17.0's is
    #1694.

Upgrading from 0.17

  • Every export's IFC header names rvt-rs 0.18.0, so an export that is otherwise
    unchanged still differs from 0.17.0's there.
  • A default export of a Revit 2023 to 2027 project draws every element that
    would be a bounding box from the mesh Revit saved for it, where all of the mesh
    decodes (#1191).
    Doors and windows alone were until now. The IFC is larger
    (the BIM4LCA office as built from 68 MB ...
Read more

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 15:59
v0.17.0
495b212

0.17.0 reads more of Revit 2015 to 2023 and corrects what the export claims. On
Revit 2015 to 2023 projects curtain walls are IfcCurtainWall with their
mullions and panels under them, along their own axes, with their type, family and
material, Span, Length and IsExternal; steel beams of 2017 to 2023 are
drawn as their type's I section; walls write their Height where their record
names nothing joined to or cutting them; and ducts of Revit 2015 to 2027 take
their type, section, line and ports from their own native record, with a port's
SystemType and its joins. On Revit 2024 a room whose stored solid neither the
walk nor the span closes takes its floor's outline from the solid's edges, a
wall whose floor covers all of its plan but a stub inside another wall is cut
whole, and a wall whose edited profile closes below its record box ends at the
profile's highest point with the profile's Height. A Revit 2026 or 2027 save is
written without an ObjectType, as Revit's own export of those releases writes
none. Two claims the export made on every file are now made only where they hold:
the missing host join of the 2024 opening index, whose rows were never
openings, and the compound layers that host elements were said to lack.
puzzbobb wrote the Revit 2015 to 2023 curtain walls, parts and beam sections, the
duct and port reads (#1518, #1519, #1520, #1524) and the correction of those two
claims (#1598); thanks.

Not measured, and said in each entry: no curtain wall, curtain part, steel beam,
duct or wall Height of Revit 2015 to 2023 on Autodesk's samples is scored
against a Revit IFC4 export. They are held to the same projects' 2024 saves,
which cannot catch an error those saves share, and the curtain walls and parts
are also scored against Revit's IFC2X3 exports of other projects, counted apart.
The wall stub rule rests on one wall of the BIM4LCA office (3004978) and the
profile-top rule on one wall of its terrain files (1387731), and each is
labelled and counted apart (TopCoverStub, ProfileTopSource). The Revit 2026
and 2027 ObjectType is Revit's on the 418 typed elements of nine classes of the
five held-out pairs saved by those releases (counts only). A panel's material from
the Curtain Panels category rests on one project, Vitoria's, in two saves; on
Revit 2024 and later no model has a category that holds one, so which Revit's
exporter prefers there is not measured.

Measured against 0.16.1 on the reference models, the BIM4LCA office, the
Revit 2025 models, Autodesk's sample projects of every release, the held-out
models, rac_advanced's IFC2X3 pairs and BIMcollab's model (Measure run
42632958286,
main at 52282ea, 118 exports; the release adds only its notes, witness files
and version strings to it):

  • 77 of the 118 exports move. The 41 that do not are Core Interior, Einhoven,
    RE1 Architecture and Electrical, all 24 Revit 2025 models, six held-out
    models, and Autodesk's rst_advanced 2015, rac_basic 2024 and 2025,
    rst_basic 2024 and 2025 and Snowdon Towers' electrical and structural
    models.
  • On the BIM4LCA office the property values and quantities are as in 0.16.1,
    as built and at permit: equal, different and missing are unchanged. The port
    SystemType equal to Revit's goes from 0 to 24 of 67 on each file (heating),
    its wall 3004978 as built has Revit's top (606 to 607 of 607 walls with
    Revit's base and top), and the one room that kept its box at permit takes its
    floor's outline from its solid's edges, at Revit's area. On its two terrain
    files the wall Height equal to Revit's goes from 1 to 2 of 2, the quantities
    equal from 15 to 16 on each and "different" from 1 to 0 and from 2 to 1 (the
    remaining one is a space's NetVolume).
  • On RE1 Mechanical the bodies still drawn as their record box fall from 68 to
    43: its 25 ducts are their sections along their lines. On RE1 Plumbing the
    ports joined to a segment's port have Revit's Z axis on 118 of 118, from 108.
    On the 2026 and 2027 MEP samples the ports compared with the 2025 save go
    from 6,967 to 7,276 and from 7,054 to 7,364 with none different, and the
    properties compared from 5,140 to 5,158 and from 5,145 to 5,163, none
    different.
  • On Revit 2018's IFC2X3 exports of the two Vitoria projects, counts only, the
    equal property values go from 2,737 to 3,494 on ALD26 Before and from 3,291
    to 4,048 on the held-out ALD26 Project, and the values rvt-rs writes that
    those exports do not from 65 to 55 and from 62 to 52. On ALD26 Before 5 of
    its 9 curtain walls are IfcCurtainWall (none before), its 206 members and 67
    plates have Revit's Name and ObjectType, and 442 elements have the same
    materials as Revit's, from 375. An IFC2X3 export is counted apart and removes
    no value.
  • On rac_advanced 2015 to 2020 against the three.js IFC2X3 export, counts only,
    the equal property values go from 2,503 to 15,026 on each save and the missing
    from 13,605 to 1,078; "different" goes from 0 to 11, the mullions' Span
    (about 7.5 mm, counted apart), which were missing before.
  • On the held-out models, counts only, Revit 2021's Warmond goes from 188 to 279
    equal quantities (the walls' Height on 2015 to 2023, #1535; 5 different as
    before), Revit 2023's modelo_bim from 7 to 8, and the Revit 2022 office
    pair's property values from 105 to 107.
  • Time and peak memory of rvt-ifc against 0.16.1 (Measure run
    42636959116,
    both builds of a file in turn on one runner, three rounds): on the reference
    models and the Revit 2024 to 2027 sample projects (35 files) the time is 0.94
    to 1.05 times 0.16.1's, but for Einhoven, a 0.1 s file (106 to 123 ms), and the
    peak memory 0.98 to 1.07 times (the largest rise is Snowdon Towers' HVAC model,
    215 to 230 MiB). On the 33 sample projects of Revit 2015 to 2023, whose curtain
    wall, beam, duct and port reads the release widens, the time is 1.00 to 1.65
    times (rac_advanced 1.19 to 1.42, the 2015 and 2019 MEP samples 1.54 to 1.65,
    the 2015 rme_advanced from 1.96 s to 3.08 s) and the peak memory 1.00 to 1.12
    times (the 2015 rme_advanced from 329 to 370 MiB).
  • No property value or quantity goes from equal to different or missing on any
    model, and "different" rises only by those 11. The IFC4 rules check finds
    nothing on any of the 93 exports that keep it, and the same-project gates pass
    (15 samples held to their earlier saves, and the Areas).

Upgrading from 0.16

  • Every export's IFC header names rvt-rs 0.17.0, so an export that is otherwise
    unchanged still differs from 0.16.1's there.
  • A default export of a Revit 2015 to 2023 project can change: a curtain wall is
    an IfcCurtainWall with its mullions and panels aggregated under it and a
    door in none of them, its parts take their type, family and, mullions and
    panels, their material, a steel beam of 2017 to 2023 is its type's I section,
    a wall writes Qto_WallBaseQuantities.Height where its record names nothing
    joined to or cutting it, and a duct takes its type, section, line and ports.
  • A default export of a Revit 2024 project can change: a room that kept its box
    takes the outline of its floor from its solid's edges
    (SpaceOutlineSource stored_solid_edges, exported.edge_outline_spaces),
    and a wall gains TopCoverStub or ProfileTopSource with a different top and
    Height (the BIM4LCA office's wall 3004978 and its terrain files' wall
    1387731 are the two measured).
  • A Revit 2026 or 2027 export has no ObjectType on any element, where it had
    Family:Type; a USERDEFINED PredefinedType is then left unset. Revit 2025
    and earlier are unchanged.
  • Ducts and ports of Revit 2015 to 2027: a port has the SystemType of its
    connector's system and an Exhaust Air port is SOURCEANDSINK; a join is
    written only where each of its connectors keeps the other, and the joins left
    out are counted in exported.port_joins_left_out.
  • The export's claims: iter_elements no longer yields the
    ArcWallRectOpening rows of a Revit 2024 file (they were never written to the
    IFC; Core Interior's production_class_counts loses ArcWallRectOpening 3,777
    and source_coverage.exported_element_fraction goes from 0.20 to 0.92);
    unsupported_features no longer lists
    opening_index_to_ifc_openingelement_host_join, the export decisions no longer
    name opening_index_without_host_geometry, and
    revit_compound_assemblies_and_walltype_widths is listed only for a file with
    a host element written without its layers.
  • Rust API (the research and IFC model types): PartitionSchemaMvp::rect_openings
    is removed (unstable-research); native_connectors::port_flow_direction
    takes the connector's system classification as a fourth argument and
    ConnectorPorts::segments maps to a Calculation (direction and system);
    native_connectors::InstancePort and ifc::entities::IfcEntity::Port have a
    system_type field; ifc::entities::PropertyValue has a Ratio variant, so
    an exhaustive match outside the crate needs an arm for it; ifc::IfcModel
    and ifc::ExportedModelDiagnostics have a port_joins_left_out field, which a
    struct literal outside the crate needs.
  • New keys in diagnostics.json (exported.wall_top_stubs_cut,
    exported.wall_profile_top_sources, exported.edge_outline_spaces,
    exported.port_joins_left_out) and new markers in
    RvtElementRecordGeometry (TopCoverStub, ProfileTopSource); code that
    reads either handles a key or marker it does not know.

Added

  • Revit 2015 to 2023 curtain mullions and panels have their type and family, and
    the mullions their material (#1190, RE-367).
    On rac_advanced all 3,276
    mullions and 1,349 panels take the type and family of the 2024 save, and every
    mullion type the material its 2024 save's m_renderStyleId holds. Against
    ...
Read more