WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-05-2014, 05:00 PM
aaaa aaaa is offline
Member
 
Join Date: Nov 2014
Posts: 9
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.?
Reply With Quote
  #2  
Old 11-05-2014, 05:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Here's a simple example that draws a circle to the ortho layer:

Code:
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)
Reply With Quote
  #3  
Old 11-06-2014, 07:01 PM
aaaa aaaa is offline
Member
 
Join Date: Nov 2014
Posts: 9
Thank you for solve my porblem.
Reply With Quote
  #4  
Old 11-06-2014, 07:04 PM
aaaa aaaa is offline
Member
 
Join Date: Nov 2014
Posts: 9
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?
Reply With Quote
  #5  
Old 11-07-2014, 03:11 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Thanks for mentioning that, we need to update the vizshape docs. You'll find most of the commands documented there.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to draw EyeLink drift correction to screen chris2307 Vizard 6 08-18-2014 02:22 PM
How to draw a circle? Saz Vizard 4 05-05-2011 03:25 PM


All times are GMT -7. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC