mirror of
https://github.com/teachingtechYT/teachingtechYT.github.io.git
synced 2024-08-30 18:23:26 +00:00
Add feedrate previews
Calculate feedrate approximations based on user input, displayed next to user input.
This commit is contained in:
@ -103,6 +103,14 @@ function toggleJ() {
|
||||
}
|
||||
}
|
||||
|
||||
function updateFeeds(formName) {
|
||||
var feedrate = formName.baseFeedrate.value;
|
||||
$('.perimFeed').html(Math.round(feedrate*0.6));
|
||||
$('.solidFeed').html(Math.round(feedrate*0.8));
|
||||
$('.travelFeed').html(Math.round(feedrate*1.67));
|
||||
$('.firstFeed').html(Math.round(feedrate*0.5));
|
||||
}
|
||||
|
||||
function processGcode(formName) {
|
||||
var name = formName.name;
|
||||
var description = formName.description.value;
|
||||
|
Reference in New Issue
Block a user