icon.py 328 B

123456789101112131415
  1. """Make a icon to indicate orientation
  2. and place it in one of the 4 corners
  3. within the same renderer"""
  4. from vedo import *
  5. plt = Plotter(axes=5)
  6. plt += Text3D(__doc__).bc('tomato')
  7. elg = Image(dataurl+"images/embl_logo.jpg")
  8. plt.add_icon(elg, pos=2, size=0.06)
  9. plt.add_icon(VedoLogo(), pos=1, size=0.06)
  10. plt.show().close()