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
850 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_rectangle.brep] e1
wire s2 e1
puts "###############################################################################"
puts "# (case /-FR/-R/-C/)"
puts "###############################################################################"
checkshape s1
checkshape s2
mksweep s1
setsweep -FR
addsweep s2 -R
if [catch { buildsweep result -C} res] {
puts "Faulty OCC1477: buildsweep is wrong"
}
checkprops result -s 24005.2
checknbshapes result -vertex 20 -edge 36 -wire 16 -face 16 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 89