Open RobListon opened 10 years ago
Hi Rob,
GCodeInfo guesses the material by looking at the average print temperature: if(getAvgextemp() <= 205 && getAvgextemp() > 140){ return Material.PLA; } if(getAvgextemp() < 290 && getAvgextemp() > 205){ return Material.ABS; }
You can set a system environment variable to specify the price per kg. e.g. FILAMENT_PRICE_KG=30
On Wed, Feb 12, 2014 at 10:25 PM, Rob notifications@github.com wrote:
GCodeInfo is making a guess that the material used in my gcode files is ABS but I'm using PLA which weighs slightly more thus the estimates for the weights a off by a little bit. I would be nice to be able to set the value of this to force another material. Also, can the price per unit be set as an argument as well so that I can specify my cost / unit of material?
Reply to this email directly or view it on GitHubhttps://github.com/dietzm/GCodeInfo/issues/7 .
Ah, I see. The software from Makerbot Industries just runs the heads at 230C regardless of the material going through it.
GCodeInfo is making a guess that the material used in my gcode files is ABS but I'm using PLA which weighs slightly more thus the estimates for the weights a off by a little bit. I would be nice to be able to set the value of this to force another material. Also, can the price per unit be set as an argument as well so that I can specify my cost / unit of material?