Notifications
Clear all
[Closed] automated multi bevel
Feb 09, 2008 2:34 am
howdy fellas, im trying to create a script to operate on the face sub-selection on an editable poly.
it needs to perform 2 bevels, on to just pull the faces in. then another to extrude and pull in.
for some reason i keep getting syntax errors and im not really sure why
for g in selection do
(
g.bevelHeight Float default: 0
g.bevelOutline Float default: -1.0
)
(
g.bevelHeight Float default: 0
g.bevelOutline Float default: -1.0
)
for p in objects do
if iskindof Editable_poly then
messagebox "visability on"
the message box worked once. and never again. not sure if something was saved in memory but i can no longer test that. it was just ment to see if i got some of the language right.
if anyone can shed some light on this that would be great
1 Reply
Feb 09, 2008 2:34 am
rollout test_buttons "bevel/extrude"
(
button onButton "do"
on onButton pressed do
(
$.bevelFaces 0.0 -1.0; $.bevelFaces 1.0 -3.0;
)
)
createDialog test_buttons 60 60
ok, sorry. got it