## Interactive Body Creation

Bodies that have a dimension vector aligned with a coordinate axis can be created and modified with the mouse. Most of the interactive creations require several steps.

Aligned Box-BOX/X, BOX/Y, BOX/Z: The third vector (H3) defining the box is parallel to X, Y, or Z, respectively. The first clicks sets the origin (V) of the 3 vectors in the cut perpendicular to the 3rd axis, following which vector 1 is dragged out. The second click is in the same cut and defines vector 2. The third click is in an orthogonal cut. It sets the origin in the orthogonal direction, followed by dragging of vector 3.

Ellipsoids-ELLO, ELLX, ELLY, ELLZ: Creation is the same as for the ellipsoid surfaces.

Right Circular Cylinder centered on an axis-RCCX, RCCY, RCCZ: The first click and drag determines the circular cross section. The cylinder passes through the cursor location. The second click and drag in an orthogonal cut defines the height vectorH.

Right Circular Cylinder parallel to an axis-RCC/X, RCC/Y, RCC/Z: The first click determines the origin of the cylinder. The cylinder passes through the cursor location. The second click and drag in an orthogonal cut defines the height vectorH.

Right Elliptical Cylinder-RECX, RECY, RECZ, REC/X, REC/Y, REC/Z: The first click determines the origin as for the analogous RCC type. The elliptical cross section in the cut is drawn in the same manner as for an ellipsoid, including the constraint to a circular cross section when the control key is held down. The second click and drag in an orthogonal cut defines the height vector.

Right Hexagonal Prism-RHP: The first click determines the components of the origin in the plane of the cut. The axis is perpendicular to the cut in which the first click is made. The hexagonal face is dragged as the mouse is moved with the left button held down. All facets of the face have the same length. Holding down the control key forces 2 sides of the face to be vertical or horizontal. The second click and drag in an orthogonal cut defines the height vector.

Right Parallelepiped-RPP: The first click sets one corner of the RPP, after which one face is dragged out. When the mouse is released, 2 additional planes must be positioned in an orthogonal cut. The first click in the other cut defines the 5th plane; the 6th is defined when the button is released.

Spheres-SPH: Creation is the same as for the sphere surfaces.

Torus-TX, TY, TZ: Creation is the same as for the torus surfaces.

Truncated Right Cone centered on an axis-TRCX, TRCY, TRCZ: The first click determines the vertex of the conical surface. The cone passes through the cursor position. The second click and drag in an orthogonal cut defines the height vectorH. The height vector is not permitted to pass through the cone vertex.

Truncated Right Cone parallel to an axis-TRC/X, TRC/Y, TRC/Z: The first click determines the vertex of the conical surface. The cut depth sets the origin in the direction perpendicular to the cut. The cone passes through the cursor position. The second click and drag in an orthogonal cut defines the height vectorH. The height vector is not permitted to pass through the cone vertex.

Aligned Wedge-WED/X, WEDX/Y, WED/Z: The third vector (H3) defining the wedge-the one perpendicular to the triangular face-is parallel to X, Y, or Z, respectively. The first clicks sets the origin (V) of the 3 vectors in the cut perpendicular to the 3rd axis, following which vector 1 is dragged out. The second click is in the same cut and defines vector 2. The third click is in an orthogonal cut. It sets the origin in the orthogonal direction, followed by dragging of vector 3.

White Rock Science http://www.whiterockscience.com/wrs.html 505 672 1105 |