From: <rhy...@us...> - 2011-05-20 13:41:43
|
Revision: 4135 http://reprap.svn.sourceforge.net/reprap/?rev=4135&view=rev Author: rhys-jones Date: 2011-05-20 13:41:37 +0000 (Fri, 20 May 2011) Log Message: ----------- Fixing percent infill bug Modified Paths: -------------- trunk/software/host/src/org/reprap/devices/GenericExtruder.java Modified: trunk/software/host/src/org/reprap/devices/GenericExtruder.java =================================================================== --- trunk/software/host/src/org/reprap/devices/GenericExtruder.java 2011-05-19 11:25:21 UTC (rev 4134) +++ trunk/software/host/src/org/reprap/devices/GenericExtruder.java 2011-05-20 13:41:37 UTC (rev 4135) @@ -411,10 +411,7 @@ extrusionTemp = Preferences.loadGlobalDouble(prefName + "ExtrusionTemp(C)"); extrusionSize = Preferences.loadGlobalDouble(prefName + "ExtrusionSize(mm)"); extrusionHeight = Preferences.loadGlobalDouble(prefName + "ExtrusionHeight(mm)"); - if (Preferences.loadGlobalDouble(prefName + "ExtrusionInfillWidth(mm)")==-1) - extrusionInfillWidth = extrusionSize/Preferences.loadGlobalDouble(prefName + "ExtrusionPercentInfill(0..1)"); - else - extrusionInfillWidth = Preferences.loadGlobalDouble(prefName + "ExtrusionInfillWidth(mm)"); + extrusionInfillWidth = Preferences.loadGlobalDouble(prefName + "ExtrusionInfillWidth(mm)"); lowerFineLayers = 2; //Preferences.loadGlobalInt(prefName + "LowerFineLayers(0...)"); upperFineLayers = 2; //Preferences.loadGlobalInt(prefName + "UpperFineLayers(0...)"); extrusionBroadWidth = Preferences.loadGlobalDouble(prefName + "ExtrusionBroadWidth(mm)"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |