Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M701 and M702 support from LCD and Gcode #6493

Closed
wants to merge 10 commits into from
Closed

Conversation

q3ok
Copy link

@q3ok q3ok commented Apr 29, 2017

From the M600 I've created the M701 and M702 support, and I've added it as new menu items to Prepare menu. There is no translations, its only in en language for display. The filament load are using still the screen from M600 with "Resume print" message, it has to be changed also.

Added support for filament loading and unloading from prepare menu,
using default settings for filament change (M600) option, which is
required turned on to use the filament load and unload optons.
@thinkyhead
Copy link
Member

Overall the implementation looks good (though I have yet to review it fully). Note that all new features must be made optional and disabled by default, so you'll need to add a new configuration option to make it possible to enable/disable this feature, and set it disabled.

Copy link
Member

@thinkyhead thinkyhead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some spacing changes requested…

*/
inline void gcode_M702() {

if (thermalManager.tooColdToExtrude(active_extruder)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do a global search and replace to replace tabs with spaces.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Global tabs has been replaced with spaces, I believe that i didn't missed any

@@ -7318,6 +7320,143 @@ inline void gcode_M503() {
lcd_filament_change_show_message(FILAMENT_CHANGE_MESSAGE_STATUS);
}

/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra leading space(s) here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spaces removed

@thinkyhead thinkyhead added this to the 1.1.1 milestone Apr 29, 2017
+ added (up to 5) additional gcodes to run after stop print
* modified configuration for MK2Clone, added encoder steps per menu item
* modified buld version with added mk2clone
- added FILAMENT_LOADUNLOAD_SUPPORT option in configuration_adv
- replaced all tabs
- removed extra blank lines
- added polish translation for filament load/unload
@q3ok
Copy link
Author

q3ok commented Apr 29, 2017

The option FILAMENT_LOADUNLOAD_SUPPORT has been added in Configuration_adv

@tcm0116
Copy link
Contributor

tcm0116 commented May 2, 2017

@q3ok I recently submitted a pull request (#6407) that deals with the Filament Reload and Pause features. We might want to coordinate since this one is related to that group.

@q3ok
Copy link
Author

q3ok commented May 7, 2017

@tcm0116 I am not sure if even the pause feature should be unified with filament change. IMO that should be two different options, but I can agree that M600 can be splitted into at least two functions, as well to use with M701, M702 and M125.
After few days of using the M701 and M702 made from M600 i found that there is a bug after filament load, which prevents to start any print - I didn't found yet the reason.

@tcm0116
Copy link
Contributor

tcm0116 commented May 8, 2017

@q3ok By unify, I meant that it would make sense to have them share a set of common functions in the code, but still use the respective M codes. This would prevent having very similar code in several different places that has had small changes made to it.

@tcm0116
Copy link
Contributor

tcm0116 commented May 8, 2017

@q3ok In my setup, I'm using an E3D Cyclops hotend, and they actually recommend feeding both filaments cold as far as possible before heating up the nozzle. As such, it would be nice to have the option to load the filament with the nozzle cold, and possibly even the option of feeding both extruders simultaneously. This would then require that the hotend be heated up and then the filament loaded the rest of the way. Thoughts on this?

@thinkyhead
Copy link
Member

#7107 supplants this PR…

@thinkyhead thinkyhead closed this Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants