content.tex 5.82 KB
 Jay Jay Billings committed Apr 12, 2016 1 2 \chapter{Geometry Editor}  Jay Jay Billings committed Apr 12, 2016 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 This article is designed to outline the basic controls of ICE's Geometry Editor. \section{Getting Started} Once ICE is installed on your computer, there are no further dependencies or preparation required to use the Geometry Editor. \section{Opening a Geometry Editor} To open a Geometry Editor in ICE, you have three options: \begin{center} \includegraphics[width=12cm]{images/CreateNewGeometryOptions.jpg} \end{center} Top to bottom, they are: 1) Click the File menu, then New, then Other\ldots and select the Create Item Wizard in the new dialog and press Next. Then, select Geometry Editor from the list and press Finish. 2) Click the New button. Select Create Item Wizard in the new dialog and press Next. Then, select Geometry Editor from the list and press Finish. 3) Enter the ICE Perspective by clicking the Open Perspective button in the upper right corner of the screen, select ICE from the dialog that pops up, and click OK. Afterwards, click the Create an Item button, select Geometry Editor, and click OK. \section{Working with the Geometry Editor} \section{Camera}  Robert Smith committed Jun 02, 2016 38 You can change the perspective of the camera by clicking and dragging inside the  Jay Jay Billings committed Apr 12, 2016 39 Geometry Editor. You can see this initially by the way the three axes and the  Robert Smith committed Jun 02, 2016 40 reference plane move as you rotate the camera about the origin. If you hold shift while dragging, you will instead move the central point the camera is focused on. If you hold ctrl, you can drag the mouse up or down to zoom in or out, respectively. Scrolling the mouse wheel offers another way to zoom the camera.  Jay Jay Billings committed Apr 12, 2016 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151  \section{Primitive Shapes} \begin{center} \includegraphics[width=12cm]{images/GeometryAddPrimitive.jpg} \end{center} Simple shapes can be added with the Add Primitives dropdown menu in the Shapes view. Simply select an object from the menu to add it to the scene. \begin{center} \includegraphics[width=12cm]{images/GeometryAddCube.jpg} \end{center} Clicking on the shape's name in the Shapes View will cause that shape to turn red in the editor. \begin{center} \includegraphics[width=12cm]{images/GeometrySelectCube.jpg} \end{center} Selections in the Shapes View also activate the Transformation View in the lower left corner. Editing the values in this view will change the selected shape accordingly. \begin{center} \includegraphics[width=12cm]{images/GeometryCubeSize.jpg} \end{center} \textbf{Size} - Controls the overall size of the shape. Setting size to X is equivalent to setting the shape's three scales to X times their current value. \begin{center} \includegraphics[width=12cm]{images/GeometryCubeTranslate.jpg} \end{center} \textbf{Translate} - Controls the position of the shape. Setting one of the translations will move the shape that many units along the given axis. \begin{center} \includegraphics[width=12cm]{images/GeometryCubeRotate.jpg} \end{center} \textbf{Rotation} - Controls the orientation of the shape. Setting one of the rotations will rotate the shape the given number of degrees about that axis. \begin{center} \includegraphics[width=12cm]{images/GeometryCubeScale.jpg} \end{center} \textbf{Scale} - Controls the size of the shape in three directions. Setting one of the scales will stretch or compress the shape in that direction by a factor of the scale's new setting. \section{Complex Shapes} Multiple primitive shapes can be combined within a single grouping for easier editing. First, create a complex shape using the Add Complex button. \begin{center} \includegraphics[width=12cm]{images/GeometryAddComplex.jpg} \end{center} Currently, only unions are supported. The union will appear in the Shapes View with an empty spot for a child shape. \begin{center} \includegraphics[width=12cm]{images/GeometryUnionAddShape.jpg} \end{center} Select \textless Add Shape\textgreater and add a primitive shape as before to add the shape as a child of the union. To add additional shapes, select the child shape and add another as normal. Selecting the union will select all of its child shapes, and changes to the transformation view will affect the entire complex shape. Individual shapes can still be selected for editing on their own. You can add a complex shape as a child to a complex shape in the same way as a primitive shape, allowing for nested unions \begin{center} \includegraphics[width=12cm]{images/GeometryStackedUnions.jpg} \end{center} \section{Copying} Once you have a shape created, you can automatically create copies of that shape. \begin{center} \includegraphics[width=12cm]{images/GeometryDuplicateShape.jpg} \end{center} Press the Duplicate Shape button, highlighted above, to create an exact copy of the selected primitive shape. The copy will appear as the child of the same complex shape as the original, if any, and can be modified independently after creation. \begin{center} \includegraphics[width=12cm]{images/GeometryReplicateShape.jpg} \end{center} You can systematically create many copies of a shape with the Replicate Shape button highlighted above. This will open a new dialog. \begin{center} \includegraphics[width=12cm]{images/GeometryReplicateDialog.jpg} \end{center} The quantity is the number of desired copies of the shape which should be in the  Robert Smith committed Jun 02, 2016 152 replication. This includes the original (ie setting quantity to 2 will result in  Jay Jay Billings committed Apr 12, 2016 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 2 shapes, the original and a copy). The Shift boxes allow you to specify an offset to be placed between each copy. For example, if you set X to 100 and Y to 50, then each copy will be 100 units along the X axis and 50 along the Y away from the previous copy. The original shape and all copies will be placed in a new complex shape, which will take the original shape's position in the tree. \section{Deletion} You may remove a shape and all its children by selecting it in the Shapes view and clicking the Delete button, highlighted below. \begin{center} \includegraphics[width=12cm]{images/GeometryDeleteButton.jpg} \end{center}