Ir para conteúdo
3DFinder
Log in

You're on 3DFinder

We search Thingiverse, MakerWorld, and Printables at once so you get the best of each.

Find more like this
3D model Parametric Button Generator by kriswillcode on Printables

Description

This script generates customized 3D-printed buttons using OpenSCAD's built-in customizer. OpenSCAD is totally free, and its customizer makes generating buttons simple and intuitive. You can quickly and easily change the size, shape, and even the number of thread holes! 

I have included some “recipes” in the photos above. Also attached are several example STL files, but I'd encourage you to make your own!

Requirements

  • Download and install OpenSCAD
  • Download the button_generator.scad script from the “Files” tab

Instructions

  1. Open OpenSCAD and load up the button_generator.scad file.
  2. Open OpenSCAD's customizer: “Window > Customizer” (a new panel will appear on the right).
  3. Expand the “Parameters” section and start changing some values (see below for an explanation of each attribute). The preview render will update after changing a parameter (if it doesn't, press F5).
  4. Once your button looks correct, generate a high-quality render by pressing F6.
  5. Export your STL file (F7) and start printing!

Parameters

NameDescription
button diameterThe size of the button
button heightThe height of the base of button (excluding the lip and center)
bottom chamferThe size of the button's rounded bottom edge
lip widthThe width of the ring along the top outer edge of the button
lip heightThe height of the ring along the top outer edge
center roundedShould the raised center of the button be fully rounded or have a flat top
center widthThe diameter of the raised center
center heightThe height of the button's raised center
hole countThe number of thread holes in the button
hole diameterThe size of each hole
hole offsetHow far should the thread holes be from the center of the button

Tips

  • In OpenSCAD's preview: blue tint = low-quality render, green tint = high-quality render
  • The preview's low-quality render may show weird artifacts (missing faces, overlapping sides, etc.), but those issues won't be present on the high-quality render.
  • When generating a high-quality render, it can take a minute or two, so be patient.
  • The lip and center can be removed by setting the height to zero. 
  • The bottom chamfer helps the button slide through the fabric's button hole and can help compensate for elephant's foot.
  • You can also set the values manually in the source code using the editor on the left of OpenSCAD (see lines 5 through 26).
  • Don't make the thread holes too small or else they won't print well.
  • Changing multiple values can be annoying while “Automatic Preview” is enabled. I prefer to uncheck it, and just tap F5 when I want to see an update.
  • If you generate a particularly awesome button, share the settings!
Printables

Parametric Button Generator

Published on Jan 20, 2022

101
Likes
506
Downloads
8
Makes
Category Other Fashion Accessories
Tags
parametric customizable buttons button tools customizer openscad generator clothing clothingaccessory software 3dprintedbuttons openscadcustomizer
License Creative Commons — Attribution — Share Alike
Files (11)
button_generator.scad 2.4 KB
simple_button.stl 2.4 MB
flat_button.stl 1.6 MB
rounded_button.stl 1.6 MB
border_button.stl 3.1 MB
cloud_button.stl 2.4 MB
ufo_button.stl 2.2 MB
donut_button.stl 2.4 MB
hat_button.stl 3.1 MB
wheel_button.stl 3.2 MB
pillow_button.stl 2.4 MB
View on Printables (opens in new tab)

Like this model? Create a free account to save your favorites and come back to them later.

Create account