[Bf-python] Last minute addition

Ken Hughes khughes at pacific.edu
Sat Jul 1 20:49:16 CEST 2006


Campbell Barton wrote:
> Hi, just added a last minut addition to BPy-
> Its a scanfill wrapper so you can scanfill polylines made up of a  list 
> of vectors
> (saves a lot of messing with adding objects and meshes to the scene to 
> do meshes .fill() )
> 
> I added this to
> Blender.Mathutils.PolyFill
> 
> On IRC Stivs thinks that because this is a geometry function it should 
> go in Draw or have its own module "Geometry" maybe?
> 
> We had to agree to disagree on this point- IMHO Draw is for Gui  and 
> Mathutils alredy has Line intersetcion and ray/tri intersecton.
> 
> Adding a new module at this point would only have 1 function, could 
> duplicate some from mathutils anddeprecate them but all things 
> considered Im not keen on that.
> 
> So we thaught wed leave it to the list to kick around ;)

If we need to "kick this idea around" then I have to ask, why is this 
being added during a CVS freeze?  It doesn't really fix a bug, and I 
don't think it's filling a hole in the API. I believe the commit said it 
was to avoid creating a mesh just to fill it, but that just means this 
is redundant.  This is not coming from me as the "Mesh API father", it 
just seems rushed.

Ken





More information about the Bf-python mailing list