Re: More objects

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
Kadir Haldenbilen points out a failure of the imagination on my part.
An element of our plan is to be able to specify an array for the
radius attribute (or consider it a scale factor) so that the curve's
cross section can vary along the curve. This will make it possible to
form frustums, and partial spheres.

Bruce Sherwood

On Sun, Dec 19, 2010 at 10:40 AM, Bruce Sherwood <[email protected]> wrote:
> Those objects are built using faces, which currently support materials
> but not opacity. You might consider adding a materials option to those
> objects yourself.
>
> Kadir Haldenbilen, whose work with the Polygon, FontTools, and
> ttfquery modules led to the 3D text object, has done further work on
> 2D "constructive geometry" using the Polygon tool, which makes it
> possible to add and subtract areas to create arbitrarily complex 2D
> figures such as a square with round holes.
>
> He and I hope to incorporate this machinery into VPython by allowing
> you to specify one of these 2D areas as a cross section for the curve
> object. This would give you hollow tubes and much much more, but it
> wouldn't give you frustums and partial spheres (which would require 3D
> constructive geometry).
>
> Bruce Sherwood
>
> On Sun, Dec 19, 2010 at 9:33 AM, Poul Riis <Poul.Riis-pIBpe43/vk1knbxzx/[email protected]> wrote:
>> I'm still hoping that someone could find the time to update Thom Ives'
>> moreobjects.py so that the tube, the frustum, and the spherepart could be
>> used with the materials and the opacity options - or even better include
>> these objects as standard objects in VPython.
>> Furthermore, I would suggest a ring section (bent tube) as a new object (for
>> connecting tubes, for instance).
>> Poul Riis
>> _______________________________________________
>> Visualpython-users mailing list
>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
>>
>

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.