On Dec 16, 2008, at 8:28 AM, philt wrote:

>
> Hello,
>
> I got some trouble trying to draw polygons in JMol because the
> function looks not available easily.
> Sage is featuring the following:
> point() -> try point2d else point3d
> line() -> try line2d else line3d
> polygon() -> only 2d
> but many fancy volumes are available in 3D...
>
> I think it'd be more natural to have polygon working in a similar
> flexible way.
> Something like:
>
> try:
>         return polygon2d(points, **kwds)
>     except ValueError:
>         from sage.plot.plot3d.platonic import IndexFaceSet as
> polygon3d
>         return polygon3d(points, **kwds)
>
> with polygon2d being the current code of polygon()

I agree. See http://trac.sagemath.org/sage_trac/ticket/3547

> BTW I needed it to show the solution of the Mathekalender Day 14
> problem, our German friends here probably know this Advent calendar
> mathematical game...
> cf http://www.yobi.be:8300/home/pub/40/ for a cute 3D graphic

Cool.

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to