Using Inkscape for laser cutting: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 50: Line 50:
[[File:dino10.png|thumb|600px|none|2. Result of the operation. This still needs to made into a single path (degroup all and union)]]
[[File:dino10.png|thumb|600px|none|2. Result of the operation. This still needs to made into a single path (degroup all and union)]]


[[File:dino11.png|thumb|600px|none|3. Final result]]
[[File:dino12.png|thumb|600px|none|3. Final result]]


== Using fonts ==
== Using fonts ==

Revision as of 18:59, 28 October 2016

Draft

Introduction

Inkscape is a popular tool within creative commons/opensource communities, e.g. fab labs and for several reasons:

  • The drawing tool is decent enough
  • It supports the popular SVG format (and uses an extended version for itself). This allows publishing drawings directly on an HTML5 page. In addition, there are nice repositories for drawings, e.g. http://clipart.org or the https://thenounproject.com.
  • There are interesting extensions and probably, over time, there will be more.


Before you start: Make sure to install the latest version. We found that Inkscape 0.49 (that somehow survived in the program files (x86) directory) did not produce proper print files for cutting.

Using Inkscape with Trotec laser cutters

Trotec CO2 laser cutters seem to work like most other laser cutting machines:

  • Very thin lines (< 0.01mm or < 0.25pt) are coded with a color and then cut according to settings for each color.
  • Other geometry is also encode with a color and then engraved according to settings for each color. Alternatively there is a "picture" mode that takes into account all objects for engraving.

Make sure to create files that include

  • fine lines for cutting (if you need to cut)
  • standard lines and fills for engraving

You cannot engrave fonts. Once you are happy with a font, make a copy of the file and save it, then convert fonts to paths. Verify that both fills and lines are defined.

Working with patterns

Generate from path extension

Let's assume that you want add objects along a path and/or use a series of objects along a path for some subtractive () geometry:

  • Make sure that object to be repeated is on top of the other drawings.
  • Select first the object you want to repeat, then the path (holding down the SHIFT key)
  • Select Extensions->Generate from Path-> Scatter
  • Use the preview to play with parameters. Distances seem to be in pixels

If you now want to substract the pattern from another path, e.g. a dinosaur

  • Create a layer for the dinosaur
  • Copy paste the dinosaur, splice out a path (read the Using Inkscape for web animation)
  • Create a second layer for the pattern
  • Make a single path from the rectangles and the path. Select all, ungroup all, then path->Union
  • Position if not already done so.
  • Select the dinosaur
  • Select the new pattern
  • Path-> Difference


The three pictures below illustrate the procedure

1. Select both an object to replicate and a path
2. Result of the operation. This still needs to made into a single path (degroup all and union)
3. Final result

Using fonts

Fonts for cutting

It probably is best to convert fonts to paths, add stroke and remove fill.

Fonts for engraving

Globally speaking, a font used for engraving:

  • should neither be too thin (details being lost) or too fat (too much materials to remove)
  • should not be too cramped (e.g. like TimesRoman). There should be some space between letters.

The Hershey text Inkscape extension includes fonts that are nice for engraving, i.e. so-called stroke-based fonts.

Resources

There are commercial specialized websites that provide fonts suitable for cutting and engraving.

Image processing

I'd have to see the Trotec Control software which does have some built-in image processing facility.

Importing

  • Import the picture
  • Object->Transform->Scale

Greyscale and contrasts

  • Transform to Greyscale (the laser only has 1 color, i.e. depth): Filters -> Color -> GreyScale
  • Play with contrast and brightness to make the picture more "black and white" and still preserve details you want to engrave: Filters -> Color -> Lightness Contrast

Aggregate

  • Aggregate pixels to larger surfaces. You can use various filters for that (optional)
  • Raytrace the whole thing, i.e. translate pixels to vectors. (optional): Path -> Trace Bitmap
    • I suggest (for now) playing with brightness cutoff, e.g. select 0.2 to take away greys, also

List of extensions

First, learn how to install extensions. Basically, you have to find the extension directory and then copy all the files

Some extensions may not work, either because they were not tested on your operation system or because they are not compatible with your inkscape version.

JigSaw Extension

This extensions allows to generate puzzles. Tested in Inkscape 0.91, Ubuntu 16LTS in Sept 2016.

Read and Download

Test under Ubuntu 16 LTS

  • This works, under the condition to copy manually the contents of the *.py and *.inx files from Github. Click to open, then "raw", then copy/paste.
  • The puzzle may to too small to see when you try it first time, since the lines are very faint. Make it bigger.

Lasercut box

This extensions allows to create "saw tooth" boxes. Tested in Inkscape 0.91, Ubuntu 16LTS in Sept 2016.

EggBot extension

The eggbot is a open-source art robot that can draw on spherical or egg-shaped objects. The Inkscape eggboot extension eases the design process for writing and drawing on eggs. However, some of its functionality can be useful for laser cutting and engraving, in particular the Hershey fonts which generate drawings (glyphs as opposed to fonts).

Seamless Pattern extension

(not yet tested)

For engraving larger surfaces it is better to use a nice pattern (as opposed to "milling" off a whole area)

  • Download (click on the small download arrow).

However, this extension does not seem to be browser compatible, i.e. may produce some kind of raster format (to be tested).

Alternatively, Inkscape does have built-in "pattern" facility. Not so easy, search for tutorials.

Links

Official