On 20/06/2014 at 06:54, xxxxxxxx wrote:
I know how to create a polygon from scratch but how do you create NGons
On 24/06/2014 at 03:48, xxxxxxxx wrote:
As far as I know the creation of NGons in python is not supported.
In C++ it is supported.
On 24/06/2014 at 22:44, xxxxxxxx wrote:
Thanks for the info. The best way I get this achieved is by creating a "cleanup function" in my code to remove unwanted points.
def cleanUp() :
Ngon_obj = doc.SearchObject('Polygon')
melt_list = 
pnts_melt = Ngon_obj.GetPointS()
for i in melt_list:
melt_pnts = pnts_melt.Select(i)
if melt_pnts == True:
utils.SendModelingCommand(command = c4d.MCOMMAND_MELT,
list = [Ngon_obj],
bc = c4d.BaseContainer(),
mode = c4d.MODELINGCOMMANDMODE_POINTSELECTION,
doc = doc)