Anim8or Community

General Category => ASL Scripts => Topic started by: Raxx on March 14, 2012, 05:20:51 pm

Title: .STL Export Script
Post by: Raxx on March 14, 2012, 05:20:51 pm
I needed a change of pace, so I figured I'd make some scripts that would help me with 3D printing. The primary format used by the slicers use the .STL format which is one of the most basic possible (I'm surprised no one's made an export script just because it's so simple). So I hacked it together using Steve's .obj script and Tyson's .d3d script as its foundation.

I totally eliminated a program out of my work pipeline by doing this. More efficient!

[Download (http://an8.the-meadow.net/Com/ASLTopic/STL_export.zip)]
Title: Re: .STL Export Script
Post by: lppena on March 15, 2012, 12:17:02 pm
Thanks, Raxx. I got the script and installed it in my scripts folder. Leroy. I'm sure if the model I exported caused aa system freeze, but when I tried to open the model file 3D Exploration froze up; it may just be 3DEX had issues due the the old 1.5.5 version that I use. BTW, the BZ II Directx export script is working good Raxx. Thanks again for fixing it up for me Leroy.
Title: Re: .STL Export Script
Post by: lppena on March 21, 2012, 12:26:55 am
There seems to be an issue with the file output of the STL exporter Raxx. When I attempt to open it in a text editor all I see is this. The objects exported were 2 grouped cubes with a BMP texture on both. I don't know what to make of it? 3D Exploration tries to open it but hangs in the process. Leroy.
Code: [Select]
# Created with Anim8or 0.97d beta
# Object "object01":
solid group01
endsolid group01

Title: Re: .STL Export Script
Post by: AlecJames on August 21, 2013, 04:34:19 am
I think the script only supports meshes
A
Title: Re: .STL Export Script
Post by: captaindrewi on August 21, 2013, 07:23:01 am
Kreator and i have used this recently,dont know if its any use for your requirements.
we used it in connection with subdivformer an android application.
Kreator maybe able to tell you more about it.
Title: Re: .STL Export Script
Post by: kreator on August 21, 2013, 07:30:32 am
Drew, its the same on that Raxx wrote!... Looking for an import .STL to anim8or as well as .ply(export/Import)


it won`t do groups as AlecJames states only single meshes I found
Title: Re: .STL Export Script
Post by: captaindrewi on August 21, 2013, 07:49:02 am
doh!..sorry about that :-[ and thanks for the script raxx. :)
Title: Re: .STL Export Script
Post by: AlecJames on August 21, 2013, 08:29:02 am
Export STL script: At first I had problems with missing faces (the 3d printer software showed about half of the faces missing).  I found that if I "FlipNormals" so that all faces selected yellow on the outside surface of the object, the stl export worked fine.
A
Title: Re: .STL Export Script
Post by: Raxx on August 21, 2013, 11:22:44 pm
Yes, you need a continuous manifold in order to expect proper export. This means all faces must face outward (yellow), and not have any holes in them.

Also, it's true, I didn't include grouped mesh support for some reason. I fixed this just now, and you can get the updated script with working groups by using the download link in the original post.
Title: Re: .STL Export Script
Post by: benzjie on October 01, 2013, 04:16:39 am


wrong thread :P