mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-29 21:07:11 +00:00
clean up
This commit is contained in:
@@ -26,16 +26,11 @@ enum GCodeFlavor : unsigned char;
|
||||
Polylines construct_gap_for_skip_points(
|
||||
const Polygon& polygon, const std::vector<Vec2f>& skip_points, float wt_width, float gap_length, Polygon& insert_skip_polygon);
|
||||
|
||||
// Returns the command that makes the firmware finish its queued moves around an M104/M109
|
||||
// or custom-G-code boundary. Klipper acts on commands the instant it parses them, and its G4
|
||||
// reads only P, so the zero dwell other flavors use synchronizes nothing there — M400 does.
|
||||
// Defined in WipeTower.cpp, shared by WipeTower and WipeTower2.
|
||||
const char* flush_planner_queue_command(GCodeFlavor flavor);
|
||||
|
||||
// Returns the command that pauses for `seconds`. Klipper's G4 reads only P, in
|
||||
// milliseconds, and ignores S, so the seconds form the other flavors use would dwell zero
|
||||
// there. Defined in WipeTower.cpp, shared by WipeTower and WipeTower2.
|
||||
std::string wait_command(GCodeFlavor flavor, float seconds);
|
||||
// Klipper acts on commands the instant it parses them, and its G4 reads only P (milliseconds),
|
||||
// so the zero-second and seconds-valued dwells every other flavor uses neither synchronize nor
|
||||
// pause there. Both defined in WipeTower.cpp, shared by WipeTower and WipeTower2.
|
||||
const char* flush_planner_queue_command(GCodeFlavor flavor); // finish queued moves, e.g. around M104/M109
|
||||
std::string wait_command(GCodeFlavor flavor, float seconds); // pause for `seconds`
|
||||
|
||||
class WipeTower
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user