Previous Thread  Next Thread

chat icon [ASK] Adding mesh via Python script

n0talentGEEK

Posted: Tue Jun 12, 2012 6:03 pm
Joined: 21 May 2012
Posts: 7
Hi,

For example I have created a mesh (without using a code), how can I use the mesh in the script like I usually add a primitive object?

Maybe somewhat like bpy.ops.mesh.myMesh_add() ??

Thank you.
And I am sorry for grammar and (maybe) mistaken word. Smile
Reply with quote


CoDEmanX

Posted: Wed Jun 13, 2012 10:31 am
Joined: 05 Apr 2009
Posts: 692
you gotta turn it into an operator

have a look at the add mesh extra objects script collection, they use different techniques to do this
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group