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
[led_effect case_off] | |
leds: | |
neopixel:my_neopixel (1-16) | |
layers: | |
static 0 0 top (0,0,0) | |
[led_effect bed_off] | |
leds: | |
neopixel:my_neopixel (17) | |
layers: |
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
[gcode_macro END_PRINT] | |
gcode: | |
{% set th = printer.toolhead %} | |
{% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %} | |
{% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %} | |
{% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %} | |
SAVE_GCODE_STATE NAME=STATE_PRINT_END | |
M400 | |
G92 E0 |
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
[temperature_sensor pi] | |
sensor_type: temperature_host | |
sensor_path: /sys/class/thermal/thermal_zone0/temp | |
[temperature_sensor mcu] | |
sensor_type: temperature_mcu |
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
[idle_timeout] | |
gcode: | |
TURN_OFF_HEATERS | |
M84 | |
M106 S0 | |
BED_LIGHT_OFF | |
[homing_override] | |
set_position_z: 0 | |
gcode: |
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
private _type = | |
switch(toLower _difficulty) do | |
{ | |
case "contamination": | |
{ | |
"ExileContaminationZone"; | |
}; | |
default | |
{ | |
_markerType; |
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
case "hardcore": | |
{ | |
_markerType = "ExileMissionHardcoreIcon"; | |
"ColorBlack" | |
}; | |
case "contamination": | |
{ | |
_markerIcon = "ExileContaminationZone"; | |
"ColorRed" | |
}; |
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
class RedditLink( | |
val author: String, | |
val likes: RedditLikes, | |
val title: String, | |
val score: Int | |
) | |
enum class RedditLikes { | |
UP, DOWN, NONE | |
} |