Skip to content

Instantly share code, notes, and snippets.

@simonjamain
Last active September 12, 2023 15:42
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save simonjamain/beeca3f692b087e0e27712971aa0842b to your computer and use it in GitHub Desktop.
Save simonjamain/beeca3f692b087e0e27712971aa0842b to your computer and use it in GitHub Desktop.
Custom timelapse script for CURA postprocessing plugin
@juanbu123
Copy link

@Flying-Suricate how can i trigger a different camera connected to the u,timaker. im using the ultituner tool that smithy created which allow to add a second camera using the the front usb port.

@Flying-Suricate
Copy link

So my expermental program is working also on an Ultimaker 5. Good to know. To get the image I use an http request of the web stream. I dont know how the ultituner works but if you get the image on the web view, everything should work normaly. There is no configuration currrently to change the connection. You can use the existing connection by changing the camera. The internal camera is connected by microUSB. Just use this connecton to a different camera and this should also work. I rewire this cable back and out of the case threw the bottom of the case.

@juanbu123
Copy link

@Flying-Suricate Do you know if I can connect a DSLR to the printer?

@mortezajorak
Copy link

Hi.
I already used this and its great thanks!
but I have a problem here.
My printer is Creality K1 and the print speed that I using is 300mm/s
whit this script, after each layer the printer will go the shutter position by a very slow speed. how can I add a speed like "Return speed" that you already written it ?
Screenshot 2023-09-12 at 4 20 18 PM

@Flying-Suricate
Copy link

I dont know why It does not retreat the old Speed. I will look it up. It could take some time.

@mortezajorak
Copy link

I dont know why It does not retreat the old Speed. I will look it up. It could take some time.

Please take a look at this video.

71620424513__FFA43DB3-8308-4F67-9468-A15F47FE4D2C.MOV

@mortezajorak
Copy link

image
And here is the result

@Flying-Suricate
Copy link

Hi. I already used this and its great thanks! but I have a problem here. My printer is Creality K1 and the print speed that I using is 300mm/s whit this script, after each layer the printer will go the shutter position by a very slow speed. how can I add a speed like "Return speed" that you already written it ? Screenshot 2023-09-12 at 4 20 18 PM

It seams the 3000000 mm/m get ignored on your machine. Maybe it is too high and then it uses its standard speed. You could try to set the first Gcode line something like: G0 X15 F7000. Maybe this will work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment