help with mesh, vertices, and scripts


(fusionp) #1

I have three questions:

:x how can you control an objects individual vertices through scripting

:x does anybody have any scripts that do very basic mesh editing (and possibly animation)

:x is it possible to create through scripts any of the meshes that you can get through the GUI (plane, UVsphere, cube, etc.)

Thanks in advance!

Aaron


(Schlops) #2

You get three answers:

:smiley: Read http://www.blenderbuch.de/tutor/python3/Python3_Eng.html especially the box labled “Basic Knowledge: Face Definition”

:smiley: Again, readhttp://www.blenderbuch.de/tutor/python3/Python3_Eng.html or http://jmsoler.free.fr/didacticiel/blender/tutor/eng_index.html

:smiley: You mean in a higher level version such as mesh = getUVSphere()? That’s not possible, you have to create your Mesh manually (mathematics! :wink: ) or create the mesh you want outside of python and access it via NMesh.GetRaw(‘meshname’). Again, see the above link.

HTH


(fusionp) #3

:smiley: :slight_smile: :smiley: