Welcome! Log In Create A New Profile

Advanced

Marlin based firmware print time algorithm

Posted by DapDeveloper 
Marlin based firmware print time algorithm
August 07, 2017 09:27AM
Hi,
I'am developing a PC host software to control my Marlin based printer.
I need to calculate the estimate printing time from a file generated with Simplify3D or other slicers.
The informations that Simplify3D insert in upper of file are too poor,there are informations about speed and nozzle diameter but
nothing about model dimensions so i don't know how to calculate the estimated total printing time.

Any Ideas?

Thanks,
Re: Marlin based firmware print time algorithm
August 07, 2017 03:02PM
To get a really accurate print time you need to simulate the Gcode, taking account of the acceleration and maximum speed settings. In RepRapFirmware we have a command (M37) to execute a gcode file in simulation mode for this purpose. You could do the same thing in your host PC software, only faster.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Marlin based firmware print time algorithm
August 08, 2017 02:08AM
I don't own S3D, so how would the PC host know about accel & yerk settings? ( don't forget retraction settings ).
Slic3r doesn't publish these parameters in gcode. You'd have to extract them from a M503 answer?
Re: Marlin based firmware print time algorithm
August 16, 2017 10:42AM
I resolved this problem using the time generated by the slicer.
Is not very accurate but is good for now.

Thanks.
Sorry, only registered users may post in this forum.

Click here to login