Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: .STL Export Script  (Read 5158 times)

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1448
    • View Profile
.STL Export Script
« on: March 14, 2012, 09: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]
Logged

lppena

  • Sr. Member
  • ****
  • Posts: 299
  • Anim8or, does a body good.
    • View Profile
    • Truespace Anim8or Casual Modeling Forum.
Re: .STL Export Script
« Reply #1 on: March 15, 2012, 04: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.
« Last Edit: March 16, 2012, 11:03:26 am by lppena »
Logged

lppena

  • Sr. Member
  • ****
  • Posts: 299
  • Anim8or, does a body good.
    • View Profile
    • Truespace Anim8or Casual Modeling Forum.
Re: .STL Export Script
« Reply #2 on: March 21, 2012, 04: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

Logged

AlecJames

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: .STL Export Script
« Reply #3 on: August 21, 2013, 08:34:19 am »

I think the script only supports meshes
A
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 450
  • errm...errr?
    • View Profile
Re: .STL Export Script
« Reply #4 on: August 21, 2013, 11: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.
Logged
!

kreator

  • Hero Member
  • *****
  • Posts: 1114
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: .STL Export Script
« Reply #5 on: August 21, 2013, 11: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
« Last Edit: August 21, 2013, 11:33:33 am by kreator »
Logged
O

captaindrewi

  • Sr. Member
  • ****
  • Posts: 450
  • errm...errr?
    • View Profile
Re: .STL Export Script
« Reply #6 on: August 21, 2013, 11:49:02 am »

doh!..sorry about that :-[ and thanks for the script raxx. :)
Logged
!

AlecJames

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: .STL Export Script
« Reply #7 on: August 21, 2013, 12:29:02 pm »

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
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1448
    • View Profile
Re: .STL Export Script
« Reply #8 on: August 22, 2013, 03:22:44 am »

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.
Logged

benzjie

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: .STL Export Script
« Reply #9 on: October 01, 2013, 08:16:39 am »



wrong thread :P   
Logged