mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
If Walking-lines are coincided we kept line, which contains more points or has more length (because it is more precisely, most likely). Test cases for issue CR25828 Some test cases were changed
30 lines
590 B
Plaintext
Executable File
30 lines
590 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC25828"
|
|
puts "========"
|
|
puts ""
|
|
##########################################
|
|
## BRepAlgoAPI_Section fails for a solid and a face depending on order of arguments
|
|
##########################################
|
|
|
|
set BugNumber OCC25828
|
|
|
|
restore [locate_data_file bug25828_intersectionproblem.brep] t
|
|
explode t
|
|
|
|
bop t_1 t_2
|
|
bopsection result
|
|
|
|
set expl [explode result]
|
|
|
|
set ll [llength $expl]
|
|
|
|
if {${ll} == 2} {
|
|
puts "Result is ${ll} section edges"
|
|
puts "${BugNumber} OK"
|
|
} else {
|
|
puts "Result is ${ll} section edge"
|
|
puts "Error ${BugNumber}"
|
|
}
|
|
|
|
set 2dviewer 0
|