Step 1: How to design 3d printed glasses
This is how I designed and 3D printed my own glasses using lenses from a broken pair.
I started by 3D scanning my lens using my phone's camera and Autodesk's 123D Catch. You can see the instructable here: http://www.instructables.com/id/3d-scanning-a-glasses-lens/
I used the 3D scan of my lenses as a reference to design my new frames in Rhino. This will require moderate 3D modeling skill, and of course access to a 3D printer.
Stay tuned for how to design glasses using Autodesk Fusion 360!
Step 2: Importing and cleaning the 3D scan mesh
Start by importing your 3D scan and rotating it so that is in the right orientation. You can trim off the excess mesh around your lens by drawing a closed curve around it and using a mesh split.
Next scale your lens to the right dimensions. You can either measure it with calipers, or look at the inside of your glasses to find the sizes. The first number is the width of your lens, the second is the distance between lenses, and the third is the length of the arms.
Move your scan so that it is offset from the origin the correct amount. Since glasses are symmetrical, you only need to model half of them.
Step 3: Matching the lens curvature
Start by orienting the lens so that the frame will have a consistent curvature around your face. Draw a curve, tracing the top surface, that extends passed the lens and is tangent at your center line. Next, trace the outline of your lens. Try to match the hard edge of the scan as closely as possible. When drawing your curves, the less points you make, the cleaner a model you will have.
Step 4: Design your frame shape
Here's the fun part. Draw the outline of you frame using two curves. I offset my lens curve by 2mm to use as a guide for the shape, and to keep a consistent thickness.
Offset the curve you drew over the lens surface by the thickness of your lens, then offset each of those curves by 1.5-2mm for the thickness of your frame.
Make a swept surface for each of those curves, then project your lens curve onto each of them. Project your frame curves onto only the top and bottom surface. Split the top and bottom surfaces with the projected curves and discard the two middle surfaces.
Step 5: Fitting your lens
My lenses have a V shaped outer edge that extends 1mm (sorry it's hard to photograph). I drew the same V shape on my projected lens curves and used a 2 rail sweep to create the groove in my frame.
Step 6: Surfacing your frames
Draw curves between you split frame surfaces and use 2 rail sweeps to fill your outer surfaces. Do the same for the space between your lens groove and outer surfaces.
Draw two curves across the bottom center of your frames and use them to split the curves and surfaces on the inside face of you frames. Drag control points on the split curves to shape the bridge, then patch those surfaces.
Step 7: Shape the arms
Next design the shape of your arms using two curves. Make sure the curves start tangent to the frame's surface.
Offset those curves and attach the offsets to the opposite surface of the frame. Use the control points to make sure the offset curves are also tangent to the surface.
Use the frame egdes as profile curves for 2 rail sweeps to build the surfaces of the arms. Join the surfaces and fillet the edges to your desired shape.
Step 8: Model the hinges
I modeled the hinges using a simple extrusion and boolean union. I used a 2mm screw, so I drew a 2mm circle, then offset it to my desired thickness. Depending on what kind of printer you will be using, you may want to make it thicker and stronger.
Before the boolean union, draw a curve across the arm in the space between the hinge. Use this curve to split your arm from the frame. Then boolean union the appropriate hinge pieces to the frame and arm.
Next you can mirror your half-frame and arm to make a whole one and get ready for 3D printing!
Step 9: Finishing your print and assembly
I had mine printed on a Stratasys Connex 500 poly-jet printer. The frame I printed in Vero Black, which is a rigid and fairly strong resin. The arms I printed in a digital mix of Vero White and Tango Black, which gives my a more flexible material.
It should be possible to print them in a SLS nylon material, which most online services offer. You may need to make some parts of your glasses thicker, especially the hinges.
I have yet to try it on a FDM printer like a Makerbot, but I would love to see it done!
Before putting in you lenses, now would be the time to finish your print to your liking. You can sand it smooth, polish it, and coat it if your material isn't skin safe.
Now try pressing your lenses in. It was a very tight fit for me, but could be less if I had modeled the groove around the lens a little bigger.
Slowly screw in your arms. I screw them in a little then back them out a little each time to let the screw self-tap.
I've also attached STLs of my glasses if you would like to try it on your printer.