0027015: Sewing returns invalid shape if some faces are nearly plane cones
[occt.git] / tests / bugs / modalg_6 / bug26075
CommitLineData
20a216fe 1puts "========"
2puts "OCC26075"
3puts "========"
4puts ""
5###########################################################################
6# Make Extrema_GenExtCC return IsParallel flag in case of parallel curves
7###########################################################################
8
9restore [locate_data_file dist1-s1.brep] s1
10restore [locate_data_file dist1-s2.brep] s2
11mkcurve c1 s1
12mkcurve c2 s2
13set bug_info [extrema c1 c2]
14
92a206a3 15set bug_info [string range $bug_info [expr {[string first "Infinite" $bug_info]}] [expr {[string first "distance" $bug_info] - 3}]]
16if {$bug_info != "Infinite number of extremas"} {
20a216fe 17 puts "ERROR: OCC26075 is reproduced. Flag IsParallel is not returned."
18}