1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +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
666 B
Plaintext
Executable File

puts "========================"
puts "BUC61034"
puts " OCC371 "
puts "========================"
puts ""
#################################################################
##Intersection between two BSplineSurfaces, using IntPatch_Intersection, lead to infinite cycle.
#################################################################
restore [locate_data_file OCC371a.brep] a
restore [locate_data_file OCC371b.brep] b
mksurface gs1 a
mksurface gs2 b
trim trgs1 gs1 0.0 1.0 0.9698725179864 1.0
trim trgs2 gs2 0.0 1.0 0.24333094700742 0.92374551772989
#cpulimit 300
intersect result trgs1 trgs2
checkview -display result -2d -path ${imagedir}/${test_image}.png