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

71 lines
2.0 KiB
Plaintext

pload XSDRAW
vinit
vsetdispmode m 2
meshfromstl m [locate_data_file b.stl]
meshfromstl m2 [locate_data_file b2.stl]
meshfromstl m3 [locate_data_file b3.stl]
meshfromstl m4 [locate_data_file b4.stl]
meshfromstl m5 [locate_data_file b5.stl]
meshfromstl m6 [locate_data_file b6.stl]
meshfromstl m7 [locate_data_file b7.stl]
meshfromstl m8 [locate_data_file b8.stl]
meshfromstl m9 [locate_data_file b9.stl]
meshfromstl m11 [locate_data_file b11.stl]
meshfromstl m12 [locate_data_file b12.stl]
meshfromstl m13 [locate_data_file b13.stl]
meshfromstl m14 [locate_data_file b14.stl]
meshfromstl m15 [locate_data_file b15.stl]
meshfromstl m16 [locate_data_file b16.stl]
meshfromstl m17 [locate_data_file b17.stl]
meshfromstl m18 [locate_data_file b18.stl]
meshfromstl m19 [locate_data_file b19.stl]
meshfromstl m21 [locate_data_file b21.stl]
meshfromstl m22 [locate_data_file b22.stl]
meshfromstl m23 [locate_data_file b23.stl]
meshfromstl m24 [locate_data_file b24.stl]
meshfromstl m25 [locate_data_file b25.stl]
meshfromstl m26 [locate_data_file b26.stl]
meshfromstl m27 [locate_data_file b27.stl]
meshfromstl m28 [locate_data_file b28.stl]
meshfromstl m29 [locate_data_file b29.stl]
vtrihedron tri
set dispmode 2
vsetdispmode m ${dispmode}
vsetdispmode m2 ${dispmode}
vsetdispmode m3 ${dispmode}
vsetdispmode m4 ${dispmode}
vsetdispmode m5 ${dispmode}
vsetdispmode m6 ${dispmode}
vsetdispmode m7 ${dispmode}
vsetdispmode m8 ${dispmode}
vsetdispmode m9 ${dispmode}
vsetdispmode m11 ${dispmode}
vsetdispmode m12 ${dispmode}
vsetdispmode m13 ${dispmode}
vsetdispmode m14 ${dispmode}
vsetdispmode m15 ${dispmode}
vsetdispmode m16 ${dispmode}
vsetdispmode m17 ${dispmode}
vsetdispmode m18 ${dispmode}
vsetdispmode m19 ${dispmode}
vsetdispmode m21 ${dispmode}
vsetdispmode m22 ${dispmode}
vsetdispmode m23 ${dispmode}
vsetdispmode m24 ${dispmode}
vsetdispmode m25 ${dispmode}
vsetdispmode m26 ${dispmode}
vsetdispmode m27 ${dispmode}
vsetdispmode m28 ${dispmode}
vsetdispmode m29 ${dispmode}
vzoom 0.5
dchrono tmr start