Notifications
Clear all

Camera position on Layer Change  

  RSS
Doug Moore
(@doug-moore)
Member
Camera position on Layer Change

I am trying to use the built-in PrusaLink functionality for snapshots. I would love to be able to use them for a timelapse. It seems pretty straightforward if I can just use the snaps created on layer change. However, everytime my camera takes an image on layer change, the bed is almost all the way back. 

 

Is there a way, perhaps with the code, to make this happen so that I can see the whole bed?

 

The default Before layer change gcode seems to be:

;BEFORE_LAYER_CHANGE
G92 E0.0
;[layer_z]

Should I do a:

 

G1 X5 Y205

Or something similar? (I pulled that from https://blog.prusa3d.com/how-to-create-beautiful-3d-print-timelapse-videos_29743/)  

Napsal : 27/12/2023 3:53 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:

https://github.com/nvtkaszpir/prusa-esp32-node-red-time-lapse/blob/main/gcode/after_layer_change.gcode

I use that gcode for after layer change ( actually it is at the beginning of the layer), see the comments in it or more details, and overall docs in the repo for more info.

So in your case make sure you move print head to Y max available for your printer (something like G1 Y180) and wait for move to finish (G4 S0) and then wait few seconds until screenshot is taken (G4 P3500 means pause 3500 ms)

See my GitHub and printables.com for some 3d stuff that you may like.

Napsal : 27/12/2023 2:30 pm
Share: