Skip to content

Commit 45f7637

Browse files
committed
Cleanup debug and implement in bins
1 parent 758e98d commit 45f7637

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gridfinity-rebuilt-bins.scad

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ div_base_y = 0;
8383
/* [Base Hole Options] */
8484
// only cut magnet/screw holes at the corners of the bin to save uneccesary print time
8585
only_corners = false;
86+
// Only cut magnet/screw holes at the edges of the bin to save print time. Not compatible with only_corners!
87+
only_edges = false;
8688
//Use gridfinity refined hole style. Not compatible with magnet_holes!
8789
refined_holes = true;
8890
// Base will have holes for 6mm Diameter x 2mm high magnets.
@@ -112,7 +114,7 @@ gridfinityInit(gridx, gridy, height(gridz, gridz_define, style_lip, enable_zsnap
112114
cutCylinders(n_divx=cdivx, n_divy=cdivy, cylinder_diameter=cd, cylinder_height=ch, coutout_depth=c_depth, orientation=c_orientation, chamfer=c_chamfer);
113115
}
114116
}
115-
gridfinityBase(gridx, gridy, l_grid, div_base_x, div_base_y, hole_options, only_corners=only_corners);
117+
gridfinityBase(gridx, gridy, l_grid, div_base_x, div_base_y, hole_options, only_corners=only_corners, only_edges=only_edges);
116118
}
117119

118120

gridfinity-rebuilt-utility.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ module gridfinityBase(gx, gy, l, dx, dy, hole_options=bundle_hole_options(), off
252252
pattern_linear(gx/dbnx, gy/dbny, dbnx*l, dbny*l)
253253
block_base(gx, gy, l, dbnx, dbny, bundle_hole_options(), off);
254254

255-
# cube([(gx-1)*l, (gy-1)*l, 14], center=true);
255+
cube([(gx-1)*l, (gy-1)*l, 14], center=true);
256256
}
257257
}
258258
else {

0 commit comments

Comments
 (0)