[Gmsh] bug de gmsh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Oct 8 08:56:52 CEST 2008


LECHELLE Jacques 118404 wrote:
> Hello Christophe, what I called "material" was in fact a "complex volume", but Kacem told me yesterday he had found the origin of the problem: reading of the first "solid"..."end solid" sequence he told me.

Ah the problem might then just come from the fact that in version 1.60 
we used the .geo parser to read .stl files. In new versions the STL 
reader is separate. So if you want to define additional entities you 
cannot simply add GEO definitions in the .stl file: you need to include 
the .stl file in a .geo file, and add the definitions there.

See "demos/sphere-discrete.geo" for an example.



> 
> -----Message d'origine-----
> De : Christophe Geuzaine [mailto:cgeuzaine at ulg.ac.be]
> Envoyé : mardi 7 octobre 2008 21:02
> À : LECHELLE Jacques 118404
> Cc : gmsh at geuz.org; ksaiks at gmail.com
> Objet : Re: [Gmsh] bug de gmsh
> 
> 
> LECHELLE Jacques 118404 wrote:
>> Bonjour,
>>
>> Je suis resté en gmsh version 1.60.1 car dans les versions ultérieures on ne visualise dans les fichiers stl que le matériau numéro 1 quand on a plusieurs matériaux. Voici en pièce-jointe un fichier que l'on visualise bien avec la version 1.60.1 mais pas avec la version 2.2.4.
>>
> 
> Hello Jacques - How do you define the materials in the STL file? (Are 
> you referring to the "coloring" of the triangles that was made according 
> to changes in the triangle normals in version 1.60?)
> 
> 
>> Est-ce une erreur due à une évolution de syntaxe que je n'ai pas répercutée dans mon fichier stl ou à un bug logiciel ?
>>
>> Merci.
>>
>> Jacques Léchelle
>> CEA
>> CEN Cadarache
>> DEN/Cad/DEC/SPUA/LMPC
>> bât 717
>> 13108 Saint Paul lez Durance
>> tel 04 42 25 73 61
>> fax 04 42 25 47 17
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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