-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add built-in support for Prusa layer counting, no gcode mods needed. #238
Conversation
By default Prusa (at least today, don't know about past as i am new to 3D printing) adds a Layer Change comment to the gcode by default, no need to turn on verbose commenting in prusa or add post processing as i jave seen in a bunch of old issues. This change will work really well for new users of prusa / octprint. Not sure what happens if folks have added custom gcode processing in prusa / custom filters.
fix line 1612 and 1613 to add new return and new line correctly
Hi @scyto , thank a lot for the PR. It will be in the next release. |
- E #230 fire event when m600 occurs - E #224, #182 adjustable current time format - E #222 Option to disable "Layer indicator not found" popup - E #221 Option to change "look ahead" line count - B #213 filter empty lines from layer-expressions - PR #234 typo, credit goes to @2231puppy - PR #238 Added built-in support for Prusa layer counting, credit goes to @scyto - reducing size of master.zip
fyi: new release 1.27.0 is out now |
Thanks, glad i could help! |
I Think this collides with |
@kcdr My 2.3.3 prusaslicer doesn't Are you sure you don't have custom gcode added to prusa scripts or maybe some option turned on that is not default? |
yup seems it is set on some profiles, this screenshot is a creality profile. @kcdr what symptom or issue are you seeing, double layer counts? |
@scyto You are right, I had custom ;BEFORE_LAYER_CHANGE
;[layer_num] I don't know if it was in the initial profile, which profile I chose initially or if I added it by myself (maybe to get it working with |
@kcdr I checked a few profiles and it seems many (all?) have that gcode in it by default. My printer is a community create profile and the person made it didn't have that added, so its likely i am the outlier. I suspect prusa in older versions didn't have the "LAYER_CHANGE" so all printer profiles were updated to include the BEFORE_LAYER_CHANGE but then at somepoint between then and now prusa added LAYER_CHANGE. @OllisGit i think there are two options:
|
Is there a workaround for this until merged? |
My symptoms are the same - double layer count coming from PrusaSlicer 2.4.0B1 to Octoprint |
do you mean you deleted onw of the two lines and see double counting? |
Continue discussion in issue #240 ... because I don't want to revert this merged PR. |
Add support for Prusa without need for asking folks to have script in prusa to add layers.
This works with lastest Prusa (i don't know how far back Prusa was adding
;[LAYER_CHANGE]
as I am relatively new to 3D printing.My only concern would be what happens to folks who have already configured some other approach?
here is it working: