Skip to content

Support system revamp - #45

Open
kparasch wants to merge 14 commits into
developfrom
support_system_revamp
Open

Support system revamp#45
kparasch wants to merge 14 commits into
developfrom
support_system_revamp

Conversation

@kparasch

Copy link
Copy Markdown
Owner

This branch revamps the support-system misalignment model to resolve support and element poses in 3D, using element-center reference positions and matrix-composed rotations instead of scalar yaw/pitch interpolation. It is based on scipy.spatial.transform.Rotation class.
Allows also to model shrinkage/expansion of supports through the appropriate dz transformations.

Key changes:

  • Adds pySC.core.transformations for AT/pySC rotation helpers, vector alignment, and XSuite angle conversion.
  • Updates support offsets to use 3D local offsets [dx, dy, dz].
  • Computes support and element poses from design reference geometry, including nested support propagation.
  • Adds (optional) rigid support behavior that preserves endpoint chord length after endpoint offsets.
  • Updates misalignment application to use center rotation anchors.
  • Adds an AT load-time warning when the input lattice already contains nonzero element transform fields (dx, dy, dz, tilt, pitch, yaw, tilt_frame), since pySC support updates may overwrite them on touched active-ring elements.

kparasch added 14 commits July 21, 2026 17:01
… and their propagations along the different layers. A support is still defined by the two endpoints and its roll rotates the support around the axis connecting these two points. The pySC convention is the AT convention and proper conversion is made to the XSuite convention when passing misalignments to XSuite lattices.
…support was assumed straight through its endpoints which also meant it straightened every element it supports through its reference frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant