Sketchup 3D printable objects tutorial: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 194: Line 194:
[[Category:3D]]
[[Category:3D]]
[[Category:RapMan]]
[[Category:RapMan]]
[[fr:Google Sketchup]]

Revision as of 15:16, 10 November 2010

Draft

<pageby nominor="false" comments="false"/>

Introduction

Google sketchup is currently probably the easiest 3D modeling program. It can be used to create simple 3D models for printing with a 3D printer like the RapMan

Prerequisites: Know how to print with a RapMan (or similar)

See also:

Tools needed

(1) Download Google SketchUp. We will work with the free version. The professional version not only has more features, but also could export directly to .OBJ which then can be imported to skeinforge.

(2) Download MeshLab. We will need this to convert SketchUP output to the .STL format.

(3) Download netfabb (free Studio version). This is needed to fix the STL file.

(4) Download Skeinforge. This can import STL and generate the g-code. Note: A next version of netfabb can do this too. Also read the Skeinforge for RapMan article !

Sketchup basics

Settings and concepts

Startup

Select the template: Product and Woodworking

Configure the Interface

The interface can be configured:

  • Select Menu: View->Toolbars->Large Tool Set

The line tool

The line tool (pencil icon) allows to draw a 2D structure that you then can extrude.

  • Put the camera in a view that is on "top" of the direction you want to extrude (Menu Camara->Standard Views)
  • Click to create a start point
  • Draw (drag the mouse) and click at the end of the line
  • Draw and click again
  • ...
  • Connect to the starting point (and tool tip saying end point will pop up) and double click

You should a filled shape and you now a have a surface that you can extrude. In case the shape is open, i.e. you didn't manage to draw all lines you still can connect the missing edges. As soon as a shape is closed you are done.

Now you can extrude ....

The Arc tool

Works in a similar way as the line tool. The idea also is to draw an arc that you then can extrude.

Select the arc tool (next to the circle tool), then

  • Draw a line (drag the mouse) and click
  • Then move the mouse into the direction you want your arc
  • Then continue if you like ...

You may combine all shapes: rectangle, circle, polygones made with line tool, and structures made with arc tool. I.e. you always can select a tool, then select an edge and add from there.

The push/pull tool with an example

The Push/Pull Tool allows to push and pull faces to add volume to or subtract volume from models. E.g. you can use this to print name tags for your luggage or gift tags for the first rapman pinguin you made.

The idea of making holes with letters comes from Gift Tags by Roboteernat.

This is fairly easy to produce:

A name tag made with Rapman

To create a small solid cuboid (3D rectangle):

  • Zoom in a lot (mouse wheel) and make sure that you can see the origin (use the hand tool to drag)
  • Select the rectangle tool: Draw a rectangle by clicking to a first point, dragging and then ckick/releasing the mouse. Make it about 60mm long at least and 1.5cm high at least. Letters should be at least 1cm (otherwise print may fill in the holes)
  • Select the Push/pull Tool: Click on the rectangle and move up (about 5mm)

To create a a void (empty) space:

  • Principle: Draw a 2D shape on a 3D geometry (e.g. the cuboid above) and then push until it is "on face", i.e. exactly meets the back end.
  • Now make a hole with the circle tool.
  • Select the Push/pull tool, move over it the circle (it should high-light with blue dots). Now push it down (slowly!) until the tool says "on face". Release the mouse and you will see a hole.

Select the 3D text tool

  • Set height to 100mm (at least)
  • Select an ugly regular font and make it bold (e.g. Arial)
  • Tip: with the webdings font you can add a heart ("Y")
  • Untick extruded (letters must remain 2D)
  • Set form filled
  • Click "Place" and place it on the rectangle (make sure it's "on face")
  • Right-click (object must be selected) and explode
  • Optional: space out the letters (will give a better print)
  • Push each letter down as explained above. This is a bit tricky, tilt the object (e.g. to a 60 degree angle) and zoom in (else you can't select the letters). Make sure to push util the tools says "on face" !

Export as Collada

  • File->Export->3D Model; Select Collada

Sketchup to STL to g-code

Orbiting

In order to rotate you view of an object (in order to examine it from all sides or work on a particular face), hold down the middle mouse button. This is much faster than switching to the "orbiting" tool ....

Two strategies

Since the free version of sketchup doesn't allow you to export directly to .STL, there are two options:

  1. Export to Collada .dae (a known 3D file format for exchange) and then import to a tool that can translate .dae to .stl
  2. Install a plugin, e.g.Convert Sketchup SKP files to DXF or STL or CADspan Plugin for Google SketchUp

We will show here option 1, i.e. use Meshlab to translate Collada to *.STL.

  • Open MeshLab and import the Collada .DAE file
  • You should see the object from the top (z axis is forward/backward)
  • Export to .STL

STL to g-code

The .STL or the Collada export is not necessarily great for printing, the resulting STL may not be correct, i.e. won't print for various reasons.

Also, size may be wrong, e.g. when we imported the object we made above to NetLab, the object was ok, i.e. not fixing was needed, but it shrunk to very small. ...

  • Repair by clicking on the red + sign (I just used default repair). Apply the repairs.
  • Leave the object near x=0 and y=0 (the rapman 0/0 is in the middle!)
  • Export the fixed .STL code

Now print

Empowering Sketchup

The free sketchup version can be much enhanced with so-called plugins. To install a Plugin, copy its files directly to the sketchup plugins directory, e.g c:\programs\google\google sketchup 7\plugins. You then will see changes to the interface of Sketchup when you restart the program.

To find good plugins:

I got:

  • Join push / pull (to extrude several objects, found in "must have Ruby plugins")
  • JS Align - align along 1 of the three axis (found through Search in the education forum)
  • A surface tool plugin (allow to draw on curved surfaces, found in "must have Ruby plugins")
  • The 1001bit tools (quite amazing tools for building houses, but also for layouting)

Duplos with meaning

Duplos may used as blocks for scenarios where students have to express ideas in some central space. To do so we need little blocks with symbols:

Procedure (roughly, for now I won't explain this in more detail since it's much easier to get this done directly via Netfabb where you also can create 3D characters ....)

  • Get the the the duplo-2-2-1.5.stl brick from thingyverse. It's a 3-4 size 2x2 duplo brick
  • Import to google sketchup via some other tools. The free version can't read STL so you will have to import it to Meshlab or another tool and save as .3Ds for example. Then you can import.
  • Now get the 1001bit tools. Free for education or 30 days trial for others.
  • With the help of the 1001 bit tools you can now clone this Duplo brick in a matrix, e.g. 5x5. Keep about 0.5cm of distance between the two.
  • Save the project
  • Create 3D text with an extrusion of about 3mm. In order to produce webdings under Windows, use the following strategy. Sorry I don't have an English Windows version at hand, roughly: Program Menu -> Accessories -> Systems Tools -> Character Table. Select the Web dings font. Select all the characters you like.
Picking webdings characters under Windows
  • Align the 3D text on the Z-axis (down) so that they will be on top of the duplo bricks (roughly)
  • Explode
  • Save the project under a different name
  • Now align each character with a duplo brick on X and Y. To do so you may want to install the "JS Align Plugin"
  • Save the project
  • Export as STL
  • Import to Netfabb for clean up
  • Print ....

Links

Google Sketchup
Must have Plugins
  • 1001bit tools (large extension for architecture drawing, free for education)
Other tools
Repositories for *.skp files