982e3f83a948d38a1da1919c9f19d8cb84842a46
Krita Grid Generator
A Python plugin for Krita that generates customizable square and hexagonal grids on vector layers.
Features
- Square Grids: Customizable width and height with an optional aspect ratio lock.
- Hexagonal Grids: Generates regular hexagons based on a single side length for a perfect honeycomb pattern.
- Color Selection: Choose between Krita's Foreground or Background color for the grid lines.
- Custom Thickness: Specify the line thickness in pixels.
- Dockable UI: Operates as a Krita Docker for quick access without blocking your workspace.
Installation
Method 1: Easy Import (Recommended)
- Download the project as a ZIP file
- Open Krita.
- Go to Tools > Scripts > Import Python Plugin from File...
- Select the downloaded
grid_generator.zipfile (found in the root of the project). - Restart Krita.
- Enable the plugin in Settings > Configure Krita... > Python Plugin Manager by checking Grid Generator.
Method 2: Manual Installation
- Locate your Krita resource folder (Settings > Manage Resources... > Open Resource Folder).
- Open the
pykritafolder. - Copy the
grid_generator.desktopfile and thegrid_generatorfolder from this repository into thepykritafolder. - Restart Krita and enable it via the Python Plugin Manager.
How to Use
- Once installed and enabled, go to Settings > Dockers and check Grid Generator.
- The Grid Generator panel will appear in your sidebar.
- Choose your Grid Type (Square or Hexagon).
- Adjust the Thickness, Dimensions, and Color.
- Click Generate. A new vector layer named "grid" will be created with your pattern.
Requirements
- Krita 5.0 or newer.
Languages
Python
94.4%
HTML
5.6%