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 06: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 12: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.


Delta printer calibration calculator, mini IR Z probe, and colour touch screen control panel: [escher3d.com]

Large delta printer, and other 3D printer blog postings: [miscsolutions.wordpress.com]

Disclosure: I have a financial interest in sales of the Panel Due, Mini IR height sensor, and Duet WiFi/Duet Ethernet [www.duet3d.com].
Re: Marlin based firmware print time algorithm
August 07, 2017 11:08PM
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 07: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