Tutorials¶
Short recipes for writing a model with model.* calls, in the order a model is built.
The AI assistant reads them in Create mode (tutorials_tool). Each page is divided by
what it handles, and each of those by what you do with it: add, edit, remove.
- Materials and sections: concrete, steel and timber materials; bar and area sections; another section or material for what exists.
- Nodes and bars: nodes, bars, hinges at a bar end, ids.
- Slabs and walls: regions with
create_polygon; their edges; their loads. - Supports: pin, roller and fixed supports, on nodes and on edges.
- Springs: node springs, one-sided springs, plate springs.
- Loads: load cases; loads on nodes, bars and regions; self weight; temperature; settlement of a support.
- Analysis cases and combinations: linear, non-linear, mass, modal, spectrum; combinations and their types.
Two rules for every page. Read the id of what already exists (geometry tool) and write it
as text: 'N2', 'B1'; do not guess an id. And a call that edits something that is not
there raises an error and changes nothing.