tcpMDT
Generate cross sections
Generates the cross sections of an alignment in the drawing from the active surface (TIN .sup or grid .mde). Saves the result as a .tra file next to the .eje.
Prerequisites: There must be an alignment in the drawing and an active surface (triangulated or grid). Use list_alignments to find the available alignments.
Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
| text | Yes | Alignment name (partial, case-insensitive). E.g.: |
| number | No | Width to generate on the left of the alignment, in metres. Default 10. |
| number | No | Width to generate on the right of the alignment, in metres. Default 10. |
| number | No | Spacing between consecutive cross sections, in metres. Default 10. |
| boolean | No | Include the alignment's singular points (curvature changes, etc.). Default |
Result
Object with the following fields:
num_profiles: number of cross sections generated.pk_start,pk_end: start and end chainage covered.z_min,z_max: minimum and maximum terrain elevation in the cross sections.tra_file: path of the generated.trafile.
Tip: First generate the cross sections with this command and then draw them with draw_cross_sections.
Example prompts
You can ask the assistant things like:
Generate the cross sections of eje2 every 20 metres with 15 m on each side
Compute the cross sections of the road over the active surface
Generate cross sections of the main alignment with 25 m on the left and 10 on the right