19589673 |
1 | # Test issue #25816: writing edges inside compound to IGES 5.3 |
2 | |
3 | pload MODELING DATAEXCHANGE |
4 | |
5 | # make compound containing one edge |
6 | circle c 0 0 0 0 0 1 1 |
7 | mkedge e c |
8 | compound e s |
9 | |
10 | # write to IGES in BREP mode |
11 | newmodel |
12 | param write.iges.brep.mode 1 |
13 | brepiges s ${imagedir}/${casename}.igs |
14 | |
15 | # read back and check similarity |
16 | igesbrep ${imagedir}/${casename}.igs a * |
5ae01c85 |
17 | checknbshapes a -vertex 1 -edge 1 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 3 -t -m "Number of sub-shapes in result after saving to IGES and reading back" |