Author Topic: Is there a way to roughen only new vertices with LPE?  (Read 880 times)

January 07, 2019, 02:12:56 PM
Read 880 times

fantomx11

  • Sr. Newbie

  • Offline
  • **

  • 7
I have the end points of a curve set where I want them, but if I use the roughen LPE, it moves them. Is there any option where it only moves the new nodes created by the LPE instead of all of them?
  • 0.92.2
  • Windows 10

January 07, 2019, 03:29:30 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I've never used that LPE before, but it looks highly configurable.  There might be a way to configure it to behave how you want.

However, the Tweak tool has a roughen mode as well.  Maybe it would work better?  I have used that, and as far as I remember it doesn't affect the original nodes, unless you drag the tool over the nodes.  As long as you only drag on the path, I think it only roughens the path.  Note that you can set the width of the "tip" of the tool, so that should allow you to get really close to the nodes, without going over them.

The only other option I can think of, would be to duplicate the path before you start, and move it to the side.  After you roughen the path, snap the duplicate back in place, and then you can put the end node back where it was originally (using snapping).  Then finally delete the duplicate when you're done.

Edit
Also, before we had the Tweak tool and later the LPE, we used the Extension menu >  Modify Path > Add nodes, and then Jitter nodes (same submenu), to roughen a path.  Note that I almost always get a crash when I use that technique, so be sure to save just before you start.  Or use the other tools.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 07, 2019, 05:45:05 PM
Reply #2

fantomx11

  • Sr. Newbie

  • Offline
  • **

  • 7
What I really like about roughen is that I can continue to tweak the underlying shape.
  • 0.92.2
  • Windows 10

January 07, 2019, 07:56:38 PM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Without seeing the image, and a more detailed description, I don't know what you mean about

Quote (selected)
continue to tweak the underlying shape

If you can explain more, we could give better suggestions.

  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 08, 2019, 12:24:53 PM
Reply #4

fantomx11

  • Sr. Newbie

  • Offline
  • **

  • 7
Here is what I mean. The top path has the LPE assigned to it. I can change the whole thing by moving one of the two vertices. (This, is the definition of LPE)

The bottom path has been roughened using the Tweak tool. It adds a ton of vertices and therefore, it's underlying shape is more or less set once you use the tool.

Before LPE was added, I used the jitter nodes and add nodes extensions to achieve the same effect, but it has the same problem as the Tweak tool does.
  • 0.92.2
  • Windows 10

January 08, 2019, 02:09:09 PM
Reply #5

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I think the LPE does not have such an option, and can't think of any other way to achieve this, except for modifying the jitter extension to work on nodes instead of full paths, and then selecting only the nodes where you want to apply the extension.

January 10, 2019, 04:55:40 PM
Reply #6

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
What I really like about roughen is that I can continue to tweak the underlying shape.

Oohh, you mean you like the "Live" part of the LPE!  Right, only the LPE can give you the live effect.

I would duplicate the path before applying the LPE.  Then apply the LPE.  Then you can snap the original node(s) back into place afterwards (and of course delete the duplicate when you're done).

Note that with the Tweak tool, you can adjust the amount of roughening, with combination of Width, Force and Fidelity settings.

Interesting tidbit about selecting only certain nodes to be affected by Jitter nodes.  That doesn't work on Windows.  You can only jitter the whole path.  (I'm not sure if that's been reported.  Also, I haven't tested it with the current stable version.)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 11, 2019, 06:00:02 AM
Reply #7

fantomx11

  • Sr. Newbie

  • Offline
  • **

  • 7
Interesting tidbit about selecting only certain nodes to be affected by Jitter nodes.  That doesn't work on Windows.  You can only jitter the whole path.  (I'm not sure if that's been reported.  Also, I haven't tested it with the current stable version.)

I believe what Moini was saying is that I could modify the Jitter nodes extension to only work with selected nodes instead of the whole path. That is true since the extensions are written in python. Modifying the LPE is possible, but out of my capabilities since it would require modifying the source and recompiling Inkscape. (I learned a smattering of C++ in the late 90s, but when I look at modern code, there is a lot that I do not recall ever being a part of the language, and I do not have a modern C++ compiler in any case).
  • 0.92.2
  • Windows 10

January 11, 2019, 06:31:49 AM
Reply #8

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I believe what Moini was saying is that I could modify the Jitter nodes extension to only work with selected nodes instead of the whole path.

Yes, that's exactly what she said.  What I said, is that the last time I tried it on Windows, it wouldn't work.  I could only jitter the whole path.  I don't know if it's still broken for Windows or not, I haven't tested lately.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 11, 2019, 11:42:37 AM
Reply #9

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
It's not broken. The extension needs to be changed to do what the user wants to do. That's why they wrote about programming languages...

January 12, 2019, 08:53:00 PM
Reply #10

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I'm sorry, I don't know what you're talking about.  You don't expect users to be able re-write the extension to suit themselves?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 15, 2019, 06:48:05 AM
Reply #11

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I did, because it's the only remaining option. And the user mentioned they would be able to do it.