Commands  ›  Element Alignment  ›  Element Alignment Centre Adjacent Nodes Around Kept Element

Element Alignment Centre Adjacent Nodes Around Kept Element

Element Alignment writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document. 1 kept + ≥1 mover resolved. Kept element has a recoverable direction.

After it runs

Each mover translated along kept axis. Kept element untouched.

When to use this

Don't use this when

Height / slope alignment (use the Match* commands). Rotation.

Decision flow

1. Resolve kept + mover elements.
2. Compute kept element's centroid and its direction axis.
3. Project each mover's centroid offset onto that axis and compute the mean offset.
4. In one Transaction, translate every mover by −mean along the kept axis.
5. Report movers moved, mean offset and the kept element id.

What you'll see in the chat

on start
I'll centre those elements on the kept anchor now.
thinking
Computing the kept element's axis and projecting mover offsets onto it.
on success
Done — {moved} element(s) re-centred on the kept anchor (mean shift {mean_offset_mm} mm).
on failure
Couldn't centre the elements: {error}.

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/element_alignment_centre_adjacent_nodes_around_kept_element
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

centre fittings on equipment · plantroom tidy-up · recentre group · anchor on equipment · centre selection

PillarElement Alignment