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
756fa55f
Commit
756fa55f
authored
Jun 11, 2011
by
kliment
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zero extruder after homing
parent
40ba0e59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
pronsole.py
pronsole.py
+6
-1
No files found.
pronsole.py
View file @
756fa55f
...
@@ -835,15 +835,20 @@ class pronsole(cmd.Cmd):
...
@@ -835,15 +835,20 @@ class pronsole(cmd.Cmd):
self
.
do_move
(
"Z 2"
)
self
.
do_move
(
"Z 2"
)
self
.
do_move
(
"Z -3"
)
self
.
do_move
(
"Z -3"
)
self
.
p
.
send_now
(
"G92 Z0"
)
self
.
p
.
send_now
(
"G92 Z0"
)
if
"e"
in
l
.
lower
():
self
.
p
.
send_now
(
"G92 E0"
)
if
not
len
(
l
):
if
not
len
(
l
):
self
.
p
.
send_now
(
"G28"
)
self
.
p
.
send_now
(
"G28"
)
self
.
p
.
send_now
(
"G92 E0"
)
def
help_home
(
self
):
def
help_home
(
self
):
print
"Homes the printer"
print
"Homes the printer"
print
"home - homes all axes (Using G28)"
print
"home - homes all axes
and zeroes the extruder
(Using G28)"
print
"home xy - homes x and y axes (Using G1 and G92)"
print
"home xy - homes x and y axes (Using G1 and G92)"
print
"home z - homes z axis only (Using G1 and G92)"
print
"home z - homes z axis only (Using G1 and G92)"
print
"home e - set extruder position to zero (Using G92)"
print
"home xyz - homes all axes (Using G1 and G92)"
print
"home xyz - homes all axes (Using G1 and G92)"
print
"home xyze - homes all axes and zeroes the extruder (Using G1 and G92)"
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
...
...
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