Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions Underware/Underware_Item_Holder.scad
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ leftLateralCapture = 3;
/* [Additional Customization] */
//Thickness of item holder walls (by mm)
wallThickness = 2; //.1
//Thickness of backplate (by mm)
backPlateThickness = 6.5; //.1
//Thickness of item holder base (by mm)
baseThickness = 3; //.1
//Only generate the backer mounting plate
Expand Down Expand Up @@ -187,7 +189,7 @@ union(){
maxBackWidth = totalWidth,
backHeight = totalHeight,
distanceBetweenSlots = distanceBetweenSlots,
backThickness=4.8,
backThickness=backPlateThickness,
enforceMaxWidth=true,
slotStopFromBack = Multiconnect_Stop_Distance_From_Back
);
Expand All @@ -198,7 +200,7 @@ union(){
maxBackWidth = totalWidth,
backHeight = totalHeight,
distanceBetweenSlots = distanceBetweenSlots,
backThickness=6.5,
backThickness=backPlateThickness,
enforceMaxWidth=true,
slotStopFromBack = Multiconnect_Stop_Distance_From_Back
);
Expand Down Expand Up @@ -288,12 +290,14 @@ module makebackPlate(maxBackWidth, backHeight, distanceBetweenSlots, backThickne
except_edges=BACK,
anchor=FRONT+BOT
);
// Compute yslot pos given backplate thickness
yslot = -backThickness + 5 + slotDepthMicroadjustment;
//Loop through slots and center on the item
//Note: I kept doing math until it looked right. It's possible this can be simplified.
if(slotCount % 2 == 1){
//odd number of slots, place on on x=0
translate(v = [0,
-2.35 + slotDepthMicroadjustment,
yslot,
trueBackHeight-slotStopFromBack
])
{
Expand All @@ -311,7 +315,7 @@ module makebackPlate(maxBackWidth, backHeight, distanceBetweenSlots, backThickne
// place a slot left and right of center.
echo("slotLoc", slotLoc)
translate(v = [slotLoc * distanceBetweenSlots,
-2.35 + slotDepthMicroadjustment,
yslot,
trueBackHeight-slotStopFromBack
])
{
Expand All @@ -323,7 +327,7 @@ module makebackPlate(maxBackWidth, backHeight, distanceBetweenSlots, backThickne
}
}
translate(v = [slotLoc * distanceBetweenSlots * -1,
-2.35 + slotDepthMicroadjustment,
yslot,
trueBackHeight-slotStopFromBack
])
{
Expand Down Expand Up @@ -480,4 +484,4 @@ module yMultipointSlotDimples(z, slotBaseRadius, distanceBetweenSlots, distanceO
translate(v = [0,0,((-z+.5)*distanceBetweenSlots)+distanceOffset])
cube([3,3,10], center=true);
}
}
}