I’m trying to make a script to move faces of polygons by a certain vlaue on the z-axis.
Specifically ,I want to move each selection face by increased the value of 50mm.
Please,see the picture A. That’s result of the ideal.
selobj=$selection as array
selFaces=polyop.getFaceSelection selobj[1]
IncrementNum=50
n=1
for i in selFaces do
(
move i [0,0,IncrementNum*n]
n+=1
)
On the other hand,
I has tried to move a few object,not faces, by another script.
selobjBox=$selection as array
IncrementNum=50
n=1
for i in selobjBox do
(
move i [0,0,IncrementNum*n]
n+=1
)
It’s worked,but It was not the result I had expected.
Please,see the picture B. I wanted to arrange progrresively.
Please, help me. I’m confused.
Sorry my poor English,Thank you.


