Cad.py

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search

Cad.py is depricated !!! It has been replaced by the Fab Modules (visit kokompe.cmb.mit.edu)

Cad.py is software that can control machines in the Fab Lab

cad.cfg

window size: 450
editor width: 45
editor height: 45
camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
epi: 'lpr -Plaser "file"; sleep 1; lprm -Plaser -'
ps: 'lpr "file"'


For the camm in Norway

window size: 450
editor width: 45
editor height: 45
camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -'
ps: 'lpr "file"'


For the CAMM in Vestmannaeyjar, Iceland we use USB.

window size: 450
editor width: 45
editor height: 45
camm: 'stty 9600 raw -echo crtscts </dev/usblp0; cat "file" > /dev/usblp0'
rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -'
ps: 'lpr "file"'