mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
33 lines
786 B
Plaintext
Executable File
33 lines
786 B
Plaintext
Executable File
puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Faulty OCC20683"
|
|
|
|
puts "========================"
|
|
puts "OCC20683"
|
|
puts "========================"
|
|
puts ""
|
|
#######################################################################
|
|
# BRepExtrema_ExtCC produces incomplete result.
|
|
#######################################################################
|
|
|
|
set BugNumber OCC20683
|
|
|
|
# finite line is used
|
|
line ll 6834.93 -4100 500 0 0 1
|
|
trim trll ll -1000 -500
|
|
mkedge tree trll
|
|
|
|
restore [locate_data_file OCC20683_circ1.brep] e1
|
|
restore [locate_data_file OCC20683_circ2.brep] e2
|
|
|
|
set res_list [distmini d e1 e2]
|
|
set res_length [llength ${res_list}]
|
|
puts "res_length = ${res_length}"
|
|
|
|
# Resume
|
|
puts ""
|
|
if { ${res_length} != 3 } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|