Skip to content

Commit

Permalink
fabmo notify & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jw4rd committed Dec 6, 2016
1 parent 354c145 commit a6165b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#PicPerf

[gofabmo.org/fabmo-picperf-app](http://gofabmo.org/fabmo-picperf-app/)

[shopbottools.com](http://shopbottools.com)


7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,12 @@ <h1>SETTINGS </h1>

function jobInfo(){

alert(image.name + "\nwidth: " + (wmax*spacing).toFixed(2) + " height: " + (hmax*spacing).toFixed(2) + " mm\nwidth: " + wmax + " height: " + hmax + " dots\ndot spacing: " + spacing + " mm\n# of dots: " + (hmax*wmax))
if(fabmo.isPresent()==true){
fabmo.notify('info',image.name + "\nwidth: " + (wmax*spacing).toFixed(2) + " height: " + (hmax*spacing).toFixed(2) + " mm\nwidth: " + wmax + " height: " + hmax + " dots\ndot spacing: " + spacing + " mm\n# of dots: " + (hmax*wmax))
}
else{
alert(image.name + "\nwidth: " + (wmax*spacing).toFixed(2) + " height: " + (hmax*spacing).toFixed(2) + " mm\nwidth: " + wmax + " height: " + hmax + " dots\ndot spacing: " + spacing + " mm\n# of dots: " + (hmax*wmax))
}

}

Expand Down

0 comments on commit a6165b9

Please sign in to comment.