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
c43073f8
Commit
c43073f8
authored
Mar 19, 2015
by
leonmuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the draw curves option to only apply to vectors
parent
4e85e07e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
turnkeylaser.py
turnkeylaser.py
+4
-2
No files found.
turnkeylaser.py
View file @
c43073f8
...
...
@@ -1020,11 +1020,13 @@ class Gcode_tools(inkex.Effect):
curve
=
self
.
parse_curve
(
objectData
)
#Should the curves be drawn in inkscape?
if
(
self
.
options
.
drawCurves
):
self
.
draw_curve
(
curve
)
#Generate the GCode for this layer
if
(
curve
[
'type'
]
==
"vector"
):
if
(
self
.
options
.
drawCurves
):
self
.
draw_curve
(
curve
)
gcode
+=
self
.
generate_gcode
(
curve
,
0
,
laserPower
,
altfeed
=
altfeed
,
altppm
=
altppm
)
elif
(
curve
[
'type'
]
==
"raster"
):
gcode
+=
self
.
generate_raster_gcode
(
curve
,
laserPower
,
altfeed
=
altfeed
)
...
...
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