Inkscape.org
Beginners' Questions paths become distorted after using path conversions or cropping.combining tools?
  1. #1
    Rh_4m Rh_4m @leeds.17.9.5
    *

    essentially, ive noticed that when i do something like convert an object/stroke to a path, or i use a function like the "union" or "difference" tools, the resulting path will have strange shifts in shape that shouldnt have been there, at least i dont think?

    as a demonstration, i have these 4 images here that show before and after i used "difference" on this circle and red line. The resulting shape does not maintain a perfectly circular shape

    one strange thing ive noticed (in the last two images) is that using "inverse clip" instead of "difference" does not lead to this same distortion. However, i dont think its very feasible to use as another part of this issue is that the lines are strokes converted to paths, and thus also have their own imperfections. Unless theres some way to use clipping tools with strokes that i just dont know about, idk

    anyways, is there anything i can do to prevent these distortions? and if not, are there any alternatives i could use for cropping shapes that wouldnt cause distortion?

    thanks for any help!

    Screenshot 2024 10 20 155513
    Screenshot 2024 10 20 155519
    Screenshot 2024 10 20 155532
    Screenshot 2024 10 20 155539
    Screenshot 2024 10 22 140303
    Screenshot 2024 10 22 140257
  2. #2
    Tyler Durden Tyler Durden @TylerDurdenβš–

    Circle precision is inherently problematic when converting to paths or using booleans (which automatically convert to path). It's a Bezier math thing.

    Instead of circles, I will use a 36 point polygon converted to path, then set the nodes to smooth.Β 

    Β 

    h/t Lazur

  3. #3
    Rh_4m Rh_4m @leeds.17.9.5

    interesting... ill try def try this

    though, how exactly should i create these 36 point polygons? is there a way they should be spaced, and how would that vary depending on the shape/curvature of the path being made? is there a reason why you mention 36 specifically, and should i always use 36 points regardless of shape?

  4. #4
    Tyler Durden Tyler Durden @TylerDurdenβš–
    *

    I use this method just for circles/arcs/ellipses, using the Star/Polygon tool.

    Other path objects should be fine.

    Β 

  5. #5
    Rh_4m Rh_4m @leeds.17.9.5

    hmm, well, if i use them for circles, arc and ellipses, i'm still curious as to how these points should be arranged for the shape? how far apart should the be? how should they be distributed? how can i align all these pieces and know the end result will be a perfect circular shape? is it possible you could maybe attach a video/image example of this being done so i have a better idea of what i should do?

  6. #6
    Polygon Polygon @Polygonβš–πŸŒΆ

    There`s an extension to distribute nodes along a path due given criteria.

  7. #7
    Rh_4m Rh_4m @leeds.17.9.5

    oh, really? could you share a little more about that extension and how to use it?

  8. #8
    Polygon Polygon @Polygonβš–πŸŒΆ

    Like so for example:

  9. #9
    Tyler Durden Tyler Durden @TylerDurdenβš–

    To make more accurate arcs/circles:

    Β 

  10. #10
    Rh_4m Rh_4m @leeds.17.9.5

    Thanks so much from both of yall!

    just one more question, is there any way i could use this sort of technique (or something similar) to make rounded lines like this?

    Screenshot 2024 10 25 154819
  11. #11
    Polygon Polygon @Polygonβš–πŸŒΆ

    If that's anΒ arc you can use the circle tool for this.

    Β 

  12. #12
    Tyler Durden Tyler Durden @TylerDurdenβš–

    Maybe this:

Inkscape Inkscape.org Inkscape Forum Beginners' Questions paths become distorted after using path conversions or cropping.combining tools?