Tutorial

Components in Sketchup

screenShot.png


What is it?

Components are useful for creating reusable models to be placed within other models. Components are like classes and you can create multiple instances of them. When you edit the component, all instances of the component is updated.

The 3D Warehouse is an online collection of 3D models or components. Downloading components using the Components Browser SketchUp's Component Browser allows you to download models in the 3D Warehouse. To search and download models using the Component Browser:

What's the tutorial?

Making a Robot Chasis




Creating the base

  1. You're going to create the Robot Chassis from Tero and Kimmo Karvinen's Make a Mind-Controlled Arduino Robot

    © O'Reilly Media / Make



  2. Open SketchUp.


  3. Using the Rect tool (R) create the base of the chassis. Drag a rect from the origin and type 140mm, 190mm (I'm using 140 instead of 160 so that the chassis will fit on the Replicator's bed):



  4. Press spacebar to select the Select tool and CTRL+click on the rectangle and choose Zoom Extents. Then orbit and pan to get the proper view.


  5. Drag another rectangle from origin. This time type 190,35/2 and press ENTER/RETURN. Where did 35/2 come from? (140-105)/2:


  6. Press spacebar to select the Select tool and click on the rectangle


  7. Select the Move tool (M) andALT/OPTION +click and drag the duplicated selection to the other side of the larger rectangle


  8. Open the Components palette by selecting Window>Components



  9. Type arduino in the search box and press ENTER/RETURN to search for a component associated with that term:



  10. Click on the Arduino thumbnail image to bring the model into your sketch



  11. Place the model near your base



  12. Select the Rotate tool andset your pivot point:


  13. Type 90 and press ENTER/RETURN to rotate the Arduino by 90°


  14. Select Top View SHIFT+2/COMMAND+1 and adjust the position of the Arduino



  15. Type breadboard in the Compoents palette and press ENTER/RETURN



  16. Select the Mini Breadboard 170 points and place the breadboard on the base:



  17. Search for Servo in the Component Window
    servo_search.png


  18. Select the HITec Hs325 Servo:
    servo.png


  19. Select the servo
    imported_servo.png


  20. Select the Rotate tool and line up the green protractor with the servo, rotate the servo 90°:
    rotate_servo.png


  21. Type 90° and press ENTER/RETURN
    rotated_servo.png


  22. Move servo into place:
    move_servo.png


  23. Select the Move tool (M), hold ALT/OPTION and move a duplicated servo to the other side of the chassis
    dupe_and_move_servo.png


  24. Select the Rotate tool and line up the blue protractor with the servo, rotate the servo 180°:
    rotate_dupe_servo.png


  25. Change the Camera View to bottom and line up servos. You may also need to flip the base and raise the Arduino and the breadboard if you can see them from this angle:
    view_from_bottom_to_adjust.png


  26. Change the Camera View to top and CTRL+click on the outer right line and select Divide from the Context Menu.
    divide_right_line.png


  27. Move the cursor in until you have seven inner segments:

    divide_in_seven.png


  28. Repeat the process for the left outer line:
    divide_outer_left.png


  29. Divide the inner right line into eight segments:
    divide_inner_right.png


  30. Divide the inner left line into eight segments:
    divide_inner_left.png


  31. Select the Line tool (L) and connect endpoints:
    line_tool_1.png
    lines_2.png


  32. Select the Eraser tool (E) and erase segments:
    eraser_tool_1.png
    eraser_tool_3.png


  33. Change the view to the Bottom and delete the inner segments:
    flip_and_erase.png
    erased.png


  34. Select the Select tool (spacebar) and select the base.Select the Push/Pull tool (p) and extrude, type 2 and press ENTER/RETURN to extrude the base to 2mm:
    select_base.png


  35. Select the Orbit tool (O) and orbit slightly. Select the Select tool (spacebar) and triple click on the base:



  36. CTRL+click and select Make Group from the Context Menu







Creating L-Brackets

  1. Select the Rectangle tool (R) and drag a rectangle on the ground plane. Type 6,18 and press ENTER/RETURN :



  2. Select the Push/Pull tool (p) and extrude the interior of the rectangle. Type 2 and press ENTER/RETURN :



  3. Select the Select tool (spacebar) and triple click the cube to select it. :



  4. Select the Rotate tool and when the protractor turns red click on the pivot point and drag 90°. :



  5. Hold ALT/OPTION and drag the duplicated cube in the direction on 90. Type 90 and press ENTER/RETURN :



  6. Select the Eraser tool (E) and erase the extra lines:



  7. Select the Select tool (spacebar) and triple click the bracket to select it. :



  8. Select the Rotate tool and rotate the bracket :



  9. CTRL+click on the selected bracket and choose Make Group from the Context Menu:



  10. Select the Move tool (M) and move the bracket into place :



  11. Select the Circle tool (C) and create cylinders inside the servo holes. Use the Push/Pull tool (P) to extrude them and transform each cylinder into a group :
    cylinder_group.png


  12. Select the Select tool (spacebar) and select both cylinders. CTRL+click and select Make Group from the Context Menu :



  13. Select the Move tool (M) and move a duplicated group of cylinders :



  14. Select the Rotate tool and rotate the duped group of cylinders :



  15. Select the Move tool (M) and adjust the placement of the a duplicated group of cylinders :



  16. Select the Select tool (spacebar) and select the bracket and both groups of cylinders. CTRL+click and select Make Group from the Context Menu :



  17. Select the Move tool (M) and move a duplicated version of the complete bracket off to the side.


  18. CTRL+click on the bracket and select Explode explode the group. You want to break up the group so that you can select the bracket faces and one group of cylinders:



  19. With the bracket and cylinders selected, CTRL+click on the cylinders and select Intersect Faces>With Selection from the Context Menu



  20. CTRL+click on the cylinders and select Explode from the Context Menu
    intersect2_2.png


  21. CTRL+click on each cylinder and select Explode again from the Context Menu
    intersect2_2.png
    intersect2_5.png


  22. Press DELETE to erase much of the cylinders
    intersect2_6.png


  23. Select the Push/Pull tool (P) and push in the interior of the circle until you have a hole:
    pushpull.png


  24. Repeat the process for the other hole.


  25. Repeat the hole making process for other group of cylinders
    intersect3_1_w_selection.png
    intersect3_2_explode1.png
    intersect3_3_explode2.png
    push_pull_fourth_hole.png
    l_bracket_w_holes.png


  26. Triple click on the bracket and make it a group



  27. Select the Move tool (M) ALT/OPTION click on the bracket a move a duplicated bracket to the other side of the servo. Select both brackets and CTRL+click and select Make Group from Context Menu
    make_group_of_2_brackets.png


  28. Select the Move tool (M) ALT/OPTION click on the brackets and move the duplicated group to the other side of the base. Rotate as necessary
    move_brackets_left.png


  29. Rotate and align the brackets up with the base and the servos



  30. Select the second group of cylinders. Select the Move tool (M) and move a duplicated set of cylinders through the base
    move_another_group_up.png


  31. Repeat the hole making process for other third group of cylinders and base.

    Explode the base if it is a group.


  32. With the Select tool (spacebar select the base and the group of cylinders. CTRL+click on the cylinders and choose Intersect faces >With Selection from the Context Menu
    make_l_bracket_hole1.png


  33. CTRL+click on the cylinders and choose Explode from the Context Menu
    make_l_bracket_hole2_2.png


  34. CTRL+click on the cylinders and choose Explode from the Context Menumake_l_bracket_hole3_2.png


  35. Explode one last time the break the cylinders up into two entities.


  36. Press DELETE to delete most of the the cylinders:
    make_l_bracket_hole4_delete_cyl_2.png


  37. With the Push/Pull tool (P) push the interior of the circle through the base until there is a hole
    make_l_bracket_hole6_s_pp_2.png make_l_bracket_hole7_s_pp_2.png


  38. Push other circle through to make a hole
    make_l_bracket_hole8_s_pp_2.png
    make_l_bracket_hole9_s_pp_2.png


  39. Once you have your l-bracket holes

    continue creating holes for the other three brackets in the base.






Creating holes based on the Arduino

  1. Select the Arduino Component. Choose the Move tool (M) and raise the component up off the base.


  2. CTRL+click on the Arduino Component and select Edit Component from the Context Menu
    ard_edit_component.png


  3. Select a circle and choose File>Copy
    ard_copy_circle.png


  4. Click outside the component to get out of Edit
    ard_exit_edit.png


  5. Select File>Paste in Place to paste the circle that you previously copied in place:
    ard_paste_in_place.png
    ard_pasted.png


  6. Select Move tool (M) and move the circle down to the surface of the base
    ard_move_down_2.png


  7. Select Select tool (spacebar) and select the interior of the circle:
    ard_select_int.png


  8. Select Push/Pull tool (P) and move the interior down until you have a hole:ard_pp.png  ard_pp_2.png


  9. Repeat the process for the other holes:
    Select the base of the Arduino and CTRL+click and select Edit Component from the Context Menu
    ard_edit_component2_2.png

  10. Select and copy a circle:
    ard_copy_circle_2.png


  11. Click outside the component
    ard_nav_hole_2.png


  12. Choose File>Paste in Place. Select the Move tool (M) and move the circle to the base:
    ard_move_down.png


  13. Select the interior, the Push/Pull tool (P) and make the hole.


  14. Repeat the process for all holes in the Arduino.


  15. With the Move tool (M) move the Arduino back down closer to the base.






Adding a Castor Wheel

  1. Search for Castor in 3D Warehouse
    search_castor.png


  2. Place castor wheel:
    place_castor2.png


  3. Rotate and scale the wheel. The height should be 35mm.


  4. Center castor wheel on bottom of base
    place_castor3.png


  5. CTRL+click on the wheel and select Edit component from Context Menu:
    place_castor4_edit_component.png


  6. Select the circles and choose File>Copy
    place_castor5_copy_circle.png


  7. Click outside of the edit box to exit Edit mode and select File> Paste in Place
    place_castor6_pp.png


  8. With the Move tool (M) Move the circles on to the base:
    place_castor7_move_down.png


  9. Select the interior of the circle. Choose the Push/Pull (P) tool and push down until you have a hole
    place_castor8_select.png  place_castor10_pp.png    place_castor9_pp.png


  10. Continue the process for the three other holes.




Now what?

  1. Pimp your ride.