BatchImportSTL

21 votes
Version: 
0.3
Date Updated: 
08/26/2000

This script was written by Larry Minton. It was originally called LoadAndSaveAll.ms.

I simply have made A FEW modifications to process .stl files.
The script imports all .stl files found in a given directory (and sub-directories, if desired), then saves them out as a .max of the root same name to the same source directory.
The import uses the most recent settings.
The default settings are shown in STLImportDefaults.jpg.
So, to run script with non-default settings, import one file manually and choose desired settings, then run the script to batch process the files.
If you need to have different import settings for different files, either group them into separate directories and process by group, or search for 'importFile' and see comment.
To turn this into a MacroScript launchable from a toolbar, select all text, then drag-n-drop it onto a toolbar. That's it!

NOTE: STL import can take a good bit of time.

Version Requirement: 
3
Video URL: 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
thomes's picture

thanks for this, it did a

thanks for this, it did a good job for importing 650 stp files. just edited the stl to stp. with the "batch merge" script here on scriptspot that merges the 650 .max files you´re done.
big thanks again

bfmd's picture

Thankyou so much for this

Thankyou so much for this script, I got given models that consisted of 300+ STL files! This has saved me countless of hours.

brittnell's picture

This has come in very hand

This has come in very hand for me, thanks! 

Running this, followed by Colin's "Batch Merge" easily saved me hours of work.  

Hooray for Max Scripts!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.