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
848eee2d
Commit
848eee2d
authored
Nov 14, 2011
by
Keegi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote branch 'kliment/master' into experimental
parents
0839071f
440a5ca5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
README.md
README.md
+2
-1
pronterface.py
pronterface.py
+5
-5
No files found.
README.md
View file @
848eee2d
...
...
@@ -12,7 +12,8 @@ Download the following, and install in this order:
1.
http://python.org/ftp/python/2.7.2/python-2.7.2.msi
2.
http://pypi.python.org/packages/any/p/pyserial/pyserial-2.5.win32.exe
3.
http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.12.0-py27.exe
4.
http://launchpad.net/pyreadline/1.7/1.7/+download/pyreadline-1.7.zip
4.
http://launchpad.net/pyreadline/1.7/1.7/+download/pyreadline-1.7.win32.exe
## Ubuntu/Debian
`sudo apt-get install python-serial python-wxgtk2.8`
...
...
pronterface.py
View file @
848eee2d
...
...
@@ -137,8 +137,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
wx
.
CallAfter
(
i
.
Enable
)
# Enable XYButtons and ZButtons
self
.
xyb
.
enable
(
)
self
.
zb
.
enable
(
)
wx
.
CallAfter
(
self
.
xyb
.
enable
)
wx
.
CallAfter
(
self
.
zb
.
enable
)
if
self
.
filename
:
wx
.
CallAfter
(
self
.
printbtn
.
Enable
)
...
...
@@ -411,7 +411,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self
.
rescanbtn
=
wx
.
Button
(
self
.
panel
,
-
1
,
_
(
"Port"
),
pos
=
(
380
,
0
))
self
.
rescanbtn
.
Bind
(
wx
.
EVT_BUTTON
,
self
.
rescanports
)
uts
.
Add
(
self
.
rescanbtn
,
wx
.
TOP
|
wx
.
LEFT
,
5
)
uts
.
Add
(
self
.
rescanbtn
,
wx
.
TOP
|
wx
.
LEFT
,
0
)
self
.
serialport
=
wx
.
ComboBox
(
self
.
panel
,
-
1
,
choices
=
self
.
scanserial
(),
style
=
wx
.
CB_DROPDOWN
|
wx
.
CB_READONLY
,
pos
=
(
50
,
0
))
...
...
@@ -1416,8 +1416,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
wx
.
CallAfter
(
i
.
Disable
)
# Disable XYButtons and ZButtons
self
.
xyb
.
disable
(
)
self
.
zb
.
disable
(
)
wx
.
CallAfter
(
self
.
xyb
.
disable
)
wx
.
CallAfter
(
self
.
zb
.
disable
)
if
self
.
paused
:
self
.
p
.
paused
=
0
...
...
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