I'm working on adding some easy to use "timelaps" movie recoding functionality to Cura. It takes photos on each layer change and then stitches those together to a movie file. (which you can upload to youtube or facebook) The above movie is 25 layers per second with 60 layers, but I reduced it to 12.5 layer per second in the code already. I just didn't do a new print yet.
Currently it only works for Windows (working on that), with USB webcams, and if you print from Cura itself. Doing this from the UltiController would be impossible with the stock hardware and simple USB webcams. (People have done it with remote trigger cameras, but that's beyond an easy setup) It's not fully finished, but I wanted to show it :-) I still need to add some configuration features and package it properly with the right libraries.
> I'm working on adding some easy to use "timelaps" movie recoding
> functionality to Cura. It takes photos on each layer change and then
> stitches those together to a movie file. (which you can upload to youtube
> or facebook)
> The above movie is 25 layers per second with 60 layers, but I reduced it
> to 12.5 layer per second in the code already. I just didn't do a new print
> yet.
> Currently it only works for Windows (working on that), with USB webcams,
> and if you print from Cura itself. Doing this from the UltiController would
> be impossible with the stock hardware and simple USB webcams. (People have
> done it with remote trigger cameras, but that's beyond an easy setup)
> It's not fully finished, but I wanted to show it :-) I still need to add
> some configuration features and package it properly with the right
> libraries.
> Finally, as always, Cura hides this feature from you if you don't have a
> webcam connected, or are running an OS that does not support it.
> --
> You received this message because you are subscribed to the Google Groups
> "Ultimaker" group.
> There are also forums, which are the official gathering place for
> Ultimaker operators:
> http://forum.ultimaker.com/
> If you still want to post to this group, send email to
> ultimaker@googlegroups.com
> To unsubscribe from this group, send email to
> ultimaker+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ultimaker?hl=en
I also modified Cura (specificly the internal Printrun (pronterface.py)) to take timelapses automatically at every layer change.
Sorry that I cannot post the videos (IP), but I got very nice results!
My procedure was as follows: -replace in the gcode file the comment ;LAYER: to M240\n;LAYER
-Then in pronterface.py I detected the M240 (function sentcb) and called a bash script that take a snapshot of my webcam, copying the jpeg picture in a folder with the GCODE file (it is created if it does not exist)
- When the printing is finished another bash script to encode the jpeg into XVID was called, so I got a compressed AVI file from a GCODE file automatically (using mencode)
However it is quite platform specific, as the capture and the encoding are linux related. It could be, though, changed to pyrhon code and call a snapshot capture command platform dependant.
If you think I could share something useful, just tell me!
I also created an awesome timelapse of 2 minutes moving smoothly the webcam around and focusing the piece from several angles while it was growing.
As for the support, I designed one to hold the webcam from the front of the ultimaker, but it failed to me due to vibrations (maybe it was not a very strong support..so I used the tripod.
I send you the openscad support file, just in case you want to use it, even it's a bit of a mess..
Best regards and congrats for joining UM!:) Marc
El diumenge 2 de setembre de 2012 15:22:57 UTC+2, Joris van Tubergen va escriure:
>> I'm working on adding some easy to use "timelaps" movie recoding >> functionality to Cura. It takes photos on each layer change and then >> stitches those together to a movie file. (which you can upload to youtube >> or facebook) >> The above movie is 25 layers per second with 60 layers, but I reduced it >> to 12.5 layer per second in the code already. I just didn't do a new print >> yet.
>> Currently it only works for Windows (working on that), with USB webcams, >> and if you print from Cura itself. Doing this from the UltiController would >> be impossible with the stock hardware and simple USB webcams. (People have >> done it with remote trigger cameras, but that's beyond an easy setup) >> It's not fully finished, but I wanted to show it :-) I still need to add >> some configuration features and package it properly with the right >> libraries.
>> Finally, as always, Cura hides this feature from you if you don't have a >> webcam connected, or are running an OS that does not support it.
>> -- >> You received this message because you are subscribed to the Google Groups >> "Ultimaker" group.
>> There are also forums, which are the official gathering place for >> Ultimaker operators: >> http://forum.ultimaker.com/
>> If you still want to post to this group, send email to >> ulti...@googlegroups.com <javascript:> >> To unsubscribe from this group, send email to >> ultimaker+...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/ultimaker?hl=en
Web cam support: It is on my to-do list too. Most of the little web cams
need a better mount, possibly just an adapter to a general purpose mount.
Watch out for vibrations if attached to the UM.
I'm working on adding some easy to use "timelaps" movie recoding
functionality to Cura. It takes photos on each layer change and then
stitches those together to a movie file. (which you can upload to youtube or
facebook)
The above movie is 25 layers per second with 60 layers, but I reduced it to
12.5 layer per second in the code already. I just didn't do a new print yet.
Currently it only works for Windows (working on that), with USB webcams, and
if you print from Cura itself. Doing this from the UltiController would be
impossible with the stock hardware and simple USB webcams. (People have done
it with remote trigger cameras, but that's beyond an easy setup)
It's not fully finished, but I wanted to show it :-) I still need to add
some configuration features and package it properly with the right
libraries.
On Sun, Sep 2, 2012 at 3:51 PM, Marc Muntada <marc.munt...@gmail.com> wrote:
> Hi Daid,
> I also modified Cura (specificly the internal Printrun (pronterface.py))
> to take timelapses automatically at every layer change.
> Sorry that I cannot post the videos (IP), but I got very nice results!
> My procedure was as follows:
> -replace in the gcode file the comment ;LAYER: to M240\n;LAYER
> -Then in pronterface.py I detected the M240 (function sentcb) and called a
> bash script that take a snapshot of my webcam, copying the jpeg picture in
> a folder with the GCODE file (it is created if it does not exist)
> - When the printing is finished another bash script to encode the jpeg
> into XVID was called, so I got a compressed AVI file from a GCODE file
> automatically (using mencode)
> However it is quite platform specific, as the capture and the encoding are
> linux related. It could be, though, changed to pyrhon code and call a
> snapshot capture command platform dependant.
> If you think I could share something useful, just tell me!
> I also created an awesome timelapse of 2 minutes moving smoothly the
> webcam around and focusing the piece from several angles while it was
> growing.
> As for the support, I designed one to hold the webcam from the front of
> the ultimaker, but it failed to me due to vibrations (maybe it was not a
> very strong support..so I used the tripod.
> I send you the openscad support file, just in case you want to use it,
> even it's a bit of a mess..
> Best regards and congrats for joining UM!:)
> Marc
> El diumenge 2 de setembre de 2012 15:22:57 UTC+2, Joris van Tubergen va
> escriure:
>> please contact miguel, he also did some cura changes to make timelapses...
>> [i don't know if he follow this newsgroup, but i will forward it...]
>> cheers\joris
>> On Sun, Sep 2, 2012 at 2:43 PM, Daid <dai...@gmail.com> wrote:
>>> I'm working on adding some easy to use "timelaps" movie recoding
>>> functionality to Cura. It takes photos on each layer change and then
>>> stitches those together to a movie file. (which you can upload to youtube
>>> or facebook)
>>> The above movie is 25 layers per second with 60 layers, but I reduced it
>>> to 12.5 layer per second in the code already. I just didn't do a new print
>>> yet.
>>> Currently it only works for Windows (working on that), with USB webcams,
>>> and if you print from Cura itself. Doing this from the UltiController would
>>> be impossible with the stock hardware and simple USB webcams. (People have
>>> done it with remote trigger cameras, but that's beyond an easy setup)
>>> It's not fully finished, but I wanted to show it :-) I still need to add
>>> some configuration features and package it properly with the right
>>> libraries.
>> --
> You received this message because you are subscribed to the Google Groups
> "Ultimaker" group.
> There are also forums, which are the official gathering place for
> Ultimaker operators:
> http://forum.ultimaker.com/
> If you still want to post to this group, send email to
> ultimaker@googlegroups.com
> To unsubscribe from this group, send email to
> ultimaker+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ultimaker?hl=en
> I'm working on adding some easy to use "timelaps" movie recoding functionality to
> Cura. It takes photos on each layer change and then stitches those together to a
> movie file.
>
Should that work in Linux? My notebook (with debian) has a webcam but
I can't find any mention of the functionality in the current git version.
> I also still need to find a way to properly mount my webcam on my machine. So
I've just pushed the design for my webcam holder to github. It's supposed to
work with the Microsoft Studio WebCam but also fits my Logitech C270 (but
the C270 needs a minimum distance of ~40cm so it's not much use for clipping
directly to the Ultimaker).
http://t-paul.github.com/things/?design=webcam-holder
I'm currently only using a windows only package. OpenCV should be able to provide linux/mac support for the stuff I use the windows only library for. But I haven't implemented that yet, as OpenCV was a lot harder to use then the minimal windows library I use.
Also, the support is very limited right now, it needs more work. There is no way to turn it on/off for example. Implementation details can be found in Cura/gui/webcam.py I found some instabilities in the USB printing, which I was working on fixing first before fixing up the camera support. And then I got sidetracked... focus is hard!
On Tuesday, September 25, 2012 1:18:20 AM UTC+2, tp wrote:
> Hi!
> On 09/02/2012 02:43 PM, Daid wrote: > > I'm working on adding some easy to use "timelaps" movie recoding > functionality to > > Cura. It takes photos on each layer change and then stitches those > together to a > > movie file.
> Should that work in Linux? My notebook (with debian) has a webcam but > I can't find any mention of the functionality in the current git version.
> I've just pushed the design for my webcam holder to github. It's supposed > to > work with the Microsoft Studio WebCam but also fits my Logitech C270 (but > the C270 needs a minimum distance of ~40cm so it's not much use for > clipping > directly to the Ultimaker). > http://t-paul.github.com/things/?design=webcam-holder
> I'm currently only using a windows only package. OpenCV should be able to
> provide linux/mac support for the stuff I use the windows only library for.
> But I haven't implemented that yet, as OpenCV was a lot harder to use then
> the minimal windows library I use.
Ahh, ok.
> I found some instabilities in the USB printing, which I was working on fixing
> first before fixing up the camera support. And then I got sidetracked... focus
> is hard!
That focus thing I can believe :-). I was just wondering if I could use the
WebCam now clipped to the Ultimaker for more than watching if the print starts
to fail while sitting outside reading a book :D.
Right now I'm printing with Pronterface running on a beagleboard which also
has the WebCam connected. Looks like I might also try Cura for printing as I
found it's now having printer control and monitor console too...
A different idea (and maybe easier to implement for the Cura part) would be
to have a simple HTTP request that could call an iPhone or Android App
to trigger the camera. I tried to implement that on the iPhone and it seems
quite simple.