Skip to content

Commit

Permalink
o output square mm in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Mar 30, 2014
1 parent f1f2f35 commit 873cc4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.cc
Expand Up @@ -82,11 +82,12 @@ class GCodePrinter : public Printer {
"G0 X%.3f Y%.3f Z" Z_HOVER_DISPENSER " ; %s\n" // move to new position, above board
"G1 Z" Z_DISPENSING "\n" // ready to dispense.
"M106\n" // switch on fan (=solenoid)
"G4 P%.1f\n" // Wait given milliseconds; dependend on area.
"G4 P%.1f ; %.2f mm^2\n" // Wait given milliseconds; dependend on area.
"M107\n" // switch off fan
"G1 Z" Z_HIGH_UP_DISPENSER "\n", // high above to have paste is well separated
pos.x, pos.y, pad.component_name.c_str(),
init_ms_ + pad.area * area_ms_);
init_ms_ + pad.area * area_ms_,
pad.area);
}

virtual void Finish() {
Expand Down

0 comments on commit 873cc4e

Please sign in to comment.