[Gmsh] segmentation fault when opening a .igs file

Louis Gagnon louis.gagnon.10 at ulaval.ca
Thu Oct 14 19:24:34 CEST 2010


Hello,

I am trying to import a IGES file and gmsh cannot open it. The only output I see in terminal is a segmentation fault.

Are there any tricks to remove the error and import the file?

Here is the header part of the .igs file:

                                                                        S      1

/COM,ANSYS RELEASE 10.0    UP20050718       11:16:44    11/05/2007      S      2

/NOPR                                                                   S      3

/PREP7                                                                  S      4

/TITLE,                                                                 S      5

BFUNIF,TEMP,_TINY                                                       S      6

KUSE,0                                                                  S      7

TIME,0.00000000                                                         S      8

TREF,0.00000000                                                         S      9

ALPHAD,0.00000000                                                       S     10

BETAD,0.00000000                                                        S     11

DMPRAT,0.00000000                                                       S     12

CRPLIM,0.100000000,0                                                    S     13

CRPLIM,0.00000000,1                                                     S     14

NCNV,1,0.00000000,0,0.00000000,0.00000000                               S     15

NEQIT,0                                                                 S     16

ERESX,DEFA                                                              S     17

ACEL,0.00000000,0.00000000,0.00000000                                   S     18

OMEGA,0.00000000,0.00000000,0.00000000,0                                S     19

DOMEGA,0.00000000,0.00000000,0.00000000                                 S     20

CGLOC,0.00000000,0.00000000,0.00000000                                  S     21

CGOMEGA,0.00000000,0.00000000,0.00000000                                S     22

DCGOMG,0.00000000,0.00000000,0.00000000                                 S     23

IRLF,0                                                                  S     24

!set_flag_to_prevent_offset_when_importing_FE_model.                    S     25

_CDRDOFF=1                                                              S     26

/AUX15                                                                  S     27

IOPTN,YES,DEFA                                                          S     28

/GOPR                                                                   S     29

!_END_OF_START                                                          S     30

1H,,1H;,,16Htucknov0507.iges,                                           G      1

5HANSYS,22H  10.0      UP20050718,,,,,,,1.0,,,,,13H001105.111644,       G      2

1.0000E-04,,,,9,,;                                                      G      3

     128       1       0       0       0       0       0       000010001D      1

     128       0       0      51       0       0       0 SURFACE       0D      2

     126      52       0       0       0       0       0       000010501D      3

     126       0       0       7       0       0       0B-SPLINE       0D      4

     126      59       0       0       0       0       0       000010501D      5

     126       0       0      23       0       0       0B-SPLINE       0D      6

     126      82       0       0       0       0       0       000010501D      7





Thank you,


-Louis