I'm working on building a tool to generate G-code (a simpler slicer), and I'm trying to calculate how much filament should be extruded per movement.
Is there a standard calculation for this? Something like:
layer height * flow % * extruder diameter * distance
How does Ultimaker Cura calculate this?