next up previous contents
Next: split Up: Commands Previous: setr   Contents


shpe

   'shpe' <name|!> ['pln' <P1> <P2> <P3>] |
                   ['cyl' <P1> <P2> <R1>] |
                   ['con' <P1> <P2> <R1> <R2>] |
                   ['sph'] <P1> <R1>]
This keyword is used to create a shape which can be used to define the interiour of surfaces or to be used as a target for projections (see proj) or to split entities (see split). A plane shape is defined with the parameter ``pln'' followed by the names of three points:

shpe H001 pln P1 P2 P3

A cylinder can be defined by

shpe H001 cyl P1 P2 10.5

were 10.5 is the radius. A cone can be defined by

shpe H001 con P1 P2 10.5 2.

were 10.5 is the radius at point P1 and 2. at point P2. A sphere can be defined by

shpe H001 sph P1 10.5

were 10.5 is the radius at point P1. If automatic name generation is desired, then use ''!'' instead of a name. See also ``qshp'' for the mouse controlled definition of shapes.



root 2016-03-04