[Bf-funboard] Add Mesh - Continued...
Campbell Barton
cbarton at metavr.com
Thu Apr 5 06:11:10 CEST 2007
Hi, recently Iv added a python slot to the Add Mesh menu and as an
example - a python script that creates a Torus (Donut if you like)
Of course since the menu is python users can create their own mesh types
so this raises a few issues.
* Mesh menu currently has 10 items in it, so probably not more then 3-5
more as python scripts.
* Users can add scripts so maybe python scripts should go in a submenu?
So Options are
1) Keep the python scripts and C coded meshes in the same menu, and dont
allow too many Py Scripts in official release
2) Have Python scripts in a submenu. Add->Mesh->Scripts->
3) Have a Custom Menu slot Add->Custom, all scripts can go there.
4) Keep The meshes in the same menu (same as 1) but add a menu for user
defined meshes. so if people want crazy stuff they can add it there, -
The menu could be at location suggested in 2 or 3.
Id like to get away from python being second classm nested away where
people wont use it,
Adding a Torus acts no different then adding a sphere. separating based
on language makes no sense from a user perspective.
Id prefer to separate by functionality..
Primitives in one menu, arbitrary objects in another - teapot, monkey
and user defined.
Whilst arbitrary user defined meshes good to plan for, we currently dont
have any in blender (unless you count the monkey)
- Cam
PS, with CVS blender you can try the teapot
http://members.optusnet.com.au/cjbarton/add_mesh_teapot.py
More information about the Bf-funboard
mailing list