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
0b885578
Commit
0b885578
authored
Jun 29, 2011
by
Keegi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only save feedrates when changed
parent
8d92ac24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
pronterface.py
pronterface.py
+5
-3
No files found.
pronterface.py
View file @
0b885578
...
@@ -395,6 +395,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -395,6 +395,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self
.
gwindow
.
Show
()
self
.
gwindow
.
Show
()
def
setfeeds
(
self
,
e
):
def
setfeeds
(
self
,
e
):
self
.
feedrates_changed
=
True
try
:
try
:
self
.
settings
.
_set
(
"e_feedrate"
,
self
.
efeedc
.
GetValue
())
self
.
settings
.
_set
(
"e_feedrate"
,
self
.
efeedc
.
GetValue
())
except
:
except
:
...
@@ -436,6 +437,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -436,6 +437,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self
.
statuscheck
=
0
self
.
statuscheck
=
0
self
.
p
.
recvcb
=
None
self
.
p
.
recvcb
=
None
self
.
p
.
disconnect
()
self
.
p
.
disconnect
()
if
hasattr
(
self
,
"feedrates_changed"
):
self
.
save_in_rc
(
"set xy_feedrate"
,
"set xy_feedrate
%
d"
%
self
.
settings
.
xy_feedrate
)
self
.
save_in_rc
(
"set xy_feedrate"
,
"set xy_feedrate
%
d"
%
self
.
settings
.
xy_feedrate
)
self
.
save_in_rc
(
"set z_feedrate"
,
"set z_feedrate
%
d"
%
self
.
settings
.
z_feedrate
)
self
.
save_in_rc
(
"set z_feedrate"
,
"set z_feedrate
%
d"
%
self
.
settings
.
z_feedrate
)
self
.
save_in_rc
(
"set e_feedrate"
,
"set e_feedrate
%
d"
%
self
.
settings
.
e_feedrate
)
self
.
save_in_rc
(
"set e_feedrate"
,
"set e_feedrate
%
d"
%
self
.
settings
.
e_feedrate
)
...
...
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