External action after each layer

Any topics that don't fall into above categories. Please note that your thread may be moved to other discussion boards.
nbpe
Posts: 1
Joined: Mon May 16, 2022 1:31 pm

External action after each layer

Postby nbpe » Tue May 17, 2022 12:50 pm

Hello everyone,
I'm using a Raise3D Pro2. I want to automatically take a picture after each layer with an external camera, from an external (Python) program. To do this, I move the head out of the way briefly using the Gcode for layer exchange. My problem is figuring out when the layer changes or the head moves away to time the recording. I tried the Remote Access API, but did not find a good solution. For example I tried to pause the print after each layer and restart it using the API, but this seems to takes too much time.
Maybe someone has done something similar or has an idea that could help me.

User avatar
Ryan@Raise3D
Posts: 604
Joined: Thu Oct 28, 2021 10:43 pm

Re: External action after each layer

Postby Ryan@Raise3D » Fri Jun 03, 2022 12:35 am

Unfortunately if you did not find a solution in the API for this it may not be possible with the machine at this time.

MBellahcene
Posts: 64
Joined: Fri Apr 16, 2021 12:35 pm

Re: External action after each layer

Postby MBellahcene » Fri Jun 10, 2022 7:41 am

Hi,

In the template you got the GCode/Layer change GCode setting.
Here you can add some GCode like M240 if it is implemented in the printer.
https://marlinfw.org/docs/gcode/M240.html


Return to “Others”

Who is online

Users browsing this forum: No registered users and 2 guests