[Bf-python] CurNurb/IpoCurve/BezTriple hackery
Ken Hughes
khughes at pacific.edu
Sat Jun 18 18:28:29 CEST 2005
Stephen Swaney wrote:
> I think a better way to do this is to implement operator[] like
> we did with CurNurbs. Having iterators lets us write
> things like
> for p in some_ipo_curve:
> # do something with a point
>
> This also lets us operate on control points directly via the
> ipocurve[i] syntax and makes Curves and Ipos behave in a similar
> fashion; part of that unification thingie we are talking about.
One other point; for the work I'm doing on the unification, should
I assume you prefer for Ipocurves to work like CurNurbs? Iterators
and such, get rid of getPoints(), etc? I think that's what the
wiki page describes, but hadn't thought about describing it that
way explicitly.
Thanks -- Ken
More information about the Bf-python
mailing list