adding in C axis
This commit is contained in:
parent
d2a5f746a5
commit
7b2d95bbd9
7 changed files with 39 additions and 5 deletions
|
|
@ -424,7 +424,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication
|
|||
Y = 2,
|
||||
Z = 4,
|
||||
E = 8,
|
||||
XYZ = X | Y | Z
|
||||
XYZ = X | Y | Z,
|
||||
C = 16, // used by e3d quad extruder
|
||||
}
|
||||
|
||||
public double ActualBedTemperature
|
||||
|
|
@ -1371,20 +1372,25 @@ Make sure that your printer is turned on. Some printers will appear to be connec
|
|||
// If we are homing everything we don't need to add any details
|
||||
if (!axis.HasFlag(Axis.XYZ))
|
||||
{
|
||||
if ((axis & Axis.X) == Axis.X)
|
||||
if (axis.HasFlag(Axis.X))
|
||||
{
|
||||
command += " X0";
|
||||
}
|
||||
|
||||
if ((axis & Axis.Y) == Axis.Y)
|
||||
if (axis.HasFlag(Axis.Y))
|
||||
{
|
||||
command += " Y0";
|
||||
}
|
||||
|
||||
if ((axis & Axis.Z) == Axis.Z)
|
||||
if (axis.HasFlag(Axis.Z))
|
||||
{
|
||||
command += " Z0";
|
||||
}
|
||||
|
||||
if (axis.HasFlag(Axis.C))
|
||||
{
|
||||
command += " C0";
|
||||
}
|
||||
}
|
||||
|
||||
QueueLine(command);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue