change xyz mini post handler

This commit is contained in:
Stewart Allen 2018-01-08 13:48:20 -05:00
commit 9d5788f31a
3 changed files with 7 additions and 4 deletions

View file

@ -21,6 +21,11 @@ var gs_kiri_fdm = exports;
newPoint = BASE.newPoint, newPoint = BASE.newPoint,
time = UTIL.time; time = UTIL.time;
// customer gcode post function for XYZ daVinci Mini W
self.kiri_fdm_xyz_mini_w = function(gcode, options) {
return btoa("; filename = kirimoto.gcode\n; machine = dv1MW0A000\n" + gcode);
};
/** /**
* DRIVER SLICE CONTRACT * DRIVER SLICE CONTRACT
* *

View file

@ -1,7 +1,7 @@
var exports = { var exports = {
COPYRIGHT:"Copyright (C) 2014-2017 Stewart Allen <stewart@neuron.com> - All Rights Reserved", COPYRIGHT:"Copyright (C) 2014-2017 Stewart Allen <stewart@neuron.com> - All Rights Reserved",
LICENSE:"Unauthorized copying, modification and re-distribution are strictly prohibited without prior written consent.", LICENSE:"Unauthorized copying, modification and re-distribution are strictly prohibited without prior written consent.",
VERSION:"1.0.79" VERSION:"1.0.80"
}; };
if (!module) var module = {}; if (!module) var module = {};
module.exports = exports; module.exports = exports;

View file

@ -1,7 +1,5 @@
{ {
"pre":[ "pre":[
"; filename = kirimoto.gcode",
"; machine = dv1MW0A000",
"T0 ; select extruder #0", "T0 ; select extruder #0",
"M104 S{temp} ; set nozzle temp", "M104 S{temp} ; set nozzle temp",
"M109 S{temp} ; wait for nozzle to heat", "M109 S{temp} ; wait for nozzle to heat",
@ -23,7 +21,7 @@
"cmd":{ "cmd":{
"fan_power": "M106 S{fan_speed}" "fan_power": "M106 S{fan_speed}"
}, },
"proc": "btoa", "proc": "kiri_fdm_xyz_mini_w",
"file-ext": "3w", "file-ext": "3w",
"settings":{ "settings":{
"origin_center": false, "origin_center": false,