Rhoban / onshape-to-robot

Converting OnShape assembly to robot definition (SDF or URDF) through OnShape API
MIT License
257 stars 59 forks source link

Imports the CAD part files to COLLADA files instead of STL files #98

Open andrestoga opened 1 year ago

andrestoga commented 1 year ago

Hi,

I wonder if it's possible to import the CAD part files to COLLADA files instead of STL files.

Best,

DevnathNair commented 1 year ago

@Gregwar ping.

Gregwar commented 1 year ago

Apparently, this is technically possible, but much harder: https://forum.onshape.com/discussion/comment/50173/#Comment_50173

For this, we need to initiate a part translation and wait for it to be processed by OnShape. Also, it looks like this is done in the scope of part studios, I am not sure how to achieve that for a part alone