Skip to content

Instantly share code, notes, and snippets.

@fnordfish
Last active March 18, 2021 16:31
Show Gist options
  • Save fnordfish/9a8032626bf26baf017dded586422a29 to your computer and use it in GitHub Desktop.
Save fnordfish/9a8032626bf26baf017dded586422a29 to your computer and use it in GitHub Desktop.
Clips for Berotec Mofessor
$fa = 0.5;
$fs = 0.2;
module outerShape() {
module wrapCyl() {
cylinder(d=50, h = 15);
};
hull() {
translate([0,0,0]) wrapCyl();
translate([-30,(-15/2),0]) cube(15);
}
}
module origCyl() {
union() {
translate([0,0,-0.01]) color("#EEF") cylinder(h=5.52, d=45);
translate([0,0,5.5]) color("#00F") cylinder(h=4, d=43);
translate([0,0,9.5-0.01]) color("#99F") cylinder(h=5.52, d=45);
}
};
module binderHoles() {
module binderHole() {
color("red") translate([-25, 18, 4.5]) cube([20,3,6]);
}
binderHole();
mirror([0,1,0]) binderHole();
difference() { // remove bride just after binder holes
translate([0,0,5]) cylinder(h=5, d=45);
translate([-34.5,0,7.52]) color("pink", 0.5) cube([45, 45, 6], center=true);
}
}
module mount() {
module frameTube() {
color("DarkOrange") translate([-38,0,15/2]) cylinder(h=15*2, d=19, center=true);
}
frameTube();
// optional 2nd tube fiting rotated 90°
// rotate([90,0,0]) translate([0,15/2,-15/2]) frameTube();
}
difference() {
outerShape();
origCyl();
binderHoles();
mount();
// clip-cutoff
translate([8,-30,-1]) color("black", 0.5) cube([20, 60, 20]);
}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment