Notifiche
Cancella tutti

Variables and placeholders for layer time  

  RSS
Craig
(@craig-4)
Active Member
Variables and placeholders for layer time

is there a variable for layer time?

Id like to do something along the lines of (IF layer_time > 60 seconds,  move to location) ELSE move to another location

to explain what im trying to do further, every layer change i have my prusa move to a location, to press a button on a remote for a camera, to take a picture.. problem is, if that layer time is longer than 60 seconds, i need to press the button twice, first time to wake the camera back up, and second time to actually take the picture. its a cheap gopro knock off, with no control over when it goes to sleep.
this is all for doing timelapses

Postato : 05/05/2019 12:25 am
--
 --
(@)
Illustrious Member
RE: Variables and placeholders for layer time

https://manual.slic3r.org/advanced/placeholder-parser

https://github.com/slic3r/Slic3r/wiki/FAQ

http://mauk.cc/mediawiki/index.php/Slic3r_placeholders

This is all I know of ... maybe someone else has deeper knowledge of specific Prusa placeholders.

Postato : 05/05/2019 6:40 am
bobstro
(@bobstro)
Illustrious Member
RE: Variables and placeholders for layer time

There are other ways to get timelapse photos without having the physically press a button. Take a look at Octoprint and the various plugins that monitor the gcode stream.

Meanwhile, if you really want to move the head around on a fixed interval, you could insert some custom gcode on layer changes. The only problem is that the printer doesn't remember where it was before a move, and there's no easy variable (that I'm aware of) you can reference to return to your starting position. Some firmware seems to support a feature to store positions, but I don't know if Prusa supports this.

I'd also worry about nozzle ooze, bumping the print and other problems. I believe you can insert commands to set unused GPIO pins that could be wired to your camera, but again I haven't researched this thoroughly.

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Postato : 05/05/2019 12:29 pm
Condividi: