proj
Keywords: cgx

Next: qadd Up: Commands Previous: prnt Contents

##
proj

       'proj' <set> <target-set>  ['tra' <dx> <dy> <dz> <offset>]|
                                  ['rot' <p1> <p2> <offset>]|
                                  ['rad' 'x'|'y'|'z' <offset>]

This keyword is used to project geometry onto a triangle mesh. This mesh can be already existent or it will be automatically created based on surfaces included in the target-set. After the projection all existing elements and nodes and all element definitions will be deleted.

Several transformations are available. For example tra will move points in the direction of the vector dx, dy, dz onto elements or surfaces included in set2. Alternatively an offset could be specified as well,
proj set1 set2 tra 0. 0.5 0.7
rot will move points around the axis defined by the points p1 and p2 onto elements or surfaces included in set2,
proj set1 set2 rot p0 px
rad will move points radially relative to the x-, y- or z-axis onto elements or surfaces included in set2. Alternatively a set of lines could be used instead of surfaces as the target-set. Then the geometry will be moved onto an imaginary rotational surface defined by these lines.
proj set1 set2 rad x
If a point does not hit any surface from the target-set, then it will not be moved.

Next: qadd Up: Commands Previous: prnt Contents