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

Only Custom Start G-code Prevents Filament Specific GCode #1317

Closed
randellhodges opened this issue Jun 16, 2021 · 3 comments
Closed

Only Custom Start G-code Prevents Filament Specific GCode #1317

randellhodges opened this issue Jun 16, 2021 · 3 comments
Labels
bug Something isn't working as intended fixed for the next version That means that you should be able to test it in the latest nightly build

Comments

@randellhodges
Copy link

If I check the box on the Printer Settings->Custom G-Code for Only custom Start G-code, the value in Filament Settings->Custom G-code->Start G-code is not emitted.

Superslicer version: 2.3.56.5

@supermerill supermerill added the bug Something isn't working as intended label Jun 16, 2021
@supermerill supermerill added the fixed for the next version That means that you should be able to test it in the latest nightly build label Jun 17, 2021
@randellhodges
Copy link
Author

randellhodges commented Jun 24, 2021

This might be a case of, "be careful what you ask for", but I tried the nightly and it seems to be working but...

image

Sorry, my picture is backwards. The one on the right does not have "only custom start g-code" selected, the one of the left has that option selected.

The lines in yellow are the ones I wanted gone, and the ones in red should probably be down where the yellow lines are currently.

I guess I could include the G21, G90, and M83 in my PRINT_START macro, but if I ever wanted to toggle relative/absolute extrusion in the slicer, I'd have to update the klipper macro. I am checking now to see if there is a way I can pass that choice to my macro.

Edit: Changing my print start macro like this will allow me to choose between M83 and M82 in my macro. So no action is needed.

PRINT_START EXTRUDER=[first_layer_temperature] BED=[first_layer_bed_temperature] RELATIVE_E=[use_relative_e_distances]

@supermerill
Copy link
Owner

supermerill commented Jun 24, 2021

write {if use_relative_e_distances}M83{else}M82{endif}

edit: too late, so the issue can be closed?

@randellhodges
Copy link
Author

Yup, I'll close it. I just wanted to "document" it so maybe it'll help someone else out in the future. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended fixed for the next version That means that you should be able to test it in the latest nightly build
Projects
None yet
Development

No branches or pull requests

2 participants