mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-24 18:17:56 +01:00
Printer bed size setting
This commit is contained in:
parent
b67c24d750
commit
636d00370a
@ -31,10 +31,6 @@ var gcode = [];
|
||||
function generate_gcode() {
|
||||
console.log("f:generategcode()");
|
||||
|
||||
// TODO 2013-09-18 evaluate if this should stay here
|
||||
// this was added when Rick mailed us wrt the Ultimaker delivery of Doodle3D
|
||||
var gCodeOffsetX = 110; // mm
|
||||
var gCodeOffsetY = 110; // mm
|
||||
|
||||
gcode = [];
|
||||
|
||||
@ -58,6 +54,11 @@ function generate_gcode() {
|
||||
var retractionamount = settings["printer.retraction.amount"];
|
||||
var preheatTemperature = settings["printer.heatup.temperature"];
|
||||
var preheatBedTemperature = settings["printer.heatup.bed.temperature"];
|
||||
var printerBedWidth = settings["printer.bed.width"];
|
||||
var printerBedHeight = settings["printer.bed.height"];
|
||||
|
||||
var gCodeOffsetX = printerBedWidth/2; //110; // mm
|
||||
var gCodeOffsetY = printerBedHeight/2; //110; // mm
|
||||
|
||||
var startGcode = settings["printer.startgcode"];
|
||||
startGcode = subsituteVariables(startGcode,temperature,bedTemperature,preheatTemperature,preheatBedTemperature);
|
||||
|
@ -48,7 +48,9 @@
|
||||
<option value="tantillus">Tantillus</option>
|
||||
<option value="vision_3d_printer">Vision 3D Printer</option>
|
||||
<option value="marlin_generic">Generic Marlin Printer</option>
|
||||
</select>
|
||||
</select><br/>
|
||||
<label for="printerBedWidth">Bed width:</label><input id="printerBedWidth" type="number" class="small" name="printer.bed.width">mm<br>
|
||||
<label for="printerBedHeight">Bed height:</label><input id="printerBedHeight" type="number" class="small" name="printer.bed.height">mm<br>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="printersettings">
|
||||
|
Loading…
Reference in New Issue
Block a user