1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-11 01:44:01 +02:00

Added sink parameter to screw_polysink() to recess the head.

This commit is contained in:
Chris Palmer
2021-03-22 16:11:51 +00:00
parent cbab9cea02
commit ca1b34e9ca
4 changed files with 13 additions and 6 deletions

View File

@@ -16,6 +16,10 @@
// You should have received a copy of the GNU General Public License along with NopSCADlib.
// If not, see <https://www.gnu.org/licenses/>.
//
// Extra countersink depth
sink = 0; // [0 : 0.05: 1.0]
include <../core.scad>
module polysink_stl() {
@@ -32,9 +36,9 @@ module polysink_stl() {
let(s = cs_screws[i])
translate([i * 20, 0]) {
translate_z(size.z)
screw_polysink(s, 2 * size.z + 1);
screw_polysink(s, 2 * size.z + 1, sink = sink);
screw_polysink(s, 2 * size.z + 1, alt = true);
screw_polysink(s, 2 * size.z + 1, alt = true, sink = sink);
}
}
}