Inkscape Hex Map Extension
Copyright 2008-2024 Pelle Nilsson and contributors
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
** Introduction This is an extension for creating hex grids in [[http://www.inkscape.org][Inkscape.]] It can also be used to make brick patterns of staggered rectangles.
You need Inkscape 1.0 or later installed. Older versions of Inkscape are NOT supported (you can use older versions of this extensions if you must create some hexgrids using older Inkscape versions, or just upgrade Inkscape). Installing To install the extension you need to copy hexmap.inx and hexmap.py into the extensions folder (directory) of your Inkscape installation. In Linux this will typically be /usr/share/inkscape/extensions or ~/.config/inkscape/extensions. If Inkscape was installed on Linux from [[https://flathub.org/apps/details/org.inkscape.Inkscape][Flatpak]] the path is more likely ~/.var/app/org.inkscape.Inkscape/config/inkscape/extensions/. In Windows it will be something like C:\Program Files\Inkscape\share\extensions. After (re)starting Inkscape you should now have Boardgames submenu in the Extensions menu, and in that an entry for running Generate Hex Map. Running The Extension Creates a grid of hexagons over the document. Up to six layers are created: