It is currently Sat Jun 20, 2026 4:41 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Hexagonal grid plugin for GIMP 3.0
PostPosted: Sun Jun 15, 2025 1:18 pm  (#1) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Hi, this is the initial release of my python hexagonal grid plugin converted to the GIMP 3.0 API. The functionalities where also expanded, most notably with the sample sheet output, and a few bugs and calculations corrected.

By default, it creates an hexagonal grid, using a search algorithm for optimal rasterization. It can also output a sheet with multiple hexagonal grid samples, selected by quality, in a nice tabular format.

Requirements:
GIMP 3.0 (and probably later)

Intallation:
Extract the .zip file and place the pl_hexgrid folder inside your user profile's Plug-ins folder.
You can find the plugin at Filters > Render > Pattern

Excerpt from the readme:

This GIMP plugin aims to draw regular hexagonal grids that fit the pixel grid as perfectly as possible, avoiding some common artefact like blurred vertical or horizontal lines. This optimisation also ensures that each hexagon is exactly the same and symmetrical.

As no perfect fit exists between a square grid (pixels) and an hexagonal one, hexagons' proportions are slightly stretched. The amount of deformation depends on their size. The working size factor of the plugin is the apothem, i.e. the distance between the center and the middle of a face. The user interface presents a more understandable "width" parameter, a measure of the distance between two faces.



Hope it is useful for someone. The included help is very basic and a bit technical for now, don't hesitate if you have some questions.

Cheers!
Pascal


Attachments:
pl_hexgrid_014.zip [10.51 KiB]
Downloaded 403 times
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Mon Jun 16, 2025 8:13 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8382
Location: On the other side of your screen
Thankyou :cool . I'm sure I will find a use for it later. Love the sample sheet :)

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Tue Jun 17, 2025 11:21 am  (#3) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
You're welcome!

Agree, I'm quite happy with the sample sheet. And hexagons are fun! :)


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Wed Jun 18, 2025 1:36 am  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8382
Location: On the other side of your screen
Yeh! I did my own mosaic
Image

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Wed Jun 18, 2025 4:35 am  (#5) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Nice bump effect! Is it the original size? It would be nice to have it bigger to better see the effect.
What hexagon width did you use?


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Wed Jun 18, 2025 5:13 am  (#6) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8382
Location: On the other side of your screen
I'll try a bigger one later. Not sure of the settings and yes this is 100%. Thought I'd try it on a little one first.
I used the lighting effects bump and map> bump inverted on the grid layer.
5 min and 10 max and orientation was horizontal

Must have been a fluke I cannot do it again

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Wed Jun 18, 2025 5:50 am  (#7) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
sallyanne wrote:
I'll try a bigger one later. Not sure of the settings and yes this is 100%. Thought I'd try it on a little one first.
I used the lighting effects bump and map> bump inverted on the grid layer.
5 min and 10 max and orientation was horizontal

Must have been a fluke I cannot do it again


Don’t sweat it!
Maybe you used the "Bevel" filter?

More generally, if you want to make a bump map from an hex grid, you can use Filters > Generic > Distance map, and then use it as bump map for the Map > Bump map filter.

Many ways are possible.


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Sat Dec 13, 2025 1:45 pm  (#8) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
Made a German translation file for this one, too.
You can upload it to your github if you like.


Attachments:
de.zip [3.28 KiB]
Downloaded 90 times
Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Sat Dec 13, 2025 2:04 pm  (#9) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
quietreader wrote:
Made a German translation file for this one, too.
You can upload it to your github if you like.


Many thanks quietreader ! Will do ! I didn't announce the new version yet, your files will be included into it.


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Tue Dec 16, 2025 12:59 am  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16037
Thought i would select to path and then paint along that path with wilber. :)

Image

Lots i can think of to use this for. Thanks! :bigthup

_________________
Image


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Tue Dec 16, 2025 4:37 am  (#11) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8382
Location: On the other side of your screen
:coolthup Rod

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.0 and GMIC-Qt 3.7.5 OS :- Windows 10 Home 64


Top
 Post subject: Re: Hexagonal grid plugin for GIMP 3.0
PostPosted: Tue Dec 16, 2025 4:41 am  (#12) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Hey, great job Rod! :)


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group