Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMSUSD-948 scale export to USD according to units #3937

Merged
merged 1 commit into from
Oct 1, 2024

Commits on Sep 30, 2024

  1. EMSUSD-948 scale export to USD according to units

    Add UI for export units:
    - Add a new -unit (-unt) flag to the export command.
    - Change the existing -exportDistanceUnit default to be false, to avoid
      clashing witth the new -unit option.
    - Document it.
    - Add corresponding unit tokens and value in the job arguments.
    - Expose it to Python.
    - Add UI to control the flag in the export dialog.
    
    Scale during export:
    - Use the same method as for up-axis: modify root node before export and
      undo after export.
    - That is group all root nodes and scale them, export to USD, then
      ungroup.
    - Re-use the same group as for up-axis and same undo, for efficiency.
    - Correctly handle the difference between Maya UI units and Maya
      internal data units.
    
    Add unit tests.
    pierrebai-adsk committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0cd3703 View commit details
    Browse the repository at this point in the history