Skip to content

2. Computer Aided design

We had a great lecture from Sophia Brueckner and Kenny Cheung about Computer-Aided Design.
CAD_faculty
Especially Sophia’s lecture was very intrigued by her speculative design examples and lots of examples how each CAD function are useful.

CAD_is

Homework

Assignments and Assessment this week

Computer-Aided Design

  • Model (raster, vector, 2D, 3D, render, animate, simulate, …) a possible final project, compress your images and videos, and post a description with your design files on your class page

Learning outcomes

  • Evaluate and select 2D and 3D software
  • Demonstrate and describe processes used in modelling with 2D and 3D softwares
  • Demonstrate image and video compression

Have you answered these questions?

  • Modelled experimental objects/part of a possible final project in 2D and/or 3D software
  • Shown how you did it with words/images/screenshots
  • Documented how you compressed your image and video files
  • Included your original design files

Trial this week

This week, I am going to experience raster type 2D, vector type 2D soft, solid based 3D software, and mesh based 3D software by designing a part for my Final Project.

Experiencing Gimp (raster type 2D)

Installation of Gimp

Search Gimp.
search Gimp

Visit Gimp site, and download it.
In my case, I chose orange color button “Download GIMP 3.0.8 for x86,x86_64 and ARM64 directly”.
visit Gimp site

When the download is completed, you will see this.
Then, click “Install” button.
downloaded

It will extract files for installation.
Extract

You will see below when installation completed.
Installation completed

Installation completed

I don’t recommend to open a picture file from “Open menu” from the File pulldown menu since you will not see the image in the file to choose.
open picture file from Open menu

I do recommend to pick the image you want to work by Windows Explore with image information for easy choosing.
Drag-and-Drop the image file into the Gimp window.
Drag and Drop into Gimp

I explored with filtering function in the “Filter” menu.
filter menu

For example, If I choose “cartoon” function,,,,
Cartoon function

The image became like this with the “Cartoon” function.
cartoon function result

“Grayscale” effect can be selected from “Image” pulldown menu.
grayscale

The result of “Grayscale” effect is as follows.
result of Grayscale

What about “Noise” filter?
Noise filter selection

Choosing “Hurl” will make below result in Noise filter.
result of noise Hurl

Experiencing InkScape (vector type 2D)

Open InkScape, then better to zoom page for visibility.
zoom page

Write letters with Text
text input

Choose arrow at the top left corner.
choose arrow

Now the chosen object is ready to size change or aspect ratio change.
text is ready to change the size

Text size and aspect ratio has changed.
size changed

Text color can be changed with the “Fill and Stroke” window at the right side upper area.

Click “Fill and Stroke” window.
Fill and stroke

If you Click you can control the filling color.
Click Fill

Change color
color change with RGB

I recommend you choose the picture via Windows Explore so that you can see the content of the picture to find the one you would like to use.
choose picture by Windows explore

Drag-and-drop the picture file you chose into the inkScape window, then you see the “image import type” window to confirm the import setting.
In this case, “Embed”, “Image DPI From file”, “auto Image rendering Mode” was chosen.
image import type

drag and drop the picture

With Control Key + Drag the edge of picture, you can change the size by keeping the original ratio (lateral and vertical) of picture.
control + drag the edge

Making Mask set of text and picture

Put text on the top of picture.
You need to change the order of layer at the right side window.
The list at the top is the top of the layer in the appearance.
put text on the picture

Now, select Mask -> Set Mask from the “object” pull down.
select Mask set

Mask Set was done.
Mask Set done

Experiencing Fusion (solid based 3D CAD)

Installation of Fusion 360

Setting up Fusion Modeling principle

When you open Fusion, you will be asked to define the model that you are going to work as following message.
opening message

  • Part Design
    Part Design

  • Assembly Design
    Assembly Design

  • Hybrid Design
    Hybrid Design

  • Drawing
    Drawing

  • Electronics Design
    Electronics Design

  • Electronics Library
    Electronics Library

If you have been a Fusion user, you may be surprised at User Interface change of Fusion recently. I am actually that kind of person. For those who already a Fusion person, I recommend you choose following setting to start.
It is called “Hybrid Design”, and the User Interface is almost similar to the previous version of Fusion360.

  • Hybrid Design
    Hybrid Design

“Hybrid Design” setting provides similar like User Interface as previous version of Fusion.

Hybrid Design UI

Learning of New function in Fusion by drawing my Final Project’s parts

Assembly

This function must be useful for the structure explanation and the way to assemble each parts, and function of parts such as motors and linkage.

Import motor for small scale model making

Visit CAD data sharing community page such as “GRABCAD”.
find GRABCAD
GRABCAD_Community

It may require your registration, then make your account there.
make an account

Type what you want to search in the search window.
In my case, I searched “MG-996R” motor.
search part

Pick one from the lists which has “.f3d(Fusion file)” or “step” type file, and download it.
pick one part

Confirm files that you downloaded.
Normally downloaded file is zip type compressed file, so that you need to extract them first.
files to extract

Select folder you want to extract them, then extract.
extracting

Open the file from Fusion clicking the “Open from my computer” button.
open file from Fusion

Pick the file such as “.f3d(Fusion file)” or “step file”.
In this case, I pick Servo-MG996G.f3d file.
Pick the file

The motor file was imported in Fusion.
file imported in Fusion

Start Drawing from Sketch

I strongly recommend to start by making “Component” for each part drawing in Fusion drawing.

To make a component with “Hybrid Design” setting, you need to right click the top model, and you will see “New Component” in the menu list.
Then select it, and input the name of the Component you are going to work.
create component

Input “Component Name” and press OK.
In this case “Motor Base” was named.
input component name

New Component “Motor Base” was made.
New Component was made

Next,
Setting parameters for Parametric Design.
Select “fx Change Parameters” in the menu of “Modify”.
parameter setting

Parameter window was opened, then click “+” to add User Parameter.
Parameter window

Input “Name” of the parameter, Unit “mm” in “Add User Parameter” window.
Add User Parameter

Input concrete value into “Expression”.
In this case “100” was input.
Input value in Expression

Continue inputting other parameters as User Parameter.
other parameters

Here I set parameters set for fist model base.
parameters set

Now you are ready to proceed designing from sketch.
Select “Create Sketch” from “Create” menu.
It is recommended to make “Sketch” under the selected Component to prevent from getting mess.
Create Sketch

Design Sketch with parameters by typing the parameter letter instead of typing actual number for the value, and select from the list you have made.
Design sketch with parameter

Choose value from Parameter list by typing the name of parameter.
choose from the parameter list

Here you see values set by parameter.
value set by parameter

Next,
Extrude for thickness design.
extrude

Extruding with the parameter named “Motor_Plate_Thickness” which I set as 18mm.
extruding

Extrude was done.
Now, Insert other part “Motor” by “Assemble Insert Component” menu.
Extrude was done

Select “Component name” from the list that you got.
In this case “Servo-MG 996R” is selected.
select design from the component list

Inserted the other part “Servo Motor”.
Inserting the other part

I wanted to insert Motor with the motor rotational center located at the center of the “Motor Base”. Having Motor rotational center being off-set from the Motor Center, I decided to set each center in each model.

For Motor Base, I used “Mid-Plane” drawing function of the “Construct” menu.
mid plane

mid plane making

mid plane making

axis through 2 planes

axis through 2 planes

point at edge and plane

point at edge and plane

Sharing Project with other people

For those who need to work together the same design file with other members, the file can be shared and able to be modified each other by sharing the Project.

First, you make a “New Project” at left top ALL PROJECT part.
make a new project

Copy your Design file into “Project” you want to share with other member

Choose the design you want to share with other member, and select “copy”.
choose design file to copy

Then, choose destination Project which you will share with other member from the “Copy to” list.
Press “Copy” button at right bottom of the window.
choose destination project

Add other members to your “Project” to work with

Click “Earth” like mark to “Open on the Web” for setting access control to the “Project”.
Open on the Web

By Opening the Fusion Web page, you will see below like page.
Fusion Web page

Click 2nd from left menu tag named like “member and right”.
select 2nd tag

When you click the 2nd tag, you will see below like setting.
click member right

Add the E-mail address of the person who you want to give the right to edit or share the data only.
Then, click the “create new” button.
add the E-mail address

Choose the level of right you want to give to the person for example “edit” in this case.
choose the right

Then, click “Complete” button to save the setting.
complete

Confirm the setting you made for “Project” sharing.
confirm the setting

Since, I am tackling my Final Project as my company’s project, I am drawing Final Project’s part by using Fusion in my NDA folder(only accessible to limited person).

Experiencing Blender (mesh based 3D CAD)

User Interface text size up

For those who cannot see small texts, following setting makes good User Interface by setting text size larger.

Select Edit -> Preferences at the top pulldown menu.
Edit Preferences

Then, select “Interface” at the top of menu.
Interfaces

Change “Resolution Scale” setting higher from 1.00 which was set as a default.
Resolution Scale

Here under is the default UI text size with Resolution Scale set as “1.0”.
Default UI size

I changed Resolution Scale as “1.2” then got below UI text size.
Resolution 1.2

Getting Add-on soft “Screencast Keys”

Watching Rico’s basic Blender lecture, I thought it is very useful to show “Screencast Keys” in the working window how I click the keys and mouse button. Then, I tried to get the Add-on soft into Blender. Copilot guided me to get the Add-on soft from below address.
Screencast Keys
Screencast Keys page

Click “download” letter at the bottom of right side.
click download

A “zip file” was downloaded in PC.
Don’t extract the Zip FIle, since Blender Add-on setting is designed to work with “zip file”. Keep it as Zip File condition.
zip file

Open “Preferences” from Edit pulldown menu.
Open Preferences

Select “Add-on” in the left side row.
Add-ons in Preferences

Click “Install from Disk” which appears by clicking “v” button at left top corner of the window.
Click Install from Disk

Find the downloaded Add-on file “add-on-screencast-keys-****.zip”
Find the downloaded file

Choose the Add-on zip file and click “Install from Disk” button.
Install from Disk

COnfirm “Add-ons” list so that “Screencast Keys” is checked.
confirm if it is checked

Grab the left edge of the working window to open the tabs and check if the “Screencast Keys” tab exists.
alt text

Check the box at the top of “Screencast Key” tab so that “mouse” shape will appear at the left bottom corner.
default setting

Change “Font Size” such as 50 and “Mouse Size” such as 140 so that you can see easily in the working window.
change size of mouse and letter

Explore how Blender works

Thanks to Rico, we got Blender Basic Tutorial video this year.
I decided to follow it step by step.

There are 4 windows in Blender display.
* Modeling Window
Modeling window

  • Windows Explore in Blender
    Windows Explore

  • Properties Window
    Properties Window

  • Auxiliary WIndow
    Auxiliary Window

To add new shape design, “Shift + A” Key to activate “Add” list.
shift + A

Type “Cylinder” to find the “Cylinder” format.
cylinder to add

“G” & “Z” key to Grab and move “Z” direction and control the position by mouse
draw cylinder

“S” & “Y” key to Scale change for “Y” direction and control the size by mouse
scale Y down

To set actual drawing size, select “Scene” at Properties window.
Set actual size of each body

Set “Units” at “Unit Scale” as “0.001” and select “Millimeters” at the “Length”.
Set units

Both “Viewport Overlays” setting is recommended by setting “Scale” as “0.001”.
Viewport Overlays setting

Set actual size you want for the selected model at “Item” tab in the right wall.
In this case set “X=10mm”, “Y=10mm”, “Z=10mm” Set actual size of selected model

For example, select “Cube” at the list of Explore on the right top, and change the “Dimensions” from “20mm” to “40mm”, then the model shape will be modified as follows.

Dimension X=20mm
initial dimension as 20mm
Dimension X=40mm
X dimension changed

Now, let me make the two models combine into one model.
Open “modifiers” window at the “Preferences” in the right side.
Modifiers window

Add Modifier button to press
Add Modifier

Select “Generate” -> “Boolean”
select Boolean

Choose “Union” in the “Add Modifier” window to combine the models.
choose Union

Select the other model with the dropper icon to combine.
select the other body with dropper

You will see the texture change at the combined other body part.
This is because it was doubled in the same position, and this texture disappears by “closing the eye” of the old “cylinder” model in the Explore list.
result of boolean

In this condition, the model is not really combined as one model.
If you move the “Cube” model by “G” key, the “Cylinder” model is not moving.
not yer combined condition

Apply “Union” Boolean by selecting the “Apply” from the menu.
Apply Union

Confirm if the models are combined by moving the model.
You see original cylinder and combined model now.
confirm by moving the model

Original cylinder model is still visible in the Explore window.
original cylinder model

Let me close the eye mark of original cylinder on the list.
closing eye

Then, you can see there is no more strange texture on the cylinder part any more.
confirm no texture anymore

Now, add another shape from “Mesh” -> “UV Sphere”.
UV Sphere

Scale up the “UV Sphere” with “S” key and mouse.
Then, select the “Cube” as the object to modify and choose modifier window.
scale up the UV Sphere

This time, let me remove the “UV Sphere” part from the “Cube”.
So, choose “Difference” button in the “Modifier” window, and pick the “UV Sphere” model with dropper icon by mouse control.
pick object with dropper

“UV Sphere” with Difference button was picked.
picked model

Now, you close the eye at the Explore list of “Sphere”.
The, you will see the result of Difference Boolean by “UV Sphere”.
closed eye shows the result

Here is the result.
result