Making hexagonal honeycomb lattice

Post questions on how to use or achieve an effect in Inkscape.
seans_potato_biz
Posts: 124
Joined: Mon Apr 07, 2008 6:01 am

Making hexagonal honeycomb lattice

Postby seans_potato_biz » Sun Nov 12, 2017 8:45 pm

I'm trying to make a honeycomb lattice. I tried following both versions of the instructions here but I end up with overlapping. How do I achieve the lattice? I don't know how to predict the result of the values entered into the tiled cloning interface.

Image
Win 7/10, Inkscape 0.92.2

We don't inherit the Earth from our parents; we borrow it from our children.

User avatar
brynn
Posts: 9612
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Making hexagonal honeycomb lattice

Postby brynn » Sun Nov 12, 2017 11:27 pm

Yeah, that's the problem with tiled clones is that you pretty much have to be a math or geometry whiz, to be able to use it. By the time I figure out the right numbers to use, I could have "manually" duplicated and snapped together a whole page.

In the example you showed, the author has his hexagon flipped around so that the top is horizontal. You've done it with a point at the top. So you'll need some different values for the Shift tab.

I couldn't tell you what they are, without spending a bit of time on it. But someone else may know the exact values already, and might post them for you.

tylerdurden
Posts: 1823
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Making hexagonal honeycomb lattice

Postby tylerdurden » Mon Nov 13, 2017 1:31 am

I'm no math wiz, but if you stick two hexagons together you can "read" the needed shifts.

The horizontal offset will need to be 50% per column to nest.
Since the height of each "point" (top and bottom) is 25% the height of the vertical sides, the vertical (y-shift) needs to be +75% (or negative).
Each column also needs to have 50% space between hexagons if we are nesting... they can''t be point to point in the same column. So each row needs 50% y-shift.
hextile.png
hextile.png (21.72 KiB) Viewed 327 times


One important note: tiling reads the original object's bounding box, so if you want the paths to touch node to node, build the tiles without stroke, then add the stroke to the original after the tiles are made.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

tylerdurden
Posts: 1823
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Making hexagonal honeycomb lattice

Postby tylerdurden » Mon Nov 13, 2017 2:47 am

Another direction (from the manual)
hextile2.png
hextile2.png (21.57 KiB) Viewed 311 times

http://tavmjong.free.fr/INKSCAPE/MANUAL ... Shift.html
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 2227
Joined: Mon Oct 05, 2015 10:44 am

Re: Making hexagonal honeycomb lattice

Postby Moini » Mon Nov 13, 2017 3:01 am

<offtopic> TD, how do you create those zoomed-in screenshots of dialogs on Windows? </offtopic>
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 1823
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Making hexagonal honeycomb lattice

Postby tylerdurden » Mon Nov 13, 2017 4:26 am

I use sharex (Foss) : https://getsharex.com
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 2227
Joined: Mon Oct 05, 2015 10:44 am

Re: Making hexagonal honeycomb lattice

Postby Moini » Mon Nov 13, 2017 5:27 am

Thanks, TD :) (I just figured out a different solution, making use of a hidden VirtualBox setting, now my screenshots are going to be twice as large for the manual :-D )
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Lazur
Posts: 4421
Joined: Tue Jun 14, 2016 10:38 am

Re: Making hexagonal honeycomb lattice

Postby Lazur » Mon Nov 13, 2017 5:31 am

Off topic:
No vector screenshots for the manual? Oh please...

Moini
Posts: 2227
Joined: Mon Oct 05, 2015 10:44 am

Re: Making hexagonal honeycomb lattice

Postby Moini » Mon Nov 13, 2017 7:20 am

LOL, wish that were possible, Lazur :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Lazur
Posts: 4421
Joined: Tue Jun 14, 2016 10:38 am

Re: Making hexagonal honeycomb lattice

Postby Lazur » Mon Nov 13, 2017 7:30 am

Off topic:
Moini wrote:LOL, wish that were possible, Lazur :)

That is, sort of.
Surely it takes more time but it is possible to trace the vector content. Like here.

Moini
Posts: 2227
Joined: Mon Oct 05, 2015 10:44 am

Re: Making hexagonal honeycomb lattice

Postby Moini » Mon Nov 13, 2017 8:42 am

Off topic:

Oh, didn't think of tracing... A bit too much work for that manual, and too heavy files for serving on the web - especially given that booktype (the software that is used for writing the manual) doesn't even accept SVG. But when vector screenshots become a possibility, with Gtk3, and we can build the manual ourselves in a git repository, then I'd love to have SVG.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 10 guests