0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_5 / bug25701
CommitLineData
af99433e 1puts "==========="
2puts "OCC25701"
3puts "==========="
4puts ""
5######################################################
6# Problem with the symmetry of fillet on two perpendicular cylinders
7######################################################
8
9restore [locate_data_file bug25701_rx.brep] rx
10
11explode rx e
12smallview
13donly rx rx_2 rx_5
14compound rx_2 rx_5 q
15
16fillet x rx 2.5 q
17explode x e
18donly x x_9
19fit
20
21mkcurve cx_9 x_9
22
23set log [dump cx_9]
24
25regexp {Degree +([-0-9.+eE]+), +([-0-9.+eE]+) Poles, +([-0-9.+eE]+)} ${log} full Degree Poles KnotsPoles
26puts "Degree=${Degree}"
27puts "Poles=${Poles}"
28puts "KnotsPoles=${KnotsPoles}"
29puts ""
30
31set tol_abs 1.e-11
32set tol_rel 0.01
33set expected_V 0.
34
35for {set i 1} {${i} <= ${Poles}} {incr i} {
36 set exp_string " +${i} : +(\[-0-9.+eE\]+), +(\[-0-9.+eE\]+)"
37 regexp ${exp_string} ${log} full U_i V_i
38 puts "i=${i} U_i=${U_i} V_i=${V_i}"
39 checkreal "V_$i" ${V_i} ${expected_V} ${tol_abs} ${tol_rel}
40}
41
5747059b 42checkview -screenshot -2d -path ${imagedir}/${test_image}.png