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
0dd3ce31
Commit
0dd3ce31
authored
Apr 26, 2012
by
Kliment Yanev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made pronterface extremely compact to help it fit a tiny netbook screen
parent
594d8ede
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
60 deletions
+68
-60
graph.py
graph.py
+1
-1
gviz.py
gviz.py
+4
-0
pronterface.py
pronterface.py
+63
-59
No files found.
graph.py
View file @
0dd3ce31
...
@@ -30,7 +30,7 @@ class Graph(BufferedCanvas):
...
@@ -30,7 +30,7 @@ class Graph(BufferedCanvas):
#super(Graph, self).__init__(parent, id, pos, size, style)
#super(Graph, self).__init__(parent, id, pos, size, style)
BufferedCanvas
.
__init__
(
self
,
parent
,
id
)
BufferedCanvas
.
__init__
(
self
,
parent
,
id
)
self
.
SetSize
(
wx
.
Size
(
1
70
,
10
0
))
self
.
SetSize
(
wx
.
Size
(
1
50
,
8
0
))
self
.
extruder0temps
=
[
0
]
self
.
extruder0temps
=
[
0
]
self
.
extruder0targettemps
=
[
0
]
self
.
extruder0targettemps
=
[
0
]
...
...
gviz.py
View file @
0dd3ce31
...
@@ -36,6 +36,10 @@ class window(wx.Frame):
...
@@ -36,6 +36,10 @@ class window(wx.Frame):
#print time.time()-s
#print time.time()-s
self
.
initpos
=
[
0
,
0
]
self
.
initpos
=
[
0
,
0
]
self
.
p
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
p
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
bu
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
bd
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
bi
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
bo
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
Bind
(
wx
.
EVT_KEY_DOWN
,
self
.
key
)
self
.
p
.
Bind
(
wx
.
EVT_MOUSEWHEEL
,
self
.
zoom
)
self
.
p
.
Bind
(
wx
.
EVT_MOUSEWHEEL
,
self
.
zoom
)
self
.
Bind
(
wx
.
EVT_MOUSEWHEEL
,
self
.
zoom
)
self
.
Bind
(
wx
.
EVT_MOUSEWHEEL
,
self
.
zoom
)
...
...
pronterface.py
View file @
0dd3ce31
This diff is collapsed.
Click to expand it.
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