[Gmsh] R:Re: STL file

baz1987 at gmail.com baz1987 at gmail.com
Mon Oct 26 16:43:32 CET 2009


hi,
i have another problem with stl files:
how can i set Physical Groups in a stl files?
all geometry is composed of a single surface that defines the boundary, and  
a single volume inside.
can i split the bondary in different surfaces? and the volume?
thank you very much


Il giorno 22/ott/2009 18.57, Christophe Geuzaine <cgeuzaine at ulg.ac.be> ha  
scritto:
> Christophe Geuzaine wrote:


> Michele Marogna wrote:


> i can't send you this file, it's confidential.

> i draw with solidworks another file, that give me the same error.




> Wow, Solidworks exports binary STL with an ASCII STL header...



> Change the first line of the file : "solid" -> "xolid" (or anything else  
> than "solid", but with the same length), that should work.




> I've added a small hack in our import routine so that it should work

> even with bad headers. Give tomorrow's nightly snapshot a try.








> PS : don't send confidential files to gmsh at geuz.org : this is a public  
> mailing list.










> thank you very much



> Michele





> 2009/10/22 David Colignon David.Colignon at ulg.ac.be  
> David.Colignon at ulg.ac.be>>



> Hi,



> can you send us your .stl file to check it ?



> Cheers,



> Dave



> --

> David Colignon, Ph.D.

> Collaborateur Logistique du FRS-FNRS

> CÉCI - Consortium des Équipements de Calcul Intensif

> ACE - Applied & Computational Electromagnetics

> Institut Montefiore B28

> Université de Liège

> 4000 Liège - BELGIQUE

> Tél: +32 (0)4 366 37 32

> Fax: +32 (0)4 366 29 10

> WWW: http://hpc.montefiore.ulg.ac.be/

> Agenda:

> http://www.google.com/calendar/embed?src=david.colignon%40gmail.com





> baz1987 at gmail.com baz1987 at gmail.com> wrote:



> hi,

> i'm trying to open an .stl file exported by solidworks to gmsh

> on ubuntu.

> when i load the geometry, an error occured:



> Error : No facets found in STL file for solid 0

> Error : Error loading '/home/michele/Scrivania/Biella-XF.stl'



> i run also dos2unix, but it still not open my geometry.



> how can i do?



> Thank you very much





> ------------------------------------------------------------------------



> _______________________________________________

> gmsh mailing list

> gmsh at geuz.org gmsh at geuz.org>

> http://www.geuz.org/mailman/listinfo/gmsh











> ------------------------------------------------------------------------



> _______________________________________________

> gmsh mailing list

> gmsh at geuz.org

> http://www.geuz.org/mailman/listinfo/gmsh











> --

> Prof. Christophe Geuzaine

> University of Liege, Electrical Engineering and Computer Science

> http://www.montefiore.ulg.ac.be/~geuzaine



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20091026/ec0d3672/attachment.html>