CAD Cover

2. COMPUTER-AIDED DESIGN

[ MISSION: MASTER THE DIGITAL TOOLS ]

This week's mission: Master the digital tools. I explored both 2D and 3D environments to prototype my electric skate components.

2.1 Vectorial & Raster (2D)

For the 2D design, I focused on converting raster images into vector maps. This is essential for CNC cutting and laser engraving.

  • Software: Inkscape vs Illustrator
  • Task: Vectorizing a custom graphic for the skate deck.

2D Vectorization Process

STEP 01

Import & Embed Image

Go to File > Import to bring your raster image (JPG/PNG). Always choose "Embed" to ensure the source remains within the document.

[ RECOMMENDED_SPECS ]

  • Resolution: At least 300 DPI for sharp edges.
  • Contrast: High contrast (Pure Black & White is ideal).
  • Size: Larger than 1000px on its shortest side.
  • Source: Avoid blurry or "noisy" compressed images.
Importing image to Inkscape
STEP 02

Trace Bitmap

Select the image and go to the Path menu in the top bar. Choose the "Trace Bitmap" option to open the vectorization settings.

Trace Bitmap menu
STEP 03

Generate Vector

After applying the settings, a second image (the vector) will be generated right on top of your original raster image with the changes applied.

Generated vector
STEP 04

Generate Vector

Click on the vector and then on the "objects" section an click on filling and edges.

Generated vector
STEP 05

Customization

Now you can modify the vector to your liking: change the outlines (stroke), fill colors, or apply gradients to refine the design.

Customizing vector
STEP 06

Export for Laser

Once finished, if you need the file for laser cutting or CNC, save your work in .DXF format to ensure compatibility with the machines.

Exporting to DXF
Why vectorize?

CNC

Vectorizing is a crucial step because CNC and Laser machines operate on Cartesian coordinates ($X, Y$ movement). By converting my images into vectors, I provide the machine with precise paths to follow, ensuring clean cuts and the ability to scale my design without losing resolution.

Exporting to DXF

Compressing videos

STEP 01

In order to compress videos for your page, you can use the software FFmpeg. This tool allows you to reduce file size significantly without losing visible quality.

FFmpeg Process

[ CLICK IMAGE TO VIEW SOURCE ]

STEP 02

Open the terminal in your computer.

FFmpeg Process

STEP 03

Go to the terminal and paste the following line to compress your video:

ffmpeg -i input.mp4 -vf "scale=-2:720" -c:v libx264 -preset slow -crf 30 -pix_fmt yuv420p -movflags +faststart -an output_new.mp4
FFmpeg Process
Command Function
-i input.mp4 Defines the Input file name.
-vf "scale=-2:720" Sets the Resolution to 720p (keeping aspect ratio).
-c:v libx264 Uses the H.264 codec for high compatibility.
-crf 30 Controls Quality (0-51). 30 is a great balance.
-an Removes Audio to reduce file size even more.
output_new.mp4 The name of the Result file.
STEP 04

If an error occurs like the one on the image, it is most likely that you have to install FFmpeg in the terminal (using winget or setting environment variables) so the terminal can find the program.

FFmpeg Process

STEP 05

If an error occurs like the one on the image, it is most likely that you have to install FFmpeg in the terminal (using winget or setting environment variables).

⚠️ IMPORTANT: Another common error is the File Path. FFmpeg won't find your video if the terminal is not "standing" in the correct folder. Check the default path written in your terminal; if it doesn't match where your file is, the program will return a "No such file or directory" error.

FFmpeg Process

[ CHECK_DIRECTORY_PATH_DEFAULT ]

STEP 06

Navigating with 'cd'

To fix the path error, you need to "move" the terminal to the folder where your video is located using the cd command:

  • cd Documents - Moves you inside the Documents folder.
  • cd .. - Moves you back one level (upstairs).
  • cd "Folder Name" - Use quotes if the folder has spaces.
Pro Tip: You can type cd and then drag and drop the folder directly into the terminal window to get the full path automatically.
Using CD command

[ MASTERING_THE_PATH ]

[ SYSTEM LOG: AI COLLABORATION ]

PROMPT_02

"Can you add a menu for the 2 different tutorials?."

PROMPT_03

"Can you add a new icon for the downloading files section?."

> STATUS: DOCUMENTATION_OPTIMIZED_BY_GEMINI_3_FLASH
📦

MISSION ASSETS ACQUIRED

Download the complete ZIP with .STL, .STEP and .SLDPRT files.

GET .ZIP