Welcome! Log In Create A New Profile

Advanced

Compensation of surface irregularities along the Z axis ...

Posted by z34x66 
Compensation of surface irregularities along the Z axis ...
January 01, 2025 09:02AM
My surface, on which the extrusion will be performed, is not smooth.
I need to analyze the surface as the nozzle moves (X,Y) during the extrusion of the material (at each displacement of the length by a given amount or direction change), in front of the nozzle in the direction of its displacement vector.
Depending on this, the value of I can be dynamically changed.
After analyzing the documentation (https://marlinfw.org/docs/gcode/M421.html ) and git ( [github.com] ) it became clearer to me that one of the solutions to this problem is to dynamically fill the offset grid with data coming from my version of the head (via I2C) (controlled by STM32) during the movement.
Accordingly, there were several questions about the marlin-2.1.2.4 firmware to colleagues who were more literate than me :

1. Is there a detailed description of the marlin firmware? Classes, methods, functions? As well as the logic of their interaction ?

2. If there are methods for getting data from the G-Code command buffer ?

3. Are there any methods or functions in the firmware that are called before performing the next microstep or group of microsteps ?

4. After reading this URL description: [marlinfw.org] I saw that the maximum number of grid points is 15x15 !
Unfortunately, this is too little for my task !!!
Can I increase the grid size to 160x160 without consequences, for example ?

...

Can someone advise me on this list of issues ?

Sincerely, Yuri.
Sorry, only registered users may post in this forum.

Click here to login