Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5fc7e8723d | ||
|
5b66f2f4df |
@ -145,6 +145,14 @@ Foot4X = PCBLength - Foot4XFromEdge;
|
||||
Foot4YFromEdge = 5;
|
||||
Foot4Y = PCBWidth - Foot4YFromEdge;
|
||||
|
||||
Foot5X = 100;
|
||||
Foot5Y = 40;
|
||||
Foot6X = 120;
|
||||
Foot6Y = 40;
|
||||
Foot7X = 100;
|
||||
Foot7Y = 80;
|
||||
Foot8X = 120;
|
||||
Foot8Y = 80;
|
||||
|
||||
/* [STL element to export] */
|
||||
// - Top shell
|
||||
@ -288,12 +296,12 @@ module BPanelText() {
|
||||
|
||||
Produces a box of the specified dimensions. Corners are rounded
|
||||
according to Filet and Resolution parameters.
|
||||
|
||||
|
||||
Arguments:
|
||||
xshrink: the amount to reduce the length on one end compared to the full
|
||||
length
|
||||
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) {
|
||||
Filet = (Filet > Thick*2) ? Filet - yzshrink : Filet;
|
||||
@ -430,7 +438,7 @@ module tab() {
|
||||
translate([0, ScrewHole*2, PartMargin]) {
|
||||
difference() {
|
||||
sphere(d=(ScrewHole - PartMargin*2), $fn=100);
|
||||
translate([0, 0, ScrewHole/2 + TabThick/2]) {
|
||||
translate([0, 0, ScrewHole*.5 + TabThick/2]) {
|
||||
cube(ScrewHole, center=true);
|
||||
}
|
||||
}
|
||||
@ -629,7 +637,7 @@ module Feet(top=0) {
|
||||
if (!top) {
|
||||
%PCB();
|
||||
}
|
||||
|
||||
|
||||
if (Screwless || !top ) {
|
||||
translate([Foot1X, Foot1Y]) {
|
||||
foot(top=top);
|
||||
@ -643,6 +651,18 @@ module Feet(top=0) {
|
||||
translate([Foot4X, Foot4Y]) {
|
||||
foot(top=top);
|
||||
}
|
||||
translate([Foot5X, Foot5Y]) {
|
||||
foot(top=top);
|
||||
}
|
||||
translate([Foot6X, Foot6Y]) {
|
||||
foot(top=top);
|
||||
}
|
||||
translate([Foot7X, Foot7Y]) {
|
||||
foot(top=top);
|
||||
}
|
||||
translate([Foot8X, Foot8Y]) {
|
||||
foot(top=top);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user