1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
anv 709e97a0c1 0024961: MeshVS: revision of DRAW commands
meshfromstl - display MeshVS_Mesh object in a way consistent with vdisplay command
meshdel - deleted, vremove to be used instead
meshshowall - set empty maps of hidden IDs instead of null handles
meshhidesel - initialize the maps of hidden IDs to avoid exception
meshmat - add optional transparency argument and enable transparency in the viewer if not yet done
meshvectors - command for testing VectorPrsBuilder added

MeshVS: DRAW commands improving
Updating test cases due to previous changes
Small bug in MeshVS_ElementalColorPrsBuilder fixed
vselmode fix
Small correction of test cases for issue CR24961
2014-09-26 16:27:01 +04:00

25 lines
669 B
Plaintext
Executable File

puts "============"
puts "OCC22572"
puts "============"
puts ""
###########################################################################
# Support of progress indicator in RWStl and optimization of reading Ascii.
###########################################################################
set BugNumber OCC22572
catch { pload XSDRAW }
vinit
XProgress -t
set List1 [meshfromstl result [locate_data_file bearing.stl]]
puts "----------------------"
XProgress +t
set List2 [meshfromstl result [locate_data_file bearing.stl]]
set status 0
if { ${List1} != ${List2} && [ regexp {Progress:} $List2 ] } {
puts "$BugNumber OK"
} else {
puts "Faulty $BugNumber"
}