The VPython 7 bug is present not only for 3D text but also for compound and extrusion (all of these have to wait for information from the browser).Bruce
--
You received this message because you are subscribed to a topic in the Google Groups "VPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vpython-users/V07QLK3QdHc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
def main():
def make_text():
print('make_text')
T = text(text='abc')
s = sphere(pos=vec(1,-1,0), radius=0.2, color=color.red)
c = cone(pos=vec(1,-1,0), radius=0.1, color=color.cyan)
cmp = compound([s,c], pos=vec(-1,1,0))
print(T.text)
button(bind=make_text, text='Try')
if __name__ == "__main__":
main()
setup( ... entry_points = { 'console_scripts': ['run_tree=folder.script:main'], } ... )
python main