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

31 lines
830 B
Plaintext
Executable File

puts "============"
puts "OCC1477"
puts "============"
puts ""
######################################################
# Problems in MakePipeShell
# (case 13)
######################################################
restore [locate_data_file OCC1477_3dPolyline_c0.brep] s1
restore [locate_data_file OCC1477_profile1_polygon.brep] e1
wire s2 e1
puts "###############################################################################"
puts "# (case /-/-/-C/)"
puts "###############################################################################"
checkshape s1
checkshape s2
mksweep s1
addsweep s2
if [catch { buildsweep result -C} res] {
puts "Faulty OCC1477: buildsweep is wrong"
}
checkprops result -s 21356.2
checknbshapes result -vertex 25 -edge 45 -wire 20 -face 20 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 111