Compare commits
No commits in common. "2fb7ced78f7f1366508b12dd2c3b12edde88a43f" and "4d561aa8107d4e067c5dc83e3f653002b782d089" have entirely different histories.
2fb7ced78f
...
4d561aa810
|
@ -1,29 +0,0 @@
|
||||||
// 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.
Before Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 15 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
|
@ -1,42 +0,0 @@
|
||||||
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.
Before Width: | Height: | Size: 17 KiB |
Binary file not shown.
Loading…
Reference in New Issue