mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-11-22 00:10:49 +00:00
parent
47ca12d8a8
commit
ba3c3e1554
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,8 @@ style_hole = 0; // [0:no holes, 1:magnet holes only, 2: magnet and screw holes -
|
|||
div_base_x = 0;
|
||||
// number of divisions per 1 unit of base along the Y axis. (default 1, only use integers. 0 means automatically guess the right division)
|
||||
div_base_y = 0;
|
||||
// thickness of bottom layer
|
||||
bottom_layer = 1;
|
||||
|
||||
|
||||
// ===== IMPLEMENTATION ===== //
|
||||
|
@ -79,6 +81,8 @@ module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap
|
|||
}
|
||||
translate([0,0,-1])
|
||||
rounded_rectangle(gridx*length-0.5005-d_wall*2, gridy*length-0.5005-d_wall*2, 1000, r_f2);
|
||||
translate([0,0,bottom_layer])
|
||||
rounded_rectangle(gridx*1000, gridy*1000, 1000, r_f2);
|
||||
}
|
||||
translate([0,0,h_base+d_clear])
|
||||
rounded_rectangle(gridx*length-0.5005-d_wall*2, gridy*length-0.5005-d_wall*2, h_base, r_f2);
|
||||
|
|
Loading…
Reference in a new issue