Commit Graph

14 Commits

Author SHA1 Message Date
Joel Ebel
583fe6a198 Remove some whitespace
And change a *.5 to a /2 for consistency and to save a character.
2019-12-27 14:59:55 -05:00
Joel Ebel
9b22604d3e Add missing parameters to fix warnings 2019-04-11 13:21:35 -04:00
Joel Ebel
81ccd45685 Adjust filet on square holes by CutoutMargin
If you have a cutout margin, the filet on square holes must be adjusted
by that amount if you want to achieve the desired filet.
2018-07-27 00:28:36 -04:00
Joel Ebel
cc8d527884 Taper the screwless feet for easier fitting
Make the screwless foot tips slightly conical. This makes it easier to
fit the box halves together as it helps to alight the top and bottom
feet.
2018-07-21 22:08:20 -04:00
Joel Ebel
dfde39fe11 Think of panel gaps as on a single edge.
Panel gaps were previously for both edges, as in the reduction in size
of the panel. The code often divides this value by 2 to think about a
single edge. It makes more sense to just store this value as on a single
edge and just double it in the cases we need it, which is fewer than the
cases were we previously cut it in half. This is fewer opterations and
easier to reason about.
2018-07-20 01:05:49 -04:00
Joel Ebel
bdbdebde18 Separate horizontal and vertical panel gaps
Turns out we still need more in the horizontal due to cutout margins at
the bottom of the slot. This isn't needed in the vertical. Separating
these lets us give more horizontal gap again without sacrificing tight
vertical tolerancees.
2018-07-20 00:53:58 -04:00
Joel Ebel
59751f1154 Minor fixes to snap tabs
Shrink the button size so it fits inside the outer divet with a margin
of PartMargin, rather than giving both the same radius.

Cut off the button sphere at a more accurate position in case the tab
thickness is smaller than half the button radius.
2018-06-30 22:55:51 -04:00
Joel Ebel
e06447fe86 Separate the X and Y/Z gaps around the panel
The panel gap didn't need to be as large around the outer edge, so call
that PanelEdgeGap and default it to PartMargin*2. Leave the thickness
margin at CutoutMargin*2 + PartMargin*2 and rename it to PanelThickGap.
2018-06-30 22:43:48 -04:00
Joel Ebel
b4d32de8fd Add convenience variables for visible panel edges 2018-06-19 23:28:08 -04:00
Joel Ebel
f2c3de7712 Parametrize outer box holes separately
Default them to a #4 screw major diameter so screws will only bind to
the inner box tabs and not the outer shell.
2018-06-18 23:07:46 -04:00
Joel Ebel
b5fbf0be70 Make language more clear for PCB Feet. 2018-06-18 22:53:27 -04:00
Joel Ebel
ed64f8e680 Make panel features optional, and default off
So that the Thingiverse customizer will not include the demo panel
features, but they are in the code as examples.
2018-05-31 23:51:32 -04:00
Joel Ebel
ee947f39eb Add a preview angle, used by the customizer 2018-05-30 22:13:11 -04:00
Joel Ebel
335407804e Rename main file to something reasonable.
And remove the older version.
2018-05-30 22:11:07 -04:00