Quickie for Inkscape

Inkscape related questions, tips and topics can be posted here
Post Reply
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8183
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Quickie for Inkscape

Post by acourtjester »

Here is a quickie for you on Inkscape
Do a screen shot (.jpeg) of the image you want to convert.
Run Inkscape and import the image make it the size you want.
Click on Path and click on trace Bitmap this opens a menu for the trace.
Using the Brightness cutoff click on update if the image is not right
Change the threshold up/down and keep clicking on update until you
Get the image to look OK When you do click on OK now move the image
To ID the trace image (it will be a black image over the original) and
delete the original now click on the traced Image This will access the
fill and stoke in the lower left and click on it.
This will bring up the fill and stroke menu in the upper right. When the
fill tab is shown click on the X below it. This make the image disappear now
click on the stroke paint tab and click on the box next to the X this will
show the image trace outline. You can change the outline thickness by
clicking on the stroke style and change the width value not really needed.
You can now save it as DFX or SVG for SheetCam.

Now if you want to eliminate some of the drawing elements you would click
On path then Break apart then under object click on ungroup you can now
move around the image and click on what you want to eliminate and hit the
delete key Sometime it is easier if you enlarge the image (hit the + key)
save it when you are finished.
bear.jpg
bear.jpg (6.89 KiB) Viewed 2117 times
bear.jpg
bear.jpg (6.89 KiB) Viewed 2117 times
bear 2.jpg
bear 2.jpg (21.9 KiB) Viewed 2117 times
bear 2.jpg
bear 2.jpg (21.9 KiB) Viewed 2117 times
bear 3.jpg
bear 3.jpg (22.76 KiB) Viewed 2117 times
bear 3.jpg
bear 3.jpg (22.76 KiB) Viewed 2117 times
bear 4.jpg
bear 4.jpg (20.03 KiB) Viewed 2117 times
bear 4.jpg
bear 4.jpg (20.03 KiB) Viewed 2117 times
have fun
Tom
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
urbnsr
3 Star Member
3 Star Member
Posts: 329
Joined: Wed Dec 26, 2012 6:13 am

Re: Quickie for Inkscape

Post by urbnsr »

Do you know of a way for Inkscape to take a line within an image and convert it to a single-line path as oppose to tracing around the line?
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8183
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: Quickie for Inkscape

Post by acourtjester »

sorry not at this time
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
urbnsr
3 Star Member
3 Star Member
Posts: 329
Joined: Wed Dec 26, 2012 6:13 am

Re: Quickie for Inkscape

Post by urbnsr »

OK Thanks. I couldn't find a way, either, but it was worth a shot.
Bobcat320
3 Star Elite Contributing Member
3 Star Elite Contributing Member
Posts: 411
Joined: Thu Jun 25, 2015 4:06 pm
Contact:

Re: Quickie for Inkscape

Post by Bobcat320 »

Thanks! Going to try this since most of my Inkscape attempts so far have been futile!
PlasmaCam DHC2
Hyperthem PM65
Edwards 25T Ironworker
Miller Mig, Tig, Stick & Portable

Why pierce it when you can punch it!
gamble
4 Star Member
4 Star Member
Posts: 950
Joined: Thu Jan 02, 2014 6:33 pm

Re: Quickie for Inkscape

Post by gamble »

So I found a nice black/white image and tried exactly what you said. And I could use some help.

When doing the trace I see double lines, what's the best way to remove these?
And the trace looks good, but then I save it as a dxf and import it to my torchmate it will import like this. Not sure why?
Attachments
love import.JPG
love import.JPG (45.52 KiB) Viewed 2010 times
love import.JPG
love import.JPG (45.52 KiB) Viewed 2010 times
love trace.JPG
love trace.JPG (17.37 KiB) Viewed 2010 times
love trace.JPG
love trace.JPG (17.37 KiB) Viewed 2010 times
Torchmate 2x2 - Flashcut
Powermax 45 - Machine torch
Taig CNC Mill - Flashcut
Razorweld Distributor
User avatar
Capstone
4 Star Member
4 Star Member
Posts: 1015
Joined: Fri Sep 13, 2013 8:42 am
Location: Washington D.C. Metro
Contact:

Re: Quickie for Inkscape

Post by Capstone »

Gamble,

Are you using SheetCAM for your CAM G-Code Application? If so, then just open the .svg files with SheetCAM and forget about converting the file to DXF.
Phil
It's all relative...
CNC Metal Design
Instagram CNC Metal Design
JD Squared 4x8
HT PM45, Miller 251 MIG
gamble
4 Star Member
4 Star Member
Posts: 950
Joined: Thu Jan 02, 2014 6:33 pm

Re: Quickie for Inkscape

Post by gamble »

Neither. I am using the torchmate software
Torchmate 2x2 - Flashcut
Powermax 45 - Machine torch
Taig CNC Mill - Flashcut
Razorweld Distributor
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8183
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: Quickie for Inkscape

Post by acourtjester »

Cannot comment of about Torchmate as I have never used it.
I have also used SheetCam to remove the second set of line by using the contour tool and high light the lines you don't want and making them a different layer and un-clicking that layer so you can tell which lines you remove. Then when planning the operations leave that layer out so you don't cut it. Don't know if you can do things like that in Torchmate. :lol:
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
gamble
4 Star Member
4 Star Member
Posts: 950
Joined: Thu Jan 02, 2014 6:33 pm

Re: Quickie for Inkscape

Post by gamble »

Did I do the conversion wrong that it imports all the solid red parts or maybe that's just torchmate? I will attach the conversion file I did and see if you guys get the same results with sheetcam
Torchmate 2x2 - Flashcut
Powermax 45 - Machine torch
Taig CNC Mill - Flashcut
Razorweld Distributor
gamble
4 Star Member
4 Star Member
Posts: 950
Joined: Thu Jan 02, 2014 6:33 pm

Re: Quickie for Inkscape

Post by gamble »

Here is the conversion I did
Attachments
love2.dxf
(54.83 KiB) Downloaded 77 times
love2.dxf
(54.83 KiB) Downloaded 77 times
Torchmate 2x2 - Flashcut
Powermax 45 - Machine torch
Taig CNC Mill - Flashcut
Razorweld Distributor
urbnsr
3 Star Member
3 Star Member
Posts: 329
Joined: Wed Dec 26, 2012 6:13 am

Re: Quickie for Inkscape

Post by urbnsr »

Taking that jpeg that you posted, this is what I came up with tracing in Inkscape. It's still needs work, but I didn't spend too much time on it, either. I think the reason you are getting the results that you see is that the original is not very sharp. Maybe it was very small before you got it and it was enlarged. The lines have many open spots.

HTH
Paul
Love.ss.png
Love.ss.png (4.75 KiB) Viewed 1974 times
Love.ss.png
Love.ss.png (4.75 KiB) Viewed 1974 times
Attachments
love2.dxf
(54.83 KiB) Downloaded 66 times
love2.dxf
(54.83 KiB) Downloaded 66 times
Last edited by urbnsr on Sun Aug 09, 2015 9:43 pm, edited 2 times in total.
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8183
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: Quickie for Inkscape

Post by acourtjester »

Using a screen shot of the original and changing the contrast this is as good as I can get it. With a better jpeg I could do better still it looks rustic :D Some more node manipulation would make it smoother.
Attachments
love.svg
(9.73 KiB) Downloaded 78 times
love.svg
(9.73 KiB) Downloaded 78 times
love 2.jpg
love 2.jpg (24.32 KiB) Viewed 1983 times
love 2.jpg
love 2.jpg (24.32 KiB) Viewed 1983 times
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
gamble
4 Star Member
4 Star Member
Posts: 950
Joined: Thu Jan 02, 2014 6:33 pm

Re: Quickie for Inkscape

Post by gamble »

Wow that's terrible. I thought the image was pretty good to start from. I did a quick trace with corel which I've never done before and it came out surprisingly well.
Attachments
love3.dxf
(182.1 KiB) Downloaded 72 times
love3.dxf
(182.1 KiB) Downloaded 72 times
Torchmate 2x2 - Flashcut
Powermax 45 - Machine torch
Taig CNC Mill - Flashcut
Razorweld Distributor
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8183
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: Quickie for Inkscape

Post by acourtjester »

If you check to images at the top of the post with a good image to start with things look way better.
old story crap in crap out
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Post Reply

Return to “Inkscape”