Skip to content

Snowdon Towers Architectural: roofs 1916596 and 964559 stay level blocks (a plane edge across a curved face that is not isoparametric; a cylinder face with several trim loops) #1706

Open

Description

@DrunkOnJava

Two of Autodesk's Snowdon Towers Architectural's 20 roofs (Revit 2024) stay the level block of their sketch outline after #1683's ruled-surface fix drew the other four from their saved meshes. Each has one decoder diagnostic and its saved mesh holds no primitive (measured against Revit's own IFC4 export of the model, local only; counts and percentages only here):

roof diagnostic over Revit's volume
1916596 shared curved edge changes its fixed parameter 74%
964559 multiple cylinder trim loops unsupported 42%

1916596. refined_plane_edge in src/research/native_saved_mesh.rs refines the edge a plane face shares with a curved face (a cylinder, a surface of revolution, a ruled or a cone surface) in the curved face's parameter domain, and requires the edge to be an isoparametric interval there: u or v constant along it. This roof's edge is not, as the edge of a slanted plane across a cylinder is not. The same diagnostic is on 25 elements of this model (the railings KAI-5 and KAI-6 among them) and on rac_basic and the rme samples, so a rule here moves more than this roof.

964559. RE-407's negative: a cylinder face with more than one trim loop. The roof's outline holds a face of that kind.

Done when: each of the two roofs is drawn from its saved mesh and within 1% of Revit's volume by a rule that moves no element it should not (ifc.sha256 byte-identical wherever the diagnostic is not raised, and the elements that do change named with their scorer lines), or a measured negative says why a trimmed edge of that kind cannot be walked from the file's bytes. The 25 elements that raise the first diagnostic are counted in the same pass, since a general rule for a non-isoparametric plane-to-curved edge draws them too.

Related: #1683 (the four ruled-surface roofs and the six-roof census), #1191, #1635 (railings), RE-407, RE-420, RE-422.

Activity

  1. added
    area:geometry
    area:ifc
    priority:P2
    type:feature
    on Nov 11, 2026
  2. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    What the two roofs are part of: the saved-mesh refusals that are left in Snowdon Towers Architectural after #1683's rule (Measure 42988906515, the export of #1707's head, 6,049 products, counts only).

    559 products still carry a SavedMeshRefusal and keep their box (the 4 roofs of #1707 are drawn). By reason, with the classes that hold them:

    elements reason classes
    174 no_saved_mesh proxies 127, openings 47 (nothing to decode)
    116 shared curved edge is not an isoparametric interval proxies 100, sanitary terminals 15, slab 1
    104 nonrectangular parametric trim furniture 102, sanitary terminal 1, railing 1
    26 whole_drawn_by_its_parts stairs 26 (not candidates)
    25 shared curved edge changes its fixed parameter railings 24, roof 1 (1916596)
    21 multiple parametric trim loops unsupported sanitary terminals 21
    21 + 21 face regions need subdivision (alone, and with multiple cylinder trim loops unsupported) proxies 42
    18 unsupported surface HermiteSurf proxies 16, railings 2
    14 unsupported parametric profile curve GHermiteSpline proxies 11, railings 3
    11 multiple cylinder trim loops unsupported proxies 9, appliance 1, roof 1 (964559)
    5 two reasons together (a nonrectangular trim with one of the above) furniture 2, sanitary terminals 2, column 1

    Snowdon Structural: 113, of which 111 are no_saved_mesh and 2 beams are a nonrectangular parametric trim.

    So the two roofs of this issue sit in the two largest decoder gaps: 141 elements (116 + 25) are refused because a plane face meets a curved face along an edge that runs across the curved face's grid (a slanted plane through a cylinder, a mitred railing), and 104 (furniture) because a curved face has a trim that is not a rectangle in its parameters. Both ask for the same thing, a curved face meshed inside an arbitrary trim loop (its boundary the edge samples both neighbours already share, grid points inside it), instead of a grid whose boundary is the rectangle of its parameters. That is the work this issue stands for; the 2 roofs and the 24 railings are its first scored cases (Revit's IFC4 export of this model holds all of them).

  3. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    First step, rows registered before its run: a plane that meets a cylinder along an edge across both the cylinder's parameters (547f2f27, branch fix/1706-crossing-edges).

    The probe (42998375045, probe_1706_shared_edges, Autodesk's 2024 samples) says what the 141 refusals stand on. In Snowdon Towers Architectural 14,421 plane-to-cylinder edges run along u or v and 648 along neither, on 501 cylinder faces, of which 608 mesh through the pass (30 have no trim loop, 10 several): 484 of the 648 have chords within 0.001 ft of the surface as the graph samples them (median 7 samples) and 164 do not (the bound exceeded by up to 5e-3 ft); the surface point at the middle of two samples' parameters leaves the plane by 1e-3 ft or less on 638 of 648. The plane-to-ruled-surface edges across both parameters (89) and to surfaces of revolution (181) sit on faces that are refused for nonrectangular parametric trim (74 + 155) or several loops, so they are not this step's. Snowdon Structural has 8 such cylinder edges and 16 on surfaces of revolution.

    The change. An edge across both parameters takes, on the plane's polygon and on the cylinder's loop alike, the points of the edge itself that keep the chord between neighbours within 2.5e-4 ft of the surface (Newton's method onto the plane at the middle of the parameter that changes more, halving to 6 levels). An edge along u or v is as before. The helper is pure and has six failure-first tests (a plane the surface meets far from the span, a surface that returns no point or a NaN, one sample, samples already within the bound, the isoparametric test).

    Measure on Autodesk's samples of Revit 2024 and the reference models, keep_ifc, scorers=none, base=none, the kept exports read element by element against main 1641128's (Measure 42993080184), the changed elements scored against Revit's IFC4 export of Snowdon Architectural with mesh_bodies_vs_ifc:

    1. The elements refused for shared curved edge is not an isoparametric interval or ... changes its fixed parameter (141) fall to 100 or fewer; at least 20 of them are drawn from their saved meshes.
    2. No element drawn from a saved mesh at main changes: 0 differ among the 3,837 of Architectural and the 83 of Structural (an edge that was along u or v, or in a face that already meshed, is unchanged).
    3. Of the elements newly drawn that Revit's export holds, at least 80% have every vertex of Revit's body within 0.001 ft of rvt-rs's surface, and each has its volume within 1% of Revit's.
    4. No element that was drawn is refused now.

    If 3 misses, the step is narrowed to the edges whose chords the graph's samples already hold (484 of 648) and the refinement is looked at for the rest.

  4. 15 remaining items

  5. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Where the two roofs stand on main (export of 88714209, Snowdon Towers Architectural, against Revit's own IFC4 export, local only; percentages only).

    roof today over Revit's volume
    1916596 drawn from its saved mesh (BodySource saved_graphics_mesh) −0.03%
    964559 the level block of its sketch, SavedMeshRefusal partial: multiple cylinder trim loops unsupported +42%

    So the issue's first half is done, and its done-when now rests on 964559: drawn from its saved mesh within 1% of Revit's volume by a rule for a cylinder face with several trim loops, or a measured negative on why those loops cannot be walked.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:geometryarea:ifcpriority:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions