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
a2c0d7a4
Commit
a2c0d7a4
authored
Oct 20, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #577: use G1 instead of G0 for manual moves
parent
c178ad0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pronsole.py
printrun/pronsole.py
+1
-1
pronterface.py
printrun/pronterface.py
+1
-1
No files found.
printrun/pronsole.py
View file @
a2c0d7a4
...
@@ -1459,7 +1459,7 @@ class pronsole(cmd.Cmd):
...
@@ -1459,7 +1459,7 @@ class pronsole(cmd.Cmd):
except
:
except
:
pass
pass
self
.
p
.
send_now
(
"G91"
)
self
.
p
.
send_now
(
"G91"
)
self
.
p
.
send_now
(
"G
0
"
+
axis
+
str
(
l
[
1
])
+
" F"
+
str
(
feed
))
self
.
p
.
send_now
(
"G
1
"
+
axis
+
str
(
l
[
1
])
+
" F"
+
str
(
feed
))
self
.
p
.
send_now
(
"G90"
)
self
.
p
.
send_now
(
"G90"
)
def
help_move
(
self
):
def
help_move
(
self
):
...
...
printrun/pronterface.py
View file @
a2c0d7a4
...
@@ -587,7 +587,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -587,7 +587,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
center_x
=
self
.
build_dimensions_list
[
0
]
/
2
+
self
.
build_dimensions_list
[
3
]
center_x
=
self
.
build_dimensions_list
[
0
]
/
2
+
self
.
build_dimensions_list
[
3
]
center_y
=
self
.
build_dimensions_list
[
1
]
/
2
+
self
.
build_dimensions_list
[
4
]
center_y
=
self
.
build_dimensions_list
[
1
]
/
2
+
self
.
build_dimensions_list
[
4
]
feed
=
self
.
settings
.
xy_feedrate
feed
=
self
.
settings
.
xy_feedrate
self
.
onecmd
(
'G
0
X
%
s Y
%
s F
%
s'
%
(
center_x
,
center_y
,
feed
))
self
.
onecmd
(
'G
1
X
%
s Y
%
s F
%
s'
%
(
center_x
,
center_y
,
feed
))
else
:
else
:
return
return
self
.
p
.
send_now
(
'M114'
)
self
.
p
.
send_now
(
'M114'
)
...
...
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