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

[BUG] Grid appears in layers affected by fade height and mesh #27572

Open
1 task done
IISAINTS opened this issue Dec 6, 2024 · 0 comments
Open
1 task done

[BUG] Grid appears in layers affected by fade height and mesh #27572

IISAINTS opened this issue Dec 6, 2024 · 0 comments

Comments

@IISAINTS
Copy link

IISAINTS commented Dec 6, 2024

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

I keep getting weird artifacts when printing lower layers, specifically the first 10mm of the print. starting from the very first layer you can see when printing a large 250mm square I keep getting artifacts that only occur when printing the first 10mm of the print. Once the print reaches above 10mm the artifacts completely go away and prints come out perfect from there up. Its not mechanical, as the artifacts change with firmware changes. When using ABL bilinear with the fade height enabled with default value of 10mm and segment leveled moves enabled with default value of 5mm I get ringing every 5mm horizontally for the first 10mm of the print and what looks like over extrusion. You can feel these artifacts in the printer when they happen as if a direction change happened, but like the gantry is pausing every 5mm during the print move no matter how long the move is. If I disable segment leveled moves a grid appears starting from the very first layer. I can make the grid have more squares or less squares depending on how many probe grid points I have(more squares with a 6x6 probe grid vs 3x3 probe grid). A 6x6 grid looks like a chess board. Or its like the printer is printing the bed leveling mesh grid as a artifact in the lower layers. If I disable both leveled segment moves and leveling fade height I get a hard line through my prints all the way from bottom to top. I tried enabling ABL bilinear subdivision, that had no effect. I switched restore leveling after g28 to enable and back. No Change. I double checked my slicer settings and I dont see anything that would cause this and have no problems slicing for another printer I have so I dont think its the slicer, but I could be wrong I guess. Besides the grid like artifact the printer works perfectly, layers are clean and works great!

I have found that when I disable segment leveled moves I will have a problem when compiling my firmware but the firmware still builds successfully.

The error is as follows

Marlin\src\feature\bedlevel\abl\bbl.cpp: In static member function 'static void LevelingBilinear::line_to_destination(const_feedRate_t, uint16_t, uint16_t)':
Marlin\src\feature\bedlevel\abl\bbl.cpp:366:47: warning: narrowing conversion of '((current_position.XYZEval::.XYZEval::::.XYZEval::::::x - LevelingBilinear::grid_start.XYval::.XYval::::.XYval::::::x) * LevelingBilinear::grid_factor.XYval::.XYval::::.XYval::::::x)' from 'float' to 'short int' [-Wnarrowing]
366 | #define CELL_INDEX(A,V) ((V - grid_start.A) * ABL_BG_FACTOR(A))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:374:19: note: in expansion of macro 'CELL_INDEX'
374 | xy_int_t c1 { CELL_INDEX(x, current_position.x), CELL_INDEX(y, current_position.y) },
| ^~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:366:47: warning: narrowing conversion of '((current_position.XYZEval::.XYZEval::::.XYZEval::::::y - LevelingBilinear::grid_start.XYval::.XYval::::.XYval::::::y) * LevelingBilinear::grid_factor.XYval::.XYval::::.XYval::::::y)' from 'float' to 'short int' [-Wnarrowing]
366 | #define CELL_INDEX(A,V) ((V - grid_start.A) * ABL_BG_FACTOR(A))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:374:54: note: in expansion of macro 'CELL_INDEX'
374 | xy_int_t c1 { CELL_INDEX(x, current_position.x), CELL_INDEX(y, current_position.y) },
| ^~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:366:47: warning: narrowing conversion of '((destination.XYZEval::.XYZEval::::.XYZEval::::::x - LevelingBilinear::grid_start.XYval::.XYval::::.XYval::::::x) * LevelingBilinear::grid_factor.XYval::.XYval::::.XYval::::::x)' from 'float' to 'short int' [-Wnarrowing]
366 | #define CELL_INDEX(A,V) ((V - grid_start.A) * ABL_BG_FACTOR(A))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:375:19: note: in expansion of macro 'CELL_INDEX'
375 | c2 { CELL_INDEX(x, destination.x), CELL_INDEX(y, destination.y) };
| ^~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:366:47: warning: narrowing conversion of '((destination.XYZEval::.XYZEval::::.XYZEval::::::y - LevelingBilinear::grid_start.XYval::.XYval::::.XYval::::::y) * LevelingBilinear::grid_factor.XYval::.XYval::::.XYval::::::y)' from 'float' to 'short int' [-Wnarrowing]
366 | #define CELL_INDEX(A,V) ((V - grid_start.A) * ABL_BG_FACTOR(A))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:375:49: note: in expansion of macro 'CELL_INDEX'
375 | c2 { CELL_INDEX(x, destination.x), CELL_INDEX(y, destination.y) };
| ^~~~~~~~~Compiling .pio\build\STM32F446ZE_btt\src\src\gcode\bedlevel\abl\M421.cpp.o
~
Marlin\src\feature\bedlevel\abl\bbl.cpp:392:30: warning: narrowing conversion of '_MAX<short int, short int>(c1.XYval::.XYval::::.XYval::::::x, c2.XYval::.XYval::::.XYval::::::x)' from 'int' to 'signed char' [-Wnarrowing]
392 | const xy_int8_t gc { _MAX(c1.x, c2.x), _MAX(c1.y, c2.y) };
| ~~~~^~~~~~~~~~~~
Marlin\src\feature\bedlevel\abl\bbl.cpp:392:48: warning: narrowing conversion of '_MAX<short int, short int>(c1.XYval::.XYval::::.XYval::::::y, c2.XYval::.XYval::::.XYval::::::y)' from 'int' to 'signed char' [-Wnarrowing]
392 | const xy_int8_t gc { _MAX(c1.x, c2.x), _MAX(c1.y, c2.y) };
| ~~~~^~~~~~~~~~~~
Configuration.zip
Configuration_adv.zip
image4 (1)
image3
image2 (1)
image1 (1)
image0 (1)

Bug Timeline

always happed

Expected behavior

I expected it to have clean bottom layers and fade height to not create artifacts

Actual behavior

Ringing/ghosting artifacts during first 10mm of print

Steps to Reproduce

1- Enable ABL bilinear leveling, leveling fade height (10mm), enable segment leveled moves (5.0mm)
2- Print large square to verify grid artifact is present
3- enable and disable various things to check for change

Version of Marlin Firmware

2.1.x

Printer model

Ender 5 plus

Electronics

BTT octopus v1.1

LCD/Controller

BTT TFT35

Other add-ons

bltouch

Bed Leveling

ABL Bilinear mesh

Your Slicer

Cura

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant