1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-28 09:40:21 +02:00

Added pot_nut() module to draw potentiometer nuts and washers.

This commit is contained in:
Chris Palmer
2021-10-06 07:31:47 +01:00
parent b541298eae
commit 82502eb470
7 changed files with 55 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 116 KiB

View File

@@ -23,9 +23,13 @@ include <../vitamins/potentiometers.scad>
module potentiometers()
layout([for(p = potentiometers) pot_size(p).x])
hflip()
hflip() {
potentiometer(potentiometers[$i], shaft_length = 30);
translate_z(-3)
pot_nut(potentiometers[$i]);
}
if($preview)
let($show_threads = true)
potentiometers();