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
b1113f06
Commit
b1113f06
authored
May 15, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Woops, typoz
parent
595edf60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
pronterface.py
pronterface.py
+3
-4
No files found.
pronterface.py
View file @
b1113f06
...
...
@@ -45,9 +45,8 @@ import printcore
from
printrun.printrun_utils
import
pixmapfile
,
configfile
from
printrun.gui
import
MainWindow
import
pronsole
def
dosify
(
name
):
return
os
.
path
.
split
(
name
)[
1
]
.
split
(
"."
)[
0
][:
8
]
+
".g"
from
pronsole
import
dosify
import
gcoder
def
parse_temperature_report
(
report
,
key
):
if
key
in
report
:
...
...
@@ -1283,7 +1282,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
threading
.
Thread
(
target
=
self
.
loadviz
)
.
start
()
def
loadviz
(
self
):
gcode
=
pronsole
.
GCode
(
self
.
f
)
gcode
=
gcoder
.
GCode
(
self
.
f
)
gcode
.
measure
()
Xtot
,
Ytot
,
Ztot
,
Xmin
,
Xmax
,
Ymin
,
Ymax
,
Zmin
,
Zmax
=
(
gcode
.
width
,
gcode
.
depth
,
gcode
.
height
,
gcode
.
xmin
,
gcode
.
xmax
,
gcode
.
ymin
,
gcode
.
ymax
,
gcode
.
zmin
,
gcode
.
zmax
)
print
gcode
.
filament_length
(),
_
(
"mm of filament used in this print
\n
"
)
...
...
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