VPython has a minimalist flavor, due in part to being driven by user
needs (and no one has to my knowledge ever before requested a polygon
object or showed a need for it) and also to the fact that few people
have so far stepped forward to contribute to the development of this
open-source project.
The fact that you can draw irregular polygons (and anything else) using
the faces object, albeit with more effort than might otherwise be
required, and given the immense amount of other work that has had to be
done, the development of a polygon object necessarily has had very low
priority (actually, zero until now).
Bruce Sherwood
Roberto Aguirre Maturana wrote:
> Hi:
>
> AFAIK, the only way to draw irregular polygons in VPython is by means of
> faces and some polygon creation algorithm such as Ear-cutting.
>
> Why VPython doesn't have a primitive for the creation of polygons? is
> there any technical limitation for it?
>
> Best regards,
>
> Roberto Aguirre Maturana
> Santiago, Chile
>
|