Steel Training

{{ stage.split('_') | map('capitalize') | join(' ') }}

{% for target in preview_target_info %}
{% endfor %}

{%trans%}Wall length required{%endtrans%}: {{ wall_length/10 }}cm

{%trans%}Distance from wall{%endtrans%}: {{ distance }}m

{%trans%}Stage preparation{%endtrans%}:

{% set ns = namespace(previous_position = 0) %} {% for target in target_info %}
{% if target.target == 't1' %}
{%trans%}ZERO point{%endtrans%} ({{ stage.split('_') | map('capitalize') | join(' ') }})
{% else %}
{{ target.position / 10 }}cm {%trans%}from ZERO point{%endtrans%} {% if target.target != 't2' %} {%trans%}or{%endtrans%} {{(target.position - ns.previous_position)/10}}cm {%trans%}from previous marker{%endtrans%} {% endif %} ({{ stage.split('_') | map('capitalize') | join(' ') }})
{% endif %}
{% set ns.previous_position = target.position %} {% endfor %}