Blender Git Commit Log
Git Commits -> Revision b2084d4
Revision b2084d4 by Campbell Barton (master) April 2, 2007, 18:51 (GMT) |
This script 2 functions for use with the add mesh slot in the menu. *add_mesh_simple* - add a mesh from vert/edge/face data. It deals with setting the mesh rotation and location based on the cursor and view rotation, vertex and object selection etc. so adding a python object works just like other blenders internal add functions, in editmode and object mode. *write_mesh_script* - writes a Py script containing the active mesh, this can be put in the user scripts dir so users can define their own objects in the addd menu. Currently neither of these are accessed by the user however heres a script that uses add_mesh_simple and was written with write_mesh_script. http://members.optusnet.com.au/cjbarton/add_mesh_teapot.py |
Commit Details:
Full Hash: b2084d49ff8dc7f999280dbcd3f03197c848d1af
SVN Revision: 10445
Parent Commit: bf29072
Lines Changed: +160, -0
1 Added Path:
/release/scripts/bpymodules/BPyAddMesh.py (+160, -0) (View)