Skip to content

Instantly share code, notes, and snippets.

Last active February 24, 2019 18:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
From InkScape to DXF

From InkScape to DXF

1. Save in Inkscape as PDF

Draft your design in InkScape. If there's any text, convert it to a path before or during exporting (Path → Object to Path).

Save as PDF (tested PDF v1.5).

2. Convert PDF to DXF

pstoedit -f "dxf: -ctl -mm" shape.pdf shape.dxf

Install the tool using

sudo apt install pstoedit


yum install pstoedit

3. Import into FreeCAD

Tested with FreeCAD 0.16.

Use the "legacy Python importer" (check this under Preferences → Import-Export → DXF).

4. Import into LibreCAD

Tested with version 2.1.2.

Use File → Import → Block and select the DXF file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment