Using Inkscape to Generate Gcode: Difference between revisions
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
#Yes! Convert Object to Path in Path menu in inskscape | #Yes! Convert Object to Path in Path menu in inskscape | ||
#Export gcode. | #Export gcode. | ||
#How do you know g-code is valid? Use [[OpenSCAM]] - see [https://www.norwegiancreations.com/2015/08/an-intro-to-g-code-and-how-to-generate-it-using-inkscape/]. | #How do you know g-code is valid? Use [[OpenSCAM]] - see [https://www.norwegiancreations.com/2015/08/an-intro-to-g-code-and-how-to-generate-it-using-inkscape/]. To install a deb package, use a tool called [[gdebi]] | ||
=MJ Notes= | =MJ Notes= |
Revision as of 02:52, 21 December 2019
Gcode Plot
- Video 1 - [1]
- GcodePlot extension for inkscape. Inkscape post - [2]. Github - [3]. Instructable - [4]
- Pen holder 3D design - [5]. Simplest way - is a flat piece of plastic. Support should be 2-point for parallelogramming (goes straight down) or 4 point for straight up-down - though 2-point parallelogramming should likewise produce straight up-down. See D3D Universal#Plotter pen holder design.
Instructions
From Instructable, in pertinent part, after installing extension:
- Restart or start Inkscape.
- Load the SVG file you want to draw or cut into Inskcape. The lower-left corner of the page in Inkscape corresponds to the minimum X and Y coordinates you measured in the previous step. Make sure your images fit into the print area.
- Convert the drawing to a path: ctrl-A to select everything, then Path | Object to Path.
- Save to gcode:
- File | Save As...
- Select: "3-axis gcode plotter" ... And a massive popup comes out. Should be self-explanatory, outside of:
- Make the area SAME in document size as the X and Y in the output settings. Straightforward.
Exercise
- Get your hands on SVG files. Since there are more PNG than SVG available in the wild - convert PNG to SVG first with Inkscape - [6]
- Take a file such as
. But would need to convert it to vectors. Power user material.
- So start with a vector file - File:Axis Idler LAI SVGs.zip
- Yes! Convert Object to Path in Path menu in inskscape
- Export gcode.
- How do you know g-code is valid? Use OpenSCAM - see [7]. To install a deb package, use a tool called gdebi
MJ Notes
- Installed GcodePlot for Inkscape
- Drew in inkscape. Set coordinates the same in Save As Gcode and in Document/Settings for the document
- Viewed the file in https://ncviewer.com/. Line I drew showed up, but not the text.