1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
2012-12-07 16:29:17 +04:00

24 lines
562 B
Plaintext
Executable File

puts "========================"
puts " OCC431 "
puts "========================"
puts ""
#####################################
## Intersection of two surfaces is not compleate curve.
#####################################
restore [locate_data_file OCC431a.draw] su1
restore [locate_data_file OCC431b.draw] su2
intersect result su1 su2
set che [whatis result]
if { ![regexp {curve} $che] || ![regexp {3d} $che]} {
puts "Faulty OCC431 : Command INTERSECT works WRONGLY"
} else {
puts "OCC431 OK : Command INTERSECT works properly"
}
set 2dviewer 0