This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M104 S0 | |
M140 S0 | |
;Retract the filament | |
G92 E1 | |
G1 E-1 F300 | |
G91 ; Relative Mode | |
G0 F100 Z3 ; Move Z up | |
G90 ; Absolute Mode | |
G0 F1000 X20 Y399 ; Bring bed forward | |
M18 ; Disable Steppers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G91 ;Relative positioning | |
G1 E-2 F2700 ;Retract a bit | |
G1 E-2 Z0.2 F2400 ;Retract and raise Z | |
G1 X5 Y5 F3000 ;Wipe out | |
G1 Z10 ;Raise Z more | |
G90 ;Absolute positionning | |
G1 X0 Y{machine_depth} ;Present print | |
M106 S0 ;Turn-off fan | |
M104 S0 ;Turn-off hotend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class A { | |
public: | |
virtual int get_foo() = 0; | |
}; | |
class B { | |
public: | |
virtual int get_foo() { return 3; } |