kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Fix #49
rodzic
77926c659b
commit
bc6f0dbf6c
|
@ -1,4 +1,4 @@
|
|||
v1.0.139: Fix Jog/Checksize to still move in mm after G20
|
||||
v1.0.140: Fix Jog/Checksize to still move in mm after G20
|
||||
v1.0.138: Changed size of MiniMill overlay, made 3D viewer the default tab
|
||||
v1.0.137: Added Confirmation Dialogs to the Grbl Settings reset buttons
|
||||
v1.0.136: Added Door and Buttons to Troubleshooting, Added G28/G30 handling, Added Custom machine profile, added Machine Overlay in 3D viewer, added Goto OpenBuilds Button
|
||||
|
|
|
@ -180,13 +180,24 @@ $(document).ready(function() {
|
|||
console.log('bbox for Draw Bounding Box: ' + object + ' Min X: ', (bbox2.min.x), ' Max X:', (bbox2.max.x), 'Min Y: ', (bbox2.min.y), ' Max Y:', (bbox2.max.y));
|
||||
var feedrate = $('#jograte').val();
|
||||
if (laststatus.machine.firmware.type === 'grbl') {
|
||||
var moves = `
|
||||
$J=G90G21X` + (bbox2.min.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.max.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.max.x) + ` Y` + (bbox2.max.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.min.x) + ` Y` + (bbox2.max.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.min.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
`;
|
||||
if object.userData.inch {
|
||||
var moves = `
|
||||
$J=G90G20X` + (bbox2.min.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
$J=G90G20X` + (bbox2.max.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
$J=G90G20X` + (bbox2.max.x) + ` Y` + (bbox2.max.y) + ` F` + feedrate + `\n
|
||||
$J=G90G20X` + (bbox2.min.x) + ` Y` + (bbox2.max.y) + ` F` + feedrate + `\n
|
||||
$J=G90G20X` + (bbox2.min.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
`;
|
||||
} else {
|
||||
var moves = `
|
||||
$J=G90G21X` + (bbox2.min.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.max.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.max.x) + ` Y` + (bbox2.max.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.min.x) + ` Y` + (bbox2.max.y) + ` F` + feedrate + `\n
|
||||
$J=G90G21X` + (bbox2.min.x) + ` Y` + (bbox2.min.y) + ` F` + feedrate + `\n
|
||||
`;
|
||||
}
|
||||
|
||||
} else {
|
||||
var moves = `
|
||||
G90\n
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "OpenBuildsCONTROL",
|
||||
"version": "1.0.139",
|
||||
"version": "1.0.140",
|
||||
"license": "AGPL-3.0",
|
||||
"description": "Machine Interface Driver for OpenBuilds",
|
||||
"author": "github.com/openbuilds <webmaster@openbuilds.com>",
|
||||
|
|
Ładowanie…
Reference in New Issue