In this lesson we continue to build our design skills by creating a 3D widget in sketchup to print on our 3D printer. Also, if you are following along, you really need to get a nice set of digital calipers for testing dimensions and tolerances of your design you can get a good pair here:
In this video lesson we describe how to print designs from Sketchup on a 3D printer. Key thing is you need to go to the sketchup Extension Warehouse, under the window tab in scketchup. Then you need to search for and install the .STL Export extension. With this extension, you can export your design file as an .stl file. Then you can load the .stl file into your slicer software to generate the gcode for the printer. I found that it is very straightforward to go from sketchup to the 3D printer.
Those of us who come from an electronics background often find 3D CAD software confusing beyond description. All of our intuition when it comes to drawing or sketching does not seem to work in CAD programs. I think there are several reasons for that. First, as electronic folks, I think we fundamentally think in two dimensions. Hence our intuition in drawing or sketching is probably based on simple programs like powerpoint or draw. To learn how to properly use a 3D design package like sketchup we need to start by forgetting everything we think we know about drawing and to start with a clean slate.
The video above will step you through how to learn some of the simple basics of sketchup. The thing to realize is that with a CAD program like sketchup, you must be very mindful of your design pallet. In a program like powerpoint, it more or less guesses whether you are trying to draw, move or resize. In CAD software, you must explicitly tell it what you want to do by clicking on a tool in the pallet. Hence things that you are accustomed to doing in one step now take two steps. Once you realize this, life gets a lot easier. The second key thing to realize is that in a sketching program you typically just eyeball in position and dimension, and create objects by more or less eyeball and freehand. In CAD software you must develop the habit and discipline of deliberately setting location and dimension when you create an object. It is very easy to place and size things when you create them, but sometimes much harder to do this later.
Hence the key to using CAD software is to be mindful of using the tool pallet, and to be mindful of carefully setting position and dimension when an object is created.
I am going through these lessons on CAD to try and help you learn how to design things for 3D printers. Far too many owners of 3D printers just download design files from the WEB and never develop any design skill themselves. In this series I hope you learn to both design and make your designs on a 3D printer.
My first try at 3D printing was a nightmare. I got the Makerbot Replicator II and it was a disaster. It never worked properly and really broke my heart. More recently I have been working with Raide3D printers and have been very impressed. If you are interested in a 3D printer, I really recommend Raise 35. You can order there entry level one here:
Or their top of the line one here:
Hope you will consider one of these printers, and hope you will follow along in this new series of tutorials on Sketchup and 3D printing.
This is a super cool project where we build a concealable, portable, live streaming IP camera based on the Raspberry Pi Zero Model W, and the Raspberry Pi camera module. In order to do this lesson, you need to start with Lesson 1, where we show you how to get the IP address of your Pi zero, and how to get it booted. For this project, you need a Raspberry Pi Zero Model W. If you do not have one, you can get the ESSENTIAL HARDWARE HERE. In addition, you will need the Raspberry Pi Camera, which you can GET HERE. The Pi Zero needs a special Camera Cable, which you can get HERE.
That should be the equipment you need to this really fun project. When you are ready to go, the instructions are in the video below.
In this lesson we give you a step by step tutorial on how to create a low cost IP camera from a Raspberry Pi and the Raspberry Pi camera module. (If you need to get a Raspberry Pi and Camera Module, we recommend this complete starter Kit, which you can order HERE. If you already have a Raspberry Pi, and just need a camera, you can get the camera module HERE.) We are going to assume you already have your Raspberry Pi up and running, and are able to make a connection to it via Putty or SSH. If you are completely new to the Raspberry Pi, you should probably start with the first two lessons on THIS PAGE.
This video will take you through the steps one at a time. In addition, the tutorial below has the commands that you can copy and paste. We recommend you both follow the video, and get the steps from the instructions below, so you do not have to manually type the commands. Be very careful . . . you must be precise in following these instructions for things to work.
OK, now assuming you have your Raspberry Pi up and running, and you can connect via Putty or SSH, These are the steps to get your dandy personal IP camera working. You will type or copy and paste these lines one at a time into the Raspberry Pi command line.
Now you will want to type or paste this info into the nano window.
Apache
1
<?phpphpinfo();?>
STEP 5: Save your nano file with these key strokes:
Arduino
1
2
3
CtrlO
Enter
CtrlX
To be clear, you press the Control key and the letter “O” at the same time. Then press the enter key. Then press the Control and “X” key at the same time.
STEP 6: Restart the Webserver:
Apache
1
sudo/etc/init.d/lighttpdrestart
STEP 7: Check That the WEB Server is Working:
Go to a browser on a Windows computer on your network, and type:
http://10.1.15.94/
(NOTE: You would use your Pi’s IP address above. The number I use above is the IP address of our Pi. Your number will be different. You can find out your IP address on the pi by typing ifconfig into the terminal window.)
If you configured things correctly, you should get an Apache info page pop up.
Also, you should be able to see your php information page by entering:
http:/10.1.15.94/php.php
Again, you should use your IP address. If you did things correctly you should have a page come up with lots of tables describing php configuration
To be clear, you press the Control key and the letter “O” at the same time. Then press the enter key. Then press the Control and “X” key at the same time.
STEP 13: Restart crtmpserver
Apache
1
sudo/etc/init.d/crtmpserverrestart
STEP 14: Remove ffmpeg
We need to make sure we have a clean copy of ffmpeg, so safest thing to do is un-install it in case an old version is on your pi.
Apache
1
sudoaptituderemoveffmpeg
STEP 15: Intall Latest git-core and ffmpeg software
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
readonly=yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
createmask=0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directorymask=0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# The following parameter makes sure that only "username" can connect
# to \\server\username
# This might need tweaking when using external authentication schemes
validusers=%S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;comment=NetworkLogonService
;path=/home/samba/netlogon
;guestok=yes
;readonly=yes
[home]
path=/
public=yes
readonly=no
writeable=yes
browseable=yes
createmask=0777
directorymask=0777
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;comment=Usersprofiles
;path=/home/samba/profiles
;guestok=no
;browseable=no
;createmask=0600
;directorymask=0700
Now save and exit the nano editor with:
Ctrl O Enter Ctrl X
At this point, your Raspberry Pi should show up on your Windows computer network on your windows machine. On your windows machine, open a folder, click on “network” on the left, and you should see your raspberry pi show up. Now you can move files to and from your Raspberry Pi from Windows.
STEP 19: Install Strobe Software and WEB Page:
We will want to be able to view the live video stream in a browser, so we need to install the Strobe software. These next steps will install and enable the strobe feature.
Apache
1
cd/var/www/html
Arduino
1
sudomkdirstrobe
Arduino
1
sudochmod-R777strobe
Now the easiest way to get the strobe software is to download it on a windows computer. You can get the software by going to:
and downloading the latest version of strobe media playback.
Now open the zipped folder and drag and drop the folder “for Flash Player 10.1” to your desktop.
Now move the CONTENTS of the unzipped “for Flash Player 10.1” folder onto your Raspberry Pi. You will want to move the CONTENTS of “for Flash Player 10.1” folder into the /home/var/www/html/strobe folder on your Raspberry Pi. If you installed Samba correctly, the Raspberry Pi should show up when you open a folder in Windows and click on “Network”.
Now you have the strobe software installed and you need to create a Strobe WEB page to display your live video.
First, make sure you are in the html folder by typing:
Apache
1
cd/var/www/html
On your raspberry pi, now issue the command:
Apache
1
sudonanoindex.html
Now paste this code into your Nano window. You can paste by copying the code below, and then going to your Raspberry Pi command Window, and right mouse clicking.
JavaScript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Now you should save and exit nano with these commands:
Arduino
1
2
3
CtrlO
Enter
CtrlX
To be clear, you press the Control key and the letter “O” at the same time. Then press the enter key. Then press the Control and “X” key at the same time.
STEP 20: Enable Raspbery Pi Camera Module:
At the command line enter:
Apache
1
sudoraspi-config
Scroll down and enable the camera.
STEP 21: Start the Camera:
You are now ready to fire up the camera. You can start the camera by issuing this command in the Raspberry Pi command window.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok