1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +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

32 lines
848 B
Plaintext
Executable File

puts "============"
puts "OCC1477"
puts "============"
puts ""
######################################################
# Problems in MakePipeShell
# (case 13)
######################################################
restore [locate_data_file OCC1477_closedPolyline.brep] s1
restore [locate_data_file OCC1477_profile1_rectangle.brep] e1
wire s2 e1
puts "###############################################################################"
puts "# (case /-FR/-/-C/)"
puts "###############################################################################"
checkshape s1
checkshape s2
mksweep s1
setsweep -FR
addsweep s2
if [catch { buildsweep result -C} res] {
puts "Faulty OCC1477: buildsweep is wrong"
}
checkprops result -s 49509.6
checknbshapes result -vertex 24 -edge 48 -wire 24 -face 24 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 121