You are not logged in.
Pages: 1
Hello,
I have worked in python in the past, and I was wondering if anyone had some kind of guide to writing python script specifically for NanoDLP? I understand that python can be used to do calculations and output gcode, but I am unsure where to start. Any tips would be greatly appreciated! Thank you!
Offline
There are two ways of modifying values on nanodlp during printing. [[Net ]] and [[Exec ]] keywords check out on-screen help for code boxes.
NanoDLP could call external program or communicate through port and put result inside gcode box for further calculation and etc.
Offline
Shahin,
Thank you for your response! I have a few more questions regarding starting the code.
1. I understand the [[Exec]] command requires a python file name. Does this file have to be saved in a specific location? I am currently using a Raspberry Pi 3 b+, so would I have to save the python file on the SD card?
2. Is there any chance you have a simple example of a python code that can be read by NanoDLP? I am unsure how to request variables from NanoDLP in Python, as my knowledge of Python is very limited.
Any help you could offer would be greatly appreciated! Thanks again!
Offline
1. No not important just put correct path: python interpreter + py file
Offline
Pages: 1