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
fa0a69b4
Commit
fa0a69b4
authored
Jul 15, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Compose button and create a Tools menu
parent
d973abf4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
gui.py
printrun/gui.py
+0
-1
pronterface.py
pronterface.py
+7
-3
No files found.
printrun/gui.py
View file @
fa0a69b4
...
...
@@ -373,7 +373,6 @@ def MainToolbar(root, parentpanel = None, use_wrapsizer = False):
root
.
resetbtn
=
make_autosize_button
(
parentpanel
,
_
(
"Reset"
),
root
.
reset
,
_
(
"Reset the printer"
),
self
)
root
.
loadbtn
=
make_autosize_button
(
parentpanel
,
_
(
"Load file"
),
root
.
loadfile
,
_
(
"Load a 3D model file"
),
self
)
root
.
platebtn
=
make_autosize_button
(
parentpanel
,
_
(
"Compose"
),
root
.
plate
,
_
(
"Simple Plater System"
),
self
)
root
.
sdbtn
=
make_autosize_button
(
parentpanel
,
_
(
"SD"
),
root
.
sdmenu
,
_
(
"SD Card Printing"
),
self
)
root
.
printerControls
.
append
(
root
.
sdbtn
)
root
.
printbtn
=
make_sized_button
(
parentpanel
,
_
(
"Print"
),
root
.
printfile
,
_
(
"Start Printing Loaded File"
),
self
)
...
...
pronterface.py
View file @
fa0a69b4
...
...
@@ -579,13 +579,17 @@ class PronterWindow(MainWindow, pronsole.pronsole):
# File menu
m
=
wx
.
Menu
()
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
loadfile
,
m
.
Append
(
-
1
,
_
(
"&Open..."
),
_
(
" Opens file"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
do_editgcode
,
m
.
Append
(
-
1
,
_
(
"&Edit..."
),
_
(
" Edit open file"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
clearOutput
,
m
.
Append
(
-
1
,
_
(
"Clear console"
),
_
(
" Clear output console"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
exclude
,
m
.
Append
(
-
1
,
_
(
"Excluder"
),
_
(
" Exclude parts of the bed from being printed"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
project
,
m
.
Append
(
-
1
,
_
(
"Projector"
),
_
(
" Project slices"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
OnExit
,
m
.
Append
(
wx
.
ID_EXIT
,
_
(
"E&xit"
),
_
(
" Closes the Window"
)))
self
.
menustrip
.
Append
(
m
,
_
(
"&File"
))
m
=
wx
.
Menu
()
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
do_editgcode
,
m
.
Append
(
-
1
,
_
(
"&Edit..."
),
_
(
" Edit open file"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
plate
,
m
.
Append
(
-
1
,
_
(
"Plater"
),
_
(
" Compose 3D models into a single plate"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
exclude
,
m
.
Append
(
-
1
,
_
(
"Excluder"
),
_
(
" Exclude parts of the bed from being printed"
)))
self
.
Bind
(
wx
.
EVT_MENU
,
self
.
project
,
m
.
Append
(
-
1
,
_
(
"Projector"
),
_
(
" Project slices"
)))
self
.
menustrip
.
Append
(
m
,
_
(
"&Tools"
))
# Settings menu
m
=
wx
.
Menu
()
self
.
macros_menu
=
wx
.
Menu
()
...
...
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