Prusa3d Marlin fork
Functions
first_lay_cal.h File Reference

Go to the source code of this file.

Functions

void lay1cal_wait_preheat ()
 Wait for preheat.
 
bool lay1cal_load_filament (uint8_t filament)
 Load filament. More...
 
void lay1cal_intro_line (bool skipExtraPurge, float layer_height, float extrusion_width)
 Print intro line. More...
 
void lay1cal_before_meander ()
 Setup for printing meander.
 
void lay1cal_meander_start (float layer_height, float extrusion_width)
 Print meander start.
 
void lay1cal_meander (float layer_height, float extrusion_width)
 Print meander. More...
 
void lay1cal_square (uint8_t step, float layer_height, float extrusion_width)
 Print square. More...
 
void lay1cal_finish (bool mmu_enabled)
 

Detailed Description

Date
Jun 10, 2019
Author
Marek Bel

Function Documentation

◆ lay1cal_intro_line()

void lay1cal_intro_line ( bool  extraPurgeNeeded,
float  layer_height,
float  extrusion_width 
)
Parameters
extraPurgeNeededfalse if the first MMU-related "G1 E29" have to be skipped because the nozzle is already full of filament
layer_heightthe height of the calibration layer
extrusion_widththe width of the extrusion layer

◆ lay1cal_load_filament()

bool lay1cal_load_filament ( uint8_t  filament)
Parameters
cmd_buffercharacter buffer needed to format gcodes
filamentfilament to use (applies for MMU only)
Returns
true if extra purge distance is needed in case of MMU prints (after a toolchange), otherwise false

◆ lay1cal_meander()

void lay1cal_meander ( float  layer_height,
float  extrusion_width 
)
Parameters
cmd_buffercharacter buffer needed to format gcodes

◆ lay1cal_square()

void lay1cal_square ( uint8_t  step,
float  layer_height,
float  extrusion_width 
)

This function needs to be called 4 times with step of 0,4,8,12

Parameters
cmd_buffercharacter buffer needed to format gcodes
iiteration