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:
@@ -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
|
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);
|
washer = screw_washer(type);
|
||||||
|
head_type = screw_head_type(type);
|
||||||
|
|
||||||
|
if(head_type != hs_cs && head_type != hs_cs_cap) {
|
||||||
translate_z(exploded() * 6)
|
translate_z(exploded() * 6)
|
||||||
if(penny)
|
if(penny)
|
||||||
penny_washer(washer);
|
penny_washer(washer);
|
||||||
@@ -278,3 +280,7 @@ module screw_and_washer(type, length, star = false, penny = false) { //! Screw w
|
|||||||
screw(type, length);
|
screw(type, length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
translate_z(eps)
|
||||||
|
screw(type, length);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user