Make stroke uniform from curves imported from a .pdf or .ps

Post questions on how to use or achieve an effect in Inkscape.
HcN
Posts: 3
Joined: Mon Sep 28, 2015 5:54 am

Make stroke uniform from curves imported from a .pdf or .ps

Postby HcN » Sat Feb 27, 2016 10:45 am

Hi everyone,

I have a recurent problem with Inkscape for which I am desesperate to find a solution. I use Inkscape for work, and I often have to import curves from .ps or .pdf file to then fit them into a schematic or a scale. The problem is that I often have no control on the ps/pdf file, and if I must significantly rescale the curve, it exhibit different stroke widths. I can easily create another path using :tool_node: that follows almost exactly the original path, but this is a inelegant and time-consuming process. Therefore, I am looking for a way to make a non-uniform stroke uniform, e.g with the same width accross the whole curve.

I have included a example here https://mega.nz/#!kcMkyDhS!LYtBgMp1qKZIKLNz8JRPqTL4MdFoA88ayuK0gDed4yg, in hope it helps.
Thanks a lot in advance to anyone who would suggest a solution, this problem have been annoying me for a long time now.
Last edited by HcN on Sat Feb 27, 2016 11:03 am, edited 1 time in total.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Make stroke uniform from curves imported from a .pdf or .ps

Postby Moini » Sat Feb 27, 2016 10:55 am

Invalid url :/
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

HcN
Posts: 3
Joined: Mon Sep 28, 2015 5:54 am

Re: Make stroke uniform from curves imported from a .pdf or .ps

Postby HcN » Sat Feb 27, 2016 11:03 am

Invalid url :/


Sorry. It should work now.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Make stroke uniform from curves imported from a .pdf or .ps

Postby tylerdurden » Sat Feb 27, 2016 11:34 am

Try Ctrl+Shift+K (Menu: Path>Break-Apart). Seems to work here.

One object needs clip removed and ungrouped.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Make stroke uniform from curves imported from a .pdf or .ps

Postby Moini » Sat Feb 27, 2016 11:34 am

I also don't understand why it looks like this, but if you just ungroup everything, it will look right.

Maybe worth a new bug report? Or does anyone else have a rational explanation for this behaviour?

(@HcN: if you'd like to help investigating, file a report at https://bugs.launchpad.net/inkscape - also attach the original pdf there (and a screenshot of how it is supposed to look, maybe), and tell people about your Inkscape version and operating system)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Make stroke uniform from curves imported from a .pdf or .ps

Postby tylerdurden » Sat Feb 27, 2016 11:46 am

Interesting is right... my Win8 machine will normalize the strokes by just ungrouping, but my XP machine also requires break-apart. :-/

Edit: Discovered that XP machine has preserved transforms... seems that is causing the difference. Transforms seem to be related to the stroke widths.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

HcN
Posts: 3
Joined: Mon Sep 28, 2015 5:54 am

Re: Make stroke uniform from curves imported from a .pdf or .ps

Postby HcN » Sun Feb 28, 2016 10:41 am

I asked the same question on stackexchange (http://graphicdesign.stackexchange.com/questions/67696/make-stroke-uniform-from-curves-imported-from-a-pdf-or-ps/67705#67705) (but you were the first to reply :mrgreen:), and they said that my curves are grouped with a transformation matrix that is responsible for the issue. Ungrouping it does the trick, and I feel a bit foolish not to have noticed that myself :( .

Anyway, many thanks for you quick answers ! I can finally correct all my figures. I still do not get where this matrix is, how to formally remove it or even how to see it, but ungrouping (and regrouping) everything works for me.


Return to “Help with using Inkscape”