Compare commits
2 Commits
4d561aa810
...
2fb7ced78f
Author | SHA1 | Date |
---|---|---|
zeus | 2fb7ced78f | |
zeus | b9eaa7530f |
|
@ -0,0 +1,29 @@
|
|||
// some basic 2d-to-3d-extrusion of Vectorfiles
|
||||
// by zeus - zeus@ctdo.de - CC-BY-NC-4.0
|
||||
// -> https://www.thingiverse.com/zeus
|
||||
// -> https://git.kostianix.de/zeus/3d-stuff
|
||||
// 2021-02-18
|
||||
// ###############
|
||||
h=4; //height
|
||||
w=25; //width
|
||||
l=90; //lenght
|
||||
hd=10; //hole_dia
|
||||
emd=1; // embossing depth
|
||||
$fn=100; //resolution
|
||||
// ###############
|
||||
difference(){
|
||||
translate([0,0,h/2*1]){
|
||||
hull(){
|
||||
translate([+(l-w)/2,0,0])cylinder(h=h,r=w/2,center=true,$fn=100);
|
||||
translate([-(l-w)/2,0,0])cylinder(h=h,r=w/2,center=true,$fn=100);
|
||||
}
|
||||
}
|
||||
translate([w/4,0,h-emd]){
|
||||
scale([0.3,0.3,1]){
|
||||
linear_extrude(height = h/2*1){
|
||||
import("src/gonicus_clean.svg",center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
translate([-(l/2)+(w/3),0,h/2])cylinder(h=h+0.1,r=hd/2,center=true);
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 15 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
|
@ -0,0 +1,42 @@
|
|||
l=90;
|
||||
l_bar=12.5;
|
||||
w=70;
|
||||
h=3;
|
||||
mt=h;
|
||||
$fn=100;
|
||||
hole_l=76.6;
|
||||
hole_w=61.72;
|
||||
hole_dia=4;
|
||||
arc_offset=-8;
|
||||
|
||||
|
||||
module square(){
|
||||
difference(){
|
||||
cube([l,w,mt],center=true);
|
||||
for (x = [-hole_l/2,+hole_l/2], y = [-hole_w/2,+hole_w/2]) translate([x,y,0]){
|
||||
cylinder(r=hole_dia/2,h=h+0.2,center=true);
|
||||
translate([0,0,h-h/2])cylinder(r=hole_dia,h=h+0.2,center=true);
|
||||
}
|
||||
cube([l*0.85,w*0.75,mt+0.2],center=true);
|
||||
translate([l_bar,0,0])#cube([l,w+0.1,mt+0.2],center=true); //easier mounting bar
|
||||
}
|
||||
}
|
||||
|
||||
module bracket(){
|
||||
difference(){
|
||||
rotate([90,0,0])cube([hole_l+mt*2,mt,hole_dia*2],center=true);
|
||||
for (x = [-hole_l/2,+hole_l/2]) translate([x,0,0]){
|
||||
cylinder(r=hole_dia/2,h=h+0.2,center=true);
|
||||
// translate([0,0,h-h/2])cylinder(r=hole_dia,h=h+0.2,center=true);
|
||||
}
|
||||
}
|
||||
difference(){
|
||||
rotate([90,0,0])translate([0,arc_offset,0])cylinder(h=hole_dia*2,r=hole_l/2-mt,center=true);
|
||||
rotate([90,0,0])translate([0,arc_offset,0])cylinder(h=hole_dia*2+0.1,r=hole_l/2-mt*1.5,center=true);
|
||||
translate([0,0,-l/4-mt/2])cube([l,hole_dia*2+0.1,l/2],center=true);
|
||||
}
|
||||
}
|
||||
|
||||
translate([100,0,0])square();
|
||||
//translate([0,mt/2,0])rotate([-90,0,0])bracket();
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Loading…
Reference in New Issue