• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Customizable sunglasses case 3D Printer File Image 1
Customizable sunglasses case 3D Printer File Image 2
Customizable sunglasses case 3D Printer File Image 3
Customizable sunglasses case 3D Printer File Image 4
Customizable sunglasses case 3D Printer File Image 5
Customizable sunglasses case 3D Printer File Image 6
Customizable sunglasses case 3D Printer File Image 7
Customizable sunglasses case 3D Printer File Image 8
Customizable sunglasses case 3D Printer File Image 9
Customizable sunglasses case 3D Printer File Image 10
Customizable sunglasses case 3D Printer File Image 11
Customizable sunglasses case 3D Printer File Thumbnail 1
Customizable sunglasses case 3D Printer File Thumbnail 2
Customizable sunglasses case 3D Printer File Thumbnail 3
Customizable sunglasses case 3D Printer File Thumbnail 4
Customizable sunglasses case 3D Printer File Thumbnail 5
Customizable sunglasses case 3D Printer File Thumbnail 6
Customizable sunglasses case 3D Printer File Thumbnail 7
Customizable sunglasses case 3D Printer File Thumbnail 8
Customizable sunglasses case 3D Printer File Thumbnail 9
Customizable sunglasses case 3D Printer File Thumbnail 10
Customizable sunglasses case 3D Printer File Thumbnail 11

Customizable sunglasses case

tifn avatartifn

February 16, 2025

thingiverse-icon
DescriptionCommentsTags

Description

This is a parametric case made of two snap-fit halves, intended to protect your sunglasses, for example when stored in a backpack.

Customization

The overall shape is made of curved surfaces that should closely match the (convex hull of) your sunglasses, for minimum space requirement. It has two planes of symmetry, so the sunglasses can be inserted without paying attention to orientation.

The shape is determined from two 2d profiles:

  • Top view : the intersection of an ellipse and a circle
  • Side view : the intersection of three circles (two of them symmetric) and a half-plan, with rounded corners

The top and side views will be the corresponding projections of the resulting 3d shape, but this is not just an intersection of those. It's more "rounded" than the intersection.

You can use the Thingiverse or OpenScad Customizer to tune the parameters and view the 2d profiles and the 3d shape (the latter is faster and more convenient). Each 2d profile should contain the corresponding 2d projection of the sunglasses, with a slight margin. Taking pictures of the two sunglasses views is a simple way of doing this. The following section explains how to use such pitctures as a base for setting the profile parameters using the Thingiverse or OpenScad Customizer.

In addition to the shape parameters, you may want to tune the clearance and thickness too. More parameters can be used to customize the snap-fit profiles.

Using sunglasses profile pictures to set profile parameters

You need one picture for each profile. They should be cropped with a ratio of 3/2 for the top profile and 1 (square) for the side profile. The last two pictures show an example Also, you will need to know the actual picture dimension (width) in millimeters. This is 160mm for the example top profile and 85mm for the side profile, as shown on the ruler.

The pictures can be uploaded directly through the Thingiverse Customizer interface, which will automatically convert them to height maps of predefined sizes (150x100 and 100x100). Set the "part" parameter to "top_profile" (respectively, side_profile) to display the captured profile and the corresponding profile in the design.

If you use the OpenScad Customizer instead, you should convert your cropped images to png images of the expected size (150x100, 100x100). This can be done easily by running convert file.jpg -resize 150x100 file.png

For each picture, the brightness threshold can be adjusted. If yousing the OpenScad Customizer, you need to multiply the brightness threshold by 100 as png images are read with gray scale values ranging in [0-100] while the Thingiverse Customizer script converts input images to a height map in the [0,1] range.

Coordinate parameters allow you to move and rotate the profile in the correct place. They should be centered on the middle of the X axis, and have the front slightly below the axis (to allow some tolerance as the snap-fit is "indide" the bottom part). Then, you can set the parameters in the profile sections to match the captured profiles.

Printing

Don't forget to set precision to 2 (print) before printing !

No supports are required. I used 0.15 layer height, three perimeters. I had good success with ABS, which profides good impact resistance. Nylon would be an even better option but I had more warping with it.

You can test the shape by printing the inside volume is vase mode first. This will be much faster and use less material.

License:

Creative Commons - Attribution - Share Alike

Related Models

Modular Mounting System preview image

Modular Mounting System

HeyVye profile image

HeyVye

69,050

Rugged Box (Parametric) preview image

Rugged Box (Parametric)

Whity profile image

Whity

34,561

Luggage Tag Collection preview image

Luggage Tag Collection

Stag 3D profile image

Stag 3D

1,063

Parametric Hinge preview image

Parametric Hinge

rohingosling profile image

rohingosling

51,872

Modular Snap Together Raspberry Pi 2B/3B/3B+/4 Case w/ OLED & Fan Options preview image

Modular Snap Together Raspberry Pi 2B/3B/3B+/4 Case w/ OLED & Fan Options

Sneaks profile image

Sneaks

5,194

Mini Iphone 16 Pro V2 preview image

Mini Iphone 16 Pro V2

Oleksandr T2L profile image

Oleksandr T2L

1,927

Bag Clip - PLA compatible preview image

Bag Clip - PLA compatible

MasterFX profile image

MasterFX

51,227

NAS ITX PC Case with stackable expansions [MODCASE MASS] preview image

NAS ITX PC Case with stackable expansions [MODCASE MASS]

Haydn Bao profile image

Haydn Bao

3,239