View Full Version : how to draw 2D figure , for example a circle, in the screen, no the in 3D screen
How to draw a figure, for example a circle or a line, in the screen, not in the 3D screen.?
Here's a simple example that draws a circle to the ortho layer:
import viz
import vizshape
viz.go()
circle = vizshape.addCircle(parent=viz.ORTHO)
circle.setScale([100,100,1])
circle.disable(viz.LIGHTING)
viz.link(viz.CenterCenter,circle)
Thank you for solve my porblem.
The Vizard 4.0 Documentation has no introduction of the function of 'vizshape.addCircle', how could I find these functions? Is there other document I can refer to?
Thanks for mentioning that, we need to update the vizshape (http://docs.worldviz.com/vizard/#Vizshape.htm) docs. You'll find most of the commands documented there.
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.