→ Private area
Aplitop · Surveying the Future

tcpMDT

Generate cross sections

Updated on tcpMDT Leer en español

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

alignment_name

text

Yes

Alignment name (partial, case-insensitive). E.g.: eje2, road.

left_width

number

No

Width to generate on the left of the alignment, in metres. Default 10.

right_width

number

No

Width to generate on the right of the alignment, in metres. Default 10.

interval

number

No

Spacing between consecutive cross sections, in metres. Default 10.

singular_points

boolean

No

Include the alignment's singular points (curvature changes, etc.). Default true.

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 .tra file.

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

Type your question and pick a product to narrow the results. Use ↑ ↓ and Enter to open an article.