Skip to content

Commit

Permalink
Removed whitespace in attempt to pass merge test
Browse files Browse the repository at this point in the history
Pre-merge test showed a failure in removing 'trailing whitespace'. Some whitespaces removed in an attempt to pass this.
  • Loading branch information
Asger1002 authored and Ruudjhuu committed Feb 16, 2024
1 parent 1bc283c commit 2f2567d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gridfinity-rebuilt-utility.scad
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ module cutEqualBins(bins_x=1, bins_y=1, len_x=1, len_y=1, pos_x=0, pos_y=0, styl
// Calculate width and height of each bin based on total length and number of bins
bin_width = len_x / bins_x;
bin_height = len_y / bins_y;

// Loop through each bin position in x and y direction
for (i = [0:bins_x-1]) {
for (j = [0:bins_y-1]) {
// Calculate the starting position for each bin
// Adjust position by adding pos_x and pos_y to shift the entire grid of bins as needed
bin_start_x = pos_x + i * bin_width;
bin_start_y = pos_y + j * bin_height;

// Call the cut module to create each bin with calculated position and dimensions
// Pass through the style_tab and scoop parameters
cut(bin_start_x, bin_start_y, bin_width, bin_height, style_tab, scoop, tab_width=tab_width, tab_height=tab_height);
Expand Down

0 comments on commit 2f2567d

Please sign in to comment.