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
33f03cf8
Commit
33f03cf8
authored
Aug 05, 2015
by
quillford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
home only X and Y axes instead of all
parent
4c2a3ab8
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 @
33f03cf8
...
@@ -461,7 +461,7 @@ class Gcode_tools(inkex.Effect):
...
@@ -461,7 +461,7 @@ class Gcode_tools(inkex.Effect):
self
.
OptionParser
.
add_option
(
"-m"
,
"--Mfeed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"Mfeed"
,
default
=
"2000"
,
help
=
"Default Move Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-m"
,
"--Mfeed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"Mfeed"
,
default
=
"2000"
,
help
=
"Default Move Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-p"
,
"--feed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"feed"
,
default
=
"300"
,
help
=
"Default Cut Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-p"
,
"--feed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"feed"
,
default
=
"300"
,
help
=
"Default Cut Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-l"
,
"--laser"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"laser"
,
default
=
"10"
,
help
=
"Default Laser intensity (0-100
%
)"
)
self
.
OptionParser
.
add_option
(
"-l"
,
"--laser"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"laser"
,
default
=
"10"
,
help
=
"Default Laser intensity (0-100
%
)"
)
self
.
OptionParser
.
add_option
(
"-b"
,
"--homebefore"
,
action
=
"store"
,
type
=
"inkbool"
,
dest
=
"homebefore"
,
default
=
True
,
help
=
"Home all beofre starting (G28)"
)
self
.
OptionParser
.
add_option
(
"-b"
,
"--homebefore"
,
action
=
"store"
,
type
=
"inkbool"
,
dest
=
"homebefore"
,
default
=
True
,
help
=
"Home all beofre starting (G28
XY
)"
)
self
.
OptionParser
.
add_option
(
"-a"
,
"--homeafter"
,
action
=
"store"
,
type
=
"inkbool"
,
dest
=
"homeafter"
,
default
=
False
,
help
=
"Home X Y at end of job"
)
self
.
OptionParser
.
add_option
(
"-a"
,
"--homeafter"
,
action
=
"store"
,
type
=
"inkbool"
,
dest
=
"homeafter"
,
default
=
False
,
help
=
"Home X Y at end of job"
)
...
@@ -1402,7 +1402,7 @@ class Gcode_tools(inkex.Effect):
...
@@ -1402,7 +1402,7 @@ class Gcode_tools(inkex.Effect):
; Default Laser Intensity
%
i percent
\n
"""
%
(
self
.
options
.
feed
,
self
.
options
.
Mfeed
,
self
.
options
.
laser
)
; Default Laser Intensity
%
i percent
\n
"""
%
(
self
.
options
.
feed
,
self
.
options
.
Mfeed
,
self
.
options
.
laser
)
if
self
.
options
.
homebefore
:
if
self
.
options
.
homebefore
:
gcode
+=
"G28
; home all
\n\n
"
gcode
+=
"G28
XY; home X and Y
\n\n
"
#if self.options.function == 'Curve':
#if self.options.function == 'Curve':
data
=
self
.
effect_curve
(
selected
)
data
=
self
.
effect_curve
(
selected
)
...
...
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