[Bf-python] EMesh module proposal

Campbell Barton cbarton at metavr.com
Thu Oct 7 01:01:05 CEST 2004


I agree- you should be able to have an almost macro like controle of 
functions
- You wont actually have a variable as an NMesh object, rather set an 
object to go into edit mode and then call EMesh functions-
, a context switching thing rather then operating on classes.

EMesh.SelectAll()
EMesh.Triangualte()
EMesh.mode(2) # face slelct modde
EMesh.Select([EMesh.faces[2], EMesh.faces[5]])
EMesh.RecalcNormals(1)
EMesh.Smooth()
EMesh.Subdivide()

- Cam

joeedh wrote:

> Joilnen Batista Leite wrote:
>
>> I think that it could be a good idea but why not
>> improve NMesh for this ?
>>
>>  
>>
> The EditMesh is substantially different internally in Blender then 
> normal Mesh data; having its own module makes sense because there is 
> only one EditMesh.  Only one, that normal meshes are converted into.
>
> joeedh
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241




More information about the Bf-python mailing list