Permalink
Browse files

send layersteps

  • Loading branch information...
1 parent 04d4d1c commit 60a463e8d2fd237d7c9fd1704ef60788311a3c9a @rkoeppl rkoeppl committed Jun 26, 2016
Showing with 6 additions and 1 deletion.
  1. +6 −1 modules/printengine.pl
View
@@ -270,7 +270,9 @@
# Home Z-Axis
my @command_list=('G21','G28 Z');
send_commands(@command_list);
-sleep 20;
+sleep 10;
+my $z=0;
+my $zdelta=$layer_height/1000;
#
#builtin framebuffer access
@@ -295,6 +297,9 @@
)
);
Time::HiRes::usleep("$exposure_time_us");
+$z=$z+$zdelta;
+my @command_list=('G1 Z $z');
+send_commands(@command_list);
$fb->clear_screen('OFF');
Time::HiRes::usleep("$resin_settling_time_us");
}

0 comments on commit 60a463e

Please sign in to comment.