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
01ad69be
Commit
01ad69be
authored
Jun 12, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't mark GLine hidden members as public
parent
69759ade
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
gcoder_line.pyx
printrun/gcoder_line.pyx
+15
-16
No files found.
printrun/gcoder_line.pyx
View file @
01ad69be
...
@@ -31,23 +31,23 @@ cdef char* copy_string(object value):
...
@@ -31,23 +31,23 @@ cdef char* copy_string(object value):
cdef class GLine(object):
cdef class GLine(object):
cdef
public
float _x, _y, _z, _e, _f, _i, _j, _s, _p
cdef float _x, _y, _z, _e, _f, _i, _j, _s, _p
cdef
public
bool _is_move, _relative, _relative_e, _extruding
cdef bool _is_move, _relative, _relative_e, _extruding
cdef
public
float _current_x, _current_y, _current_z
cdef float _current_x, _current_y, _current_z
cdef
public
char _current_tool
cdef char _current_tool
cdef
public
long _gcview_end_vertex
cdef long _gcview_end_vertex
cdef char* _raw
cdef char* _raw
cdef char* _command
cdef char* _command
cdef
public
object _split_raw
cdef object _split_raw
cdef
public
bool has_x, has_y, has_z, has_e, has_f, has_i, has_j, has_s, has_p
cdef bool has_x, has_y, has_z, has_e, has_f, has_i, has_j, has_s, has_p
cdef
public
bool has_is_move, has_relative, has_relative_e, has_extruding
cdef bool has_is_move, has_relative, has_relative_e, has_extruding
cdef
public
bool has_current_x, has_current_y, has_current_z
cdef bool has_current_x, has_current_y, has_current_z
cdef
public
bool has_current_tool
cdef bool has_current_tool
cdef
public
bool has_gcview_end_vertex
cdef bool has_gcview_end_vertex
cdef
public
bool has_raw
cdef bool has_raw
cdef
public
bool has_command
cdef bool has_command
cdef
public
bool has_split_raw
cdef bool has_split_raw
__slots__ = ()
__slots__ = ()
...
@@ -193,8 +193,7 @@ cdef class GLine(object):
...
@@ -193,8 +193,7 @@ cdef class GLine(object):
self._split_raw = value
self._split_raw = value
self.has_split_raw = True
self.has_split_raw = True
def __del__(self):
def __del__(self):
del self._split_raw
self._split_raw = None
self.has_split_raw = False
property raw:
property raw:
def __get__(self):
def __get__(self):
if self.has_raw: return self._raw
if self.has_raw: return self._raw
...
...
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