Any way to import STL?
Any way to import STL?
Just wondering if anyone knows of a way to directly import .stl files?
Re: Any way to import STL?
I only found an export script in this thread
Re: Any way to import STL?
Yes. Unfortunately I need import. It's such a nice way to get solid geometry from CAD programs into polys. Blender can do it really well. I was hoping to skip a step and go straight to SI but I haven't found anything yet. Sure wish there was.
Re: Any way to import STL?
I think you can convert STL to Obj without much trouble.
Re: Any way to import STL?
Yes, I can import in Blender and convert to .obj then import that into SI. I was just hoping to skip a step because sometimes I have a lot of them. Oh well.
- Daniel Brassard
- Posts: 878
- Joined: 18 Mar 2010, 23:38
- Location: St. Thomas, Ontario
- Contact:
Re: Any way to import STL?
If you know somebody that can script, you can use python and/or some existing libraries such as numpy-stl, the python stl library, PyMesh or OpenMesh to import natively to Softimage.
Do you import in ascii or binary normally?
Do you import in ascii or binary normally?
$ifndef "Softimage"
set "Softimage" "true"
$endif
set "Softimage" "true"
$endif
Re: Any way to import STL?
Unfortunately I don't. For what I'm doing it's probably not worth the time. I just thought someone might have one already. Thanks.
Re: Any way to import STL?
Ascii stl looks more or less like
start
normal and 3vertexes
normal and 3vertexes
normal and 3vertexes
end
so its a bounch of triangles, it is even more readable than the quite simple obj ascii, it gets longer with lots of triangles tho.
Here is a single stl triangle
I hope someone can do at least the ascii import
start
normal and 3vertexes
normal and 3vertexes
normal and 3vertexes
end
so its a bounch of triangles, it is even more readable than the quite simple obj ascii, it gets longer with lots of triangles tho.
Here is a single stl triangle
Code: Select all
solid model
facet normal 0.0 1.0 0.0
outer loop
vertex 1.0 0.0 1.0
vertex 1.0 0.0 -1.0
vertex -1.0 0.0 -1.0
endloop
endfacet
endsolid model
Re: Any way to import STL?
Doh, I forgot to even answer the question. Ascii or binary is fine, doesn't matter.
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: Any way to import STL?
You should probably look into dedicated conversion software that allows for batch processing. I haven't tried this myself, but this one apparently does the trick and it's free: http://www.nchsoftware.com/3dconverter/
Stay safe, sane & healthy!
Re: Any way to import STL?
Hi, the best way without any doubt is using the MOI modeler software, the mesh generated is 2 to 3 times better than in any other apps
Re: Any way to import STL?
Thanks Hirazi, I'll give that a try.
NNois, I do have Moi and I agree, it does a fantasic job. There are two problems however. Moi is 32bit and the parts I need to convert are complex and not easily broken down. It runs out of RAM. I've been hoping for a 64 bit version but hasn't happened yet.
The other advantage of STL is Inventor can create them in a few seconds (much faster than Moi) even for very complex parts. Blender can then import them just as fast. It would be so nice to have the same feature in SI. The problem also with an intermediate step like Moi is there is often time wasted getting the right orientation, units, polys facing the right way etc.
NNois, I do have Moi and I agree, it does a fantasic job. There are two problems however. Moi is 32bit and the parts I need to convert are complex and not easily broken down. It runs out of RAM. I've been hoping for a 64 bit version but hasn't happened yet.
The other advantage of STL is Inventor can create them in a few seconds (much faster than Moi) even for very complex parts. Blender can then import them just as fast. It would be so nice to have the same feature in SI. The problem also with an intermediate step like Moi is there is often time wasted getting the right orientation, units, polys facing the right way etc.
Re: Any way to import STL?
I've been needing STL import for a while too - had a try today scripting a simple importer. Check out if it works for you: ImportSTL.zip
softimage resources section updated Jan 5th 2024
Re: Any way to import STL?
Wow, that seems to work perfectly, thanks rray! No errors so far. Very nice! Incredibly fast too! This is awesome.
Re: Any way to import STL?
Thanx rray, very nice to have stl import in SI! Thx for share!
Re: Any way to import STL?
Glad to share nice to see it works well. The "new" meshBuilder class from the sdk makes writing importers quite easy and fast.
softimage resources section updated Jan 5th 2024
Who is online
Users browsing this forum: No registered users and 49 guests