mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-11-25 17:58:02 +00:00
Make scoop customizable
This commit is contained in:
parent
c9b8df69e3
commit
7430123683
2 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad
|
|||
/* [Setup Parameters] */
|
||||
$fa = 8;
|
||||
$fs = 0.25;
|
||||
$scoop_percentage = 100;
|
||||
|
||||
/* [General Settings] */
|
||||
// number of bases along x-axis
|
||||
|
|
|
@ -346,7 +346,7 @@ module fillet_cutter(t = 0, c = "goldenrod") {
|
|||
}
|
||||
|
||||
module profile_cutter(h, l, s) {
|
||||
scoop = s ? (length*(($dh-2)/7+1)/12-r_f2) : 0;
|
||||
scoop = s ? (length*(($dh * ($scoop_percentage / 100)-2)/7+1)/12-r_f2) : 0;
|
||||
translate([r_f2,r_f2])
|
||||
hull() {
|
||||
if (l-scoop-2*r_f2 > 0)
|
||||
|
|
Loading…
Reference in a new issue