Skip to content

Commit d825450

Browse files
committed
Updated formating of README.md
1 parent 09837ad commit d825450

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,33 @@ lasercutcode
22
============
33

44
The idea of this workshop is to create a design in code which we can then cut out of wood, acrylic or card on the laser cutter.
5-
5+
### Introduction
66
We will use the Processing language, which is essentially Java with some additional libraries and an IDE designed to make it easy for beginners to get started. You will write code to produce a black and white bitmap image. Then you will then use a vector drawing package to transform your bitmap into a vector drawing that the laser cutter can cut. A bitmap image is just a big table of numbers which specify the color of each tiny sqaure of your image. A vector image contains a set of paths, or essentially equations that specify where the lines go. The laser cutter takes a vector image and cuts along the lines.
77

8-
There are a number of demo scripts to get you started:
98

10-
demo1: start here if you're a beginner
9+
### Getting started coding your image
10+
11+
This repository contains a number of demo scripts to get started. Clone it or download and unzip the zip file. Start up Processing and open up one of the demo scripts.
12+
13+
* demo1: start here if you're a beginner
1114

12-
demo2: intermediate
15+
* demo2: intermediate
1316

14-
demo3: more advanced.
17+
* demo3: more advanced.
1518

1619
Don't feel you have to stick with the demos though. Feel free to explore and create your own designs.
1720

1821
Once you have made an image you are happy with you want to convert it to vector format for cutting.
1922

20-
Converting bitmaps to vector with Inkscape (for those without Inkcape or an equivelent installed, email your bitmap to me and I'll do the conversion):
23+
###Converting bitmaps to vector with Inkscape
24+
(for those without Inkcape or an equivelent installed, email your bitmap to me and I'll do the conversion):
2125

22-
1) Import your bitmap: File -> Import (your image will be in a folder in your sketchbook)
23-
2) Trace the image: Path -> Trace Bitmap -> Ok
24-
3) Drag the vector image off the top of the bitmap one and delete the bitmap (you can test which image is the vector one by selecting it, running Object -> Fill and Stroke, and changing the color. The vector image will change, the bitmap won't.
25-
4) Resize your vector image: Select your image. On the tool bar along the top are little boxes mared W, H and a padlock icon. Toggle the padlock to locked so both dimensions scale together. Change the dropdown on the right of the H box to cm, and type into the H or W box to resize. Please keep your designs to roughly 5cm*5cm or smaller, just because we will have a lot of things to cut tonight :-)
26-
4) Save your file as an svg: File -> Save as-> yourname.svg. (The laser cutter actually wants dxf files, which Incscape can also produce but I'm going to combine people's things into batches to save set up time on the laser cuttter, so please create an svg)
27-
5) email it to me
26+
1. Import your bitmap: File -> Import
27+
2. Trace the image: Path -> Trace Bitmap -> Ok
28+
3. Drag the vector image off the top of the bitmap one and delete the bitmap (you can test which image is the vector one by selecting it, running Object -> Fill and Stroke, and changing the color. The vector image will change, the bitmap won't.
29+
4. Resize your vector image: Select your image. On the tool bar along the top are little boxes mared W, H and a padlock icon. Toggle the padlock to locked so both dimensions scale together. Change the dropdown on the right of the H box to cm, and type into the H or W box to resize. Please keep your designs to roughly 5cm*5cm or smaller, just because we will have a lot of things to cut tonight :-)
30+
5. Save your file as an svg: File -> Save as-> yourname.svg. (The laser cutter actually wants dxf files, which Incscape can also produce but I'm going to combine people's things into batches to save set up time on the laser cuttter, so please create an svg)
31+
6. email it to me
2832

2933

3034

0 commit comments

Comments
 (0)