Cad.py: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
Jorgen (talk | contribs)
No edit summary
Madouc (talk | contribs)
Outdated information identified
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Cad.py er hugbúnaður sem virkar með tækjabúnaði í Fab Labsmiðjunni.
'''Cad.py is depricated !!!'''
'''It has been replaced by the Fab Modules (visit kokompe.cmb.mit.edu)'''


Hugbúnaðurinn er skrifaður í python og virkar í linux stýrikerfinu.
Cad.py is software that can control machines in the Fab Lab


[[Fræsa í Modella]]
* [[How to install cad.py in Ubuntu]]


[[How to install cad.py in Ubuntu]]
==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"'
 
[[Category:Tutorials]]  [[Category:Software]]

Latest revision as of 16:14, 17 November 2014

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"'