[Gmsh] Named faces in Step to physical surfaces

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Jan 31 15:55:03 CET 2013


On 18 Dec 2012, at 16:18, Matthias Sedlmaier <Winterheart at gmx.de> wrote:

> Hello Gmsh developers!
> 
> In my CAD system it is possible to name the faces of the model. This names appear also in the exported step file. I think this is also true for other CAD systems.
> For example:
> One face of a cube is named 'support' and if you open the step file in a text editor you can find the line:
> #800=ADVANCED_FACE('support',(#790),#450,.T.);
> Now it would be great if after importing in GMSH these named faces would be appear as physical surfaces.
> Especially for non-interactive mesh generationwith constraints, this would be advantageous. Do you think it is possible to implement such a function?
> 

It would indeed be very useful. We use OpenCASCADE for STEP import - can you check in the OpenCASCADE docs if they store this info somewhere?

Christophe

> Kind regards and merry Christmas
> Matthias
> 
> _______________________________________________
> 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