2508ca8e |
1 | puts "TODO OCC24215 ALL: ERROR: OCC24215 is reproduced." |
2 | |
3 | puts "========" |
4 | puts "OCC24215" |
5 | puts "========" |
6 | puts "" |
7 | ############################### |
8 | # Error in offset (bad curve) |
9 | ############################### |
10 | |
11 | restore [locate_data_file bug24215_face-10-012.brep] f |
12 | |
13 | mkoffset o f 1 0.4 |
14 | |
15 | set bug_info [lprops o_1] |
16 | |
17 | # Length of o_1 SHOULD be less 58.8412 because offset is wrong and consists loop |
18 | # "if" statement SHOULD be corrected than issue will be fixed |
19 | if {[lindex $bug_info 2] == 58.8412} { |
20 | puts "ERROR: OCC24215 is reproduced." |
21 | } |
22 | |
23 | vinit |
24 | vdisplay f |
25 | vdisplay o_1 |
26 | vfit |
27 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |