From: Bruce S. <Bru...@nc...> - 2013-03-07 03:13:08
|
There's now a Google forum for VPython users, and this email list is being phased out. The forum is here: https://groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users Presumably you're using the old "import controls", in which case note that the documentation states that "Every controls window has the attribute display; sphere(display=c.display) will place a sphere in the controls window named c." So you can put anything you want in the controls window. The 2D label object can be used to label elements of the scene. I don't know what you mean by "the 2D rectangle". Bruce Sherwood On Sat, Mar 2, 2013 at 10:22 AM, Dan Aldrich <dal...@ea...> wrote: > Couple of questions: > > - Can labels and/or tick marks be placed on sliders? > - Can 2D objects be in 3D windows (I'm guessing no)? Would like to mark > references within the 3D space. > > > Doing a simple model of a PN junction, want to show how the depletion > region grows and shrines with applied bias voltage. It's working, but would > like to polish it a bit. > > First attempt was using the 2D rectangle, but couldn't get the slider to > change the width of the rectangle. Making the object a box worked just fine. > > Thanks, > -d > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |