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 TOGGLE_LIGHTS] | |
gcode: | |
{% if printer['output_pin caselight'].value %} | |
SET_PIN PIN=caselight VALUE=0 | |
{% else %} | |
SET_PIN PIN=caselight VALUE=1 | |
{% endif %} |
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
# Requires `gcode_shell_command` extension to Moonraker (installing via KIUAH is the easy way) | |
# Requires gphoto2 http://www.gphoto.org/ | |
[gcode_shell_command gphoto2_trigger_snapshot] | |
command: gphoto2 --auto-detect --trigger-capture | |
timeout: 10. ; make sure this is long enough to account for focus time | |
verbose: True | |
[gcode_shell_command gphoto2_init_camera] | |
command: gphoto2 --auto-detect --set-config capturetarget=1 |
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
# generated by SuperSlicer 2.3.57 on 2022-02-09 at 23:15:44 UTC | |
avoid_crossing_perimeters = 0 | |
avoid_crossing_perimeters_max_detour = 0 | |
bed_custom_model = | |
bed_custom_texture = | |
bed_shape = 5x2.5,240x2.5,240x237.5,5x237.5 | |
bed_temperature = 110 | |
before_layer_gcode = ;BEFORE_LAYER_CHANGE\n;{layer_z}\n\n | |
between_objects_gcode = | |
bottom_fill_pattern = rectilinear |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<button class="download-csv" data-download-target="results" data-filename="results.csv"></button> | |
<table id="results"> | |
<thead> |
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
[ | |
{ | |
"color":{ | |
"caption":"Color", | |
"type":"string" | |
}, | |
"Number":{ | |
"type":"number" | |
}, | |
"Date":{ |
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
const API_KEY = /*Your API Key */; | |
const PAGE_COUNT = 3; // NUmber of pages to fetch (for some reason fetch does not retrieve headers from teamwork api) | |
const FIELDS = ['id', 'name']; // fields you want in the CSV | |
let companyId = /* Your company id*/; | |
let status = 'ACTIVE'; | |
getPageUrls(PAGE_COUNT, { status, companyId }) | |
.then(fetchPages) |