You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiving different array size when running Tools > Import Obj Folder
# File "MeshCrawler\commands\mayaCommands.py", line 182, in setAllVerts
# out[:, :3] = newVerts
# ValueError: could not broadcast input array from shape (24049,2,3) into shape (24049,3)
Expected Behavior
Expected same size array from:
simplex.DCC.getNumpyShape()
&
simplex.DCC.extractShape()
Steps to Reproduce Behavior
From the Simplex UI run Tools > Import Obj Folder
Solution
I have no concrete solution. My apologies.
I am currently skipping the reorder steps as a work around.
Environment
SimplexUI: 3.0
OS: Windows 10
Python: 3.7.7
Numpy: 1.21.6
Additional Context
N/A
The text was updated successfully, but these errors were encountered:
It's definitely a bug, but I probably won't get to this any time soon. The Meshcrawler library isn't its own library internally, so it's a real pain to update the public repo. We're working on fixing that, but it's low prio.
I'd suggest editing importObjs.py and changing part of the last line from reoder=reorder to reorder=False
Also, in your script editor, make sure that History -> Show Stack Trace is checked. The fact that Maya even includes the option to hide error information is a TERRIBLE design decision, IMO.
Summary
Receiving different array size when running Tools > Import Obj Folder
Expected Behavior
Expected same size array from:
simplex.DCC.getNumpyShape()
&
simplex.DCC.extractShape()
Steps to Reproduce Behavior
From the Simplex UI run Tools > Import Obj Folder
Solution
I have no concrete solution. My apologies.
I am currently skipping the reorder steps as a work around.
Environment
SimplexUI: 3.0
OS: Windows 10
Python: 3.7.7
Numpy: 1.21.6
Additional Context
N/A
The text was updated successfully, but these errors were encountered: