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
6ed74e6a
Commit
6ed74e6a
authored
Jun 29, 2011
by
Keegi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missed change from self.feed{xyze} into self.settings.{xyze}_feedrate
parent
afb7236d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
pronsole.py
pronsole.py
+6
-8
No files found.
pronsole.py
View file @
6ed74e6a
...
@@ -754,14 +754,12 @@ class pronsole(cmd.Cmd):
...
@@ -754,14 +754,12 @@ class pronsole(cmd.Cmd):
if
not
self
.
p
.
online
:
if
not
self
.
p
.
online
:
print
"Printer is not online. Unable to move."
print
"Printer is not online. Unable to move."
return
return
feed
=
self
.
feedz
axis
=
"E"
l
=
l
.
split
()
l
=
l
.
split
()
if
(
l
[
0
]
.
lower
()
==
"x"
):
if
(
l
[
0
]
.
lower
()
==
"x"
):
feed
=
self
.
settings
.
x_feedrate
feed
=
self
.
settings
.
x
y
_feedrate
axis
=
"X"
axis
=
"X"
elif
(
l
[
0
]
.
lower
()
==
"y"
):
elif
(
l
[
0
]
.
lower
()
==
"y"
):
feed
=
self
.
settings
.
y_feedrate
feed
=
self
.
settings
.
x
y_feedrate
axis
=
"Y"
axis
=
"Y"
elif
(
l
[
0
]
.
lower
()
==
"z"
):
elif
(
l
[
0
]
.
lower
()
==
"z"
):
feed
=
self
.
settings
.
z_feedrate
feed
=
self
.
settings
.
z_feedrate
...
@@ -788,9 +786,9 @@ class pronsole(cmd.Cmd):
...
@@ -788,9 +786,9 @@ class pronsole(cmd.Cmd):
def
help_move
(
self
):
def
help_move
(
self
):
print
"Move an axis. Specify the name of the axis and the amount. "
print
"Move an axis. Specify the name of the axis and the amount. "
print
"move X 10 will move the X axis forward by 10mm at "
,
self
.
feedxy
,
"mm/min (default XY speed)"
print
"move X 10 will move the X axis forward by 10mm at "
,
self
.
settings
.
xy_feedrate
,
"mm/min (default XY speed)"
print
"move Y 10 5000 will move the Y axis forward by 10mm at 5000mm/min"
print
"move Y 10 5000 will move the Y axis forward by 10mm at 5000mm/min"
print
"move Z -1 will move the Z axis down by 1mm at "
,
self
.
feedz
,
"mm/min (default Z speed)"
print
"move Z -1 will move the Z axis down by 1mm at "
,
self
.
settings
.
z_feedrate
,
"mm/min (default Z speed)"
print
"Common amounts are in the tabcomplete list."
print
"Common amounts are in the tabcomplete list."
def
complete_move
(
self
,
text
,
line
,
begidx
,
endidx
):
def
complete_move
(
self
,
text
,
line
,
begidx
,
endidx
):
...
@@ -809,7 +807,7 @@ class pronsole(cmd.Cmd):
...
@@ -809,7 +807,7 @@ class pronsole(cmd.Cmd):
def
do_extrude
(
self
,
l
,
override
=
None
,
overridefeed
=
300
):
def
do_extrude
(
self
,
l
,
override
=
None
,
overridefeed
=
300
):
length
=
5
#default extrusion length
length
=
5
#default extrusion length
feed
=
self
.
feed
e
#default speed
feed
=
self
.
settings
.
e_feedrat
e
#default speed
if
not
self
.
p
.
online
:
if
not
self
.
p
.
online
:
print
"Printer is not online. Unable to move."
print
"Printer is not online. Unable to move."
return
return
...
@@ -849,7 +847,7 @@ class pronsole(cmd.Cmd):
...
@@ -849,7 +847,7 @@ class pronsole(cmd.Cmd):
def
do_reverse
(
self
,
l
):
def
do_reverse
(
self
,
l
):
length
=
5
#default extrusion length
length
=
5
#default extrusion length
feed
=
self
.
feed
e
#default speed
feed
=
self
.
settings
.
e_feedrat
e
#default speed
if
not
self
.
p
.
online
:
if
not
self
.
p
.
online
:
print
"Printer is not online. Unable to move."
print
"Printer is not online. Unable to move."
return
return
...
...
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