0025161: Exception in draw trying pload ALL (espesially TOPTEST)
[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] }
25clear
26smallview
27donly result
28fit
29
30if { [info exists imagedir] == 0 } {
31 set imagedir .
32}
33if { [info exists test_image ] == 0 } {
34 set test_image photo
35}
36
88f8fc81 37xwd $imagedir/${test_image}.png
40093367 38puts "TEST COMPLETED"