[Bf-python] Python API interface to Add->Mesh

Ken Hughes khughes at pacific.edu
Tue May 23 22:17:51 CEST 2006


I'm looking at adding support to the API for creating mesh objects such 
as cubes, UVspheres, suzannes, etc.  I've pulled the guts out of 
add_primitiveMesh() and moved into a separate function which can be 
called from the Mesh API code.

My question: how should this be presented in the API?  Something like 
Mesh.Cube(), Mesh.UVSphere(verts=32), etc., or Mesh.Add(CUBE), 
Mesh.Add(UVSPHERE,verts=32),. etc?

Ken



More information about the Bf-python mailing list