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

7607 k2plus filament change gcode #7713

Merged

Conversation

brandonfhall
Copy link
Contributor

Description

This CR Addresses the blow issue ticket and resolves it by adding the filament change gcode to the K2 plus profiles.
Open Issue ticket:#7607

Screenshots/Recordings/Graphs

N/A

Tests

Profile was added to my local Orca slicer and filament change gcode is present.

Copy link

@fisher60 fisher60 left a comment

Choose a reason for hiding this comment

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

Looks good to me, tested this by using this change filament gcode to generate a multifilament print in orca and confirmed it looks correct when compared to a similar multifilament print in Creality Print's default k2 profile.

The extra whitespace before the newline characters is a bit odd to me and can be removed, this would match Creality Print's profile exactly, but I do not believe this makes any meaningful difference.

Creality print generates this:

; change_filament_gcode = G2 Z{z_after_toolchange + 0.4} I0.86 J0.86 P1 F10000 ; spiral lift a little from second lift\nG1 X0 Y245 F30000\nG1 Z{z_after_toolchange} F600

Whereas this orca profile will generate this:

; change_filament_gcode = G2 Z{z_after_toolchange + 0.4} I0.86 J0.86 P1 F10000 ; spiral lift a little from second lift \nG1 X0 Y245 F30000 \nG1 Z{z_after_toolchange} F600

@brandonfhall
Copy link
Contributor Author

Looks good to me, tested this by using this change filament gcode to generate a multifilament print in orca and confirmed it looks correct when compared to a similar multifilament print in Creality Print's default k2 profile.

The extra whitespace before the newline characters is a bit odd to me and can be removed, this would match Creality Print's profile exactly, but I do not believe this makes any meaningful difference.

Creality print generates this:

; change_filament_gcode = G2 Z{z_after_toolchange + 0.4} I0.86 J0.86 P1 F10000 ; spiral lift a little from second lift\nG1 X0 Y245 F30000\nG1 Z{z_after_toolchange} F600

Whereas this orca profile will generate this:

; change_filament_gcode = G2 Z{z_after_toolchange + 0.4} I0.86 J0.86 P1 F10000 ; spiral lift a little from second lift \nG1 X0 Y245 F30000 \nG1 Z{z_after_toolchange} F600

Good callout! Just updated that to not have the extra space before the newline character.

@Stevetm2
Copy link
Contributor

Stevetm2 commented Dec 26, 2024

There have been a few people complaining about the filament temperature not being set correctly for single color PETG, ABS etc. The below gcode should also be added to the begining if the filament change gcode to rectify that.

However, I don't believe it would fix multi-material swapping such as when using PLA with PETG supports for example. A temp selection per material may be required?

; filament start gcode
{if (position[2] > first_layer_height) }
M109 S[nozzle_temperature]
{else}
M109 S[first_layer_temperature]
{endif}

@lancer234
Copy link

Not sure if this is where this belongs, but along with this gcode being included in the default profile the "Enable Filament Ramming" setting in the "Multimaterial" section should also be disabled in the default K2 plus profile. This is disabled by default in Creality Print and could be a contributing factor to the nozzle clogging issues.

@Stevetm2
Copy link
Contributor

Stevetm2 commented Jan 5, 2025

Agreed on disabling the ramming, and also setting the 4 values below that to zero (on a different printer I noticed some unwanted gcode, if those values remained). Just to clarify, I applied the above changes myself and I have printed some great multi-color prints on the K2.

@brandonfhall
Copy link
Contributor Author

Agreed on disabling the ramming, and also setting the 4 values below that to zero (on a different printer I noticed some unwanted gcode, if those values remained). Just to clarify, I applied the above changes myself and I have printed some great multi-color prints on the K2.

alright added code to disable ramming, and cleared out the Single Extruder Multi-material Parameters to all be 0 to match the Creality default profile.

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you

@SoftFever SoftFever merged commit a96aad1 into SoftFever:main Jan 7, 2025
1 check passed
@brandonfhall brandonfhall deleted the 7607-k2plus-filament-change-gcode branch January 7, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants