Skip to content
Snippets Groups Projects
Commit c41c8000 authored by Stephen D's avatar Stephen D
Browse files

tortilla-maxxing

parent 82574131
No related branches found
No related tags found
No related merge requests found
use anyhow::bail; use anyhow::bail;
use image::{GenericImageView, ImageReader}; use image::{GenericImageView, ImageReader};
const TOAST_TIME_SECONDS: u64 = 15; const TOAST_TIME_SECONDS: u64 = 30;
const CENTER_X: f64 = 100.0; const CENTER_X: f64 = 100.0;
const CENTER_Y: f64 = 100.0; const CENTER_Y: f64 = 100.0;
const BREAD_HEIGHT: f64 = 12.0; const BREAD_HEIGHT: f64 = 0.2;
const IDLE_HEIGHT: f64 = BREAD_HEIGHT + 5.0; const IDLE_HEIGHT: f64 = BREAD_HEIGHT + 8.0;
const PIXEL_SIZE_MM: f64 = 3.0; const PIXEL_SIZE_MM: f64 = 3.0;
fn main() -> anyhow::Result<()> { fn main() -> anyhow::Result<()> {
...@@ -42,7 +42,7 @@ G28 ; home ...@@ -42,7 +42,7 @@ G28 ; home
G90 ; absolute positioning G90 ; absolute positioning
G0 Z{IDLE_HEIGHT} G0 Z{IDLE_HEIGHT}
G0 X{CENTER_X} Y{CENTER_Y} G0 X{CENTER_X} Y{CENTER_Y}
M109 S230 ; heat hotend to 230C and wait M109 S260 ; heat hotend and wait
"# "#
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment