update stl build dir structure

This commit is contained in:
zhao
2023-06-11 10:13:04 -04:00
parent f83200557c
commit e261600b90
104 changed files with 95 additions and 203498 deletions

View File

@ -8,7 +8,9 @@
*/
include <./profiles.scad>
// Manually set this variable to toggle profiles
profileName = "micro";
profile = getProfile(profileName);
defaultLayerHeight = 0.3;

View File

@ -66,6 +66,8 @@ 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();
}

View File

@ -35,6 +35,16 @@ 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,26,13.5])
lug();
}
module onXBarToYBarPositive() {
// lugs for snap fit and hold in place
translate(v=[-0.1,26,2])
lug();
}
@ -46,6 +56,10 @@ 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,26,2])
lug();
}
module onYBarToXBarPositive() {
@ -64,8 +78,22 @@ module onYBarToXBarPositive() {
backFaceLength = 5,
backFaceScale = 1.2
);
// lugs for snap fit and hold in place
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);
}
}

View File

@ -12,26 +12,29 @@
_profileConfigs = [
["default", [
["maxUnitWidth", 205],
["maxUnitDepth", 205],
["maxUnitWidth", 170],
["maxUnitDepth", 180],
["numRailScrews", 18],
["screwDiff", 10],
["numRailScrews", 20],
["mainRailScrewType", "m4"],
["mainRailSideMountScrewType", "m4"],
["rackFrameScrewType", "m3"],
["baseRoundness", 5],
]],
["micro", [
["nano", [
["maxUnitWidth", 105],
["maxUnitDepth", 105],
["numRailScrews", 10],
["baseRoundness", 5]
["numRailScrews", 10]
]],
["micro", [
["maxUnitWidth", 170],
["maxUnitDepth", 180],
["numRailScrews", 18]
]],
["mini", [
["maxUnitWidth", 205],
["maxUnitDepth", 205],
["numRailScrews", 20],
["baseRoundness", 5]
["numRailScrews", 20]
]]
];