update
This commit is contained in:
@ -2,6 +2,8 @@ include <../../helper/common.scad>
|
||||
include <../../config/common.scad>
|
||||
include <../sharedVariables.scad>
|
||||
|
||||
connectorTopThickness = screwRadiusSlacked(rackFrameScrewType)+0.5;
|
||||
|
||||
module onYBarBasePlateConnectorPositive() {
|
||||
translate(v=[0,0,yBarWallThickness])
|
||||
intersection() {
|
||||
@ -19,7 +21,7 @@ module onYBarBasePlateConnectorNegative() {
|
||||
hull() {
|
||||
// This has always been a pretty annoying to fit part. Increasing slack to 2*radiusXYSlack to compensate. TODO fix
|
||||
translate(v = [basePlateYBarSlideNutDx, basePlateYBarSlideNutDy, plateBlockBaseConnRecession+overhangSlack])
|
||||
roundCutSlice(radius = heatSetInsertSlotRadiusSlacked(rackFrameScrewType)+2*radiusXYSlack);
|
||||
roundCutSlice(radius = connectorTopThickness+2*radiusXYSlack);
|
||||
|
||||
translate(v = [basePlateYBarSlideNutDx, basePlateYBarSlideNutDy, 0])
|
||||
roundCutSlice(radius = plateBlockBaseConnY/2 + 2*radiusXYSlack);
|
||||
@ -27,6 +29,40 @@ module onYBarBasePlateConnectorNegative() {
|
||||
|
||||
}
|
||||
|
||||
module onBasePlateToYBarConnectorPositive() {
|
||||
|
||||
union() {
|
||||
translate(v=[basePlateConnPosX, basePlateConnPosY, 0])
|
||||
yBarConnector();
|
||||
|
||||
translate(v=[basePlateConnPosX, basePlateConnPosY+xyPlateConnDy, 0])
|
||||
yBarConnector();
|
||||
|
||||
translate(v=[basePlateConnPosX+xyPlateConnDx, basePlateConnPosY, 0])
|
||||
rotate(a=[0,0,180])
|
||||
yBarConnector();
|
||||
|
||||
translate(v=[basePlateConnPosX+xyPlateConnDx, basePlateConnPosY+xyPlateConnDy, 0])
|
||||
rotate(a=[0,0,180])
|
||||
yBarConnector();
|
||||
|
||||
}
|
||||
|
||||
module yBarConnector() {
|
||||
difference() {
|
||||
hull() {
|
||||
translate(v=[0,0,plateBlockBaseConnRecession])
|
||||
roundCutSlice(radius = connectorTopThickness, length=5);
|
||||
|
||||
roundCutSlice(radius = plateBlockBaseConnY/2, length=15);
|
||||
}
|
||||
mirror(v=[0,0,1])
|
||||
counterSunkHead_N(rackFrameScrewType, headExtension = eps, screwExtension = inf10);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module roundCutSlice(radius, length=inf50) {
|
||||
|
||||
hull() {
|
||||
|
||||
@ -52,6 +52,8 @@ module connectorPositive(on, to) {
|
||||
onYBarToXBarPositive();
|
||||
} else if (on == "yBar" && to == "basePlate") {
|
||||
onYBarBasePlateConnectorPositive();
|
||||
} else if (on == "basePlate" && to == "yBar") {
|
||||
onBasePlateToYBarConnectorPositive();
|
||||
} else if (on == "xBar" && to == "yBar") {
|
||||
onXBarToYBarPositive();
|
||||
} else if (on == "mainRail" && to == "yBar") {
|
||||
|
||||
Reference in New Issue
Block a user