You are not logged in.
Pages: 1
By default, camera capture takes place during exposure.
How could I instruct nanoDLP to take a shot after the lift?
Offline
Use after layer gcode or syscall input to send command to take photo manually.
Offline
[[Exec raspistill -o public/shots/[[LayerNumber]].jpg]]
I added this command in the GCODE After Each Layer box but it caused some weird behavior:
It caused the projector to expose almost half the build area at full brightness for a split second.
When I removed the command the problem went away.
If my description is not helping I can produce a short video.
Last edited by Yianni-VJ (2017-10-20 09:00:46)
Offline
It is probably caused by raspistill, but it is strange as after each layer runs after image displayed not before that.
Offline
I see.
Is there another way I can grab a shot when the platform is at the lift position and display it on the dashboard?
Offline
Use Exec with bash script and call raspistill from there.
As I remember raspistill had quite long delays before taking photo so it is possible it takes photo during layer cure. It has some switches to decrease delay, maybe it fixes the issue.
Offline
Hi,
Sorry for bringing this thread up after a few months, but I'm now trying to find a way of taking a snapshot at the top of the lift between layer curing.
Looking at the thread /forum/viewtopic.php?pid=3488#p3488 there is a sequence of events that shows when the syscall and gcodes are executed. In that sequence, I'm looking to capture after step 13 and before step 1 starts for the next layer.
Is there somewhere I can inject an [[Exec ....]] for raspistill after the lift? Adding it to the 'GCode after layer' as described seems to call the camera after the leds shut off - as per the sequence above (although I am getting a camera error but that's a different thing..). So
BTW, if you use the -n flag or --nopreview then raspistill will suppress the camera preview before taking the snapshot. I originally had raspbistill called via timer and noticed that every 5secs (the timer) my LCD would show the live camera output - not helpful when trying to cure the layer - fortunately, -n fixed that.
Thanks in advance.
Greg
Offline
Pages: 1