Grid Scale Presets - Change user-definable grid scales with keymaps without interrupting workflow


This plugin allows artists to swap between user-definable grid scale presets with a hotkey without interrupting workflow.

This feature was inspired by some game engines where users can swap between different grids with a keymap. The addon adds a dropdown menu displaying the current grid size to the 3D viewport header (which can be toggled off by preference).

Grid_Scale_Presets_Usage_Preview_Compressed

The GIF above demonstrates grid-scale presets on a procedural interior generator.

The dropdown menu contains a field where someone can add manual grid scaling and two columns of user-definable grid scale presets. There are two grid-scale preset categories: standard scales (.1, .5, 1, 10, 50, etc.) and scales in the power of two (.02, .04, .08, .16, .32, etc.).

By default, the plugin assigns two keymaps (‘[’ and ‘]’) to navigate between different grid scales. The user can bind a keymap to some properties if they wish.

By default, the grid-scale swapping functionality applies across all workspaces. Users can click on the ‘Per Workspace’ button to turn this functionality off.

The user can also export the plugin’s preferences into an ‘.ini’ file for safekeeping or if they prefer defining different grid scale presets in a text editor instead of Blender’s preference UI.

The add-on does not include the meshes, generators, and scenes presented in the GIF images.

You can get the addon here:


Special thanks to Shirk MacKenzie for testing the plugin!


Tested with

  • Blender 4.0.2
  • Blender 3.6.9 LTS
  • Blender 3.3.16 LTS

Features

  • Grid-scale presets feature.
  • Two different preset categories; ‘standard’ and ‘power of two.’
  • 3D Viewport header UI (can be toggled).
  • Workspace-wide preset application.
  • Flexible operators and properties with bindable keymaps.
  • Export or import preferences from or to an .ini file.

Current version

1.0.0
2 Likes