Wondering if anyone can help with importing .stp files into Rhino, then exporting them to OBJ format?
I’m working with CAD models in .stp format which have been produced in different software (Inventor and Solidworks I think) and I want to convert them to OBJ for use in C4D.
Everything seems to work OK but there seems be an issue with blocks/instancing.
When I import the OBJ files into C4D they’re missing some components, I presume these are instanced components and they’re not being exported as geometry?
The models look correct in Rhino so hopefully I can get them to export properly.
I’ve tried exploding the blocks in the hope that would make the instances show up in the export but no luck.
Hello - can you post an example step file or send to tech@mcneel.com, or, zipped, via www.rhino3d.com/upload to my (Pascal) attention? The last two are confidential, this forum is public.
Hello - ExplodeBlock may be what you’re looking for - try that before your export.
If the file is very complex and you need some control you can try this tool - it may get the nested blocks to a state that makes sense for exporting - drag and drop the attached rhp file onto Rhino and then use the ExplodeBlocksToLayers command that it provides to explode things to separate layers - see the command line option for how it handles layers. ExplodeBlocksToLayers.rhp (14.5 KB)
Hello - so what is your process - ExplodeBlock, then select the results and export to obj and some things go missing? Yeah, if you can some up with a file that shows the problem, please send it along.
Hello - try the plug-in posted above rather than the rvb script - it should be much more up-to-date. You’ll probably have to unblock the plug-in (in its Proerties) before dragging and dropping onto Rhino.
Hello - use the command line option to change how layers are handled and yes, it destroys the block definitions, makes everything into ‘normal’ geometry.