forked from reprappro/Software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pronsolerc
59 lines (55 loc) · 1.7 KB
/
.pronsolerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Sample .pronsolerc file - copy this into your home directory
macro up G1 Z6 F200
macro printnow !self.p.send_now("M23 [0]")
macro printme
G21
G90
move z 6
home
move z 6
M109 {0}
macro loud !self.p.loud = 1
macro quiet !self.p.loud = 0
set last_file_path /home/jeanmarc/Documents/Models/RepRapPro/Huxley/Print-Huxley/GCodes
set build_dimensions 150x150x75+0+0+0
set xy_feedrate 12000
set z_feedrate 150
set e_feedrate 200
set port /dev/ttyUSB1
set last_bed_temperature 57.0
set last_temperature 140.0
set temperature_abs 240
set temperature_pla 200
set bedtemp_pla 57
set bedtemp_abs 110
set baudrate 115200
set preview_extrusion_width 0.5
set sliceoptscommand ./Slic3r/bin/slic3r
set slicecommand ./Slic3r/bin/slic3r $s --output $o
set sliceconfig ./profiles/
button 0 "INIT SD" /c "#C8C8C8" M21
button 1 "EJECT" /c "#C8C8C8" M22
button 2 "LIST" /c "#C8C8C8" M20
button 3 "GET POS" /c "#C8C8C8" M114
button 4 "FAN OFF" /c "D1FFCC" fan
button 5 "ECHO" /c "#C8C8C8" loud
button 6 "QUIET" /c "#C8C8C8" quiet
button 7 " BL " G1 X135 Y15 F12000
button 8 "CENTRE" G1 X70 Y70 F12000
button 9 " BR " G1 X15 Y15 F12000
button 10 " FL " G1 X135 Y135 F12000
button 11 " UP " G1 Z6 F200
button 12 " FR " G1 X15 Y135 F12000
macro fan
!global _fan
!if '_fan' in globals() and _fan:
!_fan = 0
M107
!if hasattr(self,"cur_button") and self.cur_button is not None:
!self.onecmd('button %d "FAN OFF" /c "D1FFCC" fan' % self.cur_button)
!else:
!_fan = 1
M106
!if hasattr(self,"cur_button") and self.cur_button is not None:
!self.onecmd('button %d "FAN ON)" /c red fan' % self.cur_button)
button 13 "M503" M503