Trace a Template from Photo using Inkscape
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Trace a Template from Photo using Inkscape
Note - this is in response to a question asked by Hank DeVeau at the Plasmacam Owner's Community Online Forum, but which I thought may be useful to others here as well.
"This is a picture of a paper template, cut to size, a customer has brought me to be cut from steel. I have drawn reference points on it hoping that when converted I can use them for scaling.(36" between points) Can this be converted with ink scape and if so how do i do it? It would be too easy for you to do it for me but I have another one similar to this and there is a possibility of more to come so it is probably a good idea to get this figured out!!
Thanks in advance for all your help."
"Oh yeah, I tried to do it in DE but it comes out too dirty"
Hank - you are correct that your photo does not lend itself to an auto trace - either with Design Edge which you tried, or with Inkscape - as there is not enough contrast between the actual template and background.
Here is a tip: paint your template flat black and place over a white background before you take your photo. Then you can use either Design Edge or Inkscape to achieve a high quality auto trace providing you with the dxf file you are after.
Here is how I would do the manual trace using Inkscape.
"This is a picture of a paper template, cut to size, a customer has brought me to be cut from steel. I have drawn reference points on it hoping that when converted I can use them for scaling.(36" between points) Can this be converted with ink scape and if so how do i do it? It would be too easy for you to do it for me but I have another one similar to this and there is a possibility of more to come so it is probably a good idea to get this figured out!!
Thanks in advance for all your help."
"Oh yeah, I tried to do it in DE but it comes out too dirty"
Hank - you are correct that your photo does not lend itself to an auto trace - either with Design Edge which you tried, or with Inkscape - as there is not enough contrast between the actual template and background.
Here is a tip: paint your template flat black and place over a white background before you take your photo. Then you can use either Design Edge or Inkscape to achieve a high quality auto trace providing you with the dxf file you are after.
Here is how I would do the manual trace using Inkscape.
You currently do not have access to download this file.
To gain download access for DXF, SVG & other files Click Here
Last edited by adbuch on Mon Jul 03, 2023 2:35 am, edited 2 times in total.
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Trace a Template from Photo using Inkscape
If you wish to scale it first in Inkscape, here is how to do it.
David
You currently do not have access to download this file.
To gain download access for DXF, SVG & other files Click Here
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Trace a Template from Photo using Inkscape
Hank - as mentioned above if you spray paint your template flat black and place on top of a white background before taking your photo, this will make it very simple and quick to do an Auto Trace using Inkscape (or Design Edge).
Here is the process to do the auto trace and scaling to size using Inkscape.
David
Photo of template painted black with contrasting white background.
Process of importing, auto tracing, and scaling to size using Inkscape.
Here is the process to do the auto trace and scaling to size using Inkscape.
David
Photo of template painted black with contrasting white background.
Process of importing, auto tracing, and scaling to size using Inkscape.
You currently do not have access to download this file.
To gain download access for DXF, SVG & other files Click Here
-
- 5 Star Elite Contributing Member
- Posts: 2746
- Joined: Thu Jul 24, 2008 11:15 am
Re: Trace a Template from Photo using Inkscape
Very nice tutorial David. How you do the straight line and then pull it into the curve is a technique I use all the time in Corel. Works like a charm unless you need precise rads. This would be a great topic for the Inkscape forum, maybe ADMIN can move it or copy it there.
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Trace a Template from Photo using Inkscape
Thanks! I have already posted a link to it there. No need to move it as this is also an excellent topic for the "File Conversion Help Wanted" section of the forum.
David
viewtopic.php?f=77&p=226723#p226723
David
viewtopic.php?f=77&p=226723#p226723
-
- 5 Star Elite Contributing Member
- Posts: 2746
- Joined: Thu Jul 24, 2008 11:15 am
Re: Trace a Template from Photo using Inkscape
Awesome, and I agree
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 8183
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: Trace a Template from Photo using Inkscape
David Very nice tutorial, the combined knowledge base of PS is always growing. Question asked, answer given, screen shots big plus.
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
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Trace a Template from Photo using Inkscape
Thanks guys! The dimensioning and scaling is certainly more cumbersome with Inkscape than some of the other programs, but doable nonetheless.
David
David
-
- 2.5 Star Member
- Posts: 157
- Joined: Thu May 10, 2018 4:34 pm
Re: Trace a Template from Photo using Inkscape
My go to is Lightburn simple and easy. Camera mounted above the table and calibrated. Then its as simple as pressing camera/trace
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Trace a Template from Photo using Inkscape
Thanks for posting! The LightBurn Camera Trace will work well for drawings, etc. with high contrast between the drawing and/or template and the background - as the one shown in this demo video.
https://www.youtube.com/watch?v=1w1m-Dn9MmU But for images such as the one supplied by Hank at the beginning of this post, a manual trace will usually be necessary for satisfactory results.
David
You currently do not have access to download this file.
To gain download access for DXF, SVG & other files Click Here
-
- 2.5 Star Member
- Posts: 157
- Joined: Thu May 10, 2018 4:34 pm
Re: Trace a Template from Photo using Inkscape
I use the camera to trace physical parts, just thought I'd add that into the mix
-
- 3 Star Member
- Posts: 366
- Joined: Fri Apr 15, 2011 3:47 am
Re: Trace a Template from Photo using Inkscape
I too have used a camera in the past and it works well for parts that are too big to scan on my all in one printer. I just found the curved camera lens tends to distort the image so I prefer the scanner if I can use it.
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Trace a Template from Photo using Inkscape
Thanks 34by151! You input is appreciated. For larger solid objects or large templates, I also like to use Scanything/camera combo on my cnc router table, or my Calcomp digitizing tablet with the LogicTrace software. But for smaller items I find it very convenient to take a photo and manually trace with Inkscape.
David