optimize stls
This commit is contained in:
@ -66,8 +66,6 @@ module connectorPositive(on, to) {
|
||||
onYBarToXBarPositive();
|
||||
} else if (on == "yBar" && to == "basePlate") {
|
||||
onYBarBasePlateConnectorPositive();
|
||||
} else if (on == "xBar" && to == "yBar") {
|
||||
onXBarToYBarPositive();
|
||||
} else if (on == "mainRail" && to == "yBar") {
|
||||
onMainRailYBarConnectorPositive();
|
||||
}
|
||||
|
||||
@ -35,22 +35,6 @@ module onXBarToYBarNegative() {
|
||||
translate(v = [-xBarSideThickness, y, z])
|
||||
rotate(a = [0, -90, 0])
|
||||
counterSunkHead_N(rackFrameScrewType, screwExtension=inf10, headExtension=inf10);
|
||||
|
||||
// lugs for snap fit and hold in place
|
||||
translate(v=[-0.1,3,13.5])
|
||||
lug();
|
||||
|
||||
translate(v=[-0.1,26,13.5])
|
||||
lug();
|
||||
}
|
||||
|
||||
module onXBarToYBarPositive() {
|
||||
// lugs for snap fit and hold in place
|
||||
translate(v=[-0.1,3,2])
|
||||
lug();
|
||||
|
||||
translate(v=[-0.1,26,2])
|
||||
lug();
|
||||
}
|
||||
|
||||
|
||||
@ -62,13 +46,6 @@ module onYBarToXBarNegative() {
|
||||
rotate(a = [180, 0, 0])
|
||||
rotate(a = [0, 90, 0])
|
||||
hexNutPocket_N("m3", openSide=false, backSpace=5);
|
||||
|
||||
// lugs for snap fit and hold in place
|
||||
translate(v=[-0.1,3,2])
|
||||
lug();
|
||||
|
||||
translate(v=[-0.1,26,2])
|
||||
lug();
|
||||
}
|
||||
|
||||
module onYBarToXBarPositive() {
|
||||
@ -87,26 +64,8 @@ module onYBarToXBarPositive() {
|
||||
backFaceLength = 5,
|
||||
backFaceScale = 1.2
|
||||
);
|
||||
|
||||
// lugs for snap fit and hold in place
|
||||
translate(v=[-0.1,3,13.5])
|
||||
lug();
|
||||
|
||||
translate(v=[-0.1,26,13.5])
|
||||
lug();
|
||||
}
|
||||
|
||||
|
||||
xBarConnectorToYBarConnectorTrans = mirror(v=[1,0,0]);
|
||||
yBarConnectorToXBarConnectorTrans = mirror(v=[-1,0,0]);
|
||||
|
||||
|
||||
|
||||
module lug() {
|
||||
hull() {
|
||||
sphere(r=0.5);
|
||||
|
||||
translate(v=[0,2,0])
|
||||
sphere(r=0.5);
|
||||
}
|
||||
}
|
||||
@ -2,8 +2,8 @@ include <../xBar.scad>
|
||||
include <../yBar.scad>
|
||||
include <../mainRail.scad>
|
||||
|
||||
|
||||
// Evaluation print for slack config
|
||||
// Evaluation print for slack config, please see slack.scad
|
||||
// to configure tolerances
|
||||
|
||||
intersection() {
|
||||
yBar();
|
||||
@ -14,16 +14,15 @@ translate(v=[35,0,0])
|
||||
intersection() {
|
||||
translate(v=[0,-xBarX + xBarSideThickness + 5,0])
|
||||
xBar();
|
||||
|
||||
halfspace(vpos=[0,1,0], p=[0,0,0]);
|
||||
}
|
||||
|
||||
translate(v=[60,20,0])
|
||||
translate(v=[35,18,0])
|
||||
rotate(a=[0,0,90])
|
||||
intersection() {
|
||||
mirror(v=[0,1,0])
|
||||
multmatrix(mainRailPrintOrientation)
|
||||
mainRail();
|
||||
|
||||
halfspace(vpos=[-1,0,0], p=[19,0,0]);
|
||||
|
||||
mainRailPrintOrientation = [
|
||||
|
||||
Reference in New Issue
Block a user