Update test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892
[occt.git] / tests / bugs / moddata_3 / bug23830
CommitLineData
b659a6dc 1puts "================"
2puts "OCC23830"
3puts "================"
4puts ""
5#######################################################################
6# BRepExtrema_DistShapeShape does not find intersection of face with edge
7#######################################################################
8
9restore [locate_data_file bug23830_face.brep] s
10mksurface s s
11
12set Indices {1 2 6 7 11 16 21 36 41 42}
13
14foreach i ${Indices} {
15 restore [locate_data_file bug23830_circle$i.brep] c_$i
16 mkcurve c_$i c_$i
17 extrema c_$i s
18 if { [isdraw ext_1] } {
19 mkedge e ext_1
20 regexp {Mass +: +([-0-9.+eE]+)} [lprops e] full l
21 if {$l > 1e-12} {
22 puts "Error: invalid result"
23 }
24 renamevar ext_1 r_$i
25 }
26}
27
28smallview
29l
30l
31l
32l
33l
34l
35l
36l
37erase
38display s
39foreach i ${Indices} { if {[isdraw r_$i]} {display r_$i} }
40fit
41set only_screen_axo 1