Commit | Line | Data |
---|---|---|
0e94a94e | 1 | |
2 | puts "================" | |
3 | puts "OCC252" | |
4 | puts "================" | |
5 | puts "" | |
6 | ||
7 | pload QAcommands | |
8 | ||
9 | restore [locate_data_file OCC252.brep] a | |
352ffd73 | 10 | checkshape a |
0e94a94e | 11 | |
12 | explode a w | |
13 | ||
14 | OCC252 result a_466 a 2 | |
15 | ||
16 | regexp {Mass +: +([-0-9.+eE]+)} [lprops result] full len | |
17 | ||
18 | if { ${len} <= 0 } { | |
19 | puts "Error : OCC252" | |
20 | } | |
21 | ||
5747059b | 22 | checkview -display result -2d -path ${imagedir}/${test_image}.png |