Putting in info for tool change timing

refactoring extruder index to tool index
This commit is contained in:
LarsBrubaker 2019-03-04 08:04:29 -08:00
parent 0c6a0fe4be
commit 457e31ef10
8 changed files with 41 additions and 24 deletions

View file

@ -34,7 +34,7 @@ namespace MatterHackers.GCodeVisualizer
{
public abstract class RenderFeatureBase
{
protected int extruderIndex;
protected int toolIndex;
public static Color HighlightColor { get; set; } = new Color("#D0F476");
@ -48,7 +48,7 @@ namespace MatterHackers.GCodeVisualizer
public RenderFeatureBase(int extruderIndex)
{
this.extruderIndex = extruderIndex;
this.toolIndex = extruderIndex;
}
static public void CreateCylinder(VectorPOD<ColorVertexData> colorVertexData, VectorPOD<int> indexData, Vector3 startPos, Vector3 endPos, double radius, int steps, Color color, double layerHeight)