incremental work
This commit is contained in:
@ -14,7 +14,7 @@ barWidth = railSlotSpacing + railTotalWidth + sideSpacing;
|
||||
barHeight = 15;
|
||||
|
||||
barWallThickness = 3;
|
||||
barRoundness = 12;
|
||||
barRoundness = 5;
|
||||
|
||||
echo("Bar total depth: ", barDepth);
|
||||
echo("Bar total width: ", barWidth);
|
||||
@ -22,14 +22,13 @@ echo("Bar total width: ", barWidth);
|
||||
module connectingBar() {
|
||||
|
||||
module positive() {
|
||||
minkowski() {
|
||||
difference() {
|
||||
sphericalFiletEdge(barWidth, barDepth, barHeight, barRoundness);
|
||||
|
||||
translate(v = [barWallThickness, 40, barWallThickness])
|
||||
cylindricalFiletEdge(barWidth, barDepth-80, barHeight, barRoundness);
|
||||
translate(v = [barWallThickness, 32, barWallThickness])
|
||||
cylindricalFiletEdge(barWidth, barDepth-32*2, barHeight, barRoundness);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module stackConn_N() {
|
||||
@ -43,15 +42,19 @@ module connectingBar() {
|
||||
// negatives on the y-z plane to be imprinted on the side of the main
|
||||
module sideConnector_N() {
|
||||
|
||||
translate(v=[ - m3HeatSetInsertSlotHeightSlacked, 7, 7.5])
|
||||
zOffset = 7.5;
|
||||
y1 = 5;
|
||||
y2 = 27;
|
||||
|
||||
translate(v=[ - m3HeatSetInsertSlotHeightSlacked, y1, zOffset])
|
||||
rotate(a=[0,90,0])
|
||||
heatSetInsertSlot_N(rackFrameScrewType);
|
||||
|
||||
translate(v=[ - m3HeatSetInsertSlotHeightSlacked, 35, 7.5])
|
||||
translate(v=[ - m3HeatSetInsertSlotHeightSlacked, y2, zOffset])
|
||||
rotate(a=[0,90,0])
|
||||
heatSetInsertSlot_N(rackFrameScrewType);
|
||||
|
||||
translate(v=[-1, 7 + 28/2, 7.5])
|
||||
translate(v=[-1, y1 + (y2 - y1)/2, zOffset])
|
||||
cube(size=[2,10,5], center=true);
|
||||
}
|
||||
|
||||
@ -64,7 +67,7 @@ module connectingBar() {
|
||||
positive();
|
||||
|
||||
union() {
|
||||
translate(v=[10,10,0])
|
||||
translate(v=[5,5,0])
|
||||
stackConn_N();
|
||||
|
||||
translate(v=[barWidth - (railTotalWidth + railSlotSpacing), railSlotSpacing, barHeight - railFootThickness])
|
||||
@ -72,6 +75,10 @@ module connectingBar() {
|
||||
|
||||
translate(v=[barWidth + eps, 0,0])
|
||||
sideConnector_N();
|
||||
|
||||
// TODO change this
|
||||
translate(v=[barWidth - (railTotalWidth + railSlotSpacing) - 7, railSlotSpacing, barHeight-2])
|
||||
cube(size=[5,13,2]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,10 +87,8 @@ module connectingBar() {
|
||||
}
|
||||
|
||||
connectingBar();
|
||||
|
||||
|
||||
*intersection() {
|
||||
connectingBar();
|
||||
|
||||
cube(size=[15,100,100]);
|
||||
cube(size=[21,100,100]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user