move
Keywords: cgx

Next: movi Up: Commands Previous: minus Contents

##
move

       'move' <set> ['scal' <fx> <fy> <fz>]|
                    ['tra' <dx> <dy> <dz>]|
                    ['rot' <p1> <p2> <alfa>]|
                    ['rad' 'x'|'y'|'z'|'p'<pnt> <dr>]|
                    ['mir' <P1> <P2>]

This keyword is used to move nodes or points in a set. Related entities will be moved as well. For example to move a line it is necessary to include their points in the set (see comp). Several transformations are available:
For example scal will scale the entities of the set, the scaling factors fx, fy, fz could be chosen independently,
move part scal 2
move part scal 1 1 2
tra will move it away by the vector dx, dy, dz,
move all tra 10 20 30
rot will move it around the axis defined by the points p1 and p2 by alfa degrees,
move all rot p0 px 20.
rad will move it radially to the x-, y- or z-axis or to a single point,
move cylinder rad x 20.
move sphere rad pP0 10.
mir will mirror the set. The mirror-plane is placed normal to the direction running from P1 to P2 and placed at P2,
move part mir p1 p2.