0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / chamfer / end
CommitLineData
8418c617 1restore [locate_data_file $chamf_shape] sh
40093367 2if { [dval SCALE] != 0 } {
3 tscale sh 0 0 0 SCALE
4}
5explode sh F
6renamevar sh Ed
7explode Ed E
8
9if { [string compare $group "dist_angle"] == 0 } {
10 set chamf_type A
11 set chamf_parameters $chamf_dist_angle
12}
13if { [string compare $group "dist_dist"] == 0 } {
14 set chamf_type ""
15 set chamf_parameters $chamf_dist_dist
16}
17if { [string compare $group "equal_dist"] == 0 } {
18 set chamf_type S
19 set chamf_parameters $chamf_equal_dist
20}
21
22compute_chamf result Ed sh
23
24catch { puts [checkshape result] }
5747059b 25checkview -display result -2d -path ${imagedir}/${test_image}.png
40093367 26puts "TEST COMPLETED"