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
0db443c4
Commit
0db443c4
authored
May 22, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Beautify a few translation strings
parent
240a7c70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
pronterface.py
pronterface.py
+5
-4
No files found.
pronterface.py
View file @
0db443c4
...
@@ -1308,10 +1308,11 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -1308,10 +1308,11 @@ class PronterWindow(MainWindow, pronsole.pronsole):
def
loadviz
(
self
):
def
loadviz
(
self
):
gcode
=
self
.
fgcode
gcode
=
self
.
fgcode
print
gcode
.
filament_length
,
_
(
"mm of filament used in this print
\n
"
)
print
gcode
.
filament_length
,
_
(
"mm of filament used in this print"
)
print
_
(
"the print goes from
%
f mm to
%
f mm in X
\n
and is
%
f mm wide
\n
"
)
%
(
gcode
.
xmin
,
gcode
.
xmax
,
gcode
.
width
)
print
_
(
"The print goes:"
)
print
_
(
"the print goes from
%
f mm to
%
f mm in Y
\n
and is
%
f mm wide
\n
"
)
%
(
gcode
.
ymin
,
gcode
.
ymax
,
gcode
.
depth
)
print
_
(
"- from
%.2
f mm to
%.2
f mm in X and is
%.2
f mm wide"
)
%
(
gcode
.
xmin
,
gcode
.
xmax
,
gcode
.
width
)
print
_
(
"the print goes from
%
f mm to
%
f mm in Z
\n
and is
%
f mm high
\n
"
)
%
(
gcode
.
zmin
,
gcode
.
zmax
,
gcode
.
height
)
print
_
(
"- from
%.2
f mm to
%.2
f mm in Y and is
%.2
f mm deep"
)
%
(
gcode
.
ymin
,
gcode
.
ymax
,
gcode
.
depth
)
print
_
(
"- from
%.2
f mm to
%.2
f mm in Z and is
%.2
f mm high"
)
%
(
gcode
.
zmin
,
gcode
.
zmax
,
gcode
.
height
)
print
_
(
"Estimated duration:
%
s"
)
%
gcode
.
estimate_duration
()
print
_
(
"Estimated duration:
%
s"
)
%
gcode
.
estimate_duration
()
self
.
gviz
.
clear
()
self
.
gviz
.
clear
()
self
.
gwindow
.
p
.
clear
()
self
.
gwindow
.
p
.
clear
()
...
...
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