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
ca6bf893
Commit
ca6bf893
authored
Sep 28, 2011
by
Kliment Yanev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:kliment/Printrun
parents
bdba2b14
8cc06c1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
gviz.py
gviz.py
+6
-2
fr.po
locale/fr/LC_MESSAGES/fr.po
+2
-2
pronterface.mo
locale/fr/LC_MESSAGES/pronterface.mo
+0
-0
No files found.
gviz.py
View file @
ca6bf893
...
...
@@ -71,9 +71,10 @@ class gviz(wx.Panel):
penwidth
=
max
(
1.0
,
self
.
filament_width
*
((
self
.
scale
[
0
]
+
self
.
scale
[
1
])
/
2.0
))
self
.
translate
=
[
0.0
,
0.0
]
self
.
mainpen
=
wx
.
Pen
(
wx
.
Colour
(
0
,
0
,
0
),
penwidth
)
self
.
travelpen
=
wx
.
Pen
(
wx
.
Colour
(
10
,
80
,
80
),
penwidth
)
self
.
hlpen
=
wx
.
Pen
(
wx
.
Colour
(
200
,
50
,
50
),
penwidth
)
self
.
fades
=
[
wx
.
Pen
(
wx
.
Colour
(
250
-
0.6
**
i
*
100
,
250
-
0.6
**
i
*
100
,
200
-
0.4
**
i
*
50
),
penwidth
)
for
i
in
xrange
(
6
)]
self
.
penslist
=
[
self
.
mainpen
,
self
.
hlpen
]
+
self
.
fades
self
.
penslist
=
[
self
.
mainpen
,
self
.
travelpen
,
self
.
hlpen
]
+
self
.
fades
self
.
showall
=
0
self
.
hilight
=
[]
self
.
dirty
=
1
...
...
@@ -200,7 +201,10 @@ class gviz(wx.Panel):
self
.
pens
[
target
[
2
]]
=
[]
self
.
layers
+=
[
target
[
2
]]
self
.
lines
[
target
[
2
]]
+=
[(
self
.
lastpos
[
0
],
self
.
bedsize
[
1
]
-
self
.
lastpos
[
1
],
target
[
0
],
self
.
bedsize
[
1
]
-
target
[
1
])]
self
.
pens
[
target
[
2
]]
+=
[
self
.
mainpen
]
if
target
[
3
]
!=
self
.
lastpos
[
3
]:
self
.
pens
[
target
[
2
]]
+=
[
self
.
mainpen
]
else
:
self
.
pens
[
target
[
2
]]
+=
[
self
.
travelpen
]
self
.
lastpos
=
target
else
:
self
.
hilight
+=
[(
self
.
hilightpos
[
0
],
self
.
bedsize
[
1
]
-
self
.
hilightpos
[
1
],
target
[
0
],
self
.
bedsize
[
1
]
-
target
[
1
])]
...
...
locale/fr/LC_MESSAGES/fr.po
View file @
ca6bf893
...
...
@@ -342,8 +342,8 @@ msgid ""
"Monitor\n"
"printer"
msgstr ""
"
Loguer les messages
\n"
"
de
l'imprimante"
"
Surveiller
\n"
"l'imprimante"
#: pronterface.py:423
msgid "Load file"
...
...
locale/fr/LC_MESSAGES/pronterface.mo
View file @
ca6bf893
No preview for this file type
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