DXF Export Workflow

Post questions on how to use or achieve an effect in Inkscape.
nickwit
Posts: 11
Joined: Thu Jan 31, 2013 1:33 pm

DXF Export Workflow

Postby nickwit » Mon Jan 16, 2017 12:45 pm

Hi All


I've been using inkscape quite happily for years, with my own laser-cutters etc... all good.... but now I'm increasingly having to send files to proper grown-up engineers, and they all seem to use software like Autocad,

So... I need to get files into a format where they can import them without having to manually tweak things. The DXF import (and plugins) from Inkscape don't achieve this terribly well - there are always issues of turning curves into straight-line segments etc... so I figured that what I need to do is export them, then open them in draftsight (a younger sibling to the software used by the engineers), and from that I can export in whatever format they require.

So.... exporting a DXF from inskcape directly produces an hillariously bad import into draftsight. An "O" comes out as a drunken octogon.

I read that the Big Blue Saw creator (this plugin used to work, but no longer does for me) uses Pstoedit... a (linux) command-line tool... seems like that might be a good idea, but when I do

Code: Select all

pstoedit -dt -f -v dxf:-polyaslines\ -mm infile.eps outfile.dxf


But this outputs an empty DXF file

Code: Select all

  0SECTION
  2
HEADER
  9
$ACADVER
  1
AC1009
  9
$EXTMIN
 10
0.0
 20
0.0
 30
0.0
  9
$EXTMAX
 10
1000.0
 20
1000.0
 30
0.0
  9
$FILLMODE
 70
 0
  9
$SPLFRAME
 70
 1
  0
ENDSEC
  0
SECTION
  2
TABLES
  0
TABLE
  2
LAYER
 70
1
  0
LAYER
  2
0
 70
     0
 62
     7
  6
CONTINUOUS
  0
ENDTAB
  0
ENDSEC
  0
SECTION
  2
ENTITIES
  0
ENDSEC
  0
EOF



So... not sure where to go from here.


Any ideas?





Nick

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: DXF Export Workflow

Postby tylerdurden » Mon Jan 16, 2017 1:17 pm

I take dxf files from Inkscape to CAM and CAD fairly often, without much issue and reasonably high precision.

Have you got come example files to share?
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

nickwit
Posts: 11
Joined: Thu Jan 31, 2013 1:33 pm

Re: DXF Export Workflow

Postby nickwit » Mon Jan 16, 2017 1:52 pm

Hiya - attached is a file I'm tinkering with at the moment.

If I output that as DXF, then reimport that into Inkscape, it's perfect.

If I try to import it into draftsight, it comes out looking like Flintstones letters... the O has 7 sides.

Maybe it's a resolution setting in draftsite or something.

(goes and checks draftsight)

Yup... if I click

Code: Select all

View > Rebuild All


It renders perfectly.

So that's that fixed :)

Thanks for your help. It might look like a self-fix, but until you answered, I'd given up :)
Attachments
final.svg
(9.15 KiB) Downloaded 158 times

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: DXF Export Workflow

Postby tylerdurden » Mon Jan 16, 2017 2:20 pm

Glad to hear you've got it sorted. ::thumb-up::

I will occasionally check files with more than one program; there are a number of free ones (and plenty of spendy ones).

I should also say I prefer to do cad operations in a cad program and use Inkscape for operations that cad can't easily do, but I'll mash the output of either into whatever program is needed to finish the project(s).
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Help with using Inkscape”