changing the width of the Pap LPE drawn with the Pencil Tool

General discussions about Inkscape.
Raspi
Posts: 229
Joined: Fri Oct 21, 2016 12:51 am

changing the width of the Pap LPE drawn with the Pencil Tool

Postby Raspi » Thu Jan 12, 2017 12:43 pm

I tried drawing hatchings with the pencil tool. Just short, slightly curved lines, with an ellipse as the shape, on top of each other.
I used a smoothing of 50.

Lets say i have drawn a bunch of these lines, but they all have a size of 1 in Version 0.91, or 0,265 in Version 0.92, in the LPE dialogue.
When i select everything the LPE dialogue is grayed out...

Questions:

1. is there a way to change the size of them all at once ? (maybe in the XML editor ?)

2. how do i set the width to something else than 1/0,265, so that Inkscape remembers it ?
Attachments
rect4655.png
rect4655.png (22.55 KiB) Viewed 2702 times
Last edited by Raspi on Sun Jan 15, 2017 11:23 pm, edited 1 time in total.

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

Re: changing the width of the Pap LPE

Postby Moini » Fri Jan 13, 2017 2:10 am

It's possible to copy an LPE from one object to another one.

Only tested in 0.91:
Doing PaP LPE on a combined path with 'single, stretched' actually applies the pattern once to each subpath. So combining them would work, too.
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)

Raspi
Posts: 229
Joined: Fri Oct 21, 2016 12:51 am

Re: changing the width of the Pap LPE

Postby Raspi » Fri Jan 13, 2017 1:45 pm

Moini wrote:It's possible to copy an LPE from one object to another one.

Only tested in 0.91:
Doing PaP LPE on a combined path with 'single, stretched' actually applies the pattern once to each subpath. So combining them would work, too.

What i have in mind is using Inkscape as a painting tool.
I want to draw the strokes live, but it seems changing the width uniformly is not possible at the moment, which is really odd, when they all have the same pattern applied.

I do understand that i could draw the strokes, combine them and later apply the pattern to the whole, but thats a different approach.

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

Re: changing the width of the Pap LPE

Postby Moini » Fri Jan 13, 2017 1:58 pm

The 'paste path effect' does the linking in 0.91, that's what I meant. It doesn't work live, though, you'd need to draw first, then paste the effect (the functionality is broken in 0.92).

Then you can change the width for all connected paths, by modifying the pattern shape itself or the width parameter. I know that's just a workaround :)

It would probably be useful to be able to link/unlink LPEs just as you like (I was rather annoyed that they were modified at the same time...), and to define how you want to use it if you're using it as 'from clipboard' style for the freehand/pencil tool.
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)

Raspi
Posts: 229
Joined: Fri Oct 21, 2016 12:51 am

Re: changing the width of the Pap LPE

Postby Raspi » Sun Jan 15, 2017 4:23 pm

Apparently there is new functionality for the pencil tool, which is featured in this french video i just discovered:
https://www.youtube.com/watch?v=jzNVMOxf8ak

When you use the ellipse shape option, you can use the "Show next editable path effect parameter" button and a circle will appear that you can edit with the node tool to manipulate the shape.

Also when you hold down shift and draw more lines, they will all share the same shape. Even after you break them apart.

To edit individual paths, you have to cut and then re-paste (or thats what im getting from the video, i dont speak french unfortunately).

Combining these individual paths, gives them all the same shape.

Pretty cool. Would be even cooler if there was any official documentation.
Or is there ?

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

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby Moini » Mon Jan 16, 2017 5:33 am

Yeah, that's cool. Seems as if I've overlooked it when trying to put as much as possible into the release notes, so the info won't get lost. I'll update :)
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)

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

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby Moini » Mon Jan 16, 2017 8:04 am

I just checked, the button is already there in previous versions - it's not new :)

It was already mentioned here in 2010: https://answers.launchpad.net/inkscape/+question/128502 (but yes, there's no documentation for it, as far as I was able to find).
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)

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby ~suv » Mon Jan 16, 2017 8:57 am

Moini wrote:(but yes, there's no documentation for it, as far as I was able to find).

The feature 'Next path effect parameter' was described in the release notes of Inkscape 0.46, the first release featuring path effects: Edit (added later): the button on the node tool controls bar is present in Inkscape 0.46 already, though not specifically mentioned in the release notes (just checked).

The feature 'Next path effect parameter' is also included in the description of the node tool controls bar options in the manual (based on Inkscape 0.48):
  • Image: Toggle through parameter list for an LPE.

The on-canvas pattern width parameter handle for patterns of the 'Pattern along Path' LPE is new in Inkscape 0.92 (in previous versions, the width of the pattern could only be edited in the Path Effects dialog). The same kind of on-canvas control for the width is now also supported by the Bend LPE. This new feature had been authored by Jabiertxof (the initial implementation was merged in revision 14515).

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

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby Moini » Mon Jan 16, 2017 9:34 am

The shortcut mentioned in the old release notes is handy :) (7)
That one could be added to the keyboard reference, I think.

@~suv : can I copy your last paragraph into the release notes? (without the parts in parentheses)
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)

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

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby Moini » Mon Jan 16, 2017 11:40 am

Thanks! (~suv inserted it already)
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)

Raspi
Posts: 229
Joined: Fri Oct 21, 2016 12:51 am

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby Raspi » Mon Jan 16, 2017 4:34 pm

Moini wrote:Yeah, that's cool. Seems as if I've overlooked it when trying to put as much as possible into the release notes, so the info won't get lost. I'll update :)

You wrote all that ? Okay.

How comes this french youtuber knows all this ?
Do the french have other sources of documentation ? Maybe from a french developer ?

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

Re: changing the width of the Pap LPE drawn with the Pencil Tool

Postby Moini » Mon Jan 16, 2017 11:48 pm

Raspi wrote:You wrote all that ? Okay.


No, only parts of it. A huge part of the info was provided by the developers who made the respective changes, and also by ~suv. I've checked for missing parts, using the commit messages and my experiments with 0.92 as a guide, and asked devs about how their features are supposed to work, so a description could be added, when I didn't understand (aside from text tool). Also added a couple of pictures.
And then I translated the whole thing ;-)

Raspi wrote:How comes this french youtuber knows all this ?
Do the french have other sources of documentation ? Maybe from a french developer ?


I think he probably just used the feature and found that new width handle. He seems to be using Inkscape for a long time already. But you can ask him :) As ~suv pointed out, the button that jumps to the next parameter already exists for a long time, is openly available in the node tool's tool control bar, and also mentioned in the manual (unfortunately in a way that makes searching for it difficult, if you don't use a picture search...).
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)


Return to “General Discussions”