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

Fixed explode line position on short inserts.

This commit is contained in:
Chris Palmer
2023-12-01 22:15:41 +00:00
parent 49cc8333fd
commit ebe2dfd4fd

View File

@@ -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"));
$fn = 64;
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;
r2 = insert_barrel_d(type) / 2;
r3 = insert_ring3_d(type) / 2;