Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
First timelaps movie created from Cura with a webcam
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daid  
View profile  
 More options Sep 2 2012, 8:43 am
From: Daid <daid...@gmail.com>
Date: Sun, 2 Sep 2012 05:43:38 -0700 (PDT)
Local: Sun, Sep 2 2012 8:43 am
Subject: First timelaps movie created from Cura with a webcam

http://www.youtube.com/watch?v=9kV6S74wtX4

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 also still need to find a way to properly mount my webcam on my machine.
So if someone has some tips for that, would be nice. I have this webcam:
http://www.logitech.com/nl-nl/webcam-communications/webcams/webcam-c210

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joris [van Tubergen]  
View profile  
 More options Sep 2 2012, 9:22 am
From: "Joris [van Tubergen]" <rooiejo...@gmail.com>
Date: Sun, 2 Sep 2012 15:22:35 +0200
Local: Sun, Sep 2 2012 9:22 am
Subject: Re: First timelaps movie created from Cura with a webcam

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Muntada  
View profile  
 More options Sep 2 2012, 9:51 am
From: Marc Muntada <marc.munt...@gmail.com>
Date: Sun, 2 Sep 2012 06:51:53 -0700 (PDT)
Local: Sun, Sep 2 2012 9:51 am
Subject: Re: First timelaps movie created from Cura with a webcam

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:

  suportWebcam.scad
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boman33  
View profile  
 More options Sep 2 2012, 11:09 am
From: "Boman33" <Boma...@Vinland.com>
Date: Sun, 2 Sep 2012 11:09:46 -0400
Local: Sun, Sep 2 2012 11:09 am
Subject: RE: First timelaps movie created from Cura with a webcam

Thanks Daid for keep adding features.

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.

Bertho

From: Daid    Sent: Sunday, September 02, 2012 08:44

http://www.youtube.com/watch?v=9kV6S74wtX4

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 also still need to find a way to properly mount my webcam on my machine.
So if someone has some tips for that, would be nice. I have this webcam:
http://www.logitech.com/nl-nl/webcam-communications/webcams/webcam-c210

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joris [van Tubergen]  
View profile  
 More options Sep 2 2012, 5:44 pm
From: "Joris [van Tubergen]" <rooiejo...@gmail.com>
Date: Sun, 2 Sep 2012 23:44:30 +0200
Local: Sun, Sep 2 2012 5:44 pm
Subject: Re: First timelaps movie created from Cura with a webcam

miguel made a small blogpost in august, but didn't tell anything
technical...

http://fablogica.com/time-lapse-sincronized-with-3d-printing/

cheers\joris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Torsten Paul  
View profile  
 More options Sep 24 2012, 7:18 pm
From: Torsten Paul <melmoth.the.sh...@gmail.com>
Date: Tue, 25 Sep 2012 01:18:16 +0200
Local: Mon, Sep 24 2012 7:18 pm
Subject: Re: First timelaps movie created from Cura with a webcam
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 also still need to find a way to properly mount my webcam on my machine. So

 > if someone has some tips for that, would be nice. I have this webcam:
 > http://www.logitech.com/nl-nl/webcam-communications/webcams/webcam-c210

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

ciao,
   Torsten.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MoonCactus  
View profile  
 More options Sep 25 2012, 5:21 am
From: MoonCactus <jeremie.franc...@gmail.com>
Date: Tue, 25 Sep 2012 02:21:14 -0700 (PDT)
Local: Tues, Sep 25 2012 5:21 am
Subject: Re: First timelaps movie created from Cura with a webcam

Great job again, don't you ever have a break? :)
BTW you python povscripts are nice


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daid  
View profile  
 More options Sep 25 2012, 11:47 am
From: Daid <daid...@gmail.com>
Date: Tue, 25 Sep 2012 08:47:05 -0700 (PDT)
Local: Tues, Sep 25 2012 11:47 am
Subject: Re: First timelaps movie created from Cura with a webcam

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!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Torsten Paul  
View profile  
 More options Sep 25 2012, 1:06 pm
From: Torsten Paul <melmoth.the.sh...@gmail.com>
Date: Tue, 25 Sep 2012 19:06:42 +0200
Local: Tues, Sep 25 2012 1:06 pm
Subject: Re: First timelaps movie created from Cura with a webcam
Hi!

On 09/25/2012 05:47 PM, Daid wrote:

> 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.

ciao,
   Torsten.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »