Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
dbbb51a4
Commit
dbbb51a4
authored
May 05, 2012
by
Jeremy Hammett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable constant Temperature display in console
parent
fdfd7738
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
pronsole.py
pronsole.py
+1
-1
pronterface.py
pronterface.py
+3
-2
No files found.
pronsole.py
View file @
dbbb51a4
...
@@ -1116,7 +1116,7 @@ class pronsole(cmd.Cmd):
...
@@ -1116,7 +1116,7 @@ class pronsole(cmd.Cmd):
if
(
self
.
sdprinting
):
if
(
self
.
sdprinting
):
self
.
p
.
send_now
(
"M27"
)
self
.
p
.
send_now
(
"M27"
)
time
.
sleep
(
interval
)
time
.
sleep
(
interval
)
print
(
self
.
tempreadings
.
replace
(
"
\r
"
,
""
)
.
replace
(
"T"
,
"Hotend"
)
.
replace
(
"B"
,
"Bed"
)
.
replace
(
"
\n
"
,
""
)
.
replace
(
"ok "
,
""
))
#
print (self.tempreadings.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ",""))
if
(
self
.
p
.
printing
):
if
(
self
.
p
.
printing
):
print
"Print progress: "
,
100
*
float
(
self
.
p
.
queueindex
)
/
len
(
self
.
p
.
mainqueue
),
"
%
"
print
"Print progress: "
,
100
*
float
(
self
.
p
.
queueindex
)
/
len
(
self
.
p
.
mainqueue
),
"
%
"
...
...
pronterface.py
View file @
dbbb51a4
...
@@ -1298,8 +1298,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -1298,8 +1298,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
pass
pass
tstring
=
l
.
rstrip
()
tstring
=
l
.
rstrip
()
#print tstring
#print tstring
if
(
tstring
!=
"ok"
and
tstring
!=
"wait"
):
#if (tstring!="ok") and (tstring!="wait"):
print
"["
+
time
.
strftime
(
'
%
H:
%
M:
%
S'
,
time
.
localtime
(
time
.
time
()))
+
"] "
+
tstring
#print "*"+tstring+"*"
#print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
#wx.CallAfter(self.logbox.AppendText,tstring+"\n")
#wx.CallAfter(self.logbox.AppendText,tstring+"\n")
for
i
in
self
.
recvlisteners
:
for
i
in
self
.
recvlisteners
:
i
(
l
)
i
(
l
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment