第4步,移动复制的圆柱,依然是倒入相应的命令文件
命令文件如下(c1,c2,c3代表的是移动的方向,这里我是向y方向移动的,所以y=50,50为一节圆柱的长度)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!defaults model part_name = .shengzi.part_1
variable create variable_name=ip integer_value=1
while condition=(ip<300)
move object part_name = (eval(".shengzi.part_"//(ip+1))) &
c1=0 c2=50 c3=0 &
cspart_name = (eval(".shengzi.part_"//(ip)))
variable modify variable_name=ip integer_value=(eval(ip+1))
end!while
variable delete variable_name=ip !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
移动完成后的图形如下