[Bf-python] efficient way to remove faces and edges from a mesh with python?
Willian Padovani Germano
wgermano at ig.com.br
Thu Mar 25 07:19:18 CET 2004
Hi,
----- Original Message -----
From: "wim van hoydonck" <tuinbels at hotmail.com>
To: <bf-python at blender.org>
Sent: Tuesday, March 23, 2004 10:09 AM
Subject: [Bf-python] efficient way to remove faces and edges from a mesh
with python?
Sorry, I've been away from this for some weeks and my mind may be a
little off, but something as simple as this should in principle work (or
be made to -- not with linux right now, still didn't re-download a win
blender, so I can't confirm):
> import Blender
> from Blender import Object
>
> m = Object.GetSelected()[0].getData()
m.faces = [] # <- this
> m.update()
--
Willian, wgermano at ig.com.br
More information about the Bf-python
mailing list