stuff
This commit is contained in:
@ -5,7 +5,8 @@ include <./mainRail.scad>
|
|||||||
include <./helper/sphericalFilet.scad>
|
include <./helper/sphericalFilet.scad>
|
||||||
include <./helper/cylindricalFilet.scad>
|
include <./helper/cylindricalFilet.scad>
|
||||||
|
|
||||||
railSlotSpacing = 4;
|
// TODO: How do I nicely explain this?
|
||||||
|
railSlotSpacing = 2;
|
||||||
sideSpacing = 12;
|
sideSpacing = 12;
|
||||||
|
|
||||||
barDepth = maxUnitDepth + 2*railSlotSpacing;
|
barDepth = maxUnitDepth + 2*railSlotSpacing;
|
||||||
@ -20,7 +21,7 @@ echo("Bar total width: ", barWidth);
|
|||||||
|
|
||||||
module connectingBar() {
|
module connectingBar() {
|
||||||
|
|
||||||
module _positive() {
|
module positive() {
|
||||||
minkowski() {
|
minkowski() {
|
||||||
difference() {
|
difference() {
|
||||||
sphericalFiletEdge(barWidth, barDepth, barHeight, barRoundness);
|
sphericalFiletEdge(barWidth, barDepth, barHeight, barRoundness);
|
||||||
@ -31,8 +32,7 @@ module connectingBar() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module stackConn_N() {
|
||||||
module _stackConn() {
|
|
||||||
translate(v=[0,0,0])
|
translate(v=[0,0,0])
|
||||||
cube(size = [10, 10, 5]);
|
cube(size = [10, 10, 5]);
|
||||||
|
|
||||||
@ -40,43 +40,49 @@ module connectingBar() {
|
|||||||
cylinder(r=2, h=2);
|
cylinder(r=2, h=2);
|
||||||
}
|
}
|
||||||
|
|
||||||
module _sideConnector() {
|
// negatives on the y-z plane to be imprinted on the side of the main
|
||||||
//translate(v=[1.5, railTotalDepth - 4, -m3HeatSetInsertSlotHeightSlacked])
|
module sideConnector_N() {
|
||||||
|
|
||||||
|
translate(v=[ - m3HeatSetInsertSlotHeightSlacked, 7, 7.5])
|
||||||
rotate(a=[0,90,0])
|
rotate(a=[0,90,0])
|
||||||
heatSetInsertSlot_N(rackFrameScrewType);
|
heatSetInsertSlot_N(rackFrameScrewType);
|
||||||
|
|
||||||
|
translate(v=[ - m3HeatSetInsertSlotHeightSlacked, 35, 7.5])
|
||||||
|
rotate(a=[0,90,0])
|
||||||
|
heatSetInsertSlot_N(rackFrameScrewType);
|
||||||
|
|
||||||
|
translate(v=[-1, 7 + 28/2, 7.5])
|
||||||
|
cube(size=[2,10,5], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
module _test() {
|
module railConnector_N() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
module test() {
|
||||||
difference() {
|
difference() {
|
||||||
_positive();
|
positive();
|
||||||
|
|
||||||
union() {
|
union() {
|
||||||
translate(v=[10,10,0])
|
translate(v=[10,10,0])
|
||||||
_stackConn();
|
stackConn_N();
|
||||||
|
|
||||||
translate(v=[barWidth - (railTotalWidth + railSlotSpacing), railSlotSpacing, barHeight - railFootThickness])
|
translate(v=[barWidth - (railTotalWidth + railSlotSpacing), railSlotSpacing, barHeight - railFootThickness])
|
||||||
railFeetSlot_N();
|
railFeetSlot_N();
|
||||||
|
|
||||||
translate(v=[barWidth - m3HeatSetInsertSlotHeightSlacked + eps, 6, 7.5])
|
translate(v=[barWidth + eps, 0,0])
|
||||||
_sideConnector();
|
sideConnector_N();
|
||||||
|
|
||||||
translate(v=[barWidth - m3HeatSetInsertSlotHeightSlacked + eps, 35, 7.5])
|
|
||||||
_sideConnector();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
_test();
|
test();
|
||||||
|
|
||||||
translate(v=[barWidth - m3HeatSetInsertSlotHeightSlacked + eps, 6, 7.5])
|
|
||||||
_sideConnector();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
connectingBar();
|
connectingBar();
|
||||||
|
|
||||||
|
|
||||||
intersection() {
|
*intersection() {
|
||||||
connectingBar();
|
connectingBar();
|
||||||
|
|
||||||
cube(size=[15,100,100]);
|
cube(size=[15,100,100]);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user