Skip to content

Rotation

Architecture: [[axes]]

Not in scope (yet)

  • Formula-driven angles — angle attributes support formulas, but punt for now

Todo

  • remove closest_pair_angles from Orientation.ts
  • move the relevant contents of this file -> architecture/graph/axes.md

Done

  • slider (-45..+45, step 0.5) with detents at 0, ±22.5, ±30
  • +/- 90 buttons
  • per-axis angle input (type a value, blur or enter to apply)
  • axis selector: segmented x/y/z, default z
  • root expansion to account for rotations that protrude
  • hide rotation controls when root SO is selected
  • angles table in D_Selected_Part
  • dedicated "rotation" details banner (D_Rotation.svelte)
  • add a swap button after the +90 button (swaps the two unselected axes)
  • fix swap_axes for general cases (deep children, formulas referencing parent axes)
  • compare rotate vs swap — both needed