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
fd89ad28
Commit
fd89ad28
authored
Oct 16, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set showall directly in addfile method
parent
62e31e73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
gcview.py
printrun/gcview.py
+1
-1
pronterface.py
printrun/pronterface.py
+1
-2
No files found.
printrun/gcview.py
View file @
fd89ad28
...
...
@@ -290,7 +290,7 @@ class GcodeViewMainWrapper(object):
def
setlayer
(
self
,
*
a
):
pass
def
addfile
(
self
,
gcode
=
None
):
def
addfile
(
self
,
gcode
=
None
,
showall
=
False
):
self
.
model
=
create_model
(
self
.
root
.
settings
.
light3d
if
self
.
root
else
False
)
if
gcode
:
...
...
printrun/pronterface.py
View file @
fd89ad28
...
...
@@ -1721,9 +1721,8 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
print
_
(
"Estimated duration:
%
s"
)
%
gcode
.
estimate_duration
()
self
.
gviz
.
clear
()
self
.
gwindow
.
p
.
clear
()
self
.
gviz
.
addfile
(
gcode
)
self
.
gviz
.
addfile
(
gcode
,
True
)
self
.
gwindow
.
p
.
addfile
(
gcode
)
self
.
gviz
.
showall
=
1
wx
.
CallAfter
(
self
.
gviz
.
Refresh
)
def
printfile
(
self
,
event
):
...
...
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