Took out some dead code
Renaming for clarity Created a GCodeProxy class to clean up some of the gcode injection and processing.
This commit is contained in:
parent
255f4c8cd8
commit
dd626569f9
9 changed files with 162 additions and 325 deletions
|
|
@ -446,7 +446,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
// show the filament used
|
||||
modelInfoContainer.AddChild(new TextWidget(filamentLengthLabelFull, textColor: ActiveTheme.Instance.PrimaryTextColor, pointSize: 9));
|
||||
{
|
||||
double filamentUsed = gcodeViewWidget.LoadedGCode.GetFilamentUsedMm(ActiveSliceSettings.Instance.NozzleDiameter);
|
||||
double filamentUsed = gcodeViewWidget.LoadedGCode.GetFilamentUsedMm(ActiveSliceSettings.Instance.FilamentDiameter);
|
||||
|
||||
GuiWidget estimatedPrintTime = new TextWidget(string.Format("{0:0.0} mm", filamentUsed), pointSize: 14, textColor: ActiveTheme.Instance.PrimaryTextColor);
|
||||
//estimatedPrintTime.HAnchor = Agg.UI.HAnchor.ParentLeft;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue