mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-11 09:53:58 +02:00
Fixed explode line position on short inserts.
This commit is contained in:
@@ -56,7 +56,7 @@ module insert(type) { //! Draw specified insert
|
|||||||
vitamin(str("insert(", type[0], "): Heatfit insert M", insert_screw_diameter(type), " x ", length, "mm"));
|
vitamin(str("insert(", type[0], "): Heatfit insert M", insert_screw_diameter(type), " x ", length, "mm"));
|
||||||
$fn = 64;
|
$fn = 64;
|
||||||
thread_d = insert_screw_diameter(type);
|
thread_d = insert_screw_diameter(type);
|
||||||
explode(20, offset = [0, 0, -5]) translate_z(eps) vflip() {
|
explode(20, offset = [0, 0, -length]) translate_z(eps) vflip() {
|
||||||
r1 = thread_d / 2;
|
r1 = thread_d / 2;
|
||||||
r2 = insert_barrel_d(type) / 2;
|
r2 = insert_barrel_d(type) / 2;
|
||||||
r3 = insert_ring3_d(type) / 2;
|
r3 = insert_ring3_d(type) / 2;
|
||||||
|
Reference in New Issue
Block a user