Difference between revisions of "Workshop: Introduction to 2D CAD (with Inkscape)"

From Design and Build Lab
Jump to navigation Jump to search
(started section on setting up designs for cam softwares)
(first big edit pass; add Checklist)
Line 3: Line 3:
 
This tutorial will cover the basics of 2-dimensional [[Computer-aided design]] (CAD) using the software Inkscape.
 
This tutorial will cover the basics of 2-dimensional [[Computer-aided design]] (CAD) using the software Inkscape.
  
You may have used a digital drawing program before - perhaps MSPaint, or Paint.net, for example. Most digital drawing programs end up storing the image you create in '''bitmap''' form: it is made of an array of pixels, and each pixel is assigned a certain color. There is another way, however, to store image information: in the form of vectors. A '''vector''' is nothing more than at least two points in 2D space, in between which a line is drawn. In actuality, vectors are equations for a line, defined by the xy values of each of the points.
+
== Vectors ==
 +
You may have used a digital drawing program before - perhaps MSPaint, or Paint.net, for example. Many drawing programs, including the two previously mentioned, store the image you create in '''bitmap''' form: it is made of an array of pixels, and each pixel is assigned a certain color. There is another way, however, to store image information: in the form of vectors. A '''vector''' is nothing more than at least two points in 2D space, in between which a line is drawn. In actuality, vectors stored as equations for a line, defined by the xy values of each of the points.
  
 
Why does this matter? Unlike a bitmap - which can be recreated in the real world with something like a dot-matrix printer - a vector drawing can be interpreted by a fabrication device which has xy controls and which understands equations. These devices make it possible to fabricate much more intricate designs than devices which work with bitmaps.
 
Why does this matter? Unlike a bitmap - which can be recreated in the real world with something like a dot-matrix printer - a vector drawing can be interpreted by a fabrication device which has xy controls and which understands equations. These devices make it possible to fabricate much more intricate designs than devices which work with bitmaps.
Line 14: Line 15:
 
*Node handles (for creating Bezier curves)
 
*Node handles (for creating Bezier curves)
  
 +
== Object properties ==
 
Object and path properties:
 
Object and path properties:
  
Line 19: Line 21:
 
*Fill
 
*Fill
  
 +
== The Inkscape UI ==
 
Inkscape UI is fairly straightforward:
 
Inkscape UI is fairly straightforward:
  
Line 26: Line 29:
 
*Floating windows which can be docked (including Stroke and Fill, Layers, et al.)
 
*Floating windows which can be docked (including Stroke and Fill, Layers, et al.)
  
 +
== Layers ==
 
Layering is a way of organising the objects on the canvas. This is useful for perspective, as well as for grouping.
 
Layering is a way of organising the objects on the canvas. This is useful for perspective, as well as for grouping.
  
Make sure, as with all digital design packages, to save early and save often. You will want to make sure to save as type .SVG (Scalable Vector Graphics).
 
  
Which machines in DaBL use vector files for fabrication:
+
Make sure, as with all digital design packages, to save early and save often. You will want to make sure to save as type .SVG (Scalable Vector Graphics)
  
*ULS PLS4.75 Laser cutter
+
==Preparing your designs for CAM==
*GCC Jaguar VLX Vinyl cutter
+
If you're eventually going to be using one of DaBL's machines to fabricate your design, some considerations are in order. Each machine's CAM software has a specific way of interpreting your design; as such, setting up your design in a certain way may work for one type of machine, but not another. Each of the following CAM packages will allow import of 2D vector files:
*Bantam Tools PCB mill
 
  
== Preparing your designs for CAM ==
+
* [[Universal Control Panel (software)|Laser cutting with UCP]]
In certain situations, a manufacturing machine may say that it will accept your design file but might have certain restrictions on those design parameters so that the CAM software will understand. This section will explore some of the specific design procedures to setup your CAD design for a specific CAM software.
+
* [[GreatCut (software)|Vinyl cutting with GreatCut]]
 +
* [[Bantam Tools (software)|Milling with Bantam Tools software.]]
  
=== Laser cutting with UCP ===
+
== Workshop checklist ==
The laser cutter's CAM software, universal control panel (UCP)
+
By the end of this Workshop, you should:
 +
 
 +
# Understand what vectors are.
 +
# Know how to resize the canvas and change the default measurement units.
 +
# Be able to move elements around the canvas..
 +
# Know how to work with vectors, including how to split and merge them.
 +
# Know how to work with layers.
 +
# Be able to snap elements to other elements.
 +
# Understand and utilize stroke and fill to change the appearance of elements.
 +
# Know how to change the default color system and manipulate the palette.
 +
# Be able to save your design as a PNG and as a PDF.

Revision as of 20:17, 3 September 2019

(Generally, this workshop is offered at least once every two weeks on a rotating basis. Check the Lab calendar for up-to-date availability!)

This tutorial will cover the basics of 2-dimensional Computer-aided design (CAD) using the software Inkscape.

Vectors

You may have used a digital drawing program before - perhaps MSPaint, or Paint.net, for example. Many drawing programs, including the two previously mentioned, store the image you create in bitmap form: it is made of an array of pixels, and each pixel is assigned a certain color. There is another way, however, to store image information: in the form of vectors. A vector is nothing more than at least two points in 2D space, in between which a line is drawn. In actuality, vectors stored as equations for a line, defined by the xy values of each of the points.

Why does this matter? Unlike a bitmap - which can be recreated in the real world with something like a dot-matrix printer - a vector drawing can be interpreted by a fabrication device which has xy controls and which understands equations. These devices make it possible to fabricate much more intricate designs than devices which work with bitmaps.

There are many vector-drawing applications; each effectively has the same capabilities, just organized differently. In DaBL we use Inkscape, because it is cross platform as well as free.

Vector components:

  • Nodes (for anchor points)
  • Node handles (for creating Bezier curves)

Object properties

Object and path properties:

  • Stroke
  • Fill

The Inkscape UI

Inkscape UI is fairly straightforward:

  • Tools panel on left
  • Drawing canvas in middle
  • Snapping panel on right
  • Floating windows which can be docked (including Stroke and Fill, Layers, et al.)

Layers

Layering is a way of organising the objects on the canvas. This is useful for perspective, as well as for grouping.


Make sure, as with all digital design packages, to save early and save often. You will want to make sure to save as type .SVG (Scalable Vector Graphics)

Preparing your designs for CAM

If you're eventually going to be using one of DaBL's machines to fabricate your design, some considerations are in order. Each machine's CAM software has a specific way of interpreting your design; as such, setting up your design in a certain way may work for one type of machine, but not another. Each of the following CAM packages will allow import of 2D vector files:

Workshop checklist

By the end of this Workshop, you should:

  1. Understand what vectors are.
  2. Know how to resize the canvas and change the default measurement units.
  3. Be able to move elements around the canvas..
  4. Know how to work with vectors, including how to split and merge them.
  5. Know how to work with layers.
  6. Be able to snap elements to other elements.
  7. Understand and utilize stroke and fill to change the appearance of elements.
  8. Know how to change the default color system and manipulate the palette.
  9. Be able to save your design as a PNG and as a PDF.