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
96243e18
Commit
96243e18
authored
Jun 23, 2011
by
kliment
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcode visualization window caption and highlights
parent
48b981f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gviz.py
gviz.py
+1
-1
pronterface.py
pronterface.py
+1
-1
No files found.
gviz.py
View file @
96243e18
...
@@ -2,7 +2,7 @@ import wx,time
...
@@ -2,7 +2,7 @@ import wx,time
class
window
(
wx
.
Frame
):
class
window
(
wx
.
Frame
):
def
__init__
(
self
,
f
,
size
=
(
600
,
600
),
bedsize
=
(
200
,
200
)):
def
__init__
(
self
,
f
,
size
=
(
600
,
600
),
bedsize
=
(
200
,
200
)):
wx
.
Frame
.
__init__
(
self
,
None
,
title
=
"
Slicetest
"
,
size
=
(
size
[
0
],
size
[
1
]))
wx
.
Frame
.
__init__
(
self
,
None
,
title
=
"
Layer view (Use arrow keys to switch layers)
"
,
size
=
(
size
[
0
],
size
[
1
]))
self
.
p
=
gviz
(
self
,
size
=
size
,
bedsize
=
bedsize
)
self
.
p
=
gviz
(
self
,
size
=
size
,
bedsize
=
bedsize
)
s
=
time
.
time
()
s
=
time
.
time
()
for
i
in
f
:
for
i
in
f
:
...
...
pronterface.py
View file @
96243e18
...
@@ -108,7 +108,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -108,7 +108,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except
:
except
:
pass
pass
self
.
gviz
.
addgcode
(
line
,
hilight
=
1
)
self
.
gviz
.
addgcode
(
line
,
hilight
=
1
)
self
.
gwindow
.
p
.
addgcode
(
line
,
hilight
=
1
)
#
self.gwindow.p.addgcode(line,hilight=1)
def
do_extrude
(
self
,
l
=
""
):
def
do_extrude
(
self
,
l
=
""
):
try
:
try
:
...
...
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