BenMiller_Grid Breaker Panel

Grid Breaker Panel


Grid Breaker Panel (Download) - This script is designed to add more accessibility to Maya's grid by tying it directly to a modular structure of your choice. After querying the unit of measurement your file is currently using, it allows you to choose the multiple that your grid will be divided and multiplied by and the step at which you would like to view your current grid. I've tried to add as many useful colors to the interface as possible so that you can understand it at a glance.

The script was meant to make it easy to traverse grid steps as you work and to understand exactly what your grid is displaying each time you open a file. Even without recalling its settings between uses, it is easy enough to jump to the grid step you'd like to work with. I often get confused while working in Maya if the program crashes or between sessions or between imports. Being aware of exactly what's going on and displaying it intuitively and fluidly can help a great deal.

All values greater than one unit across are displayed using the primary grid colors. All values smaller than one unit across are displayed using the secondary values. A series of checks ensures that the grid always displays at least one grid square in any direction (Maya's minimum) and that the number of grid squares being drawn doesn't exceed Maya's maximum render limits. It's possible that Maya's minimum 2x2 grid can be divided enough to exceed that maximum, in which case the grid step will be increased until it can fit. The user selected grid size (16 Millimeters Across) is used whenever possible but is overridden when the above checks need to adjust.

The scale multiplier will determine how many times each square is divided with each step. If you're working with values like 64, 1024, and 2048 you should use the By 2s multiplier. At the moment, this will limit you to the range of squares between 1/64th units across and 64 units across. Increasing that slider to allow values up to 16 would allow that range to go up to 512 and down to 1/8th.

By 10s would be useful for working within the metric system.