Author Topic: Hexes are not snapping together as tightly as I'd expect  (Read 407 times)

June 25, 2019, 02:23:21 AM
Read 407 times

Bad Hair Day

  • Jr. Member

  • Offline
  • ***

  • 38
  • Gender
    Male

    Male
This time I am uploading the .SVG file.  I deleted my "infrastructure."  And I changed all the hexes to De-Cloned (although it didn't save nearly as much memory as I'd hoped).  If you zoom in to the point of seeing just several to a dozen hexes in the image, you can clearly see that some of the hexes are off kilter and have white space between the black lines that are the outer edges of each hex.  And if you zoom in so that one "Y" junction fills the screen, you can see that even the lines that "look right" at a normal zoom are still not uniform.  Sometimes there is a sliver of white between them, sometimes the line is the thickness of two lines from a hex and other times its the thickness of one line from a hex.  And I would have thought that in a vector graphics program, they would all be entirely uniform.  ]

So I feel like I am doing two things wrong.  First, they are not aligning at the zoom level of a dozen hexes.  Second, the ones that look right at that level do not look correctly lined up once you are at magnifications around 5,000% and over. 

How do I fix this? 

BHD
PS  This picture is of one "MET Hex", which is made up of 6,859 hexes.  My final "map" will have 559 of these METHexes in it, for a grand total of 3,834,121 hexes.  I've decided that I will build the whole image in one .svg file, but if it's unworkable because it's too big, then I can subdivide it into 19 different "maps" for working with it every day. 
  • 1.0 Alpha
  • Win10

June 25, 2019, 02:24:28 AM
Reply #1

Bad Hair Day

  • Jr. Member

  • Offline
  • ***

  • 38
  • Gender
    Male

    Male
Forgot to attach file...
  • 1.0 Alpha
  • Win10

June 25, 2019, 04:47:24 AM
Reply #2

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
You need to snap nodes together, not bounding boxes. Also make sure that your hexagons are 100% straight, and not slightly rotated. (didn't look at the file, but these are possible reasons for what you see)

June 25, 2019, 03:40:34 PM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I had attached the wrong screenshot to your other message about snapping.  I'm so sorry.  But I've attached the correct one in a new message.

https://forum.inkscapecommunity.com/index.php?topic=1775.msg11723#msg11723
  • 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                       

June 25, 2019, 04:27:37 PM
Reply #4

flamingolady

  • IC Mentor

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

  • 154
  • Gender
    Female

    Female
Well from first glance, what I see that 'could' be causing at least part of it is that the nodes on your hex are not perfectly aligned to begin with, eg, the lines are not perfect to start with, (I tried to manually align as well which didn't work, so I looked at the node placement). Take a look, select a node on the left side of a hex, look at the x and y axis placements (easiest to do when you chg to px vs cm), then select a node on the right side, then select above it.  You'll see they're all a tad bit off. 
Also, when I try to snap objects I get an unexpected result, it 'hides' part of the hex on some of them, can't figure that one out. 

June 25, 2019, 04:59:33 PM
Reply #5

flamingolady

  • IC Mentor

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

  • 154
  • Gender
    Female

    Female
Played with it, not much time, but you can see how making perfectly straight lines help it to line up.  I still had some issues with snapping, but it looks better. note, I did resize it to make it smaller to show here, feel free to use this if you want.