You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Size: M (the bake's ladder values and the builder crate; no new contract)
Problem
Half of all tunnel ends in test box B are underpasses: a short chain under a way, a track or a building. P1 places them as box ends with a sectionbox tube, and until this item the new roads draw them as a plain tube with no openings. In the prototype the box part was right at most places, but its wing walls ended in a high face at the 12 m cap, and a plant stood in one opening.
Scope
The builder of the box end in host/obc-trailview-parts: a square frame, a head wall up to the way on top, wing walls into the embankment whose tops follow the rows left and right, the box tube between the two openings, its boxes and its footprint.
A wing wall that ends before the ground ends gets an end that slopes down to the ground, not a high face.
The height of the box from the room under the way on top (P1's rule); the way on top stays whole.
Labelled pictures of road, track, rail and path underpasses, today's app | new roads.
Depends on
This item adds Part::Box to BUILT of obc-trailview-parts; no new bake is needed, because the tiles already hold the records of all ends (#3681).
P2 (#3679, #3737): the height of a box and the floor
P2 runs the floor pass on a box chain too: its height from P1 (the room under the way on top, less slab_m and shell_m) is the H of the pass. The pass reads the way on top over a wider window (its outer half-width, the tube's half and its shell, along the crossing) and keeps the heights of both openings. So the chords of a box can be lower than the height of its tunnel-end.
On test box B, 82 box openings have a first chord lower than their height, by up to 1.02 m (the five largest: 1.02, 0.98, 0.91, 0.71 and 0.66 m). The tunnel-end keeps its height; this is a deviation of P2, whose design named only its z. The underpass part must take the lesser of the two, or close the step between its frame and its first chord.
P2 (#3679, #3737) after its review: the height of an underpass
This replaces my earlier comment here.
An underpass now takes its height from the floor of P2, not from the room of P1. The rooms of the measure still select the kind box (rung 3). The floor pass starts from the bore and lowers the floor, or the section where the grade does not allow that, under each way on top. Each tunnel-end takes the height of the tube's chord at its vertex, so the frame and the first chord have the same height. The section can still change along the box, chord by chord, where a way on top does not reach the openings. A way on top and its underside are read once, by the floor pass, for both.
A kind draws when it is in BUILT of host/obc-trailview-parts/src/lib.rs. The chord endsnone stays not built.
The tube builds both sections: Section::Box has walls to the height and a flat ceiling. Between two chords of different height, a face closes the step, for both sections, inside (tube::inside) and outside (tube::shell).
arch.rs has general pieces: Wall (columns from the foot or the hole up to the top, the coping band), collar (the stations of the chords from an end) and tube::shell. The box of an underpass can use them.
The ring of the tube at an opening lies on the frame line of its end (square to heading), so a head wall shares its vertices with the tube.
#3681 changed its step 5. The bake now writes the cut of each built end (the tag cut of the tunnel-end): where the ground of the ground plan, with the openings of built chains open, lies inside a box of the part. The ground plan leaves a hole in its mesh only there. So:
Adding Part::Box to BUILT is not enough. It needs one features bake, so that the box ends get their cut and the bake opens their stretches as the device does. "No new bake is needed" in Depends on no longer holds.
The box part must fill its boxes as the arch does after TrailView parts P4: the new roads draw the parts #3681: boxes at the middle of the wall, one per straight piece, and an outer shell to the end of the last box. The cut and the terrain's box rule read those boxes.
boxes::boxes of obc-trailview-parts gives the boxes of a built end. There is one box for the opening, then one per straight piece of the tube. A box has 12 words: after the spring come the slopes of its two ends, which lie in the planes of the tube's rings. The box part's opening and its square tube need a box of their own shape that holds their room and lies at the middle of their wall. A box section is a flat box (spring at the roof).
The shell runs to the end of the last box, and a face closes it there (arch::end_face). Where the parts of a short tube's two ends would meet, both shells end at the middle vertex. An underpass is one part for its chain, so it has no such end.
The head wall and the shell go down to boxes::foot: the end's foot, or foot_m under the lowest floor that the part runs over.
After Part::Box is in BUILT, one features bake writes the cut of the box ends.
When Box joins BUILT, the viewer and the ground plan take the underpass with no more code: the ground plan opens the stretch to each built opening (openings::built, the crate's built_ends) and leaves the hole of the tag cut; the tunnel line stamps nothing from each opening's way end to the start of the part's cover (shift + collar + 1 m); the part's ring takes the ground from plants, and kind points in it are not drawn. The part's boxes go to the terrain with the others (64 at most with the plan). One features bake writes the cut. The fault of the sampled cut at the plan's steps (#3684 comment) applies here too.
Data: the tunnel-end records of test box B, features revision 34 (504 box ends, 1,008 wing rows), and a first build with Box in BUILT and no other change (pictures on the owner's PC: parts/p5/pics/proto0, parts/p5/pics/scan1). That build already draws a square frame, a head wall up to the way on top, the box tube with its lamps and a clear opening at the places in the pictures.
Facts of box B. 98 % of the box wings (and 84 % of the arch wings) end in a face higher than their coping: 92 % of the box rows run to wing_max_m while the ground is still high. Over its coping, the end face is 3.3 m high (median; p90 5.8 m, max 11.2 m). Most rows rise outward (median +0.34 m per metre; 36 of 906 rows fall): the frame line crosses the banks of the cutting of the way into the opening. Where the drawn ground equals the bake's ground, the bank covers most of that face. Where the drawn ground is lower (stamps, coarse terrain), the face stands free.
1. The end of a wing wall: a 1:1 slope down to the coping
Rule: the top of a wing wall is at most coping_m + 1 × (the metres from that point to the end of its row). The row stays the top where it is lower. So every wing ends as high as its coping, and toward its end its top falls at most 1 m per metre.
Its cap: the coping band follows the sloped top. The end face is the coping band alone, coping_m high.
Why: the wall does not get longer, so the footprint and the foot that the bake measured stay valid, and the wall cannot reach a way or a house past its row. A slope of 1:1 is steeper than the 2:3 of an embankment, so the sloped top goes into a bank before the end of the row, as a real wing wall does. One rule for every wing: the arch takes it too.
2. Deck edge or parapet where the way on top has none: none
Rule: no new face. The head wall's coping stands coping_m over the highest ground on the frame line (the bake's face), and that is the edge of the way on top. Between the head wall and the way on top, the flat top of the box's shell shows as the deck.
Why: on box B, 503 of 504 box ends have no deck over them that lowers face. A railing or a guardrail belongs to the way on top, which the ground plan builds; the part does not know the side, the height or the class of that way.
3. The look of a path underpass: concrete
Rule: the group path takes the look concrete in parts.json. The look rock stays the look of the kind rock, which the bake sets for it. The inside of a box section is cast: where its group's bore is rock, its walls and roof take lining and its floor walk. A round section of that group keeps its rock.
Why: an underpass is a cast box under a way or a track; 307 of the 504 box ends are paths. The 32 path arches of box B get a concrete head wall too, as a built portal has. The rock opening (rock) does not change.
Also in the build
One part for the chain. The part of a box end runs the whole chain: its shell and its boxes run to the vertex nearest the middle, where they meet the other end's. So an underpass has no end face in its middle, and its boxes hold the room from opening to opening, also where the ground dips between two ways on top. Where the parts of a tube's two ends meet, the boxes of each end at that vertex too (not two boxes over one stretch).
No end face in the other head wall. A shell that runs to the other opening of its tube (a tube of one chord) ends in that head wall with no face; today the face lies in the plane of the other frame.
One features bake, with a new revision of the layer, because BUILT changes.
Activity
timohueser commentedon Nov 20, 2026
P2 (#3679, #3737): the height of a box and the floor
P2 runs the floor pass on a
boxchain too: itsheightfrom P1 (the room under the way on top, lessslab_mandshell_m) is theHof the pass. The pass reads the way on top over a wider window (its outer half-width, the tube's half and its shell, along the crossing) and keeps the heights of both openings. So the chords of a box can be lower than theheightof itstunnel-end.On test box B, 82
boxopenings have a first chord lower than theirheight, by up to 1.02 m (the five largest: 1.02, 0.98, 0.91, 0.71 and 0.66 m). Thetunnel-endkeeps itsheight; this is a deviation of P2, whose design named only itsz. The underpass part must take the lesser of the two, or close the step between its frame and its first chord.Generated by Claude Code
timohueser commentedon Nov 20, 2026
P2 (#3679, #3737) after its review: the height of an underpass
This replaces my earlier comment here.
An underpass now takes its height from the floor of P2, not from the room of P1. The rooms of the measure still select the kind
box(rung 3). The floor pass starts from the bore and lowers the floor, or the section where the grade does not allow that, under each way on top. Eachtunnel-endtakes the height of the tube's chord at its vertex, so the frame and the first chord have the same height. The section can still change along the box, chord by chord, where a way on top does not reach the openings. A way on top and its underside are read once, by the floor pass, for both.Generated by Claude Code
timohueser commentedon Nov 20, 2026
P3 (#3680, #3754): what P5 gets from the build
BUILTofhost/obc-trailview-parts/src/lib.rs. The chordendsnonestays not built.Section::Boxhas walls to the height and a flat ceiling. Between two chords of different height, a face closes the step, for both sections, inside (tube::inside) and outside (tube::shell).arch.rshas general pieces:Wall(columns from the foot or the hole up to the top, the coping band),collar(the stations of the chords from an end) andtube::shell. The box of an underpass can use them.heading), so a head wall shares its vertices with the tube.Generated by Claude Code
timohueser commentedon Nov 20, 2026
P4 (#3681): this item needs a features bake
#3681 changed its step 5. The bake now writes the cut of each built end (the tag
cutof thetunnel-end): where the ground of the ground plan, with the openings of built chains open, lies inside a box of the part. The ground plan leaves a hole in its mesh only there. So:Part::BoxtoBUILTis not enough. It needs one features bake, so that theboxends get their cut and the bake opens their stretches as the device does. "No new bake is needed" in Depends on no longer holds.Generated by Claude Code
timohueser commentedon Nov 20, 2026
P4 (a) (#3761): the boxes and the shell of a part
boxes::boxesofobc-trailview-partsgives the boxes of a built end. There is one box for the opening, then one per straight piece of the tube. A box has 12 words: after the spring come the slopes of its two ends, which lie in the planes of the tube's rings. The box part's opening and its square tube need a box of their own shape that holds their room and lies at the middle of their wall. A box section is a flat box (spring at the roof).arch::end_face). Where the parts of a short tube's two ends would meet, both shells end at the middle vertex. An underpass is one part for its chain, so it has no such end.boxes::foot: the end'sfoot, orfoot_munder the lowest floor that the part runs over.Part::Boxis inBUILT, one features bake writes the cut of the box ends.Generated by Claude Code
timohueser commentedon Nov 20, 2026
P4 (b) (#3763): what changes for P5
When
BoxjoinsBUILT, the viewer and the ground plan take the underpass with no more code: the ground plan opens the stretch to each built opening (openings::built, the crate'sbuilt_ends) and leaves the hole of the tagcut; the tunnel line stamps nothing from each opening's way end to the start of the part's cover (shift+collar+ 1 m); the part's ring takes the ground from plants, and kind points in it are not drawn. The part's boxes go to the terrain with the others (64 at most with the plan). One features bake writes the cut. The fault of the sampled cut at the plan's steps (#3684 comment) applies here too.Generated by Claude Code
timohueser commentedon Nov 21, 2026
P5 design: the open questions
Data: the
tunnel-endrecords of test box B, features revision 34 (504boxends, 1,008 wing rows), and a first build withBoxinBUILTand no other change (pictures on the owner's PC:parts/p5/pics/proto0,parts/p5/pics/scan1). That build already draws a square frame, a head wall up to the way on top, the box tube with its lamps and a clear opening at the places in the pictures.Facts of box B. 98 % of the box wings (and 84 % of the arch wings) end in a face higher than their coping: 92 % of the box rows run to
wing_max_mwhile the ground is still high. Over its coping, the end face is 3.3 m high (median; p90 5.8 m, max 11.2 m). Most rows rise outward (median +0.34 m per metre; 36 of 906 rows fall): the frame line crosses the banks of the cutting of the way into the opening. Where the drawn ground equals the bake's ground, the bank covers most of that face. Where the drawn ground is lower (stamps, coarse terrain), the face stands free.1. The end of a wing wall: a 1:1 slope down to the coping
coping_m+ 1 × (the metres from that point to the end of its row). The row stays the top where it is lower. So every wing ends as high as its coping, and toward its end its top falls at most 1 m per metre.coping_mhigh.footthat the bake measured stay valid, and the wall cannot reach a way or a house past its row. A slope of 1:1 is steeper than the 2:3 of an embankment, so the sloped top goes into a bank before the end of the row, as a real wing wall does. One rule for every wing: the arch takes it too.2. Deck edge or parapet where the way on top has none: none
coping_mover the highest ground on the frame line (the bake'sface), and that is the edge of the way on top. Between the head wall and the way on top, the flat top of the box's shell shows as the deck.face. A railing or a guardrail belongs to the way on top, which the ground plan builds; the part does not know the side, the height or the class of that way.3. The look of a path underpass: concrete
pathtakes the lookconcreteinparts.json. The lookrockstays the look of the kindrock, which the bake sets for it. The inside of aboxsection is cast: where its group's bore isrock, its walls and roof takeliningand its floorwalk. A round section of that group keeps its rock.rock) does not change.Also in the build
boxend runs the whole chain: its shell and its boxes run to the vertex nearest the middle, where they meet the other end's. So an underpass has no end face in its middle, and its boxes hold the room from opening to opening, also where the ground dips between two ways on top. Where the parts of a tube's two ends meet, the boxes of each end at that vertex too (not two boxes over one stretch).BUILTchanges.Generated by Claude Code
timohueser commentedon Nov 21, 2026
Done in #3769.