Skip to content
Snippets Groups Projects
Computer-aided Design.md 7.91 KiB

Computer Aided design

This week I tried to explore new softwares I haven't used before. I also tried to figure out what software is good for what purpose and when to use which one.

2D design

Raster vs Vector

Raster Images are made of pixels. Pixels are the smallest pi(x) -cture el -ements that contain colour information. They follow a co-ordinate system and are generally square, sometimes rectangular in shape. They do not scale up without loss of quality. They allow control over individual pixels.
Some raster formats:

JPEG/JPG (Joint Photographic Experts Group): JPGs can be compressed with a control on quality and file size. So they are good for web browsers. Generally the standard screen resolution for internet images is 72 ppi. JPGs support the 24-bit colour palette. I use this format for photographs.

GIF (Graphics Interface Format): GIF works well for illustrations and animations. It supports a maximum of 256 colours per frame (8-bit per pixel) selected out of the 24-bit RGB palette. It uses lossless compression. I use this format for animations with less number of colours.

PNG (Portable Networks Graphic): PNGs support transparency, so they are very useful for non-rectangular looking images. It uses lossless compression just like GIFs. I use this format for images with text or line-art and transparent background.

TIFF (Tagged Image File Format): This format is used to store large sized images that need high quality for print. It contains a lot of meta information, so is good for editing.

There are other formats like RAW, NEF that are super editable and large when your camera captures an image.

Adobe Photoshop needs a subscription. It is my go-to software for photo editing. I use it quite often to manipulate raster images to transform them or remove backgrounds for objects, etc.

GIMP Since I haven't used it before, this week I explored GIMP. It is an open-source raster image editor. It is good as a free-form paint tool, for image retouching and format converting and compressing.

Here are some experiments in GIMP.

Free-form sketching to represent an initial idea by exploring brushes:

Image retouching by modifying colour levels, saturation, etc:

These screenshots have been resized and compressed in GIMP as well.

Workflow for this documentation: Image from screenshot(PNG) or phone camera(HEIC) > Edit in Photoshop/GIMP > Compress/Resize with ImageMagick

Vector images are made of points connected by curves to form polygons or other shapes. Vector images are controlled by equations, so they are infinitely scalable, without loss of quality. I have been using Adobe Illustrator extensively to make/edit vector images. Vector Formats:

AI (or CDR):These are generally made in Adobe Illustrator (or Corel Draw) and completely editable. They are generally stored separately for editability and saved as other formats depending on application.

EPS (Encapsulated PostScript): This is a versatile format used by all editing softwares, both vector and raster.

There are other formats like SVG and EMF that I don't use as much.
PDF (Portable Document Format) is a versatile format that can be either raster or vector depending on the way it was created. PDFs support text, vector images, bitmap images, interactive links, encryption, fonts etc. Adobe Illustrator needs a subscription, it is my go-to software for illustrations or diagrams. I use it often to manipulate vector images.

Adobe Illustrator I like to use this for diagrams and digitising sketches or hand-written notes.
Workflow: I upload a photograph of the notes (written with thick pens works better). Perpendicularly shot with no shadows/ uniform light. Opening this and selecting it makes the image trace pop open. Open the image trace panel and adjust the threshold, paths, corners, noise. Keep the preview on, so I can see the changes while I fine-tune the result. Explode and ungroup. Tweak some curves if required. Add colours, etc.

INKSCAPE I explored Inkscape to make charts and diagrams. A combination of lines, text, illustrations, etc. I save the file in both editable vector format, so I can evolve it in the future. And a png/jpeg for presentation or communication.

Here is a fun isometric cube pattern made in Adobe Illustrator. I wanted to explore Inkscape, but apparently it is not supported in MacOS 11s yet.

I first made an isometric grid using the line tool and specifying angles:

Next, I did a boolean divide through the pathfinder tool.