How to use Python to build stuff to be laser cut or 3d printed. Talk: https://github.com/vishnubob/pycon2016 Speaker: Giles Hall
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.19370138645172119</real> | |
<key>Green Component</key> | |
<real>0.15575926005840302</real> |
This file has been truncated, but you can view the full file.
This file contains hidden or 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 1.3.0-dev on 2016-10-21 at 19:18:30 | |
; external perimeters extrusion width = 0.50mm | |
; perimeters extrusion width = 0.58mm | |
; infill extrusion width = 0.58mm | |
; solid infill extrusion width = 0.58mm | |
; top infill extrusion width = 0.58mm | |
; support material extrusion width = 0.50mm | |
M107 |
This file contains hidden or 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
= About = | |
Please, sometimes replace the power towels in the maintenance tank. | |
The Epson Stylus Pro 4880 is an 18" roll printer equipped for photo printing. | |
Ink cartridges are quite expensive, so please do not run huge print jobs. | |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>React</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react-with-addons.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react-dom.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.14.0/babel.min.js"></script> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>React</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react-with-addons.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react-dom.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.14.0/babel.min.js"></script> |
This file contains hidden or 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
import flaschen | |
UDP_IP = 'localhost' | |
UDP_PORT = 1337 | |
ft = flaschen.Flaschen(UDP_IP, UDP_PORT, 45, 35) | |
def line_rasterizer(pt1, pt2): | |
""" Normalize and rasterize a line based on two of its points. | |
""" |
This file contains hidden or 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
def line_rasterizer(pt1, pt2): | |
""" Normalize and rasterize a line based on two of its points. | |
""" | |
xlen = abs(pt1[0]-pt2[0]) | |
ylen = abs(pt1[1]-pt2[1]) | |
xlower = min(pt1[0], pt2[0]) | |
xupper = max(pt1[0], pt2[0]) | |
ylower = min(pt1[1], pt2[1]) | |
yupper = max(pt1[1], pt2[1]) |
This file contains hidden or 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
#!/bin/bash | |
OPTIONS="-o StrictHostKeyChecking=no" | |
ssh [email protected] killall prboom-plus-game-server | |
ssh [email protected] killall prboom-plus | |
ssh [email protected] killall prboom-plus |
This file contains hidden or 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
OpenSCAD Resources: | |
wikibooks: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_Language#cube | |
makerbot: http://www.makerbot.com/blog/2011/02/02/openscad-intermediates-combining-forms | |
beginner's tutorial: http://edutechwiki.unige.ch/en/OpenScad_beginners_tutorial | |
cheat sheet: http://www.openscad.org/cheatsheet/ | |
user manual: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual |