Open
Description
As the title says, I was pretty surprised there was no generic 2020 extrusion in the parts files.
I made one for generic 2020 as a side project to my first project with BOSL2, feel free to use (or feedback if its 💩 ):
include <BOSL2/std.scad>
include <BOSL2/screws.scad>
module ext_2020(
l=60, s=20, edge_r=1.5, bore_r=2.5,
slot_inset = 1.5, slot_inner_width = 11, slot_outer_width = 6.2, slot_depth = 4.3,
cut_width = 5.26,
anchor=BOTTOM, spin=0, orient=UP,
) {
tag_scope() diff()
cuboid([s, s, l], rounding=edge_r, edges="Z", $fn=20, anchor=anchor,spin=spin,orient=orient) {
align(CENTER, inside=true) cylinder(r=bore_r, h=l+1, anchor=CENTER);
// trapezoidal slots
face_mask([LEFT, RIGHT, FRONT, BACK])
down(slot_inset)
prismoid([slot_outer_width, l+1],[slot_inner_width, l+1],height=slot_depth, anchor=TOP);
// cuts
face_mask([LEFT, RIGHT, FRONT, BACK])
up(0.01)
cube([cut_width, l+1, slot_inset+0.02], anchor=TOP);
children();
}
}
ext_2020()
position(RIGHT) orient(RIGHT)
screw("M3", head="socket", drive="hex", length=12);
Metadata
Metadata
Assignees
Labels
No labels