© 2026 MVC Software Ltd. All rights reserved. Free to download. AutoStruct 0.1, made from the source of 2026-11-21 (1ed71f970). Founding a storey from TCL Pads, strips, rafts, and the edges that close them

Founding a storey from TCL
Pads, strips, rafts, and the edges that close them

AutoStruct

November 21, 2026

Abstract

This is the foundation half of the command channel. The general vocabulary — opening a project, moving between levels and boards, making and editing elements — is in Driving AutoStruct from TCL (structural-elements-tcl.tex), and nothing here repeats it. What follows is only what founds a storey: how a foundation type is asked for, what each one does to the drawing and to the documents, and which commands act on the board rather than on a setting.

Contents

1 Two kinds of command
2 The beams’ axes, and why there is a line to look at
3 Asking for a foundation
3.1 The three types exclude one another
3.2 The foundation appears from the request, and from nothing else
3.3 The design decides the size, the request decides the kind
3.4 The minimum is asked for, not merely drawn
3.5 Shear walls are founded whatever the storey carries
4 Rafts
4.1 What a raft is here
4.2 Carrying the raft past its perimeter walls
4.3 The caps, which are what make a panel
4.4 Pressing twice lays nothing
5 The site’s limits
6 Preparing the drawing
7 What a foundation run answers
8 Reading the result
9 Founding one element at a time
9.1 A column piece names its column, or itself
9.2 A point travels, and not the label
9.3 Taking a panel out of the raft
9.4 They add, they do not replace
10 Where a raft does not reach
10.1 Carrying the storey above’s beams down
11 Dimensioning the plan
11.1 What they are drawn from
11.2 -chains — the running dimension
11.3 -coordinates — where each point is
11.4 -grid — the axes
11.5 They are drawn for paper

1 Two kinds of command

The commands here divide cleanly, and the division matters more than it looks.

A setting. footings, strips and raft write a project control and nothing else. The board does not change when one is issued. The next Create Model reads the control, sends it to the analysis with the level, and the foundation appears. Called with no argument each answers what the control holds.

An operation. wallbeams, centrebeams and drawraft change the drawing there and then, through the undo stack, exactly as the ribbon button of the same name does. One press, one undo.

The difference is why there is no Draw Footings button: a pad is a property of the storey, not an act on the drawing. It is also why drawraft is a button — the edges it lays are elements, and an operator has to be able to see them, move them and take them back.

Command Kind

Effect

footings setting

Cantilever of the pads beyond the column, in metres

strips setting

Width of the strips, in metres

raft setting

Thickness of the raft, in metres

wallbeams operation

Deepens the perimeter beams into walls

centrebeams operation

Moves the beams onto the columns’ centres

drawraft operation

Lays the raft’s outer edges and their caps

orio::* setting

The site’s limits, one per project

beamaxis view

Shows or hides the beams’ axes

2 The beams’ axes, and why there is a line to look at

A beam’s stored line is one of its two long edges, not its axis. The section lies to the side the sign of b0 points, and the analysis reads it exactly so.

The axis is the mid-line between the two edges, and it is the line that ought to pass through the centres of gravity of the columns the beam sits on. centrebeams is what puts it there.

autostruct::beamaxis            ->  OK on 
autostruct::beamaxis off        ->  OK off

The dashed line exists so that is this beam centred? is a question the board answers, instead of one that needs two commands and arithmetic. It is a drawing aid and nothing else: it is never saved, never sent to the analysis, and it is drawn on the Design board alone — the Draft and the Details boards have no such line and want none, the analysis having placed the section itself.

Given no argument it answers what it is now. The switch is the application’s, not the project’s: a beam drawn after it comes up the same way as the ones already on the board, and nothing about it is saved with the level.

3 Asking for a foundation

3.1 The three types exclude one another

autostruct::footings ?cantilever?      # pads 
autostruct::strips ?width?             # strips 
autostruct::raft ?thickness?           # a raft

Each answers its control when given no argument, and sets it when given one. Zero means not this one.

autostruct::footings          ->  OK 0 
autostruct::strips            ->  OK 0 
autostruct::raft              ->  OK 0.6

A raft excludes the other two: asked for, it is the only thing asked for, and the storey carries neither pads nor strips. Pads and strips over the whole storey are likewise alternatives — a storey is on pads everywhere or on strips everywhere. To mix them, found single elements as described in Founding one element at a time below.

3.2 The foundation appears from the request, and from nothing else

Set the control, press Create Model, and the foundation is on the board — with no frame analysis and no design needed before it:

autostruct::footings 0.30 
autostruct::action "Create Model" 
autostruct::element::count foot   ->  OK 37

3.3 The design decides the size, the request decides the kind

Once a storey has been through the design, its pads are drawn at the dimensions the design gave them. What the design no longer decides is the kind: a storey changed from pads to strips draws strips and only strips, because the earlier design belongs to a foundation the level no longer has.

3.4 The minimum is asked for, not merely drawn

A width or a thickness under the project’s minimum is raised to it in the request, before the analysis, so the width that is designed and reinforced is the width that is drawn.

3.5 Shear walls are founded whatever the storey carries

The strip under a shear wall is additional: it stands beside the pads or the strips or the raft rather than instead of them. Its width is twice the walls’ footing projection plus the wall’s own thickness |b0|, taken from the wall’s own section. The storey’s footings are cleared at the start of every Create Model, so running it again on an unchanged level gives the same strips rather than more of them.

4 Rafts

4.1 What a raft is here

A slab over the plan of the building at foundation level, thick enough to spread the load onto the soil. The panels a foundation’s beams enclose are voids in an ordinary foundation storey; a raft is those panels turned into real slabs, loaded backwards from the frame’s own reactions.

the reactions

the storey’s support reactions, upward (Fz > 0) only

the area

the area of every panel, summed

the pressure

total ÷ area, one figure for the whole raft

the loads

g = d ⋅ γc, the thickness times the concrete’s unit weight; q = p + g

The raft’s own weight is added to the live load rather than taken off it. The soil carries that weight too and pushes back with it, so the pressure the raft has to span is greater by it. Sixty centimetres of concrete is 1.5 t/m2, which is not a rounding.

4.2 Carrying the raft past its perimeter walls

autostruct::drawraft ?projection? 
  ->  OK {28 edge(s) laid outside the shear walls on the perimeter, 
          27 already there}

Where a shear wall stands on the perimeter the raft is carried past it as a cantilever, and the edge that closes the cantilever is a boundary line — an edge that closes a panel without being a beam.

How far out: the projection plus half the wall’s own width, which puts the edge on the outer face of the strip that founds the wall. Per wall, because a thicker wall has a wider strip.

Only on the perimeter. A wall inside the building has raft on both sides of it and nothing to carry past. Which side is outside is measured — a ray cast from the middle of the beam that no other beam crosses is a side with nothing beyond it — rather than assumed from the drawing’s shape.

4.3 The caps, which are what make a panel

An offset edge on its own is a line floating outside the building. The strip between it and the wall it came from would be open at both ends, no closed region would be found there and no panel made, and the raft would stop dead on the building line.

So drawraft also lays the cap — the piece between the building’s own corner point, which is the end of the wall, and the corner point of the boundary lines, which is the end of the edge offset from it. Wall, cap, edge, cap: a closed quadrilateral, and a panel in it.

A cap is not laid where the next wall’s edge already arrives at the same point, which is what happens along a run of collinear walls of one width; there a cap would be a line across the middle of the cantilever rather than the end of it. At a true corner the two ends are a whole offset apart, both caps are laid, and the corner is left notched.

4.4 Pressing twice lays nothing

drawraft is idempotent. An edge it laid does not come back from the analysis as it left: it is split at every member it crosses and merged with whatever is collinear with it. So an edge counts as already there when it lies on the same infinite line, and overlaps along it, which is true of a piece, of a merged run, and of an exact match alike. The reply counts both what was laid and what was already there.

5 The site’s limits

autostruct::orio::box ?x1 y1 x2 y2?     # the box; no arguments reads it 
autostruct::orio::line x1 y1 x2 y2      # add one oblique limit 
autostruct::orio::lines                 # read them all back 
autostruct::orio::clear                 # box to its default, lines away

The site’s limits are the site’s own boundary and they are one of a kind for the whole project, not per level: a box, and up to forty oblique limits.

autostruct::orio::box     ->  OK -100 -100 100 100 
autostruct::orio::lines   ->  OK

± 100 is the default and means unlimited in practice. A footing that would cross a limit is trimmed to it, and an oblique limit is turned to face the building.

They do not draw. They are data for the analysis and are kept in a small file of their own in the project’s settings.

6 Preparing the drawing

autostruct::wallbeams ?depth?      # deepen the perimeter beams into walls 
autostruct::centrebeams ?widest?   # move beams onto the columns’ centres

Both are operations on the board, both go through the undo stack, and both default from a project setting rather than from a fixed number. centrebeams takes its widest column from the minimum width of the foundation beams; wallbeams takes 2.4 m, which is the depth at which the analysis itself begins to call a beam a wall.

A beam moves across, never along. Moving an end along the beam as well would slide it down a wall it happens to meet, and the station along the beam is where the beam meets its column. The move is iterated, because moving both ends across a line rotates the line and one pass only approximates.

7 What a foundation run answers

Every one of these reaches the drawing through Create Model, and Create Model is still a ribbon action rather than a command of its own. Two things about driving it are worth more than they look.

Create Model from the Draft board does nothing. autostruct::action "Create Model" answers OK from the Draft board, but no analysis runs, nothing reaches the level log and no document is rewritten. It looks exactly like a run that found nothing to change. Switch to the Design board first, and check the level log grew before believing any number that comes out of it.

A restart shows the last foundation drawn, not the one that is set. The saved drawing holds whatever Create Model last put on the board, so after changing footings, strips or raft and restarting, the board shows the old foundation until the next Create Model. Run one after any restart before believing what the board shows.

8 Reading the result

A foundation run writes two documents, and they say different things about the same storey.

<level>.json

the design: slabs with kind, boundaries, reinforcement; beams with supportRole

<level>.jsonDraft

the drawing: fatnomata, pediodokoi, pedia, akmes, papies

A slab’s number is not its name. Slabs are numbered afresh on every Create Model and the numbers move, even on an unchanged level. Anything that has to name a slab across runs must address it by its centre of gravity, which is exported as boundaries.centre for exactly that purpose.

A panel is a void when useType is nought. A void is not designed and not drawn. structureType is a different field — the plate’s kind — and nought there means unclassified, which has the program classify the panel again rather than leave it out.

pediodokoi holds two families. The array carries the slabs’ support bars first and then the foundation beams’ own transverse bars. Only the first kind is a slab’s, and only a slab’s turns over on a raft; each entry says which it is under mirrored.

9 Founding one element at a time

Everything above founds a whole storey one way. The elaborations found a single element, and they are what let one storey carry more than one kind of foundation: pads on a storey of strips, a strip under one beam of a storey on pads, either inside a raft.

autostruct::foundation::pad   cantilever label ?label ...? 
autostruct::foundation::strip width      label ?label ...? 
autostruct::foundation::void  label ?label ...? 
autostruct::foundation::undo  ?label ...? 
autostruct::foundation::list 
autostruct::foundation::clear

They are settings, in the sense of §1: nothing on the board changes when one is asked for, and they reach the drawing on the next Create Model. They are kept per level, in a file of their own in the project’s settings beside the site’s limits.

autostruct::foundation::pad 0.5 {O 1} {O 5} 
  ->  OK {2 pad(s) asked for, 2 on this level; 
          they reach the drawing on the next Create Model} 
autostruct::foundation::strip 1.2 {B 1} 
  ->  OK {1 strip(s) asked for, 1 on this level; ...} 
autostruct::foundation::list 
  ->  OK {{pad O 1 0.5} {pad O 5 0.5} {strip B 1 1.2}}

Naming the same element again replaces what it was given rather than asking twice, so a level never carries two requests for one element.

undo takes one back. With no argument it takes the last asked for, whichever of the three kinds that was; with labels it takes those. clear takes them all off the level in view.

autostruct::foundation::undo 
  ->  OK {took back pad O 30; 3 left on this level; ...} 
autostruct::foundation::undo {B 1} 
  ->  OK {took back strip B 1; 2 left on this level; ...} 
autostruct::foundation::undo 4 
  ->  OK {took back void P 4; 1 left on this level; ...}

9.1 A column piece names its column, or itself

A column may be drawn as several pieces, each labelled O on the board, and a pad is asked for by naming one of them. By default the column that piece belongs to is what gets the pad: one footing bounding all of the column’s pieces, which is right for a column that acts as one. -ortho founds that piece alone, which is what a column whose pieces stand far apart wants:

autostruct::foundation::pad 0.5 {O 34}          ;# the whole column: one pad 
autostruct::foundation::pad 0.5 -ortho {O 34} {O 35}   ;# two pads

The size of each pad is then the design’s: a pad is sized from the load it carries, so the rectangle these commands start it at is not what the documents report.

The column is found through the piece, not by nearness. The piece at a point is exact, so the piece is found first and the column is the one that owns it — a spread-out column, whose centre of gravity may lie nearer another column’s pieces than its own, is still founded correctly.

A strip is asked for by naming a beam or a wall. A wall answers here too, which is what lets one be given a strip of a width chosen rather than the width worked out for it automatically.

9.2 A point travels, and not the label

A label is resolved on the board, where it means something, and a point on the element is what is sent to the analysis — beams are merged and regrouped on their way in, so a number counted on the board is not the number the member ends up with. The analysis finds the element nearest that point and writes to the level log which one it found and how far away it was:

pmat: a pad under column 1, 0.000 m from the point asked for 
pdat: a strip about member 1, 0.000 m from the point asked for

A resolution that went to the wrong element therefore says so, rather than founding the wrong thing quietly.

9.3 Taking a panel out of the raft

A raft covers everything its beams enclose, so a pad or a strip inside one has nothing to found: the raft is already there. void takes a panel out, and that is how a raft is mixed with the other two — run the general raft, void the panels where something else is wanted, and ask for it.

autostruct::foundation::void {P 4} {P 6} 
  ->  OK {2 panel(s) voided, 2 on this level; ...}

A voided panel is not designed, not loaded, not drawn, and its area is not part of what the reactions spread over — so the pressure on what is left rises, which is right.

The field is useType , not structureType, whose nought means unclassified. The same field can be set by hand in the slab’s settings in the Control Manager’s tree.

A panel is named by its centre of gravity and by nothing else, because panels are renumbered on every Create Model. The label is resolved out of the level’s own document — a slab is not an element of the board — and what is kept is the centre. P 4, P4 and 4 all name the same panel. The level log says which panel each point found and how far away it was.

9.4 They add, they do not replace

An elaboration stands beside whatever else founds the storey: the storey’s footings are cleared once at the start of each Create Model, and the elaborations are applied after the whole-storey foundation, so nothing wipes anything. They add exactly what was asked for and move nothing else, and the same combination run twice gives the same storey.

Voiding a panel and founding what stands in it. The case the feature exists for is the void and the pad being the same place:

autostruct::foundation::void {P 1} 
autostruct::foundation::pad 0.5 {O 10}

The storey comes back with one panel fewer and a pad whose centre falls inside the voided panel and inside no live one, however the panels were renumbered in between.

Nothing makes you void first. Asking for the pad and not voiding the panel gives the same pad, designed and drawn, with the panel still live: the raft and the pad found the same ground and the analysis does not object. Voiding is the operator’s to decide, and the command will not decide it.

10 Where a raft does not reach

A raft is the panels the storey’s beams enclose. Where the beams do not close a bay there is no panel, and a column standing in that bay is founded by nothing the raft provides. The run says so:

the raft does not reach column 21 
the raft does not reach column 27 
the raft does not reach 8 of 43 column(s) - each is founded by whatever 
  else the storey carries, or by nothing

Some of those columns are usually caught by the strips under the shear walls, which is ordinary; any that are not are founded by nothing at all, and no count of panels or strips will show it — check each column the message names against what is under it.

It is reported, not repaired. Whether a raft ought to be carried into a bay the beams leave open is a question about the model. A foundation drawn sparser than its floor is ordinary and not a fault. The answers are to draw the beam that closes the bay, or to found the column another way with foundation::pad or foundation::strip, and both are the operator’s.

10.1 Carrying the storey above’s beams down

autostruct::carrybeams ?level? 
  ->  OK {9 beam(s) carried down from Mezzanine Ceiling, 70 already there}

Lays, on the level in view, the members the storey above has and this one has not — beams and walls alike, laid here as beams, because what founds a wall is its strip and that is worked out from the depth. An operation on the drawing, through the undo stack, like Wall Beams and Centre Beams. Pressing it twice lays nothing. Without an argument it takes the storey immediately above; the level list runs top down, so that is the entry before this one. The storey above is read from its design document, so the view does not move.

It does not close the bays, and it is not the remedy for a column the raft does not reach. A beam that runs into a region and stops closes nothing: it cuts a region that did close into pieces, and a piece bounded partly by a free end does not close at all, so where there was one panel there may now be none. More members subdivide; they do not enclose. Carrying the beams down can make the raft smaller and leave more columns on nothing.

So the command stands as what it honestly is — a way to make a foundation carry the frame above it line for line, if that is what is wanted — and not as a way to reach a column the raft has missed. For that, found the column: foundation::pad or foundation::strip.

11 Dimensioning the plan

The marking of constant points is a cultural matter, so a draft is publishable three ways and the project says which it carries.

autostruct::dimensioning ?-grid? ?-chains? ?-coordinates? 
  ->  OK {chains; it reaches the sheet on the next Create Model} 
autostruct::dimensioning 
  ->  OK grid

More than one may be asked for — nothing about them conflicts, and a drawing that wants the grid and the chains together is a drawing that wants both. Asking for none reads back what is set, and a project never told carries the grid. A setting, not an operation: the board does not change when one is issued.

11.1 What they are drawn from

All three come off the same points, the plan’s construction points: one per column by default, one per column piece otherwise, and each is the first corner of the piece, not its centre. They reach the document as constructionPoints, with the plan’s extents pushed out and the plan’s centre, because a dimension needs all three.

11.2 -chains — the running dimension

Four chains, and every point is on two of them, one vertical and one horizontal, each on the near side of the plan’s centre:

chain the points on it drawn at the values are
1 x < centre left their y
2 x ≥ centre right their y
3 y < centre bottom their x
4 y ≥ centre top their x

Within a chain the values are sorted and any pair nearer than 2 cm is merged, so two columns on one line give a single tick. A chain of fewer than two is not drawn. The tick is a diagonal slash of half a character each way, not a stroke across the line, and the distance between each surviving pair is written at its midpoint, turned 89.99∘ on the vertical chains.

11.3 -coordinates — where each point is

A circle of 0.06 on the plan at each point, then the point’s own x written along the near horizontal edge and its y up the near vertical one, each with a tick running from 0.3 to 0.4 outward. Each point says where it is rather than how far it is from the next.

Nothing is merged here, unlike the chain: four points within 20 cm give four labels, and they will overlap. That is the point of the layout — every point accounted for.

11.4 -grid — the axes

The default: axes tied to the building, rather than a uniform snap mesh.

autostruct::grid::make ?-corners|-centres? ?tolerance? 
  ->  OK {12 lettered and 9 numbered axes from 43 construction points, 
          at 0.125 m; 35 of 43 on an axis} 
autostruct::grid::list 
  ->  OK {{A vertical -0.100} {B vertical 4.410} ... {1 horizontal 0.300} ...} 
autostruct::grid::axis   name vertical|horizontal at 
autostruct::grid::rename from to 
autostruct::grid::remove name ?name ...? 
autostruct::grid::clear 
 
autostruct::grid::grids 
  ->  OK {{default lattice} {*main 21 axes}} 
autostruct::grid::new    name ?-ortho|-polar? 
autostruct::grid::use    name 
autostruct::grid::drop   name 
 
autostruct::grid::origin ?x y?      \textrm{a polar grid: where the rays converge} 
autostruct::grid::rays   ?degrees?  \textrm{the angle between them, 0 for none} 
autostruct::grid::rings  ?radius?   \textrm{the distance between rings, 0 for none} 
  ->  OK {radial about 10.000 10.000, rays 45, rings 2.000}

Grids belong to the project, not the level, because axis A must be axis A on every floor or a dimension cannot be carried between storeys. make reads the columns of the level in view.

Several grids, one of them current. The six commands above act on whichever that is; the four below choose it. grids lists them with the current one starred, new makes one and selects it in the same breath, and drop removes one — dropping the one in use leaves default in use, which is the only choice that cannot dangle. One grid is usually enough.

default is the lattice and is always there. It is the five metre mesh the boards draw, synthesised rather than stored, and it is what a project that has stated no grid is snapping to. It cannot be made, dropped or cleared, and no grid of yours may take its name.

The grid positions the columns, not the other way round. That is what it is for, and it is why the axes are stated in commands rather than gestured: a grid derived from columns can only be as accurate as they are, while a grid that places them has to be better than any hand. Read make in that light — it recovers axes from a building already drawn, which is a beginning and a retrofit, not what a grid is.

Snapping to one. autostruct::snap grid rails a click onto the current grid: onto the nearest crossing of the lattice for default, and onto the building’s own axes for a grid you have stated. Each coordinate goes to its own direction — x to the nearest vertical, y to the nearest horizontal — so intersections come out without a list of intersections being kept, and a grid with only one kind of axis leaves the other coordinate free.

Choose the grid before the aid. A grid command redraws the level, a redraw is a level switch, and a level switch rebuilds the boards with their snap back at the step. snap grid followed by grid::use loses the aid without saying so; the other order is correct.

Polar grids: three numbers, not a list of lines. A building’s column lines are irregular — C stands at 8.000 and D at 11.775 — so they are named and placed one at a time. Rays and rings are regular by nature, so a polar grid is an origin, an angle and a radius, and that is the shape the settings have always assumed: geometry_PolarGridR holds one radius and geometry_PolarGridAngle one angle.

Each spacing is optional and independent, as the axes’ two directions are. rays 0 leaves the bearing alone and rails the distance only — rings without spokes; rings 0 does the reverse. The origin needs no special case: it is where every ray meets, so a point near it rounds to ring nought and lands on it exactly whatever bearing it had.

Given nothing, each of the three answers the grid rather than changing it, which is how you see what you have set.

Drawn as the axes are. Rays and rings take the same chain dash and the same bubbles, because a polar grid is the same thing said in polar — a frame the building is read against — and a sheet carrying both should not look as though it carries two unrelated conventions. Each ray ends in a bubble holding its bearing in degrees; each ring carries its radius in a bubble due north of the origin, one bearing for all of them so the numbers stack in a column that can be read down.

How far out they run is measured rather than stated: the furthest of the plan’s four corners from the origin, which is the smallest circle covering the drawing. All four are asked because the origin may lie outside the plan.

There is a cap of 200 rings and 360 rays. The spacings are yours and nothing stops them being small — rings a centimetre apart on a thirty five metre plan is three and a half thousand circles, which is not a drawing. The cap draws what it can and stops; the snap is unaffected, being arithmetic that does not care how many rings there would be.

An older project carries its axes at the top of grid.json with nothing naming them. It is read as a single grid called main and nothing is lost; the first edit writes the file in the newer shape.

The tolerance comes from the drawing. Half the narrowest column piece’s shorter side — 0.125 m where the narrowest is 25 cm — which is the distance within which two columns can fairly be called in line. A caller may give its own, and the window is narrower than it looks: too small and columns that are in line miss their axis, too large and two real axes merge into one. Vertical axes are lettered A, B, … Z, AA left to right; horizontal ones numbered bottom to top. A cluster of one column is not an axis.

Corners, not centres, by default. make takes the construction points, which are the column pieces’ first corners, and they cluster better than the centres do. -centres asks for the other.

Made once, then yours. A real blueprint has axes an algorithm would never find — a face line, a boundary — and engineers rename them, so make is a beginning. axis adds one by hand, taking its reach from the axes already there so it draws as long as the rest rather than as a stub.

Drawn as a blueprint draws it : each axis a line carried past the building with a bubble at either end holding its name. The bubbles sit just outside the plan and inside where the chains go, which is the order a sheet has them in — the grid first, the dimensioning beyond it.

A wrinkle. The board redraws its annotation when the level’s document changes, and the grid lives in a settings file — so a grid::make does not appear until the next Create Model or a return to the level.

11.5 They are drawn for paper

The chains and the coordinate runs sit outside the plan, where the board has no light ground behind them, so on screen they are nearly invisible in the near-black the labels are drawn in. On the sheet they read as they should — autostruct::export::pdf is the way to see them.