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
b99aa3a7
Commit
b99aa3a7
authored
May 27, 2013
by
Elias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the error with reverting to the old logging behaviour
parent
cc59be4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
printcore.py
printcore.py
+3
-5
No files found.
printcore.py
View file @
b99aa3a7
...
...
@@ -20,9 +20,8 @@ from threading import Thread
from
select
import
error
as
SelectError
,
select
import
time
,
getopt
,
sys
import
platform
,
os
from
GCodeAnalyzer
import
GCodeAnalyzer
import
socket
# Network
import
re
# Regex
import
re
# Regex
from
collections
import
deque
from
printrun.GCodeAnalyzer
import
GCodeAnalyzer
from
printrun
import
gcoder
...
...
@@ -55,14 +54,14 @@ class printcore():
self
.
clear
=
0
#clear to send, enabled after responses
self
.
online
=
False
#The printer has responded to the initial command and is active
self
.
printing
=
False
#is a print currently running, true if printing, false if paused
self
.
mainqueue
=
[]
self
.
mainqueue
=
None
self
.
priqueue
=
[]
self
.
queueindex
=
0
self
.
lineno
=
0
self
.
resendfrom
=
-
1
self
.
paused
=
False
self
.
sentlines
=
{}
self
.
log
=
[]
self
.
log
=
deque
(
maxlen
=
10000
)
self
.
sent
=
[]
self
.
tempcb
=
None
#impl (wholeline)
self
.
recvcb
=
None
#impl (wholeline)
...
...
@@ -80,7 +79,6 @@ class printcore():
self
.
print_thread
=
None
if
port
is
not
None
and
baud
is
not
None
:
self
.
connect
(
port
,
baud
)
self
.
analyzer
=
GCodeAnalyzer
()
self
.
xy_feedrate
=
None
self
.
z_feedrate
=
None
self
.
pronterface
=
None
...
...
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