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
155505df
Commit
155505df
authored
Aug 07, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #419 from eldir/master
Made default extrusion length a setting
parents
a7c915bb
020bc30c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
gui.py
printrun/gui.py
+1
-1
pronsole.py
pronsole.py
+1
-0
No files found.
printrun/gui.py
View file @
155505df
...
...
@@ -170,7 +170,7 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None):
esettingspanel
=
root
.
newPanel
(
parentpanel
)
esettingssizer
=
wx
.
BoxSizer
(
wx
.
HORIZONTAL
)
root
.
edist
=
wx
.
SpinCtrl
(
esettingspanel
,
-
1
,
"5"
,
min
=
0
,
max
=
1000
,
size
=
(
70
,
-
1
))
root
.
edist
=
wx
.
SpinCtrl
(
esettingspanel
,
-
1
,
str
(
root
.
settings
.
extrusion_default
)
,
min
=
0
,
max
=
1000
,
size
=
(
70
,
-
1
))
root
.
edist
.
SetBackgroundColour
((
225
,
200
,
200
))
root
.
edist
.
SetForegroundColour
(
"black"
)
esettingssizer
.
Add
(
root
.
edist
,
flag
=
wx
.
ALIGN_CENTER
|
wx
.
RIGHT
,
border
=
5
)
...
...
pronsole.py
View file @
155505df
...
...
@@ -244,6 +244,7 @@ class Settings(object):
self
.
_add
(
SpinSetting
(
"xy_feedrate"
,
3000
,
0
,
50000
,
_
(
"X && Y manual feedrate"
),
_
(
"Feedrate for Control Panel Moves in X and Y (mm/min)"
),
"Printer"
))
self
.
_add
(
SpinSetting
(
"z_feedrate"
,
200
,
0
,
50000
,
_
(
"Z manual feedrate"
),
_
(
"Feedrate for Control Panel Moves in Z (mm/min)"
),
"Printer"
))
self
.
_add
(
SpinSetting
(
"e_feedrate"
,
100
,
0
,
1000
,
_
(
"E manual feedrate"
),
_
(
"Feedrate for Control Panel Moves in Extrusions (mm/min)"
),
"Printer"
))
self
.
_add
(
SpinSetting
(
"extrusion_default"
,
5
,
0
,
1000
,
_
(
"Extrusion length"
),
_
(
"Extrusion/REtraction (mm)"
),
"Printer"
))
self
.
_add
(
StringSetting
(
"slicecommand"
,
"python skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py $s"
,
_
(
"Slice command"
),
_
(
"Slice command"
),
"External"
))
self
.
_add
(
StringSetting
(
"sliceoptscommand"
,
"python skeinforge/skeinforge_application/skeinforge.py"
,
_
(
"Slicer options command"
),
_
(
"Slice settings command"
),
"External"
))
self
.
_add
(
StringSetting
(
"final_command"
,
""
,
_
(
"Final command"
),
_
(
"Executable to run when the print is finished"
),
"External"
))
...
...
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