Menu

Week 2: Computer-aided design

Experience: Making my project diagram


Objetive: Evaluate and select 2D and 3D software

Links:

http://www.getpaint.net
http://inkscape.org

Resources:

JPG project sketch
SVG project design

Week2

Import/modify images with Paint.Net

For to continue with the project design from the previous sketch maked, I use a free software called Paint.Net to import, remove background, resize and combine elements. I've been using it by years, and I think is good, user friendly and can be used by professionals or beginners

Week2

Remove background with Paint.Net

Because many do not know this tool, is good to know that similar to Inkscape, Illustrator, Rhino, etc., Paint.Net includes a magic wand, that permit select an area in the image based in the tone or color. Also you can remove the background and save as PNG that is usefull for web sites design. I will not delve into the use of Paint.Net, but at least I want to teach how the magic wand works

Week2

Using magic wand on Paint.Net

When clicking with the magic wand, the tool tries to identify and mark the contour similar to the place where it was activated. Tolerance can be set manually

Week2

Using magic wand on Paint.Net

Once the magic wand did its job, we can erase, colorize or copy the selection

Week2

First sketch ready

The enterely jpg file was maked on Paint.Net, for finish it I put some colors and text

Week2

Using Inkscape - 1

Now, is time to know and use a vectorial software to make the project's diagram. My first contact with this kind of tools was not good, I tried Illustrator, Rhino and Autocad, but the large amount of icons and toolbars confused me, but with Inkscape I felt relaxed and in a few minutes I was working on

Week2

Using Inkscape - 2

I put some icons, then I personalized them, I mixed them, I put lines, forms, etc., until obtain a design that expressed the idea of my project

Week2

Using Inkscape - 3

I used many tools like grouping, ungrouping ...

Week2

Using Inkscape - 3

... objects align, proportional resize ...

Week2

Using Inkscape - 4

... color toolbar ...

Week2

Using Inkscape - 5

... zoom in, zoom out, and more

Week2

Using Inkscape - 6

And this is my final diagram, that you can see with details and explanation in the final project page

Tutorial: How to build a screw housing with Tinkercad


Objetive: Model experimental objects/part of a possible project in 2D and 3D software

Links:

http://www.tinkercad.com

Resources:

STL model file

Week2

Step 1

I gonna show how to make a simple screw housing, as a basic guide for learn Tinkercad. This is a user friendly tool for making 3D designs for print, and has the advantage of to be 100% online. I have used it many times in my work, for build parts for projects. Go to Tinkercad, register and create a new design.

Week2

Step 2

Put a cube from right toolbar

Week2

Step 3

Using the resize points (black points arround the selected object), resize it to 100x100x20 milimeters

Week2

Step 4

Copy and paste the rectangle (you can use the upper toolbar or CTRL+C - CTRL+V), resize it to 96x96x20 and raise 2 mm from the floor

Week2

Step 5

Using the light gray and dark gray stripes icon, change to make it look like a hole

Week2

Step 6

Select both rentangles and use the aligment tool. Click on the center points to align horizontally and towards the bottom, but at the vertical points, click on the top point, because we need that the hole comes out on one side and leave the bottom as the base of the box

Week2

Step 7

The result look like this

Week2

Step 8

Select both objects and group them

Week2

Step 9

Put another cube and change color to green

Week2

Step 10

Resize it to 100x2x13 with 2 mm of elevation

Week2

Step 11

Select all objects and align them

Week2

Step 12

Copy paste the green object and rotate it 90°

Week2

Step 13

Check that have an elevation of 2mm and align it with the rest

Week2

Step 14

Select all objects and group them

Week2

Step 15

Put a new cube

Week2

Step 16

Resize it to 96x102x3 with 15mm of elevation

Week2

Step 17

Align horizontal only, leaving 2mm from the back, crossing the front side

Week2

Step 18

Here is the better view

Week2

Step 19

Group them and check than the from side has a horizontal groove

Week2

Step 20

Put a new cube

Week2

Step 21

Resize it to 95x100x2, this gonna be the top of the box. Elevate it to 15 mm

Week2

Step 22

It is not necesary to align the top with the box, because you gonna print separately, but you can try to see if it fits in the horizontal groove

Making screw housing with OpenSCAD


Objetive:

Model experimental objects/part of a possible project in 2D and 3D software

Links:

http://www.openscad.org

Resources:

Scad model file

Week2

Step 1

Is my intention to compare Tinkercad with OpenSCAD because a I think that both are powerfull tools but for make more complex desings to 3D print and for use with academic purposes, especially working with my parther Ana María Sandoval (mathematicals teacher), OpenSCAD is more convenient. In this tutorial I gonna make the same screw housing as the previous example, using OpenSCAD.

Start OpenSCAD, type the next code and press F5 to draw an red cube of 100x100x20 dimensions in the 0,0,0 position

 color("red")
 translate([0,0,0])
 cube([100,100,20]);

Week2

Step 2

Draw a second cube of 96x96x20 dimensions in the 2,2,2 position

 color("red")
 translate([0,0,0])
 cube([100,100,20]);

 color("blue")
 translate([2,2,2])
 cube([96,96,20]);

Week2

Step 3

Use the difference() function to subtract the blue cube from the red. Note that color("blue") was removed from code

 color("red")
 difference()
  {
   translate([0,0,0])
   cube([100,100,20]);

   translate([2,2,2])
   cube([96,96,20]);
  }

Week2

Step 4

Draw one division panel using a green cube

 color("red")
 difference()
  {
   translate([0,0,0])
   cube([100,100,20]);

   translate([2,2,2])
   cube([96,96,20]);
  }

 color("green")
 translate ([0,50,0])
 cube([100,2,13]);

Week2

Step 5

Draw other division panel using a green cube

 color("red")
 difference()
  {
   translate([0,0,0])
   cube([100,100,20]);

   translate([2,2,2])
   cube([96,96,20]);
  }

 color("green")
 translate ([50,0,0])
 cube([2,100,13]);

 color("green")
 translate ([0,50,0])
 cube([100,2,13]);

Week2

Step 6

Join all parts using union() function. Note than color("green") was removed from the code

 color("red")
 union()
  {
  difference()
   {
    translate([0,0,0])
    cube([100,100,20]);

    translate([2,2,2])
    cube([96,96,20]);
   }

  translate ([50,0,0])
  cube([2,100,13]);

  translate ([0,50,0])
  cube([100,2,13]);
  }

Week2

Step 7

Put another cube of 96x100x3 dimensions in the 2,-2,15 position

 color("red")
 union()
  {
  difference()
   {
    translate([0,0,0])
    cube([100,100,20]);

    translate([2,2,2])
    cube([96,96,20]);
   }

  translate ([50,0,0])
  cube([2,100,13]);

  translate ([0,50,0])
  cube([100,2,13]);
  }

  color("LightBlue")
  translate([2,-2,15])
  cube([96,100,3]);

Week2

Step 8

Substract the blue object from the rest and group all. For to do this, move the lines that draw the blue part inside the previously used difference() function

 color("red")
 union()
  {
  difference()
   {
    translate([0,0,0])
    cube([100,100,20]);

    translate([2,2,2])
    cube([96,96,20]);
   translate([2,-2,15])
   cube([96,100,3]);
   }

  translate ([50,0,0])
  cube([2,100,13]);

  translate ([0,50,0])
  cube([100,2,13]);
  }

Week2

Step 9

Draw the top of the box with size 95x100x2 in the 2,-2,15 position only for check, but if you want to print in 3D put this near the box, not inside

 color("red")
 union()
  {
  difference()
   {
    translate([0,0,0])
    cube([100,100,20]);

    translate([2,2,2])
    cube([96,96,20]);
   translate([2,-2,15])
   cube([96,100,3]);
   }

  translate ([50,0,0])
  cube([2,100,13]);

  translate ([0,50,0])
  cube([100,2,13]);
  }

  color("LightBlue")
  translate([2,-2,15])
  cube([95,100,2]);

Powered by w3.css

×