mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-12-22 23:03:28 +00:00
Add more brief function descriptions
This commit is contained in:
parent
6b6b385cda
commit
fd4db5aa9f
1 changed files with 18 additions and 0 deletions
|
@ -258,6 +258,16 @@ module gridfinityBase(gx, gy, l, dx, dy, style_hole, off=0, final_cut=true, only
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief A single Gridfinity base.
|
||||||
|
* @param gx
|
||||||
|
* @param gy
|
||||||
|
* @param l
|
||||||
|
* @param dbnx
|
||||||
|
* @param dbny
|
||||||
|
* @param style_hole
|
||||||
|
* @param off
|
||||||
|
*/
|
||||||
module block_base(gx, gy, l, dbnx, dbny, style_hole, off) {
|
module block_base(gx, gy, l, dbnx, dbny, style_hole, off) {
|
||||||
render(convexity = 2)
|
render(convexity = 2)
|
||||||
difference() {
|
difference() {
|
||||||
|
@ -274,6 +284,14 @@ module block_base(gx, gy, l, dbnx, dbny, style_hole, off) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief A gridfinity base with no holes.
|
||||||
|
* @details Used as the "base" with holes removed from it later.
|
||||||
|
* @param dbnx
|
||||||
|
* @param dbny
|
||||||
|
* @param l
|
||||||
|
* @param o
|
||||||
|
*/
|
||||||
module block_base_solid(dbnx, dbny, l, o) {
|
module block_base_solid(dbnx, dbny, l, o) {
|
||||||
xx = dbnx*l-0.05;
|
xx = dbnx*l-0.05;
|
||||||
yy = dbny*l-0.05;
|
yy = dbny*l-0.05;
|
||||||
|
|
Loading…
Reference in a new issue