Pages

Friday, December 3, 2010

Cut hole around vertex


This was asked here.
Execute the code line by line to see what each command does.

p = Plane isSelected:on
convertTo p Editable_Poly
max modify mode
subobjectlevel = 1
polyop.setVertSelection p #{7, 9, 13, 17, 19}
update p
p.ConnectVertices()
polyop.setVertSelection p #{13}
update p
p.chamferVertices 4.0 open:true -- *note below
update p
subobjectlevel = 0
-- note: looks like 'open:true' in chamferVertices() is broken!
-- so... delete the face:

polyop.deleteFaces p #{21}

No comments:

Post a Comment

Thanks for your comment