Skip to content

Instantly share code, notes, and snippets.

/*
Paul Kaplan, @ifitdidntwork
Create an ASCII STL file from a THREE.js mesh
that can be saved save from browser and 3D printed
--------------------------------------------------
See further explanation here:
http://buildaweso.me/project/2013/2/25/converting-threejs-objects-to-stl-files
--------------------------------------------------
Saving the file out of the browser is done using FileSaver.js
menu=[]
while True:
meal=raw_input("Welche Speise wollen Sie dem Menu hinzufuegen: ")
price=raw_input("Was kostet diese Speise: ")
new_meal={"Speise":meal, "Preis":price}
menu.append(new_meal)
abbruch=raw_input("Bist du fertig mit deinen Eintraegen? (J) ")
if abbruch.lower()=="j":
break
@marko-knoebl
marko-knoebl / mayaOnUbuntu.sh
Last active October 31, 2016 12:13 — forked from z3ntu/mayaOnUbuntu.sh
Shell script for installing Maya 2016 SP4. Tested on Ubuntu 15.10
#!/bin/bash
# Heith Seewald 2012
# Garoe Dorta 2015
# Luca Weiss 2015
# Also based on https://gist.github.com/MichaelLawton/ee27bf4a0f591bed19ac
# Feel free to extend/modify to meet your needs.
#### Lets run a few checks to make sure things work as expected.
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then