3d-stuff/openscad/own/2d-to-3d-scad/gonicus/gonicus.scad

26 lines
716 B
OpenSCAD

// some basic 2d-to-3d-extrusion of Vectorfiles
// ###############
h=3; //height
w=20; //width
l=75; //lenght
hd=7.5; //hole_dia
emd=1.25; // 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){
import("src/GONICUS-Logo_2022_logo-only.svg",center=true);
}
}
}
translate([-(l/2)+(w/3),0,h/2])cylinder(h=h+0.1,r=hd/2,center=true);
}