Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fn = 64;
- distance = 27;
- height = 7;
- points = 3;
- angle = 360/points;
- nut_width = 14.12;
- module fhex_nut(wid, h){
- translate([0,0, h/2])
- hull(){
- cube([wid/1.7, wid, h], center=true);
- rotate([0,0,120]) cube([wid/1.7, wid, h], center=true);
- rotate([0,0,240]) cube([wid/1.7, wid, h], center=true);
- }
- }
- module middle(distance, angle, nut, h){
- rotate([0,0,angle])
- translate([0, distance, 0]){
- difference(){
- cylinder(r=22.5/2, h=height);
- fhex_nut(nut, h);
- }
- }
- }
- union(){
- import("/home/manus/Downloads/Triplex_Thingy.stl");
- for (a =[0:points-1])
- middle(distance, angle*a, nut_width, height);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement