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
e97d8df3
Commit
e97d8df3
authored
Jun 22, 2011
by
kliment
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct mirroring of part in pronterface, strip comments from gcode before sending
parent
0b147a12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
gviz.py
gviz.py
+1
-1
printcore.py
printcore.py
+2
-1
No files found.
gviz.py
View file @
e97d8df3
...
...
@@ -97,7 +97,7 @@ class gviz(wx.Panel):
self
.
lines
[
target
[
2
]]
=
[]
self
.
pens
[
target
[
2
]]
=
[]
self
.
layers
+=
[
target
[
2
]]
self
.
lines
[
target
[
2
]]
+=
[(
self
.
lastpos
[
0
],
self
.
lastpos
[
1
],
target
[
0
],
target
[
1
])]
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
]
self
.
lastpos
=
target
...
...
printcore.py
View file @
e97d8df3
...
...
@@ -199,7 +199,8 @@ class printcore():
return
if
(
self
.
printing
and
self
.
queueindex
<
len
(
self
.
mainqueue
)):
tline
=
self
.
mainqueue
[
self
.
queueindex
]
if
(
not
tline
.
startswith
(
';'
)
and
len
(
tline
)
>
0
):
tline
=
tline
.
split
(
";"
)[
0
]
if
(
len
(
tline
)
>
0
):
self
.
_send
(
tline
,
self
.
lineno
,
True
)
self
.
lineno
+=
1
else
:
...
...
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