Navigation Structure
Table of contents
Base Plate Settings
Setting | Description |
---|---|
Width | X dimension in grid units (multiples of 42mm)[ 0.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 ] |
Depth | Y dimension in grid units (multiples of 42mm)[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 ] |
Plate_Style | The style of the plate to generate. Options base : Base plate to go under Gridfinity bins.lid :Lid Plate, that go on a Gridfinity bin and is also a base |
Base_Plate_Options | Options for the base plate. Options default :Default, simple base gridMagnet :Efficient magnet base, Weighted : Thicker base with space for weights |
Lid_Options | Options for the lid plate Options default : Lid that is also a Gridfinity baseflat : Removes the internal grid from base the lidhalfpitch : Adds half pitch grid to the base of the lid |
Custom_Grid_Enabled | Enables custom base plate shapes. This can only be done by the script. This only works for the Base plate not the lid. |
Size Customisation
The Custom_Grid_Enabled
allows for creating custom grid patters. To enable this you must first enable the Custom_Grid_Enabled
flag and then configure the xpos1 to xpos7 variables in the script.
The xpos1 to xpos7 variables are each arrays of 7 values creating a 7 by 7 grid, where each value represents a single Gridfinity cell. The number in the array will define how the cell is represented. Some cells will need rounded corners and some square corners, however he script does not workout is up to the user.
0
: The cell is off1
: The cell is on, and all corners will be rounded.2-17
: Represent a 4bit value used to calculate what corners of the cell should be rounded or square cut. Bitwise logic then used to perform the calculation, 2 must be subtracted from the value for the bitwise logic to make work, this allows 0 and 1 to turn the cell on and off0
The cell is off1
The cell is on all corners are rounded- ref [4,3,2,1] The corner that relates to the bitwise value
2
[0,0,0,0] all corners square3
[0,0,0,1] corner 1 rounded4
[0,0,1,0] corner 2 rounded5
[0,0,1,1] corner 1,2 rounded6
[0,1,0,0] corner 3 rounded7
[0,1,0,1] corner 1,3 rounded8
[0,1,1,0] corner 1,2 rounded9
[0,1,1,1] corner 1,2,3 rounded10
[1,0,0,0] corner 4 rounded11
[1,0,0,1] corner 1,4 rounded12
[1,0,1,0] corner 2,4 rounded13
[1,0,1,1] corner 1,2,4 rounded14
[1,1,0,0] corner 3,4 rounded15
[1,1,0,1] corner 1,3,4 rounded16
[1,1,1,0] corner 2,3,4 rounded17
[1,1,1,1] corner 1,2,3,4 rounded
I am not sure it this is that useful, but its possible and was fun to code, so here we are.
Example
xpos1 = [3,4,0,0,0,0,0];
xpos2 = [2,2,0,5,0,0,0];
xpos3 = [6,2,2,2,0,0,0];
xpos4 = [0,6,2,2,0,0,0];
xpos5 = [0,0,6,10,0,0,0];
xpos6 = [0,0,0,0,0,0,0];
xpos7 = [0,0,0,0,0,0,0];