add filets
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
include <../helper/cylindricalFilet.scad>
|
||||
include <../helper/filet.scad>
|
||||
include <../helper/screws.scad>
|
||||
include <../helper/matrix.scad>
|
||||
|
||||
@ -20,14 +21,31 @@ module xBar() {
|
||||
difference() {
|
||||
cylindricalFiletEdge(xBarY, xBarX, xBarHeight, xBarRoundness);
|
||||
|
||||
translate(v = [xBarWallThickness, xBarSideThickness, xBarWallThickness])
|
||||
cylindricalFiletEdge(xBarY, xBarX-2*xBarSideThickness, xBarHeight, xBarRoundness-xBarWallThickness);
|
||||
union() {
|
||||
translate(v = [xBarWallThickness, xBarSideThickness, xBarWallThickness])
|
||||
cylindricalFiletEdge(xBarY, xBarX-2*xBarSideThickness, xBarHeight, xBarRoundness-xBarWallThickness);
|
||||
|
||||
connectorWallFiletNegative();
|
||||
|
||||
multmatrix(xBarMirrorOtherCornerTrans)
|
||||
connectorWallFiletNegative();
|
||||
}
|
||||
}
|
||||
|
||||
// Shave off bottom corners to reduce elephant's foot at where xBar and YBar join
|
||||
halfspace(vpos = [0, 1, 1], p = [0, 0.75, 0]);
|
||||
halfspace(vpos = [0, -1, 1], p = [0, xBarX-0.75, 0]);
|
||||
}
|
||||
|
||||
|
||||
module connectorWallFiletNegative() {
|
||||
cylindricalFiletNegative(
|
||||
p0=[xBarWallThickness, xBarSideThickness, xBarHeight],
|
||||
p1=[xBarY, xBarSideThickness, xBarHeight],
|
||||
n=[0, 1, 1], r=2
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user