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
1038e01f
Commit
1038e01f
authored
Oct 27, 2015
by
Turnkey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from ant-t/master
Fix error where layer power is ignored after first layer.
parents
ad9862b0
76e84433
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 @
1038e01f
...
...
@@ -857,7 +857,7 @@ class Gcode_tools(inkex.Effect):
#G01 : Move with the laser turned on to a new point
elif
s
[
1
]
==
'line'
:
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
else
:
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