Skip to content

feat(geometry): add whole-fuselage scaling for length, width, height, and radii - #69

Merged
karakayahuseyin merged 1 commit into
mainfrom
feat/fuselage-scale
Nov 27, 2026
Merged

karakayahuseyin merged 1 commit into
mainfrom
feat/fuselage-scale

Conversation

@karakayahuseyin

Copy link
Copy Markdown
Contributor

Summary

  • Add whole-fuselage scaling in fuselage_geometry.py (fuselage_extents, scale_fuselage_geometry) supporting X/Y/Z dimensions and corner/vertex radii across all fuselage profile types (including circle-to-ellipse conversion on non-uniform Y/Z scale, radius clamping, X anchor at min_x, and _expressions preservation).
  • Add ScaleFuselageDialog and open_scale_fuselage_dialog with uniform/non-uniform scaling and target dimension inputs backed by UnitManager and atomic undoable api.edit_component.
  • Expose Scale Fuselage… in the fuselage segments toolbar and the Explorer context menu.
  • Add unit tests in tests/geometry/test_fuselage.py.

Verification

  • uv run pytest (668 passed)
  • uv run ruff check . / uv run ruff format --check . / uv run pyright (0 errors, 0 warnings)

@karakayahuseyin
karakayahuseyin merged commit d8d3865 into main Nov 27, 2026
4 checks passed
@karakayahuseyin
karakayahuseyin deleted the feat/fuselage-scale branch November 27, 2026 14:05
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