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

[Bug]: #135

Open
cemccabe77 opened this issue Jul 30, 2024 · 1 comment
Open

[Bug]: #135

cemccabe77 opened this issue Jul 30, 2024 · 1 comment
Labels

Comments

@cemccabe77
Copy link
Contributor

cemccabe77 commented Jul 30, 2024

Summary

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

@cemccabe77 cemccabe77 added the bug label Jul 30, 2024
@tbttfox
Copy link
Member

tbttfox commented Jul 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants