from jhpro.engine3d import *
from java.awt import Color
from jhplot import *


# download OFF file from the web
http="https://datamelt.org/examples/data/"
print Web.get(http+"sphere_n3.off")
view=HEngine3D("sphere_n3.off")
view.setBounds(10, 10, 600, 500)
view.setVisible(1)

"""
# methods to display views
view=c1.getView()
view.rotatePause()

# methods to display objects
obj=c1.getObject3D()
obj.setTransperancy(255) # no transparancy
obj.setPenColor(Color.red)
c1.setBounds(10, 10, 500, 500)
c1.setVisible(1)
"""



