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

Added stage export option to disable authoring of distance unit #2203

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

jonjondev
Copy link
Contributor

Currently, the ADSK plugin always authors metersPerUnit in the exported layer's metadata as so:

#usda 1.0
(
    defaultPrim = "pCube1"
    metersPerUnit = 0.01
    upAxis = "Y"
)

This is not compatible with some assumptions in AL's pipeline (we generally ignore Maya's units), and in continuing the effort to align the ADSK plugin to the AL plugin on static export behaviour, a new export option, -exportDistanceUnit (-edu), has been added to allow for disabling of this behaviour. By default it is set to true maintain current compatibility.

@seando-adsk seando-adsk added import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge labels Apr 6, 2022
@seando-adsk seando-adsk merged commit 8bdbdbe into Autodesk:dev Apr 6, 2022
@jonjondev jonjondev deleted the J-Mo63/export-distance-unit branch April 6, 2022 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants