Create turnout sleepers
create_turnout_sleepersLays the sleepers of one turnout panel (create_turnout) by rule turnout_sleepers/1; dry_run previews it, nothing written. Each sleeper is one IfcTrackElement SLEEPER, a box length x width_m x height_m, a part of the panel (IfcRelAggregates) typed by the IfcTrackElementType you name; Pset_TrackElementOccurrenceSleeper.SequenceInTrackPanel numbers them 1..n from WA. Pivots every step_m along the stem from WA; up to WE each line turns by k of the local branch angle toward WA, behind WE it stands square to the bisector of the end angle. Length 2.60 m plus a (pivot to branch axis along the line), rounded up to 0.10 m, while it stays within 4.70 m (the last is ldSch); then short pairs on the same line, outer ends 1.30 m beyond each axis, 2.30 to 2.50 m, until a reaches 2.60 m: from there plain track fits. Every sleeper carries assumption turnout_sleepers/1 with deviation_m, the largest of length rounding, end offset against k 1 and a short one's centre off a symmetric one; sleepers.rows names each. The branch must run in the file past the last sleeper line: edit_alignment the branch first (the refusal names its length). Moddl_Weiche.Schwellen holds the input and the reach; create_track sleepers whose bodies meet theirs and bed there are refused, rails pass; laying them where plain sleepers stand is refused too. A stem edit carries the sleepers with the panel only where the stem keeps its shape under them; else the turnout stays where it stands. New revision, effect report. A call that succeeds is not a job that's done.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"guid": "<guid>",
"sleepers": "<sleepers>"
},
"name": "create_turnout_sleepers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | Yes | The turnout panel: IfcElementAssembly TURNOUTPANEL of create_turnout | |
| note | No | Your note, stored with the new revision | |
| source | No | Where the values you write come from: assumption (default, your own estimate, stamped in the file) or user (only what the person named word for word; it then reads as the file does) | |
| dry_run | No | Preview: the planned effect and its checks, nothing written | |
| sleepers | Yes | Type, section and top of the sleepers; the lengths come from the rule | |
| request_id | No | Your id for this call: a repeat answers the first result and writes nothing |