Skip to content

Computer-Aided Design

Assignments:

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

Click this link to view my rough time schedule for this course.

Here is this week’s schedule:

2D Design

  • Before I start with the designs, let’s see the differences between vector and raster images :

Inkscape

Inkscape is a free and open-source vector graphics editor software. It’s used for creating and editing scalable vector graphics (SVG) and supports various design and illustration tasks.

Click there to learn how to download inkscape

Firstly I drew the logo for my final project

Then, adjusted the document settings in Inkscape:

Import the image and align it.

Use the pen to draw the logo:

This is how it looks:

THAT’S IT FOR INKSCAPE!! LET’S MOVE ON TO GIMP

GIMP

Click here to learn how to download GIMP

Firstly, I opened the the image I wanted to edit. Then I removed the background of the image.

Here is the image I wanted to edit:

After editing the above image, I decided to keep the image below as the background image:

Here is the output:

I personally enjoyed using GIMP and it was a fun experience.

THAT’S IT FOR GIMP!! LET’S MOVE ON TO STABLE DIFFUSION

Stable Diffusion AI

Stable Diffusion AI employs advanced algorithms for precise substance spreading simulations, ensuring reliable and accurate results in complex artificial intelligence models

Here is the output:

My experience:

As a result of Stable Diffusion’s exploration, AI replicated my changed image, demonstrating the quick speed at which technology is developing. Even still, the artificial intelligence’s sense of accomplishment was insufficient. It became clear that although technology is fantastic, it might not adequately convey the distinct value that results from investing time, effort, and care into creating an image. It emphasized the significance of realistic innovation in an ever-changing environment.

Link - Use this link to use stable diffusion

THAT’S IT FOR GIMP!! LET’S MOVE ON TO IMAGE MAGICK

Image magick

ImageMagick is a powerful open-source software suite for image editing, conversion, and manipulation, supporting various formats and operations programmatically.

Click here to know how to download image magick

I used image magick for image compression. Here are some commands I used for compression:

Here is a sample:

 magick convert magicklogo.jpg vs.png +append join.jpg

The output:

THAT’S IT FOR IMAGE MAGICK!! LET’S MOVE ON TO GIMP!

3D Design

Onshape

Onshape is a cloud-based, collaborative 3D CAD software for product design, accessible anywhere, fostering real-time collaboration and efficient product development workflows

Use this link to use Onshape

Using Onshape for the first time was quite fun; however, I am planning to use Fusion 360 in the long term.

I made a coffee cup using onsphape and it looks pretty good!(or that’s what I think). So first of all sign in to onshape.

After logging in, create a document and a sketch to excrude:

1

Now, make the cylinder hollow and use fillet to smooth it:

2

Create an offset plane and then start sketching the circles for the handle:

3

Use spine or arcs to sketch the handle:

4

Use sweep to bring the sketch to life:

5

Here is how the cup looks like!!!:

6

I used 2 youtube videos as a reference and here are the links: Onshape beginner design

How to make a coffee cup handle?

THAT’S IT FOR ONSHAPE NOW LET’S MOVE ON TO FUSION!

Fusion 360

Fusion 360 is 3D design and manufacturing software, enabling collaborative creation, simulation, and planning for diverse industries through cloud-based tools.

Click here to learn how to download fusion

I wanted to design a box that would be used in my project.

Now let’s make it!!

Firstly, create a sketch:

sketch

It is up to you whether you want to add parameters or not.

Now create a new component

Alt text

Then, create a midplane and split the body

split

Now, to make the box hollow, use the timline to edit this way: Alt text

After checking if the box is hollow using section analysis, start creating the parts of the hinge:

Alt text tan

Good job! Now, excrude like this :

Alt text

Do the same thing for the top part of the box :

Alt text

Here also use section analysis to check the design.

After that create a new component like this:

i

Now finally create a joint like this:

joint

Using section analysis check the joints:

sa

I used This link to make the box.

THAT’S IT FOR FUSION!! (PHEW..) LET’S MOVE ON TO FFMPEG!

Ffmpeg

I used ffmpeg for video compression. Here are some commands I used:

  1. Basic Conversion:

Convert a video file to another format:

ffmpeg -i input.mp4 output.avi
  1. Changing Video Resolution:

Resize a video:

ffmpeg -i input.mp4 -vf scale=640:480 output.mp4
  1. Extracting Audio:

Extract audio from a video file:

ffmpeg -i input.mp4 -vn -c:a copy output.mp3

CLick this to view the softwares I used this week

THAT’S IT FOR FFMPEG!! LET’S MOVE ON TO 3D GENERATOR AI!

Text-to-CAD AI

Text-to-CAD AI refers to artificial intelligence technology that interprets and converts textual descriptions or instructions into Computer-Aided Design (CAD) models. It allows users to generate detailed designs by describing them in natural language, streamlining the design process and enhancing productivity.

My experience:

I tried a text-to-CAD AI, but unfortunately, it didn’t accurately generate what I described. The results fell short of my expectations, leaving me somewhat disappointed with the outcome.

Here is how the generated image looked like:

Link: Use this link to use this ai

Files:

THAT’S IT FOR THIS WEEK!!

Learning outcomes

  • Evaluate and select 2D and 3D software
  • Demonstrate and describe processes used in modelling with 2D and 3D software
  • Usage of AI to model.

Have A Good Day!


Last update: February 9, 2024