← Back to Weekly Assignments

Computer-Aided Design

Introduction

In Week 02, I focused on exploring various computer-aided design (CAD) tools to model both raster and vector images, as well as 2D and 3D models. The objective was to create a possible final project design, compress images and videos for documentation, and share the design files. This week was crucial for understanding how to visualize and plan a project using digital tools before fabrication.

Objectives & Strategy

Model (raster, vector, 2D, 3D, render, animate, simulate, ...) a possible final project, compress images and videos, and post a description with design files. This assignment focuses on exploring different digital design approaches to plan and visualize a final project before fabrication.

Design Strategy

Before opening any CAD software, I defined the objectives of the design process. The goal was not simply to learn different software packages, but to understand how each design approach contributes to digital fabrication.

  • Create vector graphics suitable for laser cutting and documentation.
  • Create raster graphics for image editing and presentation.
  • Develop parametric 3D models that can later be manufactured.
  • Evaluate different CAD software based on workflow and capabilities.
  • Produce optimized media for fast-loading web documentation.

Instead of relying on only one software package, I intentionally explored multiple CAD environments so I could understand their strengths, limitations, and appropriate use cases.

Requirements

  • Model raster graphics
  • Model vector graphics
  • Create 2D and 3D CAD designs
  • Render a model
  • Create an animation
  • Compress images and videos
  • Share design files

Tools & Software Comparison

Design Tools Selection

To complete this assignment, I explored different 2D and 3D design tools and evaluated them based on usability, precision, and output quality.

  • Inkscape: Considered as an alternative for vector-based technical drawings.
  • GIMP: Used it for modeling the raster images.
  • SolidWorks: Used for 3D modeling of the electronic enclosure and structural components.
  • FreeCAD: Used for 3D modeling of my final project, helping to convert the 2D design into a detailed 3D representation for visualization and future fabrication.

CAD Software Comparison

Software Type Advantages Limitations
Inkscape Vector Free, SVG support Limited advanced illustration tools
GIMP Raster Powerful image editing Not vector based
SolidWorks 3D CAD Professional and precise Commercial software
FreeCAD 3D CAD Open source Less polished interface

Process & Documentation

Using Inkscape and GIMP to Model 2D Vector and Raster Images

Choosing Inkscape and GIMP for 2D modeling workflows provides a 100% free, open-source ecosystem that completely eliminates the recurring subscription costs of proprietary software like Adobe Creative Cloud. When paired together, they form a production pipeline that matches the capabilities of expensive corporate suites.

Design Approach

To approach this task, I first explored different design strategies. Two main approaches were considered:

  • Using vector tools like Inkscape for technical drawing

I chose Inkscape because it allows better alignment, faster workflow, and produces a clean and modern layout suitable for documentation.

GET Inkscape

I have previously downloaded and installed Inkscape on my local PC, but if you want to access it you can download it from the official website: Download Inkscape v1.4.2
After downloading it, you can install it by following the installation instructions provided on the website.

Using Inkscape to Model Vector Image

Here is the Inkscape opening screen where I modeled the vector image for the foundational visualization of my final project, including key sections in that design.

Inkscape interface opening

I opened a new file in Inkscape to start designing the vector image and set the canvas dimensions to 2000px × 2000px to ensure adequate design space and high export quality.

Canvas dimensions setup

To become familiar with tools like Inkscape and GIMP, I decided to work on different images: one being my 2D final project designed from scratch, and another being a cartoon image downloaded from Pinterest: Download image from Pinterest.

I opened Pinterest online and searched for an image, choosing a cartoon cat design.

Pinterest image selection

I downloaded the image locally to ensure proper file access.

Downloading image from Pinterest

After downloading, I verified the file on my computer.

Image verified locally

Next, I launched Inkscape to model the vector graphic.

Inkscape homepage

I imported the downloaded image into Inkscape to test vector trace features.

Importing image into Inkscape
Selecting file for import
Default import settings
Imported image on canvas

From there, I tested different trace features. First, I used Single scan:

Single scan tracing

Next, I changed to Multicolor scan:

Multicolor tracing

Then I tested Pixel art mode:

Pixel art trace result

Because I wanted a clean vector format, I selected the Single scan output for the final composite vector graphic.

Vector composite output

The resulting image is in SVG file format, which is the standard format for scalable vector graphics.

SVG file format saved

For documentation purposes, I also exported the graphic as a PDF for easy access.

Exporting PDF file

Raster Image Creation With GIMP

Installation and Setup of GIMP

To create and process raster images, I used GIMP. Since GIMP was not pre-installed on my PC, I downloaded it from the official site.

Download GIMP

Official download link: Download GIMP

GIMP download site

I selected the Windows OS installer and completed the download.

Selecting OS version for download

I ran the installer setup, accepted the licensing terms, and executed the installation process.

GIMP installer step 1
GIMP installation progress

After clicking Finish, I launched GIMP to process raster media files.

Launching GIMP
GIMP welcome dashboard

I imported the image asset into GIMP to perform raster operations.

Selecting image in GIMP
Raster file setup in GIMP

To export the final raster image, I clicked File → Export As and selected the PNG format.

Exporting PNG format in GIMP
Final PNG raster graphic

Part 2: Using Inkscape to Model 2D Vector Project Concept

Creating the Frame

I started by creating a working canvas using the Frame tool. I set the dimensions to 2000px × 2000px to ensure high-quality export and sufficient workspace.

Canvas setup 2000x2000

Designing the Main Body

Using the Rectangle tool, I created the main clock body with dimensions 1400px × 1600px to give the design a smooth, balanced appearance.

Main clock body rectangle

Creating the Hour Disc

I added a circular element at the upper area of the main body to represent the hour disc.

Hour disc circle creation

I added numbers 1 to 12 around the hour disc using the Text tool to represent clock hours, positioning key markers (12, 3, 6, 9) along the perimeter.

Adding clock face numbers

Using the Line tool, I added hands to the center of the hour disc to indicate time.

Clock needle indicators

Adding Date, Month, and Year Discs

I created three additional 15mm diameter circles at the bottom to represent date, month, and year rotating discs.

Adding three lower rotating discs

Using the Text tool, I added alphanumeric labels inside each disc for Date, Month, and Year readings.

Adding date labels inside discs

Adding Sensors

I added circular elements along the perimeter to represent environmental sensors (temperature, gas, and motion).

Adding sensor graphic elements

I labeled each sensor element clearly using the Text tool.

Labeling temperature, gas, and motion sensors

Adding Speaker System and LED Indicators

To indicate audio output and system status, I created a grid of small circles to simulate LED indicators and added a rectangle between the hour and month discs to represent the speaker system.

Speaker grill and LED array layout

Final 2D Layout

I aligned all graphic elements and verified spacing to produce a clean 2D layout representing the smart digital clock structure.

Final 2D layout in Inkscape

Editing the Raster Image in GIMP

Opening layout in GIMP

I modified the graphic in GIMP by adding the overlay title "AURA Robot Interface".

Adding text overlay in GIMP

I saved the project source file in native GIMP `.xcf` format.

Saving native XCF file

Raster vs Vector Design Comparison

Raster images are composed of a grid of individual colored pixels, whereas vector graphics are defined mathematically through points, lines, curves, and geometric shapes.

Raster vs vector visual comparison

Zooming into both formats highlights the fundamental resolution differences:

Raster vs vector pixelation comparison

Raster Image Zoom (Pixelation visible)

Raster image zoomed in showing pixels

Vector Image Zoom (Infinite scaling/crisp edges)

Vector image zoomed in showing clean lines

3D Modeling Using SolidWorks and FreeCAD

Choosing SolidWorks and FreeCAD allows for complete exploration of parametric mechanical engineering across both industry-standard commercial tools and open-source platforms.

Modeling a Phone Stand in SolidWorks

I designed a phone stand to practice parametric 3D modeling for electronic enclosures and functional desktop accessories. This accessory serves as a companion dock for viewing notifications and interacting with the smart clock interface hands-free.

I selected the Front Plane to start the base sketch.

SolidWorks plane selection

Using the Line tool, I sketched the profile outline of the stand.

Initial 2D line sketch

I added Smart Dimensions to fully constrain the sketch geometry.

Applying dimensions
Fully defined sketch with dimensions

I applied Sketch Fillets to sharp corners to improve ergonomics and aesthetics.

Adding sketch fillets

Using the Boss Extrude feature, I extruded the base profile to a width of 80mm.

Extrusion parameter setup
3D extruded solid body

I switched to the Right Plane to create an additional cable pass-through feature.

Selecting Right Plane

I sketched a slot cutout profile for charging cable routing.

Sketching charging slot cutout
Dimensioning slot feature

Using Extruded Cut, I removed material through the body to create the port opening.

Extruded cut operation

Here is the completed solid model after performing extrusions, fillets, and cutouts.

Completed phone stand CAD model

3D Design of AURA Enclosure Using FreeCAD

To explore open-source 3D CAD modeling, I used FreeCAD to convert the 2D AURA robot layout into a complete 3D parametric assembly.

Download and Install FreeCAD

I downloaded FreeCAD for Windows from the official site: Download FreeCAD

FreeCAD download page

I executed the installer and completed the setup steps.

FreeCAD setup screen 1
FreeCAD user selection
Selecting components
Installation folder configuration
Installation progress bar

I launched FreeCAD and navigated to the Part Design Workbench.

FreeCAD launch screen
Selecting Part Design Workbench

I sketched a base rectangle using sketcher lines and constraints.

Sketching rectangle in FreeCAD

Pressing D on the keyboard allowed me to add geometric dimensions to the profile.

Adding dimensions in FreeCAD

I extruded the sketch profile to create a 5mm base thickness via Part Design → Pad.

Padded 5mm feature

I updated the pad length to 20mm to accommodate internal electronic components.

Updating pad thickness to 20mm

I applied 5mm fillets to round the external enclosure corners.

Applying 5mm fillets in FreeCAD

I added sketch circles for the Date/Month/Year discs and main hour display, extruding them 5mm outward.

Extruding disc features in 3D

I applied custom material appearances to differentiate display elements from the main housing body.

Applying materials in FreeCAD

Final FreeCAD Design Model

Final 3D model in FreeCAD

Connection to Final Project

The AURA Smart Clock modeled during this assignment serves as the blueprint for my final project. The 2D vector work established UI element placement, while the 3D modeling helped define internal structural clearance and enclosure assembly details required for physical fabrication.

Rendering, Animation, and Simulation in SolidWorks

1. Rendering

Rendering converts raw 3D CAD geometry into photorealistic images by applying materials, textures, lighting, shadows, and reflections.

To assign materials: Right-click model → Appearance → Plastic → Medium Gloss → Blue Medium Gloss Plastic.

Selecting appearance properties
Rendered colored model

Purpose of Rendering

  • To visualize the final product realistically
  • To improve design presentation and communication
  • To evaluate colors and materials before fabrication
  • To create professional documentation images

2. Animation (Motion Study)

Animation illustrates product motion across time using the SolidWorks Motion Study tool and keyframes.

I opened the Motion Study tab to initiate the animation sequence.

Opening Motion Study tab

Under Orientation and Camera Views, I configured viewport control keyframes.

Configuring camera keyframes

I launched the Animation Wizard tool.

Clicking Animation Wizard

I selected Rotate Model as the animation type.

Selecting Rotate Model

I specified rotation along the Y-axis and clicked Next.

Setting Y-axis rotation

I set the animation duration and start time parameters.

Setting duration and start time

I calculated and previewed the rotational sequence.

Playing animation preview
Animation timeline view

Simulation

I performed a static FEA study in SolidWorks Simulation to evaluate stress distribution and structural deformation under applied mechanical loads.

1. Simulation Setup

To enable the FEA tools: Tools → Add-Ins → SolidWorks Simulation.

Enabling simulation add-in
Add-ins configuration window
SolidWorks Simulation selected
Simulation tab activated

2. Material, Fixtures and Loads

I created a new Static Study named phonestand test.

Creating new static study
Naming study phonestand test
Simulation feature tree

Applying Fixtures

Fixtures define boundary constraints by locking specific faces in space to model fixed contact points.

Selecting fixture tools

I applied Fixed Geometry constraints to the bottom face of the base.

Applying fixed constraint to base
Fixed geometry applied

Applying External Loads (Force and Torque)

I applied a normal force of 1 N to the resting surface, alongside a minor torsional load, to evaluate linear stress and rotational tendency.

Applying 1N force
Applying torque load
Load vectors displayed

Mesh Generation & Mesh Quality

A finite element mesh was generated to discretize the solid body into solid tetrahedral elements for numerical analysis.

Mesh generation parameters
Meshed model visualization

Material Assignment Requirement

Since the initial run halted due to undefined material properties, I assigned a plastic material to provide density, Poisson's ratio, and yield strength parameters.

Material prompt window

Right-click model name → Apply/Edit Material → ABS Plastic → Apply.

Selecting plastic material
Material assigned successfully
Running FEA study

Simulation Video

The video below details mesh generation, solver computation, and Von Mises stress plot visualization.

Image and Video Compression

Design Workflow

  1. Project idea development
  2. Vector design using Inkscape
  3. Raster image creation using GIMP
  4. 3D modeling using SolidWorks
  5. 3D modeling using FreeCAD
  6. Rendering
  7. Animation
  8. Compression of media files
  9. Documentation

To ensure fast web loading times, I optimized all media assets:

  • Images were compressed using MiniWebTool (reducing file size from ~400 KB down to ~80 KB).
  • Videos were compressed using HandBrake to reduce resolution and overall bitrate.

Image Compression Process

To compress image assets without visible quality degradation, I used the online compression tool at MiniWebTool Image Compressor.

After opening the page, I uploaded images via file browser drag-and-drop, selected target quality compression levels, and downloaded the optimized image files for documentation hosting.

MiniWebTool image compression interface