选择面数为0,然后删除所选

来源:互联网 发布:切割视频软件 编辑:程序博客网 时间:2024/04/30 19:06

obj = #()
for i in geometry do
(
    a = getpolygoncount i
    if a[1] == 0 then append obj i
)
if obj.count!=0 then select obj else print "none"

for i in selection do print i.name
delete selection