I’m writing a C++ plugin (for Rhino 6) to export only selected geometry to an OBJ file. (And then subsequently upload it to our clout for further processing & storage). I have a small c# plugin building and running. Just need some pointers on how to export selected objects to OBJ format.
Thanks for any hints that get me going in the right direction!
I’m not sure if you are using C#, C++, or both. Can you please clarify?
If C++, then other than writing your own .obj file (there are lots of code samples on Google), you’ll need to script the Export command, as the Rhino C/C++ SDK does not expose an obj file writer. A few links go get you started: