Inkscape

From HeatSync Labs Wiki
Jump to: navigation, search

Inkscape is a free, opensource, vector graphics software. Having been less than version 1 for slightly less time than OpenSSL was, it is has now achieved "production" status with version 1. It can be downloaded for your system from Inkscape.org.


Contents

to add

set the document space to the size for the large laser (ctrl-shift-r)

Uses

It is useful for a lot of different things, but the initial focus of this article is going to be for creating designs to laser cut.

Getting started

  • Install software. I'll leave that to you. I'm running on a Mac, so screenshots will be from there, but you can translate.

Caveats

I'm largely self taught on Inkscape. So there might be things in this documentation that are a terrible way to do something. That's the joy of a wiki, update it with a better way if you know of one. Otherwise, this is what works for me.

Fix some defaults

Units of measure

Listen, I get it, we live in America. But "freedom units" have little place in precision and even less place in the software designed a decade ago by a Chinese software development company. So, you'll want to change your defaults to metric, or specifically, mm.

  • Change the Document Properties to mm

inkscape-document-properties.png

  • Change the grid units to mm

inkscape-grid-units.png

Really getting started

Create a new file

Standard stuff. File -> New. Now, you're going to see this big box on it. This is just your canvas, it is not something that is part of your drawing.

inkscape-canvas.png

Basic controls

Now, if you're expecting

  • Zoom out: - (i.e. hyphen, minus)
  • Zoom in: + (i.e. plus sign)
  • Other basic controls:

inkscape-basic-controls.png

Let's make a key chain tag

One of the most basic laser items, so good to start. Our key chain tag is going to have 3 simple elements:

  1. Be a small rectangle, 3 cm x 10 cm
  2. Have a hole for the key ring to go through
  3. Have a name on it

Draw rectangle

First, we're going to draw the outline of the tag. It's not important to get the size precisely right because we'll change that in the next section. You can actually size it by doing it initially, but want to show the process for how you can do it for any element.

Select the rectangle tool.

select-rectangle-icon.png

Then just click and drag to create the rectangle.

click-and-drag-rectangle.png

Resize rectangle

The rectangle isn't the size we wanted, so let's fix that. First, click or click and drag to select the rectangle.

select-arrow-then-rectangle.png

You can see where the Height and Width dimensions.

beginning-rectangle-size.png

Just click into those and change them to the desired dimensions. You'll recall we said 3 cm and 10 cm, which is 30mm and 100mm.

resize-rectangle-to-30x100.png

Draw hole

Now we need the key ring hole. So, we'll just make a circle. We want it close to the area we want, and we'll center it in the enxt step.

draw-circle.png

Align everything horizontal

There are all sorts of way to try to get this exact, but the best way is to just let the software do it for you. You'll see there are all sorts of options for alignment and distribution, we're going to have them centered.

align-circle.png

Here is what it looks like afterwards.

align-circle-result.png

Add text

Select the text tool and type in your information.

add-text.png

Resize text

Easiest way to resize is to just grab a corner and expand it. If you want to make sure it expands proportionally (so it doesn't just stretch width or height) it will do that if you just hold the Control key while you do it.

text-created-and-resized.png

Align horizontal again

Just do the same thing we did for the circle above.

Create layers

Layers are an easy way to separate the actions you might want on your design. So, in our case we know we want to Cut and Engrave. This way we can ensure we are organized on the export.

create-new-engrave-layer.png

Move things to easy to remember layers

Now, when I took this screenshot I was on my laptop, so I did it through the menus. You can also do this by selecting the object and using your right mouse button to move it to a layer.

move-text-to-engrave-layer.png

How to view layers

Make the layers either visible or not by clicking on the eye with the unnaturally large eyelashes. Here you can see how these look.

only-cut-visible.png

only-engrave-visible.png

Save your file

Make sure to save your file as an Inkscape svg.

save-your-file-as-svg.png

Object To Path

Now you want to turn your text in the file from being strokes (i.e. connected lines) to paths (i.e. long lines with different directions). This is done via the Path -> Object to Path command.

stroke-to-path.png

You might want to save your file again as a different Inkscape SVG after this step, because now that everything is a path, doing things like editing text becomes annoying.

You can be done here if you're planning on working on the Mini 60W Laser, but if you want to work on the Large 80W Laser you'll need to save it as a different format.

Do NOT Object to Path Everything

Unless you have a very good reason. When you do that, you risk turning lines you had, into pairs of strokes. If you select everything and then do "Object to Path" on the whole object, this is what it will look like when you bring it into LaserCut on the Large 80W Laser.

lasercut-all-s2p.jpg

Now, maybe it's not obvious what is wrong with this, after all, they're all vectors, right?

lasercut-bad-s2p.jpg

Notice how our cut lines, which used to be lines are now two lines. You then get into the position of attempting to delete one and figuring out which size you needed, etc. So, try to avoid that.

Save your file as DXF 14 too

Simply "Save As" and choose DX 14 as your format type.

save-your-file-as-dxf.png

Here are the options to select on the resulting popup.

dxf-popup.png

Making Your Job Easier

You can actually make your job in LaserCut easier if you set some things up in Inkscape. In particular, if you have a palette file configured in InkScape you can assign the colors there, and they will survive the transition to LaserCut. You might be tempted to try to do it with Layers as well, but that doesn't work.

Colors

There is a good tutorial on TinkerMill how how to setup Inkscape with a custom palette. I won't go into all of the details of that, but TinkerMill does want you to login to download their file. I didn't want to do that, so I created one by hand and loaded it up per the instructions. And Inkscape got into a crash loop that required me to burn it to the ground to get it running again. So, I got a different file and got it to work. Here it is. Follow the directions from TinkerCad.

On the Inkscape side you can color code your items by using the "Fill & Stroke" colors. In this case I have made "cut" red and "engrave" black.

inkscape-colors.png

And this is the resulting DXF when imported into LaserCut or LighBurn

lasercut-colors.jpg

Note that you'll still need to change the settings (upper right) on speed/power/etc, but now it's already grouped. So, a little work in Inkscape can save you some frustration on the laser side

Get your file to the laser

The lasers behave differently, so the specifics for processing the files will be on the individual laser pages. Regardless though, you're going to be "Sneakernet"ing your file via a USB drive, so make sure you have one handy.

External links

Personal tools