Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
mods
Commits
a356f3ac
Commit
a356f3ac
authored
Jan 09, 2022
by
Neil Gershenfeld
Browse files
debugging G-code for 3018-PROVer
parent
e43e5c5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/path/formats/g-code
View file @
a356f3ac
...
...
@@ -40,7 +40,7 @@ var init = function() {
mod.cutspeed.value = '2.5'
mod.plungespeed.value = '2.5'
mod.jogheight.value = '2'
mod.spindlespeed.value = '1
1
000'
mod.spindlespeed.value = '1
0
000'
mod.tool.value = '1'
mod.coolantoff.checked = true
mod.formatMm.checked = true
...
...
@@ -231,7 +231,7 @@ function make_path() {
str += "M08\n" // coolant on
str += "G00Z"+jog_height.toFixed(4)+"\n" // move up before starting spindle
str += "M03\n" // spindle on clockwise
str += "G04 P1\n" // give spindle 1 second to spin up
//
str += "G04 P1
000
\n" // give spindle 1 second to spin up
// some interpreters have trouble with this
//
// follow segments
//
...
...
@@ -262,7 +262,8 @@ function make_path() {
//
// finish
//
str += "G00Z"+jog_height.toFixed(4)+"\n" // move up before stopping spindle
str += "G00Z"+jog_height.toFixed(4)+"\n" // move up
str += "G00X0.0000Y0.0000"+"Z"+jog_height.toFixed(4)+"\n" // finish at origin
str += "M05\n" // spindle stop
if (mod.coolanton.checked)
str += "M09\n" // coolant off
...
...
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