Integrated into default Import/Export Menu

Encapsulated PostScript - AI compatible (*.eps)

Source of documentation: https://github.com/tzunghaor/inkscape-eps-export

AI compatible EPS export for Inkscape 0.92 (might work with older versions too). This script converts an Inkscape SVG to Adobe Illustrator 7 compatible EPS. The generated EPS file uses custom Illustrator PS operators, and includes PostScript processes that stands in place of said operators when the file is not opened with Adobe Illustrator. The script exports layers, groups, paths, clones, clipping paths, fill, stroke, gradient fill into a format that Illustrator understands.

Warning This script is not extensively tested. Since its dual nature, it is possible that the result looks different in Illustrator than in other programs.

Known limitations

Features

(It’s not a bug, it’s a feature!)

The generated *.eps files do not work in Roland CutStudio. For this case please use Open in Roland CutStudio Plugin

FreeCAD Sketch Export

This extension is tested to work with FreeCAD up to version 0.21. On Linux Ubuntu 24 LTS we can install that older version by sudo apt install freecad=2:0.21.2+dfsg1~202407140123~ubuntu24.04.1.

Newer versions 1.X require some updates of this extension, because the library changes are large and might be bundled within AppImage on Linux. The FreeCAD python modules can be ripped off by ./<appimage-name> --appimage-extract.

grafik.png

Draw some shapes and paths and save it as FCStd

grafik.png

Open in FreeCAD

FreeCAD 1.X will give a warning about recalculating the file.

grafik.png

grafik.png

 

GCode Import

Source of documentation: https://github.com/ClayJarCom/ImportGCode

ImportGCode

An Inkscape input extension to add support for some G-code files to the File/Import... dialog.

Notes

Reconsituting Designs from G-Code

Importing G-code is easy. Turning it back into something worthwhile may be a bit more work, but in many cases a good result can be reached without too considerable an effort.

V-Carves

First import your V-carve G-code:

Now you need to turn it back into something resembling the original geometery. For V-carves, this is actually quite easy.

Standard Carves

First, import your G-code:

Unlike V-carves, there's a bit more involved when reconsituting geometry from G-code.

grafik.png grafik.png

GPX Import

Source of extension: https://inkscape.org/de/~mono/%E2%98%85inkgpx2svg

Get some GPX file

You can get some example files for testing this out at https://www.openstreetmap.org/traces

We use https://www.openstreetmap.org/user/jamesks/traces/3366867 for testing

grafik.png

Run the extension

grafik.png

Check the result

grafik.png

LaserDraw Export (lyz)

Source of extension: https://www.scorchworks.com/LaserDRW_extension/LaserDRW_extension-0.06.zip

Draw some stuff

grafik.png

Export it

grafik.png

Import in LaserDRAW

grafik.png

LaserDraw Export (zip)

grafik.png

Please see LaserDraw Export (lyz) for more details about this extension

OpenSCAD cookie cutter file output

Generate a 3D-printable OpenSCAD cookie cutter file out of an Inkscape document.

Sources:

Instructions also available at https://www.instructables.com/3D-Printable-Cookie-Cutters-With-Inkscape-and-Open

Create SVG File

grafik.png

Load file into Inkscape. Then:

  1. Select all. (Ctrl + A)
  2. Path | Object to Path.
  3. Object | Ungroup.
  4. Remove all fill. (Click on X in color palette in lower-left corner of Inkscape screen)
  5. Turn on all outlines to black. (Shift-click on black square in color palette.)
  6. Delete duplicate lines, remove fine detail that won't work well in a cookie.
  7. Turn outside outline red. This should be a single polygon.
  8. Turn outline of any inside walls (holes) green.
  9. If there are any details or inside walls not connected to the outside wall, add filled-in polygons connecting the details to the outside wall. I did this by duplicating the outside walls, so I could re-use parts of their paths.

Generate 3D Files

grafik.png grafik.png

  1. In Inkscape, go to File | Save As... and choose "OpenSCAD cookie cutter file". Save the file. Make sure you give it a .scad extension.
  2. Load file into OpenSCAD.
  3. Adjust parameters at the top of the file to taste. The size parameter is the size of the cookie cutter in millimeters. Adjusting this will resize the cookie cutter without changing wall thickness, which is handy.
  4. Press the cube+hourglass icon at the top of the code to generate mesh.
  5. When done, press the STL button to generate an STL file.
  6. Print! We recommend food safe filament with 0.2mm layer size.

Optimized with svgo (*.svg)

Source: https://github.com/juanfran/svgo-inkscape

grafik.png grafik.png grafik.png grafik.png

More documentation can be found at https://github.com/svg/svgo

Use this with "Save As" in "File" dialog

grafik.png

You can also use the integrated default Save As module of Inkscape to save an optimized SVG file. Inkscape has integrated support for scour

grafik.png

Note: There's also an extension which does the same https://github.com/konsumer/inkscape-svgo (only compatible to Linux)

Photoshop PSD (*.psd)

grafik.png

Requires gimp to be installed. The command gimp needs to be in %PATH% ($PATH)

QCAD SVG to modern DXF

This extension uses QCAD Pro 3.X to convert an Inkscape SVG file to a nice DXF file, which has continuous polylines. It was created because the DXF12/DXF14 default export plugins of Inkscape do not allow to create proper DXF files in some manner, when it comes to more special use cases like part nesting with third party software. The rewrite of the Inkscape exporter plugins would be possible but is a complex thing to do so. As we support open source Sofware, let's use QCAD to solve it using it's powerful and easy to use libraries.

While Inkscape is not able to properly solve the polyline problem in exporting DXFs, it handles it correctly when importing DXF files, even the modern ones like DXF 2018 (R32). This was thoroughly tested though.

Warning: This extension does not work with QCAD CE (Community Edition), because it makes use of the pro's version (~40 €) advanced library functionality. So please do not make use of default installations like apt install qcad or dnf install qcad.

Short explanation of the issue

A default circle, converted to a path, looks like this in Inkscape:

grafik.png

Exported to DXF 14 and reimported to Inkscape looks like this:

grafik.png

It comes as a group, but not as a single path.

Color misinterpretion

Using OpenDesign DXF library from QCAD, we get wrong colors. Black gets brown or blue for example. The reason is not known. So we use the builtin DXF R15 by dxflib by default. This supports correct color set.

grafik.png

How to use the extension

Buy and install QCAD Pro by downloading it from the provided installation source URL (this info is received after payment).

#install qcad as regular user
chmod +x *.run
./qcad-3.28.2-pro-linux-x86_64.run

Then you can use the extension from GUI to export SVG to QCAD/DXF

grafik.png

Manual process

The following script is used to convert SVG to proper DXF:

To make this work, ensure QCAD is not already running.

vim polify-dxf.js
include("scripts/ImportExport/SvgImporter/SvgImporter.js")
include("scripts/Pro/Draw/Polyline/PolylineFromSelection/PolylineFromSelection.js");
include("scripts/ImportExport/SvgImporter/SvgImporterInit.js");
RFileImporterRegistry.registerFileImporter(new SvgImporterFactory());
qApp.applicationName = "MyApplication";
var storage = new RMemoryStorage();
var spatialIndex = new RSpatialIndexSimple();
var document = new RDocument(storage, spatialIndex);
var di = new RDocumentInterface(document);
const importer = new SvgImporter(document);
di.importFile("/home/tomate/Downloads/DXF-Test.svg");
di.selectAll();
var tolerance = 0.001;
PolylineFromSelection.autoJoinSegments(di, tolerance);
 
//use legacy dxflib to have correct colors. using the export of "OpenDesign" modify original colors, like black #000000 is getting #00004C or sth. like this
//di.exportFile("/home/tomate/Downloads/DXF-Test.svg.dxf", "R32 DXF");
di.exportFile("/home/tomate/Downloads/DXF-Test.svg.dxf", "dxflib");
/home/himbeere/opt/qcad-3.28.2-trial-linux-qt5.14-x86_64/qcad -autostart polify-dxf.js > /dev/null 2>&1

See also https://qcad.org/rsforum/viewtopic.php?t=8471

Roland CutStudio *.eps Export

See Open in Roland CutStudio. This extension does the same export but it will not call CutStudio. Instead it will save an importable *.eps file to the selected target directory by export menu.

WebP Import

Import *.webp image files using ImageMagick conversion. Routine is webp → png → svg → write into Inkscape canvas.

You need to install ImageMagick. The command magick or convert needs to be in path variable, otherwise the extension will fail.

Fedora:

sudo dnf install ImageMagick

Ubuntu:

sudo dnf install imagemagick

Windows:

https://imagemagick.org/script/download.php#windows

Add the binary folder to %PATH%

Example Dialog

grafik.png