Welcome! Log In Create A New Profile

Advanced

AOI script needed

Posted by EdSells 
AOI script needed
December 01, 2008 01:03PM
Hi!

I'm going through the process of re-releasing Darwin's design files. This has resulted in some remodelling, and now I need to re-process all the STLs through AOI.

SolidEdge (which I designed the models in) exports massively chunky STL files, so we have traditionally run them through AOI to skinny them down. Doing this to ~50 files is mind-numbing, and it occurred to me that perhaps it would be possible to run a tool script to do the whole job.

For each STL, through the UI, I currently have to:

1. Import STL:
[fileType Auto, maxDecimalDigits 12, errorTolerance 0.0, center 1, frame 1, ignoreErrors 1, fileCompression 0]
2. Select object
3. Convert to Triangle Mesh
4. Edit Object... Simplify Mesh... [Max Surface Error 0.1]
5. Optimise mesh connectivity
6. Confirm
7. Export STL:
[fileType Binary, maxDecimalDigits 12, Max Surface Error 0.05, ignorErrors 0, fileCompression 0]
8. Close AOI window (too many open versions sucks up too much memory)

My ideal script would do all this for me - even better, process a whole folder of STL's in one click.

I thought I'd put this out there incase there's any script pros who'd like to give it a shot? It would be massively appreciated in the release process...!

Cheers, eD
Sorry, only registered users may post in this forum.

Click here to login