{% macro conn_desc(ap) -%} {%- if ap.iso_thread -%} ISO M{{ ap.iso_thread.diameter_mm }}×{{ ap.iso_thread.pitch_mm }} {%- elif ap.unc_thread -%} UNC {{ ap.unc_thread.diameter_fraction }}-{{ ap.unc_thread.tpi }} {{ ap.unc_thread.series.value }} {%- elif ap.clamp_connection -%} Clamp {{ ap.clamp_connection.min_mm if ap.clamp_connection.min_mm is not none else ap.clamp_connection.min_in }}–{{ ap.clamp_connection.max_mm if ap.clamp_connection.max_mm is not none else ap.clamp_connection.max_in }} {%- elif ap.static_connection -%} Static {{ ap.static_connection.od_mm }} mm OD {%- else -%} — {%- endif -%} {%- endmacro %}
{{ fit.label.value | capitalize }} {{ own_ap.attachment_point_name.name }} ({{ conn_desc(own_ap) }}) ↔ {{ other_part.sku }} {{ other_part.part_type.name }}
{% if can_write %}
{% if fit.label.value != "exact" %} {% endif %} {% if fit.label.value != "possible" %} {% endif %} {% if fit.label.value != "none" %} {% endif %}
{% endif %}
{% for note in fit.notes %}
{{ note.username }} · {{ note.created_at.strftime("%Y-%m-%d %H:%M") }}

{{ note.body }}

{% endfor %} {% if can_write %}
{% endif %}