Imported PDF with single path
Imported PDF with single path
I Imported this drawing:-
http://www.digikey.com/product-detail/e ... ND/2331077
Ungrouped to base level - 3 times - and couldn't node select anything.
Then I Path/Bitmap and I get only 2 object in XML editor
1 - image - I deleted this -
1 - path
If I node select anything everything gets selected.
Is there a way to make it breakup into individual nodes.
Inkscape won't let me box select with arrow so I can't group move parts to a new drawing
I did this before with another PDF, but when it imported it had individual nodes.
http://www.digikey.com/product-detail/e ... ND/2331077
Ungrouped to base level - 3 times - and couldn't node select anything.
Then I Path/Bitmap and I get only 2 object in XML editor
1 - image - I deleted this -
1 - path
If I node select anything everything gets selected.
Is there a way to make it breakup into individual nodes.
Inkscape won't let me box select with arrow so I can't group move parts to a new drawing
I did this before with another PDF, but when it imported it had individual nodes.
Re: Imported PDF with single path
Do you mean this image? http://media.digikey.com/Photos/TE%20Co ... -6_sml.jpg
Do you mean that you used Trace Bitmap? It depends which options you used in the trace, whether you will end up with only 1 object, or more than one. If you used a single trace option, you''ll end up with 1 object, probably made of more than 1 path (called a "compound path"). If you use a multiple trace option, you can have more than 1 object in the end.
I'm guessing you must have used a single trace, since it sounds like you have one compound path. In some cases you can use Path menu > Break Apart. But I'm not sure if that will give you what you want.
Can you confirm that's the right image? And please tell us which parts you want to be separated? I'm not sure this is the proper process for what you're doing. But if you can be a little more clear about which part you need, we might be able to point you in a better direction. (For example, maybe it would be better to trace "manually" with the Pen/Bezier tool. Then you can trace only what you need.)
Do you mean that you used Trace Bitmap? It depends which options you used in the trace, whether you will end up with only 1 object, or more than one. If you used a single trace option, you''ll end up with 1 object, probably made of more than 1 path (called a "compound path"). If you use a multiple trace option, you can have more than 1 object in the end.
I'm guessing you must have used a single trace, since it sounds like you have one compound path. In some cases you can use Path menu > Break Apart. But I'm not sure if that will give you what you want.
Can you confirm that's the right image? And please tell us which parts you want to be separated? I'm not sure this is the proper process for what you're doing. But if you can be a little more clear about which part you need, we might be able to point you in a better direction. (For example, maybe it would be better to trace "manually" with the Pen/Bezier tool. Then you can trace only what you need.)
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Imported PDF with single path
Sorry, it's the 1st line in the 2nd table box - I can't link it because it auto downloads when you click it.
Datasheets 316370 Drawing
File name
JPN_CD_316370_C4.pdf
Yes - Path>Trace Bitmap - Sorry it looks like I'm have a bad day -
I Import,
Ungroup 3X,
Path>Trace Bitmap - Single Scan - Brightness cutoff 0.500 - Color 2 - Multi Scan makes more copies of the whole thing.
Delete image in XML Edit
Path>Break Apart - found it - it takes 3-4 min to break up the one single path -
It breaks apart - I can see 1000s of nodes in XML Editor - but now the whole drawing goes black.
The nodes go red when hovering, but I can't see the black nodes to click on when they are on a black background.
I couldn't get the other PDF drawing to box select so I zoom in and shift-node select what I want, and copy paste to new
Datasheets 316370 Drawing
File name
JPN_CD_316370_C4.pdf
Yes - Path>Trace Bitmap - Sorry it looks like I'm have a bad day -
I Import,
Ungroup 3X,
Path>Trace Bitmap - Single Scan - Brightness cutoff 0.500 - Color 2 - Multi Scan makes more copies of the whole thing.
Delete image in XML Edit
Path>Break Apart - found it - it takes 3-4 min to break up the one single path -
It breaks apart - I can see 1000s of nodes in XML Editor - but now the whole drawing goes black.
The nodes go red when hovering, but I can't see the black nodes to click on when they are on a black background.
I couldn't get the other PDF drawing to box select so I zoom in and shift-node select what I want, and copy paste to new
Last edited by Old Grey on Mon May 23, 2016 10:29 pm, edited 1 time in total.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Imported PDF with single path
When i open said pdf, i get a very dark image of some sort of chip.
When i select the image, the status bar says pattern fill.
When i go to pattern to object (Shift + Alt + I), i get the clone of an image 1650x1275px.
I can unlink the clone and trace the image with multiple greys.
When i select the image, the status bar says pattern fill.
When i go to pattern to object (Shift + Alt + I), i get the clone of an image 1650x1275px.
I can unlink the clone and trace the image with multiple greys.
Re: Imported PDF with single path
It's a technical engineering line drawing of the connector, not a picture.
I think you have the 3D Model 316370-6.pdf. It's the one above Datasheets 316370 Drawing
Is the file
JPN_CD_316370_C4.pdf
I think you have the 3D Model 316370-6.pdf. It's the one above Datasheets 316370 Drawing
Is the file
JPN_CD_316370_C4.pdf
Last edited by Old Grey on Mon May 23, 2016 10:35 pm, edited 1 time in total.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Imported PDF with single path
Old Grey wrote:It's a technical engineering line drawing of the connector, not a picture.
I think you have the 3D Model 316370-6.pdf
Is the file
JPN_CD_316370_C4.pdf
- Attachments
-
- 3D_CVM_316370-6_C4.png (41 KiB) Viewed 3575 times
Re: Imported PDF with single path
Yep that's the 3D Model 316370-6.pdf.
It's the one above - Datasheets 316370 Drawing
Is the file
JPN_CD_316370_C4.pdf
It's the one above - Datasheets 316370 Drawing
Is the file
JPN_CD_316370_C4.pdf
Re: Imported PDF with single path
A PDF doesn´t mean it´s pure vector-based content in there. The PDF you linked to is just an embedded 4678x3308px raster image stored in a group:
File to large for an upload - so here you go: http://www.file-upload.net/download-116 ... 4.svg.html
Cheers
P.
File to large for an upload - so here you go: http://www.file-upload.net/download-116 ... 4.svg.html
Cheers
P.
Re: Imported PDF with single path
I Break that one apart and it also goes black.
It's like the Break apart switches the background to black.
It's like the Break apart switches the background to black.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Imported PDF with single path
Old Grey wrote:Yep that's the 3D Model 316370-6.pdf.
It's the one above - Datasheets 316370 Drawing
Is the file
JPN_CD_316370_C4.pdf
I found it.
You can rubberband select it, or alternatively use CTRL + A, to select all.
After the trace and the Break apart, everything is indeed black, but you can move these black rectangles away and get to the technical drawings underneath.
Maybe try outline view View -> Display Mode -> Outline
Re: Imported PDF with single path
I have no clue what´s up with your systems. Works fine so far on MacOSX:
Cheers
P.
Cheers
P.
- Attachments
-
- JPN_CD_316370_C4.png (154.5 KiB) Viewed 3560 times
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Imported PDF with single path
^Old Grey wants a trace of that image and break it apart.
Re: Imported PDF with single path
It's after the Break Apart it goes black.
Unfortunately the moving boxes takes the lines with it, so no-go.
Unfortunately the moving boxes takes the lines with it, so no-go.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Imported PDF with single path
@Old Grey: what is your goal ?
Do you want to modify the drawing, or crop it ?
EDIT: you have to remove the fill and add a stroke
Do you want to modify the drawing, or crop it ?
EDIT: you have to remove the fill and add a stroke
Re: Imported PDF with single path
Old Grey wrote:It's after the Break Apart it goes black.
Unfortunately the moving boxes takes the lines with it, so no-go.
Unfortunately I don´t understand a single word.
I extracted the image from the PDF - there is nothing more content. Most editors open PDF as a "group-of-something". Ungrouping will show a "mask-layer" plus content.
If you´re really going to autotrace that image you´ll need a single line tracer.
Cheers
P.
Re: Imported PDF with single path
It's to make parts for the electronics PCB program Fritzing.
I cut out the 4th drawing far right, remove all the dimension lines, cut out the 3rd drawing and remove the legs, paste it on the 4th, scale it until the dimensions are correct, and it makes the PCB drilling file for the part. You need the drawing to position parts on the PCB so you know if parts hit each other.
Some PDF have separate nodes when you Ungroup, but this one doesn't.
It looks like I can Import into GIMP, remove what I want, save to PDF, Import into Inkscape, and Trace Bitmap without Break Apart.
I would prefer to do it all in one program, but if no one can think of a better way it might just work.
I cut out the 4th drawing far right, remove all the dimension lines, cut out the 3rd drawing and remove the legs, paste it on the 4th, scale it until the dimensions are correct, and it makes the PCB drilling file for the part. You need the drawing to position parts on the PCB so you know if parts hit each other.
Some PDF have separate nodes when you Ungroup, but this one doesn't.
It looks like I can Import into GIMP, remove what I want, save to PDF, Import into Inkscape, and Trace Bitmap without Break Apart.
I would prefer to do it all in one program, but if no one can think of a better way it might just work.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Imported PDF with single path
Have you checked the svg i provided in the link ?
http://www.mediafire.com/download/lkeoz ... 370_C4.svg
http://www.mediafire.com/download/lkeoz ... 370_C4.svg
Re: Imported PDF with single path
Espermaschine wrote:Have you checked the svg i provided in the link ?
http://www.mediafire.com/download/lkeoz ... 370_C4.svg
It's not quite perfect because it doesn't break every node, so there are some extra lines, but I will play with it tomorrow and see how it goes.
Thanks guys
PS if you want to see the finished part in Win just download this
http://forum.fritzing.org/t/174917-dens ... ocket/1279
change extension from .fzpz to .zip, and open the drawings.
Re: Imported PDF with single path
Unfortunately the PDF Import/Bit Trace wasn't accurate enough for the critical file that controls the CNC machinery, there were faults like tapered nodes etc, but the drawing wasn't too hard at 50 circles and 3 rectangles.
I was able to Import/Trace the 2nd complicated multi line drawing, after I GIMP edited it first, and because it gets used as a non critical image the lumpy drawing is fine. Saved some time there.
Looks like not all PDFs are the same. The one I did in DEC was some kind of vector drawing because it had 16,00 perfect nodes, this one was some sort of scanned drawing that was converted to PDF.
Thanks
I was able to Import/Trace the 2nd complicated multi line drawing, after I GIMP edited it first, and because it gets used as a non critical image the lumpy drawing is fine. Saved some time there.
Looks like not all PDFs are the same. The one I did in DEC was some kind of vector drawing because it had 16,00 perfect nodes, this one was some sort of scanned drawing that was converted to PDF.
Thanks