I designed and printed these brackets to hold a Western Mountain Radio PWRbrite. This is a LED strip light that runs off 12VDC and uses PowerPole connectors. It may have come with with zip ties at one point, but those are now long gone.
This is part of my journey learning to use OpenSCAD.
mount(30, 40, 18, 5, 20);
module mount(width, height, hole, mount_width, flange)
{
difference() {
cube(size = [mount_width,height,width], center = true);
translate(v=[-3,6,0]) {
rotate ([0,90,0])
cylinder(r=hole/2, h=mount_width+2);
}
}
difference() {
translate(v=[0,-height/2,-15]) {
rotate ([0,0,90])
cube(size = [mount_width,flange,width]);
}
translate(v=[-2*flange/3, -width/2+1, 0]) {
rotate ([90,0,0])
cylinder(r=3, h=mount_width+2);
}
}
}