-
Hello Vicente, I was trying the robots plugin for some pick & place scripts. But every time I lose a mesh when I run the script. This varies between robot meshes and gripper meshes. Example for the gripper, in its closed state, its mesh is correct but in its open state, the mesh is invalid. This is due to what? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 13 replies
-
Hi, are you using the latest Rhino 7? Someone else contacted me with the exact same bug using Rhino 7. I can have a look if you attach a minimal rhino and grasshopper file that can reproduce the bug. |
Beta Was this translation helpful? Give feedback.
-
Yes I'm using Rhino 7 right now. I also think that it's about the Rhino version because I didn't have those kinds of problems with the Rhino6 version. https://drive.google.com/file/d/15YFAN93U5syQl0xmOqi1c4ja58JMiwvS/view?usp=sharing Thank you! |
Beta Was this translation helpful? Give feedback.
-
Have a look at the discussion in this thread it fixed the issue for me
https://discourse.mcneel.com/t/orient-mesh-creates-invalid-mesh/104082/2
…On Sun, 24 Jan 2021 at 23:01, W1711 ***@***.***> wrote:
Yes I'm using Rhino 7 right now. I also think that it's about the Rhino
version because I didn't have those kinds of problems with the Rhino6
version.
Here is a simple grasshopper script & the rhino file with the tools:
https://drive.google.com/file/d/15YFAN93U5syQl0xmOqi1c4ja58JMiwvS/view?usp=sharing
<http://url>
MeshBug.zip <https://github.com/visose/Robots/files/5863386/MeshBug.zip>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#47 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPPKRJ5HOSSFGNA2HDISP3S3SRELANCNFSM4WQFG7NQ>
.
|
Beta Was this translation helpful? Give feedback.
-
It is true that rebuilding the mesh with Pufferfish can resolve the problem. For the tool it works fine, but for the robotic arm it would take a large amount of computational time, so it won't be efficient for a complex script (even for a simple one) :( |
Beta Was this translation helpful? Give feedback.
-
Haven't had a look yet, but from the post above it looks like it's likely an issue with the original mesh. The mesh is not considered valid from the beginning, but this only gets picked up after transforming the mesh, and Grasshopper decides not to display meshes flagged as invalid. The solution would be to fix the original mesh. If it's a robot joint, by repairing the mesh in the .3dm of the robot library. |
Beta Was this translation helpful? Give feedback.
-
Solved, the meshes has to be fixed from the beginning. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@W1711 how did you fix this? I'm loading the UR10 from KULeuven and this one has the same issues. Looks like the other UR10s (Bartlett etc) are the same mesh. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
To try resolve this issue, I wrote a script that goes through all the Rhino files of the libraries and attempts to fix the meshes. It does seem to have worked for the few that I tried but can't guarantee all of them. It also deletes other unnecessary objects from the Rhino file. When installing these libraries through the new UI panel, the Rhino file is hidden from the user so any other objects in the file are unnecessary, better to keep the file more lightweight. You can still have auxiliary objects by keeping the library files in your Documents folder as before, this will override the online-installed library. Below is a log of all the changes after running the script, I'll update them soon:
|
Beta Was this translation helpful? Give feedback.
-
I'm struggling with the same issue. Recently updated to Rhino 7. The files I prepared for the UR3e, seemed to work on R6. Not so much on the R7. Would anyone be able to help take a look at the mesh for me? I've attached the required files here. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a very similar problem. |
Beta Was this translation helpful? Give feedback.
Haven't had a look yet, but from the post above it looks like it's likely an issue with the original mesh. The mesh is not considered valid from the beginning, but this only gets picked up after transforming the mesh, and Grasshopper decides not to display meshes flagged as invalid. The solution would be to fix the original mesh. If it's a robot joint, by repairing the mesh in the .3dm of the robot library.