jlopezbi / rhinoUnfolder

unwrap meshes in rhino!
GNU General Public License v3.0
8 stars 2 forks source link

MeshNormals not computed => ArrayIndex out of range #39

Closed jlopezbi closed 8 years ago

jlopezbi commented 8 years ago

This happens when a file is copied and then the unfold command, which does not assign cuts but uses cuts that are already there. The quick fix is to run the rhino command "RebuildMeshNormals" and then re-run the unfold command screen shot 2016-05-25 at 11 58 12 am

jlopezbi commented 8 years ago

This is a rather nasty error since it gives a rather abstruse error message; Lets see if we can get it to give a more clear error message

jlopezbi commented 8 years ago

Here is another version of the same problem: screen shot 2016-06-06 at 5 13 13 pm

jlopezbi commented 8 years ago

Ok Have more descriptive error screen shot 2016-06-06 at 5 29 01 pm message.

jlopezbi commented 8 years ago

Ideally this never happens, maybe someday I will figure out how to decouple the ComputeNormals and the other thing it was affecting.. (can't remember right now what that was. oh well)