Skip to content

3. Computer Aided design

1. Weekly Brief Summary

I tried Inkscape and GIMP as 2D software, FreeCAD and Blender as 3D software. Although FreeCAD was completely new to me, I was able to understand the assembly functions.

2. Weekly Assignment Requirement

Model (raster, vector, 2D, 3D, render, animate, simulate, …) a possible final project, compress your images and videos, and post it on your class page.

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

3-1. 2D Vector Software / Inkscape

I had been using Adobe Photoshop and Illustrator on a regular basis, so I decided to try other tools.

How to install Inkscape (with Command Line)

  1. Access to Official Site (but…)

    You can get dmg files from Inkscape Official, but When I accessed that page, I couldn’t see it due to maybe a server glitch.

  2. Download XQuartz

    Inkscape run on XQuartz in Mac OSX. You have to download from XQuartz web site.

  3. Get Inkscape .dmg file via Terminal(homebrew)

    Since I couldn’t see the official page, I checked if there was another way to download it, and found out that I could install it from the command line (Refference).

    • brew update
    • brew cask serach
      • Error: Unknown command: cask

      • It means “I don’t have cask commands yet.”
    • brew install cask
    • brew tap homebrew/cask
    • brew install --cask inkscape

    then, I got Inkscape .dmg file at /Users/USERNAME/Library/Caches/Homebrew/Downloads.

    • img_01
    • hdiutil mount DIMGFILENAME
    • img_02

    Finally I found Inkscape on Desktop, and moved to Applications folder.

Make banner image with Inkscape

img_03

Operation Result
File → Property Change options, like document size, etc.
File → Import Import image files.
Object → Allign Appear align Options.
Right Click → Clip Clip objett according to front object shape.

img_04

img_05

Objects are constructed by Fill and Stroke, Opacity.
You can also use graduation and opacity controll.

I made banners and paste on top page, which link to weekly assignment pages.

img_06

3-2. 2D Raster Software / Photoshop and GIMP

Raster images is collection of pixels. It is suitable for complicated images like photo, but not good at transform like zoom in/out.

img_ADD

This image(portrait of me) open in Photoshop. As you zoom in, the pixels get bigger.

img_ADD

Raster tools are better than vector tools at drawing intuitive lines and giving gradual changes such as blotting and blurring. In this sample, I wrote line and blot out by smudge tool in Photoshop.

img_ADD

GIMP stands for GNU Image Manipulation Program ! It looks like same as Photshop. It seems that I can use my own scripts to process images automatically, with Script-Fu. Later I want to try it.


3-3. 3D Software / FreeCAD

I decided to try using FreeCAD. I was interested in it because it has similar performance to Fusion 360 and it is free. I will my own pinball machine, and there are many people who publish data of their own machines on the web, I decided to try modeling after them.

FreeCAD modeling

Install from Official Site. FreeCAD has many types of “Workbench”. I start with “part Design” and “Sketcher”.

img_07

img_08

Sketch Process

img_09

  1. Select Plane(XY, YZ, XZ or flat plane of exisiting objects)
  2. Using tools and draw sketch.
  3. Constrain all degrees of freedom
    • It is very important, and complicated for first time. I have to select points and type of contraint.
    • There are many types of constraint, Point to line, horizontal, vertical, perpendicular, length, degree, equallity, parallel …
    • If you have any under-constrained sketch, FreeCAD shows you warning message.
    • img_10

Make/Edit solid body

Choose constrained sketch and use tools for make solid body. For example…

“Pad” for extrude in one direction. img_11

“Fillet” rounds edges. img_12

“Create Pocket” from solid body plane. img_13

Practice

Thus I kind of knew how to create 3D model in FreeCAD.
Let’s try to make Example, one part of Pinball Bumper by fluxwood

img_14

Open STL file in 3D viewe, this time I use Rhinoceros and gauged it. use “MeshToNurb” and “Dim” command.

img_15

Write drawings and decide modeling process. img_16

Sketch, pad, sketch again, create pocket, chamfer it.

img_17

img_18

img_19

FreeCAD assembly

FreeCAD have assembly add-on workbench, “Assembly4”. However, FreeCAD 0.18 Addon manager doesn’t work well. It shows just only “3D_Printing_Tools” and I couldn’t solve it.

img_20

I changed FreeCAD version, 0.18 → 0.19. Finally it works well. The version distributed on the official website is 0.18, so I had to install 0.19 from FreeCAD github repository.

img_21

After making parts, move to “Assembly4” workbench, and click “Create a new Assembly 4 model”.

img_22

Need to Set Datum and LCS for each part to assembly. You can select up to four References. Select the Attachment Mode according to the number of references you have selected. This time, I’ll use Concentric.

img_23

img_24

I created one blank assembly model, one body and one bolt. All three items has LCS.

img_25

Select the Assembly model from the Combo view, select “Insert a link to Part”, and choose the part you want to use.

img_26

Select the Linked Part and Parent Part, and adjust the position by using the LCS of each.

img_27

img_28

Finally, I got one aseemblied model and two existing original parts.

img_29

3-4. Rendering & Animation / Rhinoceros

Then, I re-used Rhinoceros to render them. Import 2 STL files, and set materials by click + button and select types and color. By dragging material to objects, I can add material settings on them and Rendering image created by Render command refletcs its settings.

img_ADD

img_ADD

img_ADD

Also using Animation tool palette, I made animation from Rhinoceros. In this time, I used set up Path Animation, select camera path and target path, and set number of frames. Then I got a bunch of frames and its continuous movie on local html file. My movie below is caputured from local html fils.

img_ADD

3-5. 3D Software / Blender

I’m working on a Blender tutorial for clean rendering and animation production. I couldn’t complete it in time, but the modeling method is interesting, as if I’m kneading clay, directly manipulating the mesh.

I refer to Blender Tutorial Web site (Written by Japanese) and made dog-like-thing :)

img_30


4. Learning Outcome

  • Inkscape can be used in much the same way as illustrator.
  • FreeCAD requests strict sketch constraint.
  • Learned how to use the assembly function of FreeCAD.

What I felt

FreeCAD was very hard to get used to, but once I understood how it worked, it was easy to operate and easy to assemble and modify. I think I will use it as my main tool from now on.

I couldn’t get the time for GIMP and Blender, so I finished them halfway. I would like to redo them again when I need them.

6. Appendix

FreeCAD tutorial

Blender Tutorial, Mai shared in Asian Review

My Laptop Preferences

category spec
OS macOS Catalina ver.10.15.7
Hardware MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
Processor 2 GHz QuadCore Intel Core i5
Memory 16 GB 3733 MHz LPDDR4X
Graphics Intel Iris Plus Graphics 1536 MB

Last update: July 4, 2021