Changes between Version 3 and Version 4 of BasicTutorial


Ignore:
Timestamp:
Feb 10, 2006 12:38:05 AM (11 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BasicTutorial

    v3 v4  
    1 === Basic Tutorial ===
     1= Basic Tutorial =
    22
    33This page is designed to give you a good understanding of the basics of LeoCAD, it will teach you how to browse the pieces list, add pieces to a model and move and rotate them around, create a model with multiple steps and change the camera position.
     
    55To do that we'll create a simple racing car, so start LeoCAD and you should see a window that looks like this:
    66
    7 '''Picture goes here'''
     7[[Image(Basic01.png, nolink)]]
    88
    99LeoCAD has a standard user interface with toolbars and menus. The big white area on the left is the main drawing area and on the right there's a list of available pieces with a picture of the currently selected one and list of colors.
     
    1313----
    1414
    15 Let's add our first piece to the model, open the "Plates" category from the pieces list on the right (1), then scroll down and select "Plate 1 x 4". We want our car to be blue so click on the blue rectangle at the bottom (2). Notice that the picture on the top right corner has changed to reflect the new color.
     15Let's add our first piece to the model, open the "Plates" category from the pieces list on the right, then scroll down and select "Plate 1 x 4". We want our car to be blue so click on the blue rectangle at the bottom. Notice that the picture on the top right corner has changed to reflect the new color.
    1616
    17 Now let's add the brick to the drawing area, click the "brick" icon on the top left of the screen (3) and the mouse cursor will change to a small brick. Move it to the drawing area, click with the left mouse button and a new piece will be added to the model.
     17Now let's add the brick to the drawing area, click the "brick" icon on the top left of the screen and the mouse cursor will change to a small brick. Move it to the drawing area, click with the left mouse button and a new piece will be added to the model.
    1818
    19 '''Picture goes here'''
     19[[Image(Basic02.png, nolink)]]
    2020
    2121TIP: You can use the grid to help you see better where each piece is located. You can do that by  choosing "Preferences" under the "View" menu, then going to the "Drawing Aids" tab and checking the box "Base Grid". Also note that the X/Y/Z location of the currently selected brick is shown on the lower right corner.
     
    2727While holding the left mouse button down move the mouse and position the new piece 2 "units" from the first piece like the next picture.
    2828
    29 '''Picture goes here'''
     29[[Image(Basic03.png, nolink)]]
    3030
    31 TIP: To move pieces one axis at a time you can click on the axis arrows (1), or use the keyboard (default keys are the arrow keys, Page Up and Page Down).
     31TIP: To move pieces one axis at a time you can click on the axis arrows, or use the keyboard (default keys are the arrow keys, Page Up and Page Down).
    3232
    3333----
     
    3535We want to make instructions in a way that people can see the order that we added pieces to the model so we need to split the building instructions in "steps".
    3636
    37 Since now we'll be adding pieces on top of the existing pieces it's a good time to do so in another step, so click on the the right arrow icon (1) on the top right toolbar. If you look at the status bar at the bottom of the screen, you’ll see that it now says "Step 2" on the right side (2).
     37Since now we'll be adding pieces on top of the existing pieces it's a good time to do so in another step, so click on the the right arrow icon on the top right toolbar. If you look at the status bar at the bottom of the screen, you’ll see that it now says "Step 2" on the right side.
    3838
    39 Add a "Plate 2 x 8" just above the first pieces, we are going to use it to hold the first two bricks together so we will have to rotate it until it's in the correct position. Select the "Rotate" icon from the toolbar (3), the cursor will change and then drag the mouse until the brick is rotated 90 degrees.
     39Add a "Plate 2 x 8" just above the first pieces, we are going to use it to hold the first two bricks together so we will have to rotate it until it's in the correct position. Select the "Rotate" icon from the toolbar, the cursor will change and then drag the mouse until the brick is rotated 90 degrees.
    4040
    41 '''Picture goes here'''
     41[[Image(Basic04.png, nolink)]]
    4242
    4343TIP: Just like moving, you can also rotate around one axis at a time by clicking on the circles that appear around the currently selected piece, or by using the keyboard (default keyboard shortcut is hold the SHIFT key down while pressing the arrow, Page Up or Page Down keys).
     
    4747Now go to step 3 of the project and let's keep building our car. We need to add a steering wheel and mudguards next but if you're not familiar with naming convention of the Pieces Library it can take a while to find out which category a piece belongs to but luckly we can quickly search for pieces.
    4848
    49 Type "Car Mudguard" in the search box (1) and press Enter. LeoCAD will search all piece names for the text you typed and display the results in the category tree under "Search Results" at the bottom of the tree.
     49Type "Car Mudguard" in the search box and press Enter. LeoCAD will search all piece names for the text you typed and display the results in the category tree under "Search Results" at the bottom of the tree.
    5050
    5151Select "Car Mudguard 2 x 4 without Studs" and add it to the model, then do the same for the steering wheel and you’ll have something like this:
    5252
    53 '''Picture goes here'''
     53[[Image(Basic05.png, nolink)]]
    5454
    5555----
     
    5757Advance the instructions another step and add a "Slope Brick 45 2 x 2" above the mudguard and another to the front of the car.
    5858
    59 Let’s also add another "Plate 1 x 4" to the car, LeoCAD remembers that you recently added one so you can quickly go back to it by clicking on the arrow to the right of the search box (1) and selecting it from the list of recently added pieces.
     59Let’s also add another "Plate 1 x 4" to the car, LeoCAD remembers that you recently added one so you can quickly go back to it by clicking on the arrow to the right of the search box and selecting it from the list of recently added pieces.
    6060
    6161Here’s the picture of the almost complete car:
    6262
    63 '''Picture goes here'''
     63[[Image(Basic06.png, nolink)]]
    6464
    6565----
     
    6969To make changes not apply to previous steps LeoCAD uses a concept called keyframing, that means that any changes made to a key frame won't affect previous steps, and changes done to steps before the key frame won't affect steps after it.
    7070
    71 Turn keyframing mode on by clicking on the "Key" icon on the toolbar (1), then select the "Rotate Camera" icon (2). Now drag the mouse until you can see the bottom of the car from a good angle. If the car is not centered on the screen, you can also use the "Pan" and "Zoom" tools to adjust the camera.
     71Turn keyframing mode on by clicking on the "Key" icon on the toolbar, then select the "Rotate Camera" icon. Now drag the mouse until you can see the bottom of the car from a good angle. If the car is not centered on the screen, you can also use the "Pan" and "Zoom" tools to adjust the camera.
    7272
    7373Once you get a good camera position turn keyframing mode off by clicking on the "Key" icon again and then add two black "Plate 2 x 2 with Wheels Holder" to the car:
    7474
    75 '''Picture goes here'''
     75[[Image(Basic07.png, nolink)]]
    7676
    7777----
     
    7979Now we can finally add the wheels to the car, so go to step 6 and change the camera position to an angle close to what we had on the first steps of the instructions, then add a gray "Wheel Centre" and a black "Tyre" to the first wheel holder.
    8080
    81 Change to the "Front" camera by going to the "View" menu then selecting it from the "Cameras" sub menu (the default keyboard shortcut is "F") and zoom in. If you take a closer look you'll notice that the wheel isn't correctly aligned to the car.
    82 
    83 You can try moving the wheel but it's not going to work because it's snapping the movement to a distance that is too big for what you need. Movement snap is a good way to keep standard bricks aligned but it doesn't help when you're trying to align smaller pieces, so now you should either turn it off by clicking on the "Grid Magnet" icon on the toolbar (1) or select a smaller snap value by using the keyboard (default keys are 1, 2, ..., 9, 0). When you select a different snap value the status bar changes and displays the new value (2).
    84 
    85 Now switch to selection mode (3) and click on both the wheel and tyre while holding the control key down to select them and move the pieces so they align correctly with the car.
    86 
    87 '''Picture goes here'''
     81[[Image(Basic08.png, nolink)]]
    8882
    8983----
    9084
    91 We still need 3 more sets of wheels but instead of adding one at a time we can save some time by copying the one we just added to the clipboard and pasting it back. It works like most other applications, use the toolbar buttons (1) to copy and paste or the keyboard (default keys are Control + C for copy and Control + V for paste).
     85Change to the "Front" camera by going to the "View" menu then selecting it from the "Cameras" sub menu (the default keyboard shortcut is "F") and zoom in. If you take a closer look you'll notice that the wheel isn't correctly aligned to the car.
     86
     87You can try moving the wheel but it's not going to work because it's snapping the movement to a distance that is too big for what you need. Movement snap is a good way to keep standard bricks aligned but it doesn't help when you're trying to align smaller pieces, so now you should either turn it off by clicking on the "Grid Magnet" icon on the toolbar or select a smaller snap value by using the keyboard (default keys are 1, 2, ..., 9, 0). When you select a different snap value the status bar changes and displays the new value.
     88
     89Now switch to selection mode and click on both the wheel and tyre while holding the control key down to select them and move the pieces so they align correctly with the car.
     90
     91[[Image(Basic09.png, nolink)]]
     92
     93----
     94
     95We still need 3 more sets of wheels but instead of adding one at a time we can save some time by copying the one we just added to the clipboard and pasting it back. It works like most other applications, use the toolbar buttons to copy and paste or the keyboard (default keys are Control + C for copy and Control + V for paste).
    9296
    9397When you paste a copy it's placed right on top of the one you copied it from, so we need to move it to the other side of the car. Since the car is exactly four "bricks" wide, you can turn Movement Snap back on and set its value to 1 brick to easily position the new wheel on the other side of the car.
     
    9599Once it's in position rotate it 180 degrees so it faces the right way, then make 2 more copies for the back wheels and the car will be complete:
    96100
    97 '''Picture goes here'''
     101[[Image(Basic10.png, nolink)]]
    98102
    99103----
     
    103107The finished car should look something like this:
    104108
    105 '''Picture goes here'''
     109[[Image(Basic11.png, nolink)]]
    106110
    107111This finishes the tutorial, remember that this tutorial does not teach you how to use the advanced features of the LeoCAD, this is just an introduction to the basic features.