예제 #1
0
 public void DoEndKillActions()
 {
     if (exclusive) // not a normal print job
     {
         exclusive = false;
         return;
     }
     con.connector.GetInjectLock();
     if (con.afterJobDisableExtruder)
     {
         for (int i = 0; i < Main.conn.numberExtruder; i++)
         {
             con.injectManualCommand("M104 S0 T" + i.ToString());
         }
     }
     if (con.afterJobDisablePrintbed)
     {
         con.injectManualCommand("M140 S0");
     }
     con.connector.ReturnInjectLock();
     if (con.afterJobGoDispose)
     {
         con.doDispose();
     }
     if (con.afterJobDisableMotors)
     {
         con.injectManualCommand("M84");
     }
 }
예제 #2
0
 public void DoEndKillActions()
 {
     if (exclusive) // not a normal print job
     {
         exclusive = false;
         return;
     }
     con.GetInjectLock();
     if (con.afterJobDisableExtruder)
     {
         con.injectManualCommand("M104 S0");
     }
     if (con.afterJobDisablePrintbed)
     {
         con.injectManualCommand("M140 S0");
     }
     con.ReturnInjectLock();
     if (con.afterJobGoDispose)
     {
         con.doDispose();
     }
     if (con.afterJobDisableMotors)
     {
         con.injectManualCommand("M84");
     }
 }
예제 #3
0
 public void DoEndKillActions()
 {
     con.GetInjectLock();
     if (con.afterJobDisableExtruder)
     {
         con.injectManualCommand("M104 S0");
     }
     if (con.afterJobDisablePrintbed)
     {
         con.injectManualCommand("M140 S0");
     }
     con.ReturnInjectLock();
     if (con.afterJobGoDispose)
     {
         con.doDispose();
     }
 }