I am currently facing a small issue. I have created a design/assembly of multiple Closed solid polysurfaces. All of those closed solid polysurfaces, i want to export to a separate STEP file for each part. Does anybody know if this is possible through a command, or do i have to export each part manually?
This can be done with a script. I didn’t have a STEP export script in my library, so I quickly hacked one together from some others. You will need to browse to a folder for the exports and then choose in a master file name. The individual object files will have the name “MasterName-1”, “MasterName-2”, etc. It is of course possible to modify the script to use a different file naming convention.
Right now the script is set with the following export options:
To run the script, save it somewhere, then use _RunPythonScript and browse to the script file. For more permanent script installation via aliases or toolbars, have a look at this wiki page. https://wiki.mcneel.com/rhino/macroscriptsetup
This works well, thanks! I would like to adopt it into my GH file so i automate and the selection process and name items more specifically. Do you have experience with this, or someone else maybe?