#
move
Move shapes.
#
Parameters
- shapes : ShapeList
- List of shapes
- vector : array
- Vector defining the movement.
#
See also
#
Examples
model2d.add_rectangle(p1=[0,0],p2=[1,2])
f = model2d.select([0.5,1],types='face')
model2d.move(shapes=f,vector=[3,2])
model3d.add_prism(points=[[-1,-1,0],[-3,-3,0],[-3,0,0]],height=3)
v = model3d.select([0,0,0],[-3,-3,3],types=['volume'],option='blue')
model3d.move(shapes=v,vector=[3,0,-3])