Computer Controlled Cutting
🖱️

Computer-Aided Design

WEEK 2

Objectives

This document discusses computer-aided design (CAD) and the differences between vector and raster graphics. It also covers 2D design using AI tools, editing raster images using Photopea, converting raster images to vector format using Inkscape, and 3D modeling using Fusion 360, including rendering and adding decals.

2D Design

As I already had some experience in 2D software like Photoshop, illustrator and Inkscape, In this week I wanted to explore 2d designs using an AI tool.

Vector vs Raster

Vector and Raster graphics are two different ways of representing images in digital format.

Vector graphics are made up of paths, which are defined by a start and end point, along with other points, curves, and angles along the way. These paths can be easily resized without losing quality or becoming pixelated, as they are defined mathematically. They are most commonly used for logos, illustrations, and types.

Raster graphics, on the other hand, are made up of pixels arranged in a grid. Each pixel has a specific color value and cannot be resized without losing quality. Raster graphics are best suited for photographs and other images with smooth colour transitions, as they can represent a wide range of colours and shades.

To sum up, vector graphics are highly scalable and well-suited for creating illustrations, whereas raster graphics are better suited for photographs as they can accurately represent a wide range of colors.

A useful way to identify whether an image is a raster file is to look for blurriness or pixelation, as these are common artefacts of low-resolution raster images.

*formats of vector and raster images

2D Design

As I already had some experience in 2D software like Photoshop, illustrator and Inkscape, In this week I wanted to explore 2d designs using an AI tool.

Getting a raster image

DALL-E

Results from DALL-E

Results from MIDJOURNEY AI

I asked Midjourney AI for an illustration of a futuristic small indoor autonomous bot with a rectangular shape having four wheels

these were the results I got, and to be honest I was not that convinced by the output, it's may be because i was not able to convey my idea properly

logo for the AGV

Photopea

Photopea | Online Photo Editor
Photopea Online Photo Editor lets you edit photos, apply effects, filters, add text, crop or resize pictures. Do Online Photo Editing in your browser for free!
https://www.photopea.com/

The logo was further edited in the photopea and this was the result:

the final image

Inkscape

Inkscape 1.2.2 - Windows : 64-bit : msi | Inkscape
None - Windows Installer Package
https://inkscape.org/release/inkscape-1.2.2/windows/64-bit/msi/?redirected=1
*Download Inkscape from here

In Inkscape, we can use the "Trace Bitmap" feature to convert a raster image to a vector format.

  1. Open Inkscape and import the raster image File > Import.
  1. Select the imported image and go to Path > Trace Bitmap.
  1. In the "Trace Bitmap" window, choose the "Brightness Cutoff" option if you want to convert the image to a black and white vector format, or choose the "Colors" option if you want to convert the image to a vector format with multiple colours.
  1. Adjust the settings in the "Options" section to fine-tune the conversion process. You can choose different threshold values, smoothing options, and corner smoothing settings to get the desired result.
  1. Click on "OK" to apply the changes and convert the image to a vector format.

Once the image is converted to a vector format, we can edit it and make any necessary adjustments using Inkscape's vector editing tools.

A Raster image

this is a raster image u can see the pixels

I also tried converting our Fablab logo into a vector, since it will be needed as a decal when rendering my 3d model

Before
after

3D MODELING

3D CAD designing

I had some experience in CAD designing using Solid Works and Catia and for the Fabacademy projects i am going to use Fusion 360 as I got the license for that and it is much easier to use for doing small projects also our instructor told me that we will be doing electronic and PCB boards using fusion 360, so its better to get the grip now

3D modelling in Fusion 360

Fusion 360

Fusion 360 is a cloud-based 3D computer-aided design (CAD), computer-aided manufacturing (CAM), and computer-aided engineering (CAE) software developed by Autodesk.

— —

Designing in Fusion 360

  • first open a new design

Joints

So here our model is almost complete so its time to add some color to it,

Appearances / Rendering

Rendering is done to make a photorealistic image or animation of a 3D model by applying materials, textures, lighting, and other visual effects to a 3D model, it will be a representation of how it would appear in the real world.
Fusion 360 has a built-in rendering engine called "Arnold Renderer," which is a the high-quality, physically-based rendering engine used in many industries, including film and television.

* these are the colors and materials that I have added

Adding decals

  • in fusion 360 you can add decals to your models,

Rendering

  • First we have to change the workspace to rendering

  • now select in canvas render
  • we can also change the environment and play with the lightnings
  • here i am just opting the default settings

  • copy these settings for fast rendering

  • when you have get the desired output, save it by clicking this button

  • set the size and press ok

This is the rendered image


Files: