It is currently Tue Nov 13, 2018 8:24 pm

 

SVG trace to DXF issue

Inkscape related questions and tips can be posted to this topic.
Gustav129
Posts: 64
Joined: Wed Sep 10, 2014 9:42 pm
Location: North GA

SVG trace to DXF issue

Postby Gustav129 » Mon Sep 12, 2016 9:06 pm

So, I hand trace a photo with "lines" in Inkskape. I save it as an SVG, to import into QCAD to make a DXF out of it.

When I open it in QCAD, I get "blocks" instead of lines. Basically an outline of each line. That requires me to do a lot of deleting of double lines. Is there a way to do just lines in Inkscape instead of lines being objects?

User avatar
Capstone
Posts: 1016
Joined: Fri Sep 13, 2013 8:42 am
Location: Washington D.C. Metro
Contact:

Re: SVG trace to DXF issue

Postby Capstone » Tue Sep 13, 2016 7:50 am

2 questions...

1. Are you using SheetCAM for g-code conversion?
2. Why aren't you importing the .svg file directly into SheetCAM? (NOTE: I used to say this was a no brainer, but lately, SheetCAM was updated and all of a sudden, the .svg import simply is not working too well. You now have to weld/lock/combine all of the elements of the drawing onto one layer otherwise SheetCAM will just scatter piece all over the place) But it is still better than converting it to DXF first.
Phil
It's all relative...
CNC Metal Design
Instagram CNC Metal Design
JD Squared 4x8
HT PM45, Miller 251 MIG

tcaudle
Posts: 1051
Joined: Tue Feb 28, 2012 6:47 pm

Re: SVG trace to DXF issue

Postby tcaudle » Tue Sep 13, 2016 3:19 pm

SVG is a complex file format that will hold all kinds of data and types of objects. Where as DXf only supports lines with no width other formats like EPS, SVG, AI and CDR support embedded bit maps, font styles , line types , bezier curves and colors. It depends on how the IMPORT (like in QCAD) handles all of the extra infomation.. You might try making all of the lines in the Inkscape drawing as "hairline" width. As Capstone siad you are causing yourself an extra step. Just import as an SVG into SheetCAM. It actually works better than a lot of DXF files. Evidently the import filter in SheetCAM ignores the attributes it does not need (like color, width , end types, etc)

Gustav129
Posts: 64
Joined: Wed Sep 10, 2014 9:42 pm
Location: North GA

Re: SVG trace to DXF issue

Postby Gustav129 » Tue Sep 13, 2016 5:30 pm

Nothing about SheetCAM has been mentioned.


I use Shop Data Systems at work for CAM. I can only bring in DXF's or DWG, which is what SDS saves drawings with.

So at home, when I just play around as a hobby, I use Inkscape to trace pictures to save as SVG.

If I have an SVG silhouette, I skip Inkscape completely and go to QCAD for DXF.

The only time I have issues is if Inkscape is used at all to create an SVG. If I draw a line with the line tool, I get a box for an SVG outline.

islander261
Posts: 146
Joined: Sun Jan 12, 2014 2:30 pm

Re: SVG trace to DXF issue

Postby islander261 » Tue Sep 13, 2016 8:46 pm

Hi Gustav129

You can save Inkscape drawings as a DXF by using the File>Save As menu item. I find that saving in older DXF versions usually provides the most universal file in the end.

John

User avatar
tnbndr
Elite Contributing Member
Elite Contributing Member
Posts: 1414
Joined: Mon Jan 09, 2012 4:30 pm
Location: New Berlin, WI
Contact:

Re: SVG trace to DXF issue

Postby tnbndr » Wed Sep 14, 2016 6:15 am

I'm with islaner261, save it as a dxf from inkscape. I use Inkscape to convert SVG to dxf.
Dennis
LDR 4x8, Scribe, DTHCIV
PM45
DeVilbiss Air America 6.5HP, 80Gal., 175psi, Two Stage
[email protected], [email protected]
Miller 211
RW 390E Slip Roll
AutoCAD, SheetCAM, Mach 3
https://www.facebook.com/ikescreations?ref=hl
http://ikescreations.com

Gustav129
Posts: 64
Joined: Wed Sep 10, 2014 9:42 pm
Location: North GA

Re: SVG trace to DXF issue

Postby Gustav129 » Wed Sep 14, 2016 6:38 pm

I'll give that a try.

Gustav129
Posts: 64
Joined: Wed Sep 10, 2014 9:42 pm
Location: North GA

Re: SVG trace to DXF issue

Postby Gustav129 » Sun Sep 18, 2016 6:51 pm

So I gave the "Save as DXF" a try. I got the same result.

The "first" picture is what I get, whether I import the SVG into QCad, or if I save it as a DXF in Inkscape, and opening the file in QCad.

The "Second" picture is the hand trace from the original Scout 80 photo, using line segment tool.

EDIT: The pictures uploaded in the reverse order than I expected

You do not have access to download this dxf file.
Become a Contributing Member to gain access to the thousands of files shared by our members. Click Here


User avatar
acourtjester
Elite Contributing Member
Elite Contributing Member
Posts: 3207
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: SVG trace to DXF issue

Postby acourtjester » Sun Sep 18, 2016 8:05 pm

One thing you may want to do is go into the file and stroke menu and under stroke style reduce the width to 0.001" and click on the "in" in the box with the down arrow. One of the trace options will produce an inside and an outside line from the trace action I think it is the "edge detection".
If you go to the View menu and click on Display mode and then outline you will see how the traced item looks. If it has the inside/outside lines you can correct it by changing the trace function. BUT YOU MUST CHANGE THE VIEW BACK TO NORMAL before you leave Inkscape, if you don't you will see a box with an RED X when you try to import other thing.
DIY 4X4 Plasma/Router Table
CandCNC DTHC-IV & Feather Touch
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PM 256 tig

Gustav129
Posts: 64
Joined: Wed Sep 10, 2014 9:42 pm
Location: North GA

Re: SVG trace to DXF issue

Postby Gustav129 » Sun Sep 18, 2016 8:49 pm

I'll give that a try, thanks!


Return to “Inkscape”

Who is online

Users browsing this forum: No registered users and 1 guest

Easyscriber engrave attachment for Hypertherm torch's