Compare commits

..

1 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

View File

@ -148,7 +148,7 @@ Foot4Y = PCBWidth - Foot4YFromEdge;
/* [STL element to export] */ /* [STL element to export] */
// - Top shell // - Top shell
TShell = 1; // [0:No, 1:Yes] TShell = 0; // [0:No, 1:Yes]
// - Bottom shell // - Bottom shell
BShell = 1; // [0:No, 1:Yes] BShell = 1; // [0:No, 1:Yes]
// - Front panel // - Front panel
@ -288,12 +288,12 @@ module BPanelText() {
Produces a box of the specified dimensions. Corners are rounded Produces a box of the specified dimensions. Corners are rounded
according to Filet and Resolution parameters. according to Filet and Resolution parameters.
Arguments: Arguments:
xshrink: the amount to reduce the length on one end compared to the full xshrink: the amount to reduce the length on one end compared to the full
length length
yzshrink: the amount to reduce the width or height on one edge compared yzshrink: the amount to reduce the width or height on one edge compared
to the full box to the full box
*/ */
module RoundBox(xshrink=0, yzshrink=0) { module RoundBox(xshrink=0, yzshrink=0) {
Filet = (Filet > Thick*2) ? Filet - yzshrink : Filet; Filet = (Filet > Thick*2) ? Filet - yzshrink : Filet;
@ -430,7 +430,7 @@ module tab() {
translate([0, ScrewHole*2, PartMargin]) { translate([0, ScrewHole*2, PartMargin]) {
difference() { difference() {
sphere(d=(ScrewHole - PartMargin*2), $fn=100); sphere(d=(ScrewHole - PartMargin*2), $fn=100);
translate([0, 0, ScrewHole*.5 + TabThick/2]) { translate([0, 0, ScrewHole/2 + TabThick/2]) {
cube(ScrewHole, center=true); cube(ScrewHole, center=true);
} }
} }
@ -629,7 +629,7 @@ module Feet(top=0) {
if (!top) { if (!top) {
%PCB(); %PCB();
} }
if (Screwless || !top ) { if (Screwless || !top ) {
translate([Foot1X, Foot1Y]) { translate([Foot1X, Foot1Y]) {
foot(top=top); foot(top=top);
@ -665,12 +665,6 @@ module TopShell() {
} }
} }
Holes(top=1); Holes(top=1);
translate([60, 40, -Thick]) {
cube([30, 90, Thick*3]);
}
translate([120, 85, -Thick]) {
cylinder(Thick*3, d=16);
}
} }
} }
} }