You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some basic draw commands that can be used to test an installation and 3rd party libs
pload ALL
# launch a 3D viewer
vinit
# create a simple shape (e.g. a box)
box b 10 20 30
# ... or load it from a BRep file into a named variable
restore myfile.brep b
# display shape in the 3D view
vdisplay b
# set shading
vsetdispmode b 1
# scale objects to fit on the window
vfit
Now to test advanced features:
# this will draw a color scale which internally uses fonts
# so it will touch ftgl and hence FreeType
vcolorscale
# export uses gl2ps, extensions can be PS, PDF, SVG, ...
vexport myfile.pdf PDF
# dump image to disk to test FreeImage
vdump myfile.png
# AVI output available only on MS Windows, see
# ViewerTest_Avicommands.cxx for details on usage
vrecord <parameters>