This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vacuum Tube LED Lights | |
// Ed Nisley KE4ZNU January 2016 | |
//- Extrusion parameters must match reality! | |
ThreadThick = 0.20; | |
ThreadWidth = 0.40; | |
HoleWindage = 0.2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vacuum Tube LED Lights | |
// Ed Nisley KE4ZNU January 2016 | |
Layout = "Sockets"; // Cap LampBase USBPort Socket(s) | |
Section = true; // cross-section the object | |
Support = true; | |
//- Extrusion parameters must match reality! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Neopixel lighting for multiple vacuum tubes | |
// Ed Nisley - KE4ANU - January 2015 | |
#include <Adafruit_NeoPixel.h> | |
//---------- | |
// Pin assignments | |
const byte PIN_NEO = A3; // DO - data out to first Neopixel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vacuum Tube LED Lights | |
// Ed Nisley KE4ZNU January 2016 | |
Layout = "FinCap"; // Cap LampBase USBPort Socket(s) (Build)FinCap | |
Section = true; // cross-section the object | |
Support = true; | |
//- Extrusion parameters must match reality! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Lipstick and Balm Tube Holder | |
// Ed Nisley KE4ZNU - February 2016 | |
//- Extrusion parameters - must match reality! | |
ThreadThick = 0.25; | |
ThreadWidth = 0.40; | |
function IntegerMultiple(Size,Unit) = Unit * ceil(Size / Unit); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from evdev import InputDevice,ecodes,KeyEvent | |
k=InputDevice('/dev/input/keypad') | |
for e in k.read_loop(): | |
if (e.type == ecodes.EV_KEY) and (KeyEvent(e).keystate == 1): | |
if (KeyEvent(e).keycode == 'KEY_NUMLOCK'): | |
continue # we don't care about the NumLock state | |
else: | |
print KeyEvent(e).scancode, KeyEvent(e).keycode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from evdev import InputDevice,ecodes,KeyEvent | |
import subprocess32 | |
Media = {'KEY_KP7' : ['mplayer','http://relay.publicdomainproject.org:80/classical.aac'], | |
'KEY_KP8' : ['mplayer','http://relay.publicdomainproject.org:80/jazz_swing.aac'], | |
'KEY_KP9' : ['mplayer','http://live.str3am.com:2070/wmht1'], | |
'KEY_KP6' : ['mplayer','http://pubint.ic.llnwd.net/stream/pubint_wamc'], | |
'KEY_KP1' : ['mplayer','-playlist','http://dir.xiph.org/listen/5423257/listen.m3u'], | |
'KEY_KP2' : ['mplayer','-playlist','http://dir.xiph.org/listen/5197460/listen.m3u'], | |
'KEY_KP3' : ['mplayer','-playlist','http://dir.xiph.org/listen/5372471/listen.m3u'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vacuum Tube LED Lights | |
// Ed Nisley KE4ZNU February 2016 | |
Layout = "Socket"; // Cap LampBase USBPort Socket(s) (Build)FinCap | |
DefaultSocket = "Noval"; | |
Section = false; // cross-section the object | |
Support = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from evdev import InputDevice,ecodes,KeyEvent | |
import subprocess32 | |
import select | |
import re | |
import sys | |
Media = {'KEY_KP7' : ['Classical',['mplayer','-playlist','http://stream2137.init7.net/listen.pls']], | |
'KEY_KP8' : ['Jazz',['mplayer','-playlist','http://stream2138.init7.net/listen.pls']], | |
'KEY_KP9' : ['WMHT',['mplayer','http://live.str3am.com:2070/wmht1']], | |
'KEY_KP4' : ['Dub 1',['mplayer','-playlist','http://dir.xiph.org/listen/2645/listen.m3u']], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple calibration boxes | |
// Thin wall open box - verify Extrusion Multiplier | |
// Solid box - verify infill settings | |
// Ed Nisley - KE4ZNU | |
// http://softsolder.com/ | |
Layout = "Open"; // Open Solid | |
Texting = "Text!"; // text message on solid box or empty string to suppress |