Parametric Glasses Case by jetdillo 3d model
3dmdb logo
Thingiverse
Parametric Glasses Case by jetdillo

Parametric Glasses Case by jetdillo

by Thingiverse
Last crawled date: 4 years, 7 months ago
This is a parametric case for glasses. I got tired of spending $$$ on a new pair of glasses and getting a cheap case that breaks when you look at it funny, so I decided to create this.
For the price of a decent case that will survive being shoved in a backpack, I can buy a spool of nylon or PETG filament and print a couple of them.
Features:
Named parameter sets for angled vs. flat profile, narrow vs. wedge-shaped,
Flat sides vs indented for people w/ different-sized hands.
Select from hinged vs. press-fit closure or stitching holes for a zipper
Optional loops to strap onto a backpack or purse.
Optional inner liner(s).
Optional cutout in the bottom interior for a Tile(tm) BTLE tracker device so you don't lose your glasses in the seatback pocket of a 777 or cab or....
Business card holder slot for contact info for when you do leave it behind somewhere anyways...
GETTING STARTED:
Call the case() module with one of these parameter sets like so:
scale([2.0,2.0,1.5]) case(std_case);
orscale([2.0,2.0,1.5]) case(slimline_case);
The code is pretty heavily documented already and should explain all the parameters pretty well. I've tried to parameterize this as much as possible so that the various values going into the various modules are all related and some fraction or multiple of each other.
That said, there are undoubtedly some combinations which will likely make things go 'splodey.
There's a lot of CSG operations involved in generating the whole case, so if you're running this on, like, a MacBook or Surface or older system, it might take a few minutes to generate the whole thing.
UPDATE 02/04/18
More refactoring/reworking of the magnet-holder clasp. It properly follows the wall as you increase the grip curvature. Modify the clasp_nudge parameter if you decide you want a hand-grip vs. flat-sided case.
UPDATE 12/29/18
I did some refactoring to fix a few things that have been bugging me for a while:
Fixed the hinge() module so it mates to the back of the two halves more consistently.
Better parameterization of case() and clasp() module so the clasps mate to the inside of the respective halves even as the shape of the case changes.
TBD
Generally continue to work on cleaning up the modules so that there are as few constant values as possible and things are parameterized as possible.
Improve render times by refactoring some modules.
Print out the full, complete model(I've only done test-prints so far)
Implement business-card holder/slot
Make grip both left-handed and right-handed.

Tags