Printing from SD card

Need some assistance getting started...post here...
User avatar
jdacal
Posts: 466
Joined: Thu Jul 03, 2014 10:28 pm
Location: Florida
Contact:

Re: Printing from SD card

Post by jdacal » Fri Aug 08, 2014 8:44 pm

I am now wireless! Running the first print now. This is cool. Next the relay board to turn it on and off remotely.

Anyone know if the Octoprint camera settings will work with a standard wifi camera instead of the Raspberry one? I'm thinking that maybe if I plug the proper camera string in there it will get the time lapse off my FosCam?
jdacal

live print feed: http://enctrading.com/printcam/
See me Crash and Burn in Real time!

markb
Posts: 180
Joined: Tue Apr 15, 2014 11:06 pm

Re: Printing from SD card

Post by markb » Fri Aug 08, 2014 9:20 pm

I am running a Logitech HD webcam C270. Try your camera it might work but plug it into a power USB hub.

User avatar
jdacal
Posts: 466
Joined: Thu Jul 03, 2014 10:28 pm
Location: Florida
Contact:

Re: Printing from SD card

Post by jdacal » Fri Aug 08, 2014 9:24 pm

Thanks markb. What I would really like is to avoid the USB and just access the camera directly through the wifi network. But I'm not sure if Octoprint will support that. Plus I need to figure out the exact URL to use to get the stream off the FosCam.
jdacal

live print feed: http://enctrading.com/printcam/
See me Crash and Burn in Real time!

benavery
Posts: 110
Joined: Wed Jun 18, 2014 6:31 pm

Re: Printing from SD card

Post by benavery » Sat Aug 09, 2014 12:12 am

Keep me posted if you get a Foscam integrated. I have a spare 8910w around I might be tempted to set up if I could view it all from the octopi interface. I haven't tried Octopi, but in the past I found it serverly lacking documentation about how to automatically authenticate it to grab data directly from a url.

Though for me the standalone security cam app I have on my phone is probably more convenient than the web interface, and if I wanted to record timelapses I believe my Synology NAS can automagically do it, and I don't have to mess around with connecting the octopi to the network drives to save the footage.

User avatar
jdacal
Posts: 466
Joined: Thu Jul 03, 2014 10:28 pm
Location: Florida
Contact:

Re: Printing from SD card

Post by jdacal » Sat Aug 09, 2014 1:59 am

My only reason for doing it would be just to see if I could do it. However, I've been doing some reading since my original post and it doesn't look like it would be easy unless you're a Linux guru. I have a Synology as well, so I'm already getting all the video, and beaming it out: http://enctrading.com/printcam/ .

Just the same I'll give it a shot this weekend or next, these things tend to end up being easier than they sound most of the time. I was expecting the Raspberry Pi project to keep me busy most of the month, only took two days. :)
jdacal

live print feed: http://enctrading.com/printcam/
See me Crash and Burn in Real time!

User avatar
jdacal
Posts: 466
Joined: Thu Jul 03, 2014 10:28 pm
Location: Florida
Contact:

Re: Printing from SD card

Post by jdacal » Sat Aug 09, 2014 9:00 am

Ka-Ching! I got the time lapse working with the wifi FosCam! Will post details Saturday sometime, its 4:00 AM in the morning. :shock:

Edit: Just the time-lapse, streaming might be working but don't have a clue how to access it yet. Also it doesn't let you see the time-lapse at it happens. It saves the pictures to a temp folder and when the print is done it lets you download it as a mpg file. In my case it displayed so quickly (i had it set for every 5 minutes on a 1.5 hour print) that it displayed in the blink of an eye. So it would have to be put into an editor and slowed down since it doesn't insert pauses between the shots.
jdacal

live print feed: http://enctrading.com/printcam/
See me Crash and Burn in Real time!

jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Re: Printing from SD card

Post by jsc » Sat Aug 09, 2014 4:24 pm

The stream, if it is configured properly, should show up at the top of the Control tab.

Try the On Z Change setting for time lapse, it will get you one snap per layer.

User avatar
jdacal
Posts: 466
Joined: Thu Jul 03, 2014 10:28 pm
Location: Florida
Contact:

Re: Printing from SD card

Post by jdacal » Sun Aug 10, 2014 7:29 am

Thanks jsc, will check it out tomorrow.

benavery here is what I have so far:

1. This FosCam page was very helpful with the camera URL's: http://foscam.us/forum/how-to-fetch-sna ... t4328.html (That's not the model I have but worked fine)

2. In Octoprint Settings-->WebCam I used the URL from the FosCam post in the "Stream URL" and "Snapshot URL" fields. "Timelapse bitrate" it at 5000K

After doing that it still didn't work, not sure if it was a fluke or what, but after I added some lines to the config.yaml file it started to work ok:

Code: Select all

webcam:
  ffmpeg: /usr/bin/avconv
  snapshot: http://camera IP Address here:camera port # here/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=your camera username here&pwd=your camera password here
  stream: http://camera IP Address here:camera port # here/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=your camera username here&pwd=your camera password here
  timelapse:
    options:
      interval: 300
    type: timed
  type: timed
I set mine as timed but will probably change it to z-axis to get a shot of each layer.
jdacal

live print feed: http://enctrading.com/printcam/
See me Crash and Burn in Real time!

User avatar
jdacal
Posts: 466
Joined: Thu Jul 03, 2014 10:28 pm
Location: Florida
Contact:

Re: Printing from SD card

Post by jdacal » Mon Aug 11, 2014 6:43 am

jsc wrote:The stream, if it is configured properly, should show up at the top of the Control tab.
Checked it tonight. Streams not working, just shows a default image showing a broken image. I'll work on it some more this week. The still shots are working great though.
jdacal

live print feed: http://enctrading.com/printcam/
See me Crash and Burn in Real time!

bhootve
Posts: 1
Joined: Sun Aug 17, 2014 4:56 pm

Re: Printing from SD card

Post by bhootve » Sun Aug 17, 2014 4:59 pm

I just got the M2 3D printer. Can someone walk me thru how to print via sd card. On simplify 3D, have option to print via USB which is what I typically use. The other option is to save template to SD card, which is a gcode file that I have already saved to the 3D card. Now how do I print from the SD card only thru Simplify 3D.

Thx 4 help

Post Reply