@@ -10,6 +10,7 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad
1010include < src/core/standard.scad>
1111use < src/core/gridfinity- rebuilt- utility.scad>
1212use < src/core/base.scad>
13+ use < src/core/wall.scad>
1314use < src/helpers/generic- helpers.scad>
1415use < src/helpers/grid.scad>
1516use < src/helpers/shapes.scad>
@@ -82,6 +83,7 @@ else gridfinityVase(); // Generate the bin
8283d_hole = 26 ; // center-to-center distance between holes
8384r_c1 = 0.8 ; // lower base chamfer "radius"
8485d_wall2 = BASE_TOP_RADIUS- r_c1- 0.25 * sqrt (2 );
86+ module profile_wall(h){ _profile_wall(h); }
8587// End Deprecated Variables
8688
8789d_bottom = layer* (max (bottom_layer,1 ));
@@ -409,7 +411,7 @@ module block_inset() {
409411}
410412
411413module block_inset_sub(x, y, ang) {
412- translate ([0 ,(gridy* l_grid- 0.5 )/2 + r_fo1 ,0 ])
414+ translate ([0 ,(gridy* l_grid- 0.5 )/2 + BASE_TOP_RADIUS ,0 ])
413415 mirror ([0 ,1 ,0 ])
414416 linear_extrude(y,center= true )
415417 polygon([[- x,0 ],[x,0 ],[0 ,x* tan (ang)]]);
@@ -428,7 +430,7 @@ module block_flushscoop() {
428430 linear_extrude(d_height)
429431 union () {
430432 copy_mirror([1 ,0 ,0 ])
431- polygon([[0 ,0 ],[gridx* l_grid/2 - r_fo1 ,0 ],[gridx* l_grid/2 - r_fo1 ,1 ],[gridx* l_grid/2 - r_fo1 - r_c1* 5 ,d_wall2- nozzle* 2 + 1 ],[0 ,d_wall2- nozzle* 2 + 1 ]]);
433+ polygon([[0 ,0 ],[gridx* l_grid/2 - BASE_TOP_RADIUS ,0 ],[gridx* l_grid/2 - BASE_TOP_RADIUS ,1 ],[gridx* l_grid/2 - BASE_TOP_RADIUS - r_c1* 5 ,d_wall2- nozzle* 2 + 1 ],[0 ,d_wall2- nozzle* 2 + 1 ]]);
432434 }
433435
434436 transform_scoop()
@@ -532,3 +534,15 @@ module block_x_sub() {
532534 offset(0.05 )
533535 profile_x();
534536}
537+
538+ module block_wall(gx, gy, l) {
539+ translate ([0 , 0 , BASE_PROFILE_HEIGHT])
540+ sweep_rounded([gx* l- 2 * BASE_TOP_RADIUS- 0.5 - 0.001 , gy* l- 2 * BASE_TOP_RADIUS- 0.5 - 0.001 ])
541+ children();
542+ }
543+
544+ module block_bottom( h = 2.2, gx, gy, l ) {
545+ translate ([0 , 0 , BASE_PROFILE_HEIGHT + 0.1 ])
546+ linear_extrude(h)
547+ rounded_square([gx* l- 0.5 - d_wall/4 , gy* l- 0.5 - d_wall/4 ], BASE_TOP_RADIUS+ 0.01 , center= true );
548+ }
0 commit comments