[Gmsh] readOCCIGES,readOCCSTEP and GMSH 3D meshing

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Jan 31 15:30:59 CET 2013


On 23 Jan 2013, at 08:08, 1948 super <super1948 at gmail.com> wrote:

> Dear Gmsh User,
>  
> I have been trying to use readOCCIGES and readOCCSTEP for my own program.
> 
> I could build my program using readOCCIGES and readOCCSTEP in api_demo level.
> 
> I could excute the program(mainsimple.exe) replacing m->readGEO("test5.geo"); by m->readOCCIGES(hammer.iges);
> in mainsimple.cpp.
> 
> I asummed that reading is OK, but the meshing (m->mesh(3);)
> is not excuted.
> No meshing is generated.
> 
> But, when I tried to read hammer.iges in GMSH graphic window version,
> IGES reading("hammer.iges") is ok and I tried to excute 3D meshing ,3D tetra meshing is easily generated  rapidly.
> 
> What is the differences between regular GMSH(Window version) and Api Demo level ?
> 

There's no difference: are you sure you compiled the library with the required dependencies (in this case OpenCASCADE and the Mesh module) ?

Christophe


> Regards,
> 
> 
> 
>  
>  
> regards,
> _______________________________________________
> 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