maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

Duplicate Shape Node on Import

Open flipsidezagit opened this issue 1 year ago • 1 comments

Describe the bug Upon importing a .usd file that contains a structure of:

  • asset_name
    • geo
      • pCone1 (Xform or transform node)
        • pCone1Shape (Mesh or shape node)

the imported hierarchy appears as:

  • asset_name
    • geo
      • pCone1 (Xform or group) +pCone1Shape (Xform or transform node) + pConeShape1Shape (Mesh or shape node)

this is when exporting you do NOT enable 'Merge Transform and Shape Nodes' which in our case (and the case of blender usd export for example) does not do.

Steps to reproduce

  1. Create the structure above using groups and a pCone1
  2. Select hierarchy and go File > Export Selection, do NOT enable 'Merge Transform and Shape Nodes'.
  3. File > Import your .usd file

Expected behavior I think the usd importer may require the inverse option of the exporters 'Merge Transform and Shape Nodes'. Allowing it to know that the def Mesh "pConeShape1" should just become the shape node for the def Xform "pCone1" above.

Attachments maya_duplicate_shapenode

Specs (if applicable):

  • Windows-10-10.0.19045-SP0 64 Bits
  • Maya 2025
  • mayaUsdPlugin: 0.27.0

flipsidezagit avatar Jun 27 '24 10:06 flipsidezagit

Hi @flipsidezagit. Thank you for reporting this issue. I will log a ticket internally for this to see about the feasibility of adding this feature to the import options. I will get back to you and let you know what we determine as a team.

santosd avatar Jun 27 '24 17:06 santosd