sorry to bring it up again
by importing some *.stl file from cad I get this error
ERROR: STL import failed at triangle #0 (line 1), degenerated triangle?
I have read in some previous posts the answer that "check if the triangle is degenerated"
I don't know what is meant by this ? what should I check for in that stl file.
I do not get this error when i import cylinder, but upon importing sphere bodies I get this error.
thanks
ckloss | Wed, 12/14/2011 - 11:58
>>"check if the triangle is
>>"check if the triangle is degenerated"
the meaning degenerated is in terms of aspect ratio.
>>by importing some *.stl file from cad
thats probably the problem. if you have the STL CAD representation of a sphere, triangles typically have extreme aspect ratios. try extporting iges or step from CAD, import them into a mesher like gmsh, and use a proper mesh instead of a pure CAD geometry
Christoph
AignerM | Wed, 12/14/2011 - 18:55
Hy Christoph, I´ve the same
Hy Christoph,
I´ve the same problem.
Due to my complex geometry I unfortunately can´t use GMESH any more. I´ve tried to import e.g. a *stp, or also *igs CAD-File in Gambit, created an surface mesh and saved it afterwards as an *igs file.
But it was not possible to import the geometry in liggghts:
> Importing STL file 'Trichter_EOE_oval_WendNut_St70.igs'
> Mesh calculations running. This may take a while...finished!
> Import of 0 triangles completed successfully!
Maybe you can give me a tip, how I can solve this problem,
Michael
cstoltz | Thu, 12/15/2011 - 12:19
Michael, Try resaving into an
Michael,
Try resaving into an .stl format instead of .stp or .igs formats and see if that will import.
One way I've found to get around degenerated triangles is to load the .stl image into a program like Meshlab and run filters to eliminate zero-area faces, redundant nodes, etc. Might also give that a try if you're still having trouble.
Regards,
Chris
AignerM | Thu, 12/15/2011 - 15:35
Hy Chris, thanks for your
Hy Chris,
thanks for your help.
Do you just resave an *igs file as *stp?? Due to my compley geometry I can´t generate an *igs mesh with gmesh and when I generate a *stl file I´ve problems with degenerated triangles.
Unfortunately I couldn´t install Meshlab (on Windows)--> Error message:
Downloaded MeshLab_v130a_64bit.exe. Got installation error: ...does not have "Microsoft Visual C++ 2008 SP1 Redistrutable Package (x64) installed"
I´ve installed the required SP, but the error message stayed the same...
Cheers,
Michael
ckloss | Thu, 12/15/2011 - 15:54
> Importing STL file
> Importing STL file 'Trichter_EOE_oval_WendNut_St70.igs'
> Mesh calculations running. This may take a while...finished!
> Import of 0 triangles completed successfully!
LIGGGHTS does not support iges or stp. You can't simply convert either of them into STL, there is always a "meshing" step inbetween.
Cheers, Christoph
cstoltz | Thu, 12/15/2011 - 19:12
As Christoph mentioned, I
As Christoph mentioned, I take any CAD files I have and resave them to STL format for use in LIGGGHTS. Most of the time, I just export the STL files directly from whatever CAD platform I'm using (typically SolidEdge or SolidWorks). For the cases where I have to do some cleanup to the STL file itself (say when that is all I was provided, instead of a more complete igs or stp file), I use Meshlab.
If you can't get Meshlab to work, there are some other free translators out there you might be able to try. A quick google search turned up a couple:
BRL-CAD: http://brlcad.org/
FreeCAD: http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page
Hope this helps,
Chris