[Gmsh] igs to geo

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Jul 20 23:23:14 CEST 2008


Fabian Braennstroem wrote:
> Hi,
> 
>     I have a small problem, when importing an igs (exported by
>             ICEM) geometry. Actually the import works well,
>     but as soon as I save it as a geo file, I get a lot more
>     points then in the igs file. I attach to snapshots. Do I
>     do anything wrong?

Not really: the geo export is pretty much there for debugging purposes 
only. The reason you get more points is probably that the straight lines 
in the iges files are represented e.g. by splines instead of line segments.

Our goal is to mesh iges/step files directly, without converting them 
into geo format first...

>     The view is an extraction of a simple diffuser, which I
>     want to mesh with hexa elements.
> 

...but indeed, for this you would have to convert the iges file into geo 
format, since we haven't (yet) interfaced the structured meshing 
commands with general CAD files.

Why is having more control points a problem?

(If it really is a problem, have a look in Geo/GModelIO_Geo.cpp: you 
could just change the the way we export the curves.)



>     Would be nice, if you have any hints!
>     Fabian
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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