Hi @dale - you helped me on a previous post to import some of our legacy Inventor part file geometry into Rhino. My question now relates to the same project but now we are serving the manipulated geometry back to Users…
Our Rhino.Compute server is now successfully streaming the Rhino mesh geometry to our plugin running inside AutoCAD/Civil3D. In this image you can see the geometry (streamed as Rhino mesh objects which our plugin converts in memory to Three.js meshes) rendered in the preview window.
Once the User clicks a commit button we want the geometry to be inserted into their AutoCAD drawing.
Can you advise a strategy for converting the Rhino mesh geometry to native AutoCAD objects (Solid3d class) ? The options I am aware of are:
- save meshes as .3dm file, use AutoCAD IMPORT command to import the ,3dm file.
- export meshes to .dwg file, use AutoCAD INSERT command to insert the .dwg file.
Can you advise of a better solution that avoids file IO and could translate in memory from mesh to Solid3d ? Perhaps Rhino.Inside AutoCAD offers some in-memory translation methods @kike ?
If the two file IO solutions I’ve mentioned are the way to go, would IMPORT 3dm be better than EXPORT dwg - I assume OpenNURBS is much easier for autoCAD people to create an importer with than the other way around since AutoCAD may be less, urr, open! Any thoughts?