uBricks
Corners Rollout
Which folds in a wall are corners, which corners interlock and which butt, which side of the wall the bricks sit on, and how far out.
Overview
The Corners rollout decides where a wall has corners and how they are bricked, and places the bricks against the wall surface. It is collapsed when you create the object.
Each wall is read as flat pieces. Where two meet, uBricks measures the turn between them in plan: walls meeting at 135° between their faces make a 45° turn. A turn larger than Corner angle is a corner, where the wall splits into two runs; a gentler one is a bend the bricks follow round.
A convex (outside) corner interlocks when its turn is within Interlock tol of 90°; otherwise both walls butt, stopping half a head joint short of the line that bisects the corner. Concave (inside) corners always interlock, since their bricks can't collide. Interlocking walls take turns to own the corner, all corners changing hands on the same course. The owner's full brick, the quoin, runs to the corner; the other wall stops short by Brick depth plus a head joint at a 90° outside corner, or one head joint inside. Where full bricks fit badly, uBricks may add a half brick next to the quoin as a closer. A corner applies only to courses both walls have; above a lower wall, the end is a plain wall end.
At a T junction, where one wall's end is welded against another's face, the abutting wall stops short by Brick depth plus a head joint on every course, and the continuous wall is untouched. A reveal meeting the face at an opening's jamb quoins like a corner.
Each flat piece of wall has a front, the side its face normal points to: the brick faces sit on it, and each brick reaches Brick depth behind it.
To interlock a corner, add both walls to the Walls list as one object, or as separate objects whose vertices coincide all the way up the shared edge. For walls meeting at 120° between their faces, a 60° turn, raise Interlock tol to 30 or more.
To put the bricks on the other side, turn on Flip wall side. To brick both faces of a sheet, pick it into a second uBricks object with the same settings and flip one of the two.
To push the bricks out by a render or insulation layer the sheet was modelled on, set Depth offset to its thickness.
Interface

Corner angle – The turn, in degrees, above which a fold is a corner. At the default 30, an 18-sided cylinder (20° folds) is one smooth run; a curve that shows corners needs more segments or a higher value.
Note
uBricks joins wall pieces two at a time: at a bend, at a corner, or at a T junction where one wall's end meets another's face. Where three pieces share one upright edge in any other way, or four or more faces share an edge, it joins none of them there: each stops at that edge as at a wall end, with no interlock or butt joint against the others. Model such a junction as walls that meet two at a time.
Interlock tol – How far, in degrees, a convex corner's turn may be from 90° and still interlock, up to 45; beyond it the walls butt. Starts at 15: a convex corner interlocks only if it turns 75°–105°.



Tip
The default brick interlocks into exact running bond, because its length is twice its depth plus a joint (21.5 = 2 × 10.25 + 1.0). With other proportions, the stagger next to the corner isn't exactly half a brick.
Depth offset – Pushes the upright faces out by this distance before the bricks are laid, with the same face offset as the uPush modifier: a flat wall moves out with the same bricks, corners extend to meet, and a curved wall grows and gains bricks. Negative values push inward; values below 0.000001 are ignored.
Flip wall side – Swaps which side the bricks sit on, and the direction of Depth offset, for every wall in the object. To flip only some walls, flip their normals with a Normal modifier instead.