1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-04 06:27:24 +02:00

Screw_and_washer() no longer adds washers for countersunk screws.

This commit is contained in:
Chris Palmer
2020-05-18 15:29:19 +01:00
parent 02791c40ac
commit eadc541e8f

View File

@@ -259,7 +259,9 @@ module screw_countersink(type) { //! Countersink shape
module screw_and_washer(type, length, star = false, penny = false) { //! Screw with a washer which can be standard or penny and an optional star washer on top
washer = screw_washer(type);
head_type = screw_head_type(type);
if(head_type != hs_cs && head_type != hs_cs_cap) {
translate_z(exploded() * 6)
if(penny)
penny_washer(washer);
@@ -277,4 +279,8 @@ module screw_and_washer(type, length, star = false, penny = false) { //! Screw w
else
screw(type, length);
}
}
else
translate_z(eps)
screw(type, length);
}