Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

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

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
.STL Export Script
« 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]
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, 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.
« Last Edit: March 16, 2012, 07: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, 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

Logged

AlecJames

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

I think the script only supports meshes
A
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 490
  • errm...errr?
    • View Profile
Re: .STL Export Script
« Reply #4 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.
Logged
!

kreator

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

captaindrewi

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

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

AlecJames

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: .STL Export Script
« Reply #7 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
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: .STL Export Script
« Reply #8 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.
Logged

benzjie

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



wrong thread :P   
Logged