This commit is contained in:
Stewart Allen 2018-01-16 20:34:37 -05:00
commit 1b4fb7f9cb
4 changed files with 22 additions and 6 deletions

View file

@ -530,7 +530,7 @@ var gs_kiri_fdm = exports;
while (layer < layers.length) {
path = layers[layer];
if (trackLayers) {
if (trackLayers && trackLayers.length) {
trackLayers.forEach(function(line) {
append(constReplace(line, {
progress: progress,
@ -538,7 +538,7 @@ var gs_kiri_fdm = exports;
height: path.height.toFixed(3)}));
});
} else {
append("; --- layer "+layer+" ---");
append("; --- layer " + layer + " (" + path.height.toFixed(3) + " @ " + zpos.toFixed(3) + ") ---");
}
// second layer fan on

View file

@ -2358,8 +2358,7 @@ self.kiri.license = exports.LICENSE;
outputTemp: UC.newInput("nozzle temp", {title:"degrees celsius", convert:UC.toInt, modes:FDM}),
outputFeedrate: UC.newInput("print speed", {title:"print move max speed\nmillimeters / minute", convert:UC.toInt, modes:FDM}),
outputFinishrate: UC.newInput("finish speed", {title:"outermost shell speed\nmillimeters / minute", convert:UC.toInt, modes:FDM}),
outputSeekrate: UC.newInput("move speed", {title:"non-print move speed\nmillimeters / minute", convert:UC.toInt, modes:FDM}),
// outputShellSpeed: UC.newInput("shell speed", {title:"speed multiplier\n0.1 - 2.0", convert:UC.toFloat, bound:UC.bound(0.1,2.0), modes:FDM}),
outputSeekrate: UC.newInput("move speed", {title:"non-print move speed\nmillimeters / minute\n0 = enable G0 moves", convert:UC.toInt, modes:FDM}),
outputShellMult: UC.newInput("shell factor", {title:"extrusion multiplier\n0.0 - 2.0", convert:UC.toFloat, bound:UC.bound(0.0,2.0), modes:FDM}),
outputFillMult: UC.newInput("solid factor", {title:"extrusion multiplier\n0.0 - 2.0", convert:UC.toFloat, bound:UC.bound(0.0,2.0), modes:FDM}),
outputSparseMult: UC.newInput("infill factor", {title:"extrusion multiplier\n0.0 - 2.0", convert:UC.toFloat, bound:UC.bound(0.0,2.0), modes:FDM}),

View file

@ -60,7 +60,7 @@
# FDM todo
* fix thin fill
* convert moves to G0 (where supported)
* add pause at specified layers
* fix slow seek to first point (raft) and wrong first point in general (all modes)
* add lay-flat auto-rotation or from selected face
* determine start point from gcode preamble
@ -100,3 +100,20 @@
* http://hackaday.com/2016/01/22/pack-your-plywood-cuts-with-genetic-algortihms/
* http://wiki.imal.org/howto/cnc-milling-introduction-cutting-tools
* http://www.twak.co.uk/2011/01/degeneracy-in-weighted-straight.html
# Sample FDM Pause/Unpause ```
; --- pause ---
G91 ; Relative Positioning
G0 Z20 ; Move Bed down 20mm
G90 ; Absolute positioning
G0 X10 Y10 ; Move to 10,10
M2000 ; Raise3D N2 Pause command
; --- un-pause ---
G91 ; Relative Positioning
G0 Z-20 ; Move Bed up 20mm
G90 ; Absolute positioning
```

View file

@ -1,6 +1,6 @@
{
"pre":[
"M221 T0 S94.00",
"M221 T0 S100.00",
"M140 S{bed_temp}",
"M104 T0 S{temp}",
"M109 T0 S{temp}",