0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / moddata_1 / bug22194
CommitLineData
3bea4c16 1puts "============"
2puts "OCC22194"
3puts "============"
4puts ""
5#######################################################################
7b5e532f 6# Exception in LocOpe_SplitShape algorithm
3bea4c16 7#######################################################################
8
3bea4c16 9restore [locate_data_file OCC22194-sh.brep] s
10restore [locate_data_file OCC22194-pl.brep] pl
efac1733 11bsection r s pl
12savehistory sec_hist
13
14set sections {}
15foreach f [explode s f] {
16 if {![regexp "No shapes" [generated g_$f sec_hist $f]]} {
17 puts "$f g_$f"
18 lappend sections $f g_$f
19 }
20}
21
22eval splitshape result s $sections
23
b94d4858 24checkprops result -s 24041.4
efac1733 25checknbshapes result -face 352
5747059b 26checkview -display result -2d -path ${imagedir}/${test_image}.png