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
0d5809ea
Commit
0d5809ea
authored
Jun 10, 2011
by
kliment
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slow approach on homing. Loaded filename in monitor output
parent
48f15695
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
pronsole.py
pronsole.py
+8
-4
pronterface.py
pronterface.py
+4
-0
No files found.
pronsole.py
View file @
0d5809ea
...
...
@@ -816,14 +816,18 @@ class pronsole(cmd.Cmd):
if
"x"
in
l
.
lower
():
self
.
do_move
(
"X -250"
)
self
.
p
.
send_now
(
"G92 X0"
)
self
.
do_move
(
"X 1"
)
self
.
do_move
(
"X -1"
)
self
.
do_move
(
"X 1 200"
)
self
.
do_move
(
"X -1 200"
)
self
.
do_move
(
"X 0.1"
)
self
.
do_move
(
"X -0.1"
)
self
.
p
.
send_now
(
"G92 X0"
)
if
"y"
in
l
.
lower
():
self
.
do_move
(
"Y -250"
)
self
.
p
.
send_now
(
"G92 Y0"
)
self
.
do_move
(
"Y 1"
)
self
.
do_move
(
"Y -1"
)
self
.
do_move
(
"Y 1 200"
)
self
.
do_move
(
"Y -1 200"
)
self
.
do_move
(
"Y 0.1"
)
self
.
do_move
(
"Y -0.1"
)
self
.
p
.
send_now
(
"G92 Y0"
)
if
"z"
in
l
.
lower
():
self
.
do_move
(
"Z -250"
)
...
...
pronterface.py
View file @
0d5809ea
...
...
@@ -330,6 +330,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
string
=
""
if
(
self
.
p
.
online
):
string
+=
"Printer is online. "
try
:
string
+=
"Loaded "
+
os
.
path
.
split
(
self
.
name
)[
1
]
+
" "
except
:
pass
string
+=
(
self
.
tempreport
.
replace
(
"
\r
"
,
""
)
.
replace
(
"T"
,
"Hotend"
)
.
replace
(
"B"
,
"Bed"
)
.
replace
(
"
\n
"
,
""
)
.
replace
(
"ok "
,
""
))
+
" "
if
self
.
sdprinting
:
string
+=
" SD printing:
%04.2
f
%%
"
%
(
self
.
percentdone
,)
...
...
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