Eurocode - Moving Load Wizard
ec_moving_loadsUse for EN 1991-2 traffic loading (lanes, vehicles, moving-load cases). For UK CS 454 assessment use cs454_moving_loads; to spread existing point loads into patches use point_to_patch_apply. Before writing lanes on a grillage read midas_workflow { name: "bridge-grillage-workflow", file: "references/lanes-and-deck-edges.md" } (deck edges, kerb offset, Cross Beam distribution). EN 1991-2 traffic loading with the Eurocode - Moving Load Wizard plugin's own engine: lanes laid out on the carriageway (line lanes on a grillage, surface lanes on a plate deck) for the chosen load groups gr1a / gr1b / gr3 / gr4 / gr5, fatigue models and rail (LM71, SW/0, SW/2, HSLM, Irish Rail trains), the MIDAS vehicles with the EN, UK or Irish NA alpha factors, the Irish NA SV196 and footbridge service vehicle (loading.ieRoad, as user-defined Permit Trucks), and the moving load cases (characteristic / frequent) — each written and read back. It reads the deck from the model the way the plugin does unless reference/surface/section.width are given, and accepts the plugin's exported settings file. Without apply it only previews (lanes, vehicles, cases, stages, blockers, planHash). With apply: true it writes, records the run for ec_moving_loads_undo, and never overwrites lanes, vehicles or cases it did not write. ON THIS SERVER: called without apply it previews and applies in one call; preview: true only previews.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ec_moving_loads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| lanes | No | Lane options: prefix (default EC), wheelSpace, optimiseNotional / allowWidth, lm2Manual / lm2Centre, sv / svCentre / svWidth (LM3 route), tracks { tracks, firstTrack, spacing, gauge }, userLanes. Where the notional lanes and the remaining area sit: placements, a list of { packing: LEFT (lanes against the low-offset kerb, the default) | RIGHT (high-offset kerb) | BETWEEN with remBetween k (remaining area between lanes k and k+1) | OFFSET with blockOffset m (lane block that far from the low-offset kerb, remaining area split into REM and REM 2) }, and sweep { on, from, to, step } (the lane block stepped across the remaining area, at most 40 offsets). One placement keeps the plain names (EC L1, EC REM); several, ticked or swept, are each their own lane set (EC A1 L1, EC A2 L1 …) with their own cases (names ending A1, A2 …), never combined in one case. packing alone (LEFT|RIGHT) is still read as one placement. | |
| scope | No | ALL = lanes + vehicles + cases; LANES = lanes only; LOADS = vehicles and cases on the model's existing lanes. | ALL |
| config | No | Advanced: any other plugin configuration field, deep-merged over the settings. | |
| loading | No | Loading (the plugin's Loading step): disciplines (ROAD, FATIGUE, RAIL), groups (gr1a, gr1b, gr3, gr4, gr5 — the road models follow), roadModels / excludedModels, fatigueModels, railModels, lm3Vehicles, psiValues (CHARACTERISTIC, FREQUENT), factors (alphaPreset EN|UK|IE|CUSTOM fills that preset's alphaQ / alphaq / alphaqr / betaQ / lm3Set — IE is the Irish NA Table NA.1, the same values as the UK NA; alpha values given with it override and make it CUSTOM; footwayCombination…), laneLoading, minLoadedLanes / maxLoadedLanes, straddle (MANUAL|ADJACENT), loadRemainingArea, userCases, ieRail, ieRoad (Irish NA road vehicles)… | |
| preview | No | Only preview; write nothing. | |
| section | No | Carriageway cross-section, m: width, kerbOffset, verges, footways, central reserve… width/kerbOffset are read from the deck if omitted, but the read measures between the outermost girder lines it sees (overhangs not counted unless built as edge lines): where the deck overhangs the outer girders pass width (full carriageway) and kerbOffset (reference girder to kerb; negative when the kerb lies outside the reference girder) yourself. | |
| surface | No | Surface lanes: the alignment. mode GROUP (group), NODES (nodes) or RANGE (range). | |
| laneKind | No | Default: what the model suggests (beams -> LINE, plates -> SURFACE). | |
| readDeck | No | Read the reference line / alignment, width, kerb offset, cross beams and skew from the deck (default on, off over a loaded settings file). | |
| reference | No | Line lanes: the reference line. mode RANGE (range: element ids e.g. '1-10'), GROUP (group), or NODES (nodes: [ids], shape). | |
| codeChange | No | Allow setting the moving load code to EUROCODE. Changing it from another code DELETES every lane in the model — only with the user's agreement. | |
| configFile | No | The plugin's own Export JSON settings file (or its "config"), as text or object: starts from those settings instead of the defaults. The deck is then not re-read unless readDeck: true. | |
| deckFilter | No | Read the deck only from these members, as the plugin's Show only: group (structure group name), section ("S:<id>" beam section or "T:<id>" plate thickness), zMin / zMax (level band, m). | |
| laneSource | No | NEW lays out and writes lanes; EXISTING loads the lanes already in the model. | NEW |
| unitSwitch | No | Allow switching CIVIL NX to kN, m for the write and back afterwards (needed for non-SI models). | |
| writeOptions | No | Lane write options: loadDist LANE|CROSS, groupName (cross-beam group), moving BOTH|FORWARD|BACKWARD, skewStart, skewEnd (°; read from the deck when omitted, but pass them on a skew deck: the read has returned 0 for the end skew). With CROSS every wheel line (lane centre ± wheelSpace/2) must lie on a member of groupName, or CIVIL NX refuses the analysis ("does not intersect a Cross Beam"). | |
| confirmPlanHash | No | ||
| irishRailTrains | No | Irish Rail CCE-STR-PSD-008 Appendix C trains on the tracks: true for all, or train ids / names (ec_moving_loads_read options). Dynamic factor settings in loading.ieRail. | |
| trafficOtherWay | No | Read the deck the other way round (the plugin's "Traffic runs the other way"). |