lifelike / hexmapextension

Inkscape extension for creating hex grids suitable for boardgame maps.
129 stars 16 forks source link

Uneven row support #10

Open pmjdebruijn opened 6 years ago

pmjdebruijn commented 6 years ago

Currently hexmapext generate the same amount of rows for each column.

Would you consider adding an option so that uneven rows could be generated.

For example instead of 17, 17, 17, 17, 17 rows, it would generate 17,16,17,16,17 rows.

I've briefly tried to hack this in myself, but I didn't get very far. The following sortof kinda has the effect I'd like:

if col % 2 == 0: rows = rows + 1 else: rows = rows - 1

However, this seems to break the vertices's at the outer edge.

lifelike commented 6 years ago

This is a really good idea. Have seen some games have a grid like that. Any idea what the option should be called? It will not always be the uneven rows since it depends on if the first row starts "down" or not (and it is a bonus if the name also works when the grid is rotated 90 degrees, although some options already ignore that).

pmjdebruijn commented 6 years ago

variable row length?

sennewood commented 6 years ago

How about a "pattern"-tab?

sennewood commented 5 years ago

I made a preview of a possible result and made the required addition pink:

hexbottom

lifelike commented 5 years ago

OK. I think an even better name is needed.

Adding on odd or even columns will depend on the First column half-hex down setting.