Remove some whitespace

And change a *.5 to a /2 for consistency and to save a character.
This commit is contained in:
Joel Ebel 2019-12-27 14:59:55 -05:00
parent 9b22604d3e
commit 583fe6a198

View File

@ -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);