Author Topic: Problem : Bezier curves cut by the area  (Read 622 times)

July 18, 2019, 12:17:32 PM
Read 622 times

diane1804

  • Sr. Newbie

  • Offline
  • **

  • 3
Hi,

I'm trying to draw curved lines with the bezier curves. My problem is that the lines are cut by the "area" around the bezier curve. And I don't know how to add a padding between the line and this area border (or ignore the limit of the area).

I join 3 screenshots :
- one with the area around my line displayed
- one without the line selected to see the "cut"
- one with the properties of my line

How can I resolve this problem ?
  • 0.92.4
  • Windows 10 x64bits

July 18, 2019, 06:41:26 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

It's hard to say what the problem might be, by looking at the screenshots.  We would need to see the SVG, to say exactly what is causing the problem.

My first guess is that the path in question might be clipped or masked.  We also sometimes see this with filters.  And I can see that you have at least one filter applied.  From what I can see, it should not, alone, be creating this problem.  But there could be other filters that I can't see or identify, from the info provided.

Are you able to share the SVG file?
  • 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                       

July 18, 2019, 07:59:40 PM
Reply #2

flamingolady

  • IC Mentor

  • Offline
  • ******
  • Flamingo Lady

  • 154
  • Gender
    Female

    Female
I'm not entirely sure I understand the issue, but from the first pic, it looks like you need to add more nodes in order to manipulate them into the curve you desire.  Attaching the svg would be helpful.

July 23, 2019, 11:52:59 AM
Reply #3

diane1804

  • Sr. Newbie

  • Offline
  • **

  • 3
Here I made a simple file of test.
I created a bezier curved, change Stroke style : the width of the stroke.
I duplicated this curve and set the blur percentage to 1.0 on the stroke (curve on the right).
The area cuts the blur effect.
  • 0.92.4
  • Windows 10 x64bits

July 23, 2019, 07:46:12 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Yikes!  I can indeed reproduce that, with both 0.92.3 and 0.92.4, as well as 1.0 alpha (1.0alpha (289ca37, 2019-04-09)).  I guess that must be a new bug.  I'll search bug reports to find out if it needs to be reported.

This would seem like a rather serious bug to me, and I'm surprised not to have heard of it.

Ok, well here is a workaround, and hopefully will be acceptable for your project.  If you use Path menu > Stroke to path, the appearance won't change.  And the blur will work properly.  However the structure of the object is different.  If you're familiar with using the Node tool, you'll be able to see what happens.  I can't think of many circumstances where it would matter, but it could matter.  So let us know.

Meanwhile, I'll check bug reports.

Edit
Unless the report doesn't use "blur" in it, there doesn't seem to be any report.

Reported:  https://gitlab.com/inkscape/inbox/issues/681
  • 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                       

July 24, 2019, 11:14:23 AM
Reply #5

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
It's 'fixed' already for 1.0 (known issue with filter areas often not matching the object), by providing on-canvas controls for filter area size.

You can adjust it in 0.92.4, too, by selecting the object, then going to Filters > Filter editor and playing with the values for x,y, width and height of the filter.

July 24, 2019, 11:41:52 AM
Reply #6

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Is there a newer version of 1.0 alpha, which has the fix?  Just in  case diane1804 needs it.
  • 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                       

July 24, 2019, 01:39:06 PM
Reply #7

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
The on-canvas controls are in the development version for a long time already, if that's what you mean.

July 24, 2019, 07:07:52 PM
Reply #8

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
When you said it's fixed in 1.0, I wasn't sure if you meant that the fix is available in 1.0 alpha, or if it's been fixed, but it's not available in 1.0
alpha.

Edit
So are they ever going to really fix it, like it was before this bug?  Or is it fixed by having to adjust the filter every time?
  • 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                       

July 25, 2019, 10:15:41 AM
Reply #9

diane1804

  • Sr. Newbie

  • Offline
  • **

  • 3
Thanks for your replies.

The solution of editing the filter size manually works, but so annoying....
I wanted to try with the on-canvas controls you mentionned. So I downloaded the version 1.0 alpha 2, but I don't know how to use this new on-canvas control, is there a shortcut or a button to know ? The canvas looks the same as in my previous version 0.92.4 (for me the canvas is the area with the dotted line, in case where we are not speaking of the same thing).
The canvas in the version 1.0 seems even worse, because the area doesn't fit the curve even without any blur.
  • 0.92.4
  • Windows 10 x64bits

July 26, 2019, 06:23:35 AM
Reply #10

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Diane, please report that problem at https://inkscape.org/report - it sounds like it should be fixed before a release.

July 28, 2019, 05:49:05 AM
Reply #11

Mark_McQ

  • Sr. Newbie

  • Offline
  • **

  • 7
If you don't need to edit the stroke again converting it to a path will let the blur display correctly.
  • 0.92.4
  • Windows 10 / Ubuntu 18.04

July 28, 2019, 05:03:41 PM
Reply #12

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Without a screenshot to be sure, I'm guessing the dashed line you're talking about -- it would be a dashed line rectangle -- is called the bounding box.  It will show up around whatever object you've selected.

The canvas is the entire drawing area, whether it's inside the page border or outside.  (The page border is a solid line rectangle, and can have a shadow and can be hidden, if you like.)

Hhmm, these on canvas controls must not be in my version of 1.0 alpha.  I'll have to download a more current version to test and try to answer your question.

Personally, I wouldn't file a bug report until we're sure everyone is talking about the same thing....  I can download later tonight, and then I'll post again, after I've tested.

However, I would echo my last comments, and hope that they can fix the problem, rather than add some new feature to control the problem.
  • 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