Using Inkscape with the Laser Cutter: Difference between revisions

From Knox Makers Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
The preferred method for creating files for the [[Laser Cutter]] is Inkscape  It can be downloaded here: [https://inkscape.org/en/download Inkscape].
The preferred method for creating files for the [[Laser Cutter]] is Inkscape  It can be downloaded here: [https://inkscape.org/en/download Inkscape].
In addition, Knox Makers has a bundle of Inkscape extensions for use with our machine.  They can be downloaded here: [https://github.com/KnoxMakers/KM-Laser KM-LASER].
In addition, Knox Makers has a bundle of Inkscape extensions for use with our machine.  They can be downloaded here: [https://github.com/KnoxMakers/KM-Laser KM-LASER].
In order to use the Laser Cutter, a member must be authorized through the [[Laser Operation Class]]


==Inkscape Basics==
==Inkscape Basics==
This tutorial shows how to make simple shape in Inkscape.  It is the same tutorial that is used in the [[Laser Operation Class]]
This tutorial shows how to make simple shape in Inkscape.  It is the same tutorial that is used in the [[Laser Operation Class]].  The extensions and instructions are unique to the Knox Makers system.
====Creating a shape====
====Creating a shape====
# Open a new file in Inkscape.
# Open a new file in Inkscape.
Line 41: Line 42:
|}
|}


==Path to Gcode==
====Creating Path to Gcode====
This extension is the work horse for the bundleIt takes the paths from your design and turns them into gcode required to run our laser cutter.  This extension is based on part of [http://www.cnc-club.ru/forum/viewtopic.php?t=35 Gcodetools] but has been heavily altered for our purposes.
# Make sure none of your items are selected(You be sure by going to Edit > Select All and then Edit > Deselect)
# Go to Extensions > KM LASER > Output: GCode File
# Under tab File Options, choose your path and filename
# Under tab Preset Values, choose your Material and select Power: By Color
# Click Apply
# When it is finished outputting, the window will not close, but a green box will be on your picture.


====Uploading your file====
# Go to goldfinger.knoxmakers.org
# Choose your account (or create one if you haven't yet)
# Upload your file to your account


Here's a video showing how to set up the file options the first time you use Path to Gcode:


<youtube>2WTO7oB30-4</youtube>




This extension lets you use different stroke colors to represent different laser powers (cut, engrave(heavy), engrave(light)).  Here's a video showing the use of the By Color presets option:
<youtube>XYkYeYYVZeM</youtube>
When using the By Color option the following stroke colors translate to the labeled actions:
{| cellspacing="0" cellpadding="5" border="1"
!Color
!Action
|-
|#000000
|Cut
|-
|#ff0000
|Cut
|-
|#0000ff
|Engrave (Heavy)
|-
|#00ffff
|Engrave (Light)
|}
'''NOTICE: When setting the hex values in Inkscape, the value is actually RGBA which has an alpha (opacity) value at the end so you will need to add an ff to the end of the values above.
'''


==Hatch Fill==
==Hatch Fill==

Revision as of 15:53, 18 April 2017

The preferred method for creating files for the Laser Cutter is Inkscape It can be downloaded here: Inkscape. In addition, Knox Makers has a bundle of Inkscape extensions for use with our machine. They can be downloaded here: KM-LASER. In order to use the Laser Cutter, a member must be authorized through the Laser Operation Class

Inkscape Basics

This tutorial shows how to make simple shape in Inkscape. It is the same tutorial that is used in the Laser Operation Class. The extensions and instructions are unique to the Knox Makers system.

Creating a shape

  1. Open a new file in Inkscape.
  2. Go to Edit > Preferences and select Geometric Bounding Box
  3. Create a shape (square, circle, or star button)
  4. Choose select tool (arrow button)
  5. Select your shape
  6. Set X and Y positions to 0
  7. Set width and height (click padlock button to keep image proportional)
  8. Go to Extensions > KM LASER > HERSHEY TEXT
  9. Type the text into the box and click Apply
  10. Use the X and Y positions to center your text in your shape

Setting the color of your shape to determine the level of engraving

  1. On the bottom, to the right of the color bar is a small arrow ( < ). Click this and select KM-Laser by Color
    • Clicking palate color will select object's fill color. Shift+clicking palette will set the object's stroke color.
  2. Set your shape to black stroke with no fill.
  3. Set your text to light blue stroke with no fill.
    • When using the By Color option the following stroke colors translate to the labeled actions:
Color Action
#000000 Cut
#ff0000 Cut
#0000ff Engrave (Heavy)
#00ffff Engrave (Light)

Creating Path to Gcode

  1. Make sure none of your items are selected. (You be sure by going to Edit > Select All and then Edit > Deselect)
  2. Go to Extensions > KM LASER > Output: GCode File
  3. Under tab File Options, choose your path and filename
  4. Under tab Preset Values, choose your Material and select Power: By Color
  5. Click Apply
  6. When it is finished outputting, the window will not close, but a green box will be on your picture.

Uploading your file

  1. Go to goldfinger.knoxmakers.org
  2. Choose your account (or create one if you haven't yet)
  3. Upload your file to your account



Hatch Fill

This extension allows you to fill in any closed figure in your design with lines or crossed lines. This is useful when you want to engrave an entire area within your design. This extension is based on part of the eggbot extensions.


Here's a quick video on how to use it:


Hershey Text

Hershey Text produces single-stroke text that is appropriate for cnc engraving or plotters. This extension is based on part of the eggbot extensions.


Here is a quick video on the difference between it and Inkscape fonts:


Tabbed Box Maker

This extension creates the paths necessary to cut out tabbed boxes. This extension is based of the extension you can find here.


Here's a quick video on how to use it: