Batch converter, file formats


#1

HI

Do you have a script that does batch converting from one set of files to another format. such as converting Steps into Obj.

It needs to work with V5

thanks

Alex


(Dale Fugier) #2

Hi @alexandre_galin,

There are a number of batch processing scripts in the RhinoScript samples repo:

https://github.com/mcneel/rhino-developer-samples/tree/6/rhinoscript

Here is one that open DWG files and saves them as 3dm.

https://github.com/mcneel/rhino-developer-samples/blob/6/rhinoscript/BatchConvertAutoCAD.rvb

Perhaps this is a good starting point?

– Dale


#3

The best way would be to use a converter that is designed to do this type of conversion.
Take a look at CrossManager. It can convert a lot of CAD formats (including STEP to OBJ), and it can be used in command line to do batch conversions.
It is not free, but it can be interesting for you if you often needs to convert files.