DXF export results in segmented paths - not hatchable

Asked by unfa on 2018-07-09

A company I work at uses laser marking systems. I've been working with these recently and I discovered a problem with DXF files exported from Inkscape. I've noticed that problem before, but I never needed to hatch a path so it wasn't a deal breaker.

Right now we export DXF files form Corel Draw X5 - these are then imported into laser engraving software and hatched fro marking.

When I tried to do the same using Inkscape instead of Corel Draw - the hatching didn't work as expected. At first I couldn't understand what is going on, because it seemed that only small parts of the imported shape are hatched - the ones closes to the edges - then it came to me what is going on.

Inkscape's DXF exporter seems to split every path into individual spline segments - each becoming a separate object.

When fill of hatch is then applied, each individual curve segment is filled on it's own, but not the overall shape - which usually means that only tiny parts of the curves are being affected, leaving great majority of the shape empty.

I've tried using a built-in function to merge close points in the laser marking software, but it made no difference.

If this problem is fixed, we can migrate our workers form Corel Draw to Inkscape :)

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2018-07-09
Last reply:
2018-07-09
TylerDurden (8thrule) said : #1

I understand your issue. You might try using a free /low cost CAD program to convert to a spline.

Here's a link to files that might be helpful: https://www.dropbox.com/sh/df0s8tr1zvvajt6/AADJ3qVjTt05N8VqOmRZNZJ8a?dl=0

Contents:
Original SVG
Exported DXF from Inkscape
DXF converted to spline using MoI3D

There are other free/low cost CAD out there to test, I simply tried MoI3D since I already own it.

TD

TylerDurden (8thrule) said : #2

Looks like LibreCad can modify the file and save for possible hatching, using dxf2007 output. Ive added that to the shared folder.

TD

Hachmann (marenhachmann) said : #3

To get the bug fixed / the feature implemented, it might also be useful to notify developers of the issue. You can search Inkscape's bug tracker, and create a new report if you cannot find the issue here:
https://bugs.launchpad.net/inkscape

Can you help with this problem?

Provide an answer of your own, or ask unfa for more information if necessary.

To post a message you must log in.