You are not logged in.

#1 2019-12-10 14:34:29

italianuser
Member
Registered: 2019-11-19
Posts: 12

Add automatically a plate from any software

Hello, I'm developing a personal software to add support, like NanoSupport but with personal features.
Can anyone help me? I only need how to load a plate directly from my software to nanodlp.
My idea is to add to the software a printers scanner, after that like nanosupport select the profile and ulpoad to the printer.
Thank you to all!

Offline

#2 2019-12-11 05:20:36

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

Re: Add automatically a plate from any software

Could you send post request toward nanodlp?
I presume you want to send STL files right?

Offline

#3 2019-12-11 09:41:27

italianuser
Member
Registered: 2019-11-19
Posts: 12

Re: Add automatically a plate from any software

Yes right.
I will produce an STL, if needed with .json info file, and these can be sent toward nanodlp via the software.

Offline

#4 2019-12-12 06:11:49

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

Re: Add automatically a plate from any software

Send multipart post request to http://ip/plate/add with following parameters

Only ZipFile field is mandatory which is indicate source file to slice. You can check other options by inspecting plate add page on nanodlp.

POST /plate/add HTTP/1.1
Host: 127.0.0.1:80
Connection: keep-alive
Content-Length: 8285136
Cache-Control: max-age=0
Origin: http://127.0.0.1:8080
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJmrramJIziO6fuA6
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Referer: http://127.0.0.1:8080/plate/add
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,fa;q=0.8

Offline

#5 2019-12-12 08:38:41

italianuser
Member
Registered: 2019-11-19
Posts: 12

Re: Add automatically a plate from any software

Wow thank you, I will try and let you know! smile)

Offline

Board footer

Powered by FluxBB