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
d95a66f0
Commit
d95a66f0
authored
Apr 03, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #519
parent
88f24178
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pronsole.py
printrun/pronsole.py
+2
-2
pronterface.py
printrun/pronterface.py
+2
-2
No files found.
printrun/pronsole.py
View file @
d95a66f0
...
...
@@ -418,8 +418,8 @@ class Status:
if
"T0"
in
temps
:
hotend_temp
=
float
(
temps
[
"T0"
][
0
])
elif
"T"
in
temps
:
hotend_temp
=
float
(
temps
[
"T"
][
0
])
else
:
hotend_temp
=
None
if
temps
[
"T"
][
1
]:
hotend_setpoint
=
float
(
temps
[
"T
"
][
1
])
elif
temps
[
"T0"
][
1
]:
hotend_setpoint
=
float
(
temps
[
"T0
"
][
1
])
if
"T0"
in
temps
and
temps
[
"T0"
][
1
]
is
not
None
:
hotend_setpoint
=
float
(
temps
[
"T0
"
][
1
])
elif
"T"
in
temps
and
temps
[
"T"
][
1
]
is
not
None
:
hotend_setpoint
=
float
(
temps
[
"T
"
][
1
])
else
:
hotend_setpoint
=
None
if
hotend_temp
is
not
None
:
self
.
extruder_temp
=
hotend_temp
...
...
printrun/pronterface.py
View file @
d95a66f0
...
...
@@ -1593,8 +1593,8 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
if
self
.
display_graph
:
wx
.
CallAfter
(
self
.
graph
.
SetExtruder0Temperature
,
hotend_temp
)
if
self
.
display_gauges
:
wx
.
CallAfter
(
self
.
hottgauge
.
SetValue
,
hotend_temp
)
setpoint
=
None
if
"T0"
in
temps
and
temps
[
"T0"
][
1
]:
setpoint
=
float
(
temps
[
"T0"
][
1
])
elif
temps
[
"T"
][
1
]:
setpoint
=
float
(
temps
[
"T"
][
1
])
if
"T0"
in
temps
and
temps
[
"T0"
][
1
]
is
not
None
:
setpoint
=
float
(
temps
[
"T0"
][
1
])
elif
temps
[
"T"
][
1
]
is
not
None
:
setpoint
=
float
(
temps
[
"T"
][
1
])
if
setpoint
is
not
None
:
if
self
.
display_graph
:
wx
.
CallAfter
(
self
.
graph
.
SetExtruder0TargetTemperature
,
setpoint
)
if
self
.
display_gauges
:
wx
.
CallAfter
(
self
.
hottgauge
.
SetTarget
,
setpoint
)
...
...
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