Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laser-gcode-exporter-inkscape-plugin
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
laser-gcode-exporter-inkscape-plugin
Commits
76e84433
Commit
76e84433
authored
Oct 26, 2015
by
Anton Todorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error where layer power is ignored after first layer.
parent
ad9862b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
turnkeylaser.py
turnkeylaser.py
+2
-2
No files found.
turnkeylaser.py
View file @
76e84433
...
@@ -857,7 +857,7 @@ class Gcode_tools(inkex.Effect):
...
@@ -857,7 +857,7 @@ class Gcode_tools(inkex.Effect):
#G01 : Move with the laser turned on to a new point
#G01 : Move with the laser turned on to a new point
elif
s
[
1
]
==
'line'
:
elif
s
[
1
]
==
'line'
:
if
not
firstGCode
:
#Include the ppm values for the first G01 command in the set.
if
not
firstGCode
:
#Include the ppm values for the first G01 command in the set.
gcode
+=
"G01 "
+
self
.
make_args
(
si
[
0
])
+
"S
%.2
f "
%
laserPower
+
"
%
s "
%
cutFeed
+
"
%
s"
%
ppmValue
+
"
\n
"
gcode
+=
"G01 "
+
self
.
make_args
(
si
[
0
])
+
"
S
%.2
f "
%
laserPower
+
"
%
s "
%
cutFeed
+
"
%
s"
%
ppmValue
+
"
\n
"
firstGCode
=
True
firstGCode
=
True
else
:
else
:
gcode
+=
"G01 "
+
self
.
make_args
(
si
[
0
])
+
"
\n
"
gcode
+=
"G01 "
+
self
.
make_args
(
si
[
0
])
+
"
\n
"
...
...
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