universal_robot icon indicating copy to clipboard operation
universal_robot copied to clipboard

Fix ur3 visual mesh

Open Briancbn opened this issue 4 years ago • 6 comments

Fix #425 For Wrist3 Node 1 (ring) I simply added a edge split modifier and shade smooth For Wrist3 Node 0 (end-effector) I rebuild the mesh in blender (maybe because I am not good enough or the resolution of the STL is too low, I don't see the screw holes coming back easily with edge split). It was drawn on top of the original STL so there should be no dimensional problem here. For Wrist2 and Wrist1 blue logo cap, I use the UR3e ones, remove the screws. The original mesh will takes a very long time to fix (maybe I am not that good). Since I cannot regenerate STL

You can cherry-pick this commit onto kinetic-devel branch

Before: Before

After: after

Final: Final

Briancbn avatar Jul 07 '20 01:07 Briancbn

The meshes look really nice @Briancbn.

Could you comment on the file size difference?

Good looking meshes are important, but if it increases the size of the files too much (Collada can get very verbose), we may need to tweak them a little.

gavanderhoorn avatar Jul 07 '20 09:07 gavanderhoorn

Before 716K wrist1.dae 724K wrist2.dae 44K wrist3.dae

After 1.3M wrist1.dae 1.2M wrist2.dae 388K wrist3.dae

I can try to reduce wrist3 if you think the differences are too big.

Briancbn avatar Jul 07 '20 09:07 Briancbn

While this certainly improves the smoothness of the mesh, it increases their size 2x (wrist 3 about 9 times).

Personally I feel that's a bit too much, but I'm just one voice here.

It seems @ipa-nhg is ok with it, so it's a tie.

Perhaps someone else can weigh in.

gavanderhoorn avatar Sep 29 '21 07:09 gavanderhoorn

I will try to reduce the wrist 3 mesh

Briancbn avatar Sep 29 '21 08:09 Briancbn

The other two may be more efficient to reduce. They are the main cause of the size increase I believe.

gavanderhoorn avatar Sep 29 '21 08:09 gavanderhoorn

For Wrist2 and Wrist1 blue logo cap, I use the UR3e ones, remove the screws. The original mesh will takes a very long time to fix (maybe I am not that good). Since I cannot regenerate STL

@gavanderhoorn For the other 2, it is pretty much the best I can do here based on my ability. As the automatic generated meshes are not clean (nice quad for instance), it is pretty hard to directly use "decimate".

I assume as it was not an issue in ur3e, it could still be ok here.

Briancbn avatar Sep 29 '21 10:09 Briancbn