Blender Git Commit Log
Git Commits -> Revision 48033e0
Revision 48033e0 by Ken Hughes (master) May 25, 2006, 16:45 (GMT) |
===Python API=== Fulfilling a very old feature request: a new Mesh Primitives module is introduced, which gives script writers access to the Blender mesh datablocks created from the "Add->Mesh" menu. You can now do this: from Blender import * me = Mesh.Primitives.UVsphere(10,20,3) # 10 segments, 20 rings, diameter 3 ob = Object.New('Mesh','mySphere') ob.link(me) sc = Scene.GetCurrent() sc.link(ob) |
Commit Details:
Full Hash: 48033e00c44c0ff5aab055f6ecfe833b7f688856
SVN Revision: 7512
Parent Commit: 1b2d9b5
Lines Changed: +784, -264
3 Added Paths:
/source/blender/python/api2_2x/doc/MeshPrimitives.py (+160, -0) (View)
/source/blender/python/api2_2x/meshPrimitive.c (+280, -0) (View)
/source/blender/python/api2_2x/meshPrimitive.h (+46, -0) (View)
/source/blender/python/api2_2x/meshPrimitive.c (+280, -0) (View)
/source/blender/python/api2_2x/meshPrimitive.h (+46, -0) (View)