Author Topic: Shapes are not stick to each other seamlessly (a gap between shapes)  (Read 1391 times)

December 17, 2017, 07:29:24 AM
Read 1391 times

midfun

  • Sr. Newbie

  • Offline
  • **

  • 2
Good day,

I recently decided to try to create a minimalistic logo in Inkscape, with only from triangles in my case. For this, I created an axonometric grid. Working in Inkscape was a little less convenient than in the usual AI, but everything was fine as long as I did not turn off the grid. It turned out that the shapes (triangles) are not ideally stick together, but have a small gap, as if the grid line had a real thickness. Then I tried to repeat this without a grid, but there is still a gap.

Triangles.png
*Triangles.png
(39.46 kB . 1000x1010)
(viewed 717 times)

Triangles-screen-grid.png
*Triangles-screen-grid.png
(192.96 kB . 1917x885)
(viewed 378 times)

Triangles-screen-no-grid.png
*Triangles-screen-no-grid.png
(101.42 kB . 1915x877)
(viewed 357 times)


Maybe there is a magic settings to fix it? I'd tried to search it, but no result. There was one close issues (http://www.inkscapeforum.com/viewtopic.php?t=16453), but it seems TS choosed another program in the end.

Please, help.

.svg test files in the attachment.
  • Inkscape 0.92.2 (5c3e80d, 2017-08-06) (from portable apps)
  • Windows 10 Pro 17.09 16299.125, 64-bit

December 17, 2017, 08:03:02 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

Yes, the triangles are perfectly aligned one to another.   This is a known problem caused by anti-aliasing.  Many graphics programs have this problem.  Here are all the known solutions for Inkscape:  https://inkscape.org/en/learn/faq/#theres-seam-or-artifact-between-adjacent-objects-sharing-same-border-or-between-patterns  My favorite is the Stitch filter, but there are several others.
  • 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                       

December 17, 2017, 08:47:07 AM
Reply #2

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
Anti-aliasing and compositing together produce the tendering gap issue, here is an explantion.

I prefer overlapping the shapes -filtering doesn't transfer to a full vector pdf, although it can produce a good rendering on opaque shapes.

December 17, 2017, 09:06:59 AM
Reply #3

midfun

  • Sr. Newbie

  • Offline
  • **

  • 2
Thank you for your helpful answer.
To be honest, this is the first time I've face to this kind of problem.

Actually, Stitch filter real works, but am I right that now I have to add a "Stitch file" to each project? Like an injection of the vaccine for this issue?
Union/Combine also works, it's OK to combine a shape after design.

Of course, I would like to see this problem never appeared at all — the "stitch filter" is not a reliable solution, 'cause it modifies the objects themselves, which can lead to unexpected problems in future. And Union/Combine can't be used at the design stage.
  • Inkscape 0.92.2 (5c3e80d, 2017-08-06) (from portable apps)
  • Windows 10 Pro 17.09 16299.125, 64-bit

December 18, 2017, 07:42:32 AM
Reply #4

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
I realised the problem a few years ago.

Ever since, using overlapping -here is a collection of images with an overlapping structure I've drawn. Sometimes it can get real tricky.

December 19, 2017, 02:34:19 PM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I probably should explain that I like to suggest the stitch filter, because it works under many different circumstance.  But overlapping the objects by a couple of pixels is probably the best solution.

Or the other thing you could easily do, given the simplicity of those particular artworks, is use the Pen/Bezier tool, perhaps with guidance from grid or guides, and snapping; draw a diamond shape as a whole, rather than make it out of 2 or several triangles.  In my opinion, that is the best solution, in this case.
  • 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