Browse Source

Follow-up the PR #4163 (Mixing and Switching Extruders)

・Update forgotten K8400 files
esenapaj 8 years ago
parent
commit
5c8e87a866

+ 24
- 1
Marlin/example_configurations/K8400/Configuration.h View File

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

Loading…
Cancel
Save