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
class Tooth | |
constructor: ()-> | |
@csg = new Cylinder | |
r: 1 | |
h: 1 | |
center: true | |
@csg = @csg.scale [1,2.5,1] |
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
# How to create a hole | |
# First, create the object we want to put a hole in | |
disc = new Cylinder | |
d: 100 | |
h: 10 | |
center: true | |
# Next, create a cylinder the size of the hole | |
hole = new Cylinder |
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
id = 72; | |
od = 80; | |
os = 72; | |
id2 = 10.3; | |
od2 = 18.3; | |
th=4; | |
sep = os - (id2/2) - (id/2); | |
theta = ((th + 0.5) / (od / 2)) * 360 / 6.28; |
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
; generated by Slic3r 0.7.2b on 2013-05-12 at 11:02:16 | |
; layer_height = 0.2 | |
; perimeters = 3 | |
; solid_layers = 3 | |
; fill_density = 0.4 | |
; nozzle_diameter = 0.5 | |
; filament_diameter = 3 | |
; extrusion_multiplier = 1 | |
; perimeter_speed = 30 |
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
# | |
# A temperature logger | |
# | |
import httplib | |
import urllib | |
from serial import Serial | |
from time import sleep | |
ser = Serial(port='com4', timeout=5) |
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
// Title: E-cig Pen Stand | |
// Author: Jim Wygralak | |
// Date: Dec 17, 2014 | |
// License: Attribution-NonCommercial-ShareAlike 4.0 International | |
// http://creativecommons.org/licenses/by-nc-sa/4.0/ | |
var inch = 25.4; | |
var h = 0.125 * inch; // material thickness | |
var pdia = 5/8*inch; // pen diameter |
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
#!/usr/bin/python | |
import subprocess | |
import time | |
RUNNING = 1 | |
STOPPED = 0 | |
global state | |
state = STOPPED |
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
<html><head> | |
<meta name="viewport" content="width=480"> | |
<style> | |
input {border-style: none; border-bottom-style: solid; border-width:thin;} | |
div {border:solid thin black; margin: 0.5em; padding: 0.5em; border-radius: 1em; background: #f7f7f7;} | |
.die {border:solid thin black; margin: 1px; padding: 1px; border-radius: 5px; display: inline-block;} |