1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

25 lines
590 B
Plaintext
Executable File

puts "========================"
puts "BUC61033"
puts " OCC370 "
puts "========================"
puts ""
#################################################################
##Intersection between a sphere and trimmed plane, using IntPatch_Intersection, lead to infinite cycle.
#################################################################
sphere gs1 1
plane gs2 0 0 0 1 0 0
trim trgs2 gs2 0 1.000001 -1 0.000001
intersect result gs1 trgs2
cpulimit 300
puts "OCC370 OK: function INTERSECT works properly"
erase gs2
checkview -display result -2d -path ${imagedir}/${test_image}.png