add profiles.scad

This commit is contained in:
zhao
2023-01-15 20:54:50 -05:00
parent 3ef4ea5cf9
commit 742e16dca5
9 changed files with 27400 additions and 30 deletions

View File

@ -42,18 +42,22 @@ module yBar() {
yBarBase();
module yBarBase() {
difference() {
sphericalFiletEdge(yBarWidth, yBarDepth, yBarHeight, yBarRoundness);
intersection() {
difference() {
sphericalFiletEdge(yBarWidth, yBarDepth, yBarHeight, yBarRoundness);
translate(v = [yBarWallThickness, joinCornerDepth, yBarWallThickness])
cylindricalFiletEdge(yBarWidth, yBarDepth-2*joinCornerDepth, yBarHeight, yBarRoundness);
translate(v = [yBarWallThickness, joinCornerDepth, yBarWallThickness])
cylindricalFiletEdge(yBarWidth, yBarDepth-2*joinCornerDepth, yBarHeight, yBarRoundness);
}
halfspace(vpos=[-1, 0, 1], p=[yBarWidth-0.5, 0,0]);
}
}
module applyBasePlateConnector() {
apply_pn() {
mirrorOtherCorner() {
translate(v = [yBarWidth-12, joinCornerDepth, 0.01]) // why do we need 0.01 here???
translate(v = [yBarWidth-12, joinCornerDepth, yBarWallThickness]) // why do we need 0.01 here???
yBarBasePlateMount_P();
}