diff --git a/openscad/own/2d-to-3d-scad/gonicus/gonicus.scad b/openscad/own/2d-to-3d-scad/gonicus/gonicus.scad new file mode 100644 index 0000000..7b70715 --- /dev/null +++ b/openscad/own/2d-to-3d-scad/gonicus/gonicus.scad @@ -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); +} diff --git a/openscad/own/2d-to-3d-scad/gonicus/img/gonicus.png b/openscad/own/2d-to-3d-scad/gonicus/img/gonicus.png new file mode 100644 index 0000000..8069d8d Binary files /dev/null and b/openscad/own/2d-to-3d-scad/gonicus/img/gonicus.png differ diff --git a/openscad/own/2d-to-3d-scad/gonicus/src/gonicus.png b/openscad/own/2d-to-3d-scad/gonicus/src/gonicus.png new file mode 100644 index 0000000..73598c4 Binary files /dev/null and b/openscad/own/2d-to-3d-scad/gonicus/src/gonicus.png differ diff --git a/openscad/own/2d-to-3d-scad/gonicus/src/gonicus.svg b/openscad/own/2d-to-3d-scad/gonicus/src/gonicus.svg new file mode 100644 index 0000000..c86027e --- /dev/null +++ b/openscad/own/2d-to-3d-scad/gonicus/src/gonicus.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/openscad/own/2d-to-3d-scad/gonicus/src/gonicus_clean.svg b/openscad/own/2d-to-3d-scad/gonicus/src/gonicus_clean.svg new file mode 100644 index 0000000..d5027be --- /dev/null +++ b/openscad/own/2d-to-3d-scad/gonicus/src/gonicus_clean.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/openscad/own/2d-to-3d-scad/gonicus/stl/gonicus.stl b/openscad/own/2d-to-3d-scad/gonicus/stl/gonicus.stl new file mode 100644 index 0000000..a14b93c Binary files /dev/null and b/openscad/own/2d-to-3d-scad/gonicus/stl/gonicus.stl differ