Difference between revisions of "Exercise - System Panel - Controlling Shapes"
From Flowcode Help
Jump to navigationJump to searchJohnVerrill (talk | contribs) |
JohnVerrill (talk | contribs) |
||
Line 4: | Line 4: | ||
+ | * Open the flowchart "System_Panel_Add_LED" which you created in [[Exercise - System Panel - Adding Objects]]. | ||
+ | * Check that the Panel Properties is displaying sizes as 'World size'. | ||
− | + | [[File:gen_exerciseSystemPanel_controlviewpoint_moveicon_01.png|300px|right]] | |
− | |||
* Move the LED into the top right-hand corner by clicking on the 'Move with the mouse' icon. | * Move the LED into the top right-hand corner by clicking on the 'Move with the mouse' icon. | ||
Line 21: | Line 22: | ||
[[File:gen_exerciseSystemPanelcontrolviewpoint_scaleicon_01.png|300px|right]] | [[File:gen_exerciseSystemPanelcontrolviewpoint_scaleicon_01.png|300px|right]] | ||
* Click on the 'Scale with mouse' icon on the top, horizontal toolbar. | * Click on the 'Scale with mouse' icon on the top, horizontal toolbar. | ||
+ | : Now, when you select the cylinder, eight drag handles appear around the edges. | ||
+ | : These allow you to reshape the cylinder by dragging on the appropriate handle. | ||
+ | |||
+ | * Drag on one of the horizontal handles until the width of the cylinder is 120mm. | ||
+ | |||
+ | * Drag on one of the vertical handles until the height is 60mm. | ||
+ | |||
+ | * On the Panel Properties, set the depth (De...) to 3mm. | ||
+ | |||
+ | * Centre the cylinder by setting its position coordinates to 'X'=0, 'Y'=0, 'Z'=0, on the Panel Properties. | ||
+ | |||
+ | * Now, move the LED back into position by selecting it and setting its position coordinates to 'X'=0, 'Y'=-60, 'Z'=0. | ||
+ | : Doing it in this order ensures that the LED appears on top of the instrument panel. |
Revision as of 15:44, 29 May 2013
The following assumes that you have added a single LED to the System Panel, as described in Exercise - System Panel - Adding Objects.
The aim of this exercise is to mount the LED on the car's instrument panel, and to control the viewpoint of the resulting component.
- Open the flowchart "System_Panel_Add_LED" which you created in Exercise - System Panel - Adding Objects.
- Check that the Panel Properties is displaying sizes as 'World size'.
- Move the LED into the top right-hand corner by clicking on the 'Move with the mouse' icon.
- Click on it to select it. You will see five properties listed on the Panel Properties,
- 'Shape', 'Color', 'Outline', 'Thickness' and 'Image'.
- The default 'color' property is red (0x0000C0). Click on its value, and change the color to black (0x000000).
- Click on the 'Scale with mouse' icon on the top, horizontal toolbar.
- Now, when you select the cylinder, eight drag handles appear around the edges.
- These allow you to reshape the cylinder by dragging on the appropriate handle.
- Drag on one of the horizontal handles until the width of the cylinder is 120mm.
- Drag on one of the vertical handles until the height is 60mm.
- On the Panel Properties, set the depth (De...) to 3mm.
- Centre the cylinder by setting its position coordinates to 'X'=0, 'Y'=0, 'Z'=0, on the Panel Properties.
- Now, move the LED back into position by selecting it and setting its position coordinates to 'X'=0, 'Y'=-60, 'Z'=0.
- Doing it in this order ensures that the LED appears on top of the instrument panel.