You are not logged in.

#1 2022-03-18 01:23:26

zhanwei
Member
Registered: 2017-12-01
Posts: 4

How to automatically start the next model printing?

When a model is printed, nanodlp calls an external Py program. This Py program controls the robot to automatically remove the model tray and install a new tray. How do I get nanodlp to start printing the next model?

Offline

#2 2022-03-19 08:18:42

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,517

Re: How to automatically start the next model printing?

Call [printer_url]/printer/start/[plate_id] to start printing a specific plate

Offline

#3 2022-03-30 15:49:43

zhanwei
Member
Registered: 2017-12-01
Posts: 4

Re: How to automatically start the next model printing?

I can set up a python program in raspberry pie and call the python program when printing is finished.Then start nano through Python program to execute the next print,

Offline

#4 2022-03-31 13:35:46

zhanwei
Member
Registered: 2017-12-01
Posts: 4

Re: How to automatically start the next model printing?

Error    1    2022-03-31 14:29:39.709632    Gcode    External Call Problem exit status 1 Traceback (most recent call last):
File '/home/pi/test.py', line 1, in
import requests
ImportError: No module named requests

I use SSH to run test pyPlant7 starts printingWhen I use nano to call test The above error occurred during py

Offline

#5 2022-03-31 16:36:14

zhanwei
Member
Registered: 2017-12-01
Posts: 4

Re: How to automatically start the next model printing?

Ok
I can I  print plat_id+1
But I can't stop printing
Because the code in stopping printing will start pant_ id+1。

Offline

#6 2022-10-07 22:18:20

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,517

Re: How to automatically start the next model printing?

Where do you want to stop it? Plate ID on nanodlp side being updated, so at-least from interface you should not have such an issue.

Offline

Board footer

Powered by FluxBB