1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/xde/bug6307

32 lines
625 B
Plaintext
Executable File

puts "==========="
puts "OCC6307"
puts "==========="
######################################################
# DRAW: XShow command on WNT produces very bad shading
######################################################
set BugNumber OCC6307
catch {pload DCAF}
# Create a new document and set UndoLimit
NewDocument D
UndoLimit D 100
# Open a transaction
NewCommand D
ReadStep D [locate_data_file trj2_as1-tc-214.stp]
XGetOneShape result D
XShow D
vsetdispmode 1
vfit
set square 141051
checknbshapes result -vertex 84 -edge 126 -wire 76 -face 53 -shell 5 -solid 5 -compsolid 0 -compound 4 -shape 353
set only_screen 1