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
79848771
Commit
79848771
authored
Jul 30, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Speedup color copy
parent
01fcc152
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
actors.py
printrun/gl/libtatlin/actors.py
+2
-5
No files found.
printrun/gl/libtatlin/actors.py
View file @
79848771
...
...
@@ -281,10 +281,10 @@ class GcodeModel(Model):
(
model_data
.
ymin
,
model_data
.
ymax
,
model_data
.
depth
),
(
model_data
.
zmin
,
model_data
.
zmax
,
model_data
.
height
))
travel_vertex_list
=
[]
count_travel_indices
=
[
0
]
count_print_indices
=
[
0
]
count_print_vertices
=
[
0
]
travel_vertex_list
=
[]
vertex_list
=
[]
index_list
=
[]
color_list
=
[]
...
...
@@ -402,11 +402,8 @@ class GcodeModel(Model):
index_list
+=
new_indices
vertex_list
+=
new_vertices
color_list
+=
list
(
gline_color
)
*
len
(
new_vertices
)
new_colors
=
[]
for
i
in
range
(
len
(
new_vertices
)):
new_colors
+=
gline_color
color_list
+=
new_colors
prev_is_extruding
=
True
prev_move_x
=
delta_x
prev_move_y
=
delta_y
...
...
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