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
45c5565c
Commit
45c5565c
authored
Oct 16, 2014
by
ajfoul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set sane defaults and max for feedrates
parent
771ca369
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
thlaser.inx
thlaser.inx
+2
-2
thlaser.py
thlaser.py
+1
-1
No files found.
thlaser.inx
View file @
45c5565c
...
@@ -38,8 +38,8 @@ This script is a fork of Gcodetools v1.2 by Nick Drobchenko. It is currently mai
...
@@ -38,8 +38,8 @@ This script is a fork of Gcodetools v1.2 by Nick Drobchenko. It is currently mai
<param
name=
"filename"
type=
"string"
_gui-text=
"File name: "
>
output.ngc
</param>
<param
name=
"filename"
type=
"string"
_gui-text=
"File name: "
>
output.ngc
</param>
<param
name=
"directory"
type=
"string"
_gui-text=
"Directory: "
></param>
<param
name=
"directory"
type=
"string"
_gui-text=
"Directory: "
></param>
<_param
name=
"help"
type=
"description"
>
(blank is your desktop)
</_param>
<_param
name=
"help"
type=
"description"
>
(blank is your desktop)
</_param>
<param
name=
"feed"
type=
"int"
min=
"0"
max=
"1000
0
"
_gui-text=
"Cut Feedrate:"
>
60
</param>
<param
name=
"feed"
type=
"int"
min=
"0"
max=
"1000"
_gui-text=
"Cut Feedrate:"
>
60
</param>
<param
name=
"Mfeed"
type=
"int"
min=
"0"
max=
"1000
0"
_gui-text=
"Move Feedrate:"
>
10
00
</param>
<param
name=
"Mfeed"
type=
"int"
min=
"0"
max=
"1000
"
_gui-text=
"Move Feedrate:"
>
3
00
</param>
<param
name=
"laser"
type=
"int"
min=
"0"
max=
"100"
_gui-text=
"Laser Intensity (0-100):"
>
10
</param>
<param
name=
"laser"
type=
"int"
min=
"0"
max=
"100"
_gui-text=
"Laser Intensity (0-100):"
>
10
</param>
<param
name=
"homebefore"
type=
"boolean"
_gui-text=
"HOMEALL (G28) Before:"
>
true
</param>
<param
name=
"homebefore"
type=
"boolean"
_gui-text=
"HOMEALL (G28) Before:"
>
true
</param>
...
...
thlaser.py
View file @
45c5565c
...
@@ -429,7 +429,7 @@ class Gcode_tools(inkex.Effect):
...
@@ -429,7 +429,7 @@ class Gcode_tools(inkex.Effect):
self
.
OptionParser
.
add_option
(
"-y"
,
"--Yoffset"
,
action
=
"store"
,
type
=
"float"
,
dest
=
"Yoffset"
,
default
=
"0.0"
,
help
=
"Offset along Y"
)
self
.
OptionParser
.
add_option
(
"-y"
,
"--Yoffset"
,
action
=
"store"
,
type
=
"float"
,
dest
=
"Yoffset"
,
default
=
"0.0"
,
help
=
"Offset along Y"
)
# added move (laser off) feedrate and laser intensity; made all int rather than float - (ajf)
# added move (laser off) feedrate and laser intensity; made all int rather than float - (ajf)
self
.
OptionParser
.
add_option
(
"-p"
,
"--feed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"feed"
,
default
=
"60"
,
help
=
"Cut Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-p"
,
"--feed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"feed"
,
default
=
"60"
,
help
=
"Cut Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-m"
,
"--Mfeed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"Mfeed"
,
default
=
"
10
00"
,
help
=
"Move Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-m"
,
"--Mfeed"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"Mfeed"
,
default
=
"
3
00"
,
help
=
"Move Feed rate in unit/min"
)
self
.
OptionParser
.
add_option
(
"-l"
,
"--laser"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"laser"
,
default
=
"10"
,
help
=
"Laser intensity (0-100)"
)
self
.
OptionParser
.
add_option
(
"-l"
,
"--laser"
,
action
=
"store"
,
type
=
"int"
,
dest
=
"laser"
,
default
=
"10"
,
help
=
"Laser intensity (0-100)"
)
self
.
OptionParser
.
add_option
(
""
,
"--homebefore"
,
action
=
"store"
,
type
=
"inkbool"
,
dest
=
"homebefore"
,
default
=
True
,
help
=
"Home all beofre starting (G28)"
)
self
.
OptionParser
.
add_option
(
""
,
"--homebefore"
,
action
=
"store"
,
type
=
"inkbool"
,
dest
=
"homebefore"
,
default
=
True
,
help
=
"Home all beofre starting (G28)"
)
...
...
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