5 ######################################################
6 # The result of intersection between two cylinders is incorrect
7 ######################################################
11 cylinder s1 0 0 0 12 35 47 5
12 cylinder s2 3 2 8 12 35 47 4
14 set bug_info [intersect res s1 s2]
17 set ind [string first "3d curve" $che]
19 #Only variable "res" exists
24 if {[llength ${bug_info}] != $GoodNbCurv} {
25 puts "Error: The result of intersection between two cylinders is incorrect"
34 while { $AllowRepeate != 0 } {
35 set che [whatis res_$ic]
36 set ind [string first "3d curve" $che]
40 if { [regexp {\*\*\nLine} [dump res_$ic]] } {
41 #puts "OK : Correct intersection"
43 puts "Error : Bad intersection"
48 xdistcs res_$ic s1 0 100 10
50 set List1 [split ${Log1} {TD= \t\n}]
54 checkList ${List1} ${Tolerance} ${D_good} ${Limit_Tol}
58 xdistcs res_$ic s2 0 100 10
60 set List1 [split ${Log1} {TD= \t\n}]
64 checkList ${List1} ${Tolerance} ${D_good} ${Limit_Tol}