Can Sleeve: Name & Logo hinzugefügt

This commit is contained in:
Peter 2024-06-28 12:25:58 +02:00
parent ce42c5177c
commit a706ce3f8c
Signed by: pludi
GPG key ID: FB1A00FEE77E2C36
2 changed files with 213 additions and 54 deletions

View file

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
version="1.1"
id="Ebene_1"
x="0px"
y="0px"
viewBox="0 0 1280 1280"
style="enable-background:new 0 0 1280 1280;"
xml:space="preserve"
sodipodi:docname="1A_MainLogo_Cube_2021.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs15" /><sodipodi:namedview
id="namedview15"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.6453125"
inkscape:cx="640.77482"
inkscape:cy="640"
inkscape:window-width="1920"
inkscape:window-height="969"
inkscape:window-x="1800"
inkscape:window-y="25"
inkscape:window-maximized="1"
inkscape:current-layer="Ebene_1" />
<style
type="text/css"
id="style1">
.st0{fill:none;stroke:#8AC05C;stroke-width:23.2588;stroke-miterlimit:10;}
.st1{fill:none;}
.st2{fill:none;stroke:#8AC05C;stroke-width:23.2588;stroke-linejoin:round;stroke-miterlimit:10;}
.st3{fill:none;stroke:#2AA1BF;stroke-width:23.2588;stroke-miterlimit:10;}
.st4{fill:none;stroke:#2AA1BF;stroke-width:46.2934;stroke-miterlimit:10;}
.st5{fill:#095C81;}
</style>
<path
class="st0"
d="M685.2,638.89"
id="path1" />
<g
id="g2">
<path
class="st1"
d="M255.06,897.01"
id="path2" />
</g>
<path
class="st2"
d="M1183.83,983.26"
id="path3" />
<g
id="g12">
<g
id="g11">
<g
id="g4">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="M 743.69336,6.9335937 C 733.07197,6.7799693 722.40837,9.5465314 712.97461,15.248047 h -0.002 L 214.75195,316.5293 v -0.002 c -17.28115,10.44878 -27.86133,29.21794 -27.86133,49.41211 v 21.97071 h 23.25782 v -21.97071 c 0,-12.08579 6.29985,-23.2566 16.63867,-29.50781 L 725.00586,35.152344 c 11.31245,-6.836951 25.44294,-6.634049 36.53711,0.527343 v 0.002 L 1230.2949,338.18164 c 9.8528,6.35637 15.7852,17.24464 15.7852,28.96875 v 485.91992 c 0,27.99161 -29.8153,44.17145 -53.2774,28.90235 L 768.86133,606.21094 v 0.002 c -9.79638,-6.37364 -15.68164,-17.22355 -15.68164,-28.90234 V 223.66016 h -23.25977 v 353.65039 c 0,19.52117 9.89422,37.75014 26.25781,48.39648 v 0.002 l 423.94137,275.75977 c 37.8777,24.64826 89.2207,-3.21103 89.2207,-48.39844 V 367.15039 c 0,-19.59533 -9.9671,-37.88797 -26.4335,-48.51172 h -0 L 774.15625,16.138672 c -9.2629,-5.979294 -19.8415,-9.0514538 -30.46289,-9.2050783 z"
id="path4" />
</g>
<g
id="g5">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="m 551.44336,708.83984 -277.08984,173.2793 12.33203,19.7207 277.08984,-173.27929 z"
id="line4" />
</g>
<g
id="g6">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="M 1091.4727,1024.9082 724.17383,1244.457 c -11.35335,6.7851 -25.5397,6.4863 -36.60352,-0.7715 h -0.002 l -253.96875,-166.6289 -12.75977,19.4473 253.97071,166.6289 c 18.47594,12.1213 42.32879,12.6237 61.29492,1.2891 L 1103.4063,1044.873 Z"
id="path5" />
</g>
<g
id="g7">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="m 610.17969,621.61133 c -35.32454,0 -64.19922,28.88518 -64.19922,64.19922 0,13.13304 3.97849,25.45873 10.80664,35.6582 h -0.002 c 11.51037,17.19843 31.20582,28.54102 53.39453,28.54102 35.32187,0 64.19922,-28.87735 64.19922,-64.19922 0,-35.32187 -28.87735,-64.19922 -64.19922,-64.19922 z m 0,23.25781 c 22.75807,0 40.9414,18.18333 40.9414,40.94141 0,22.75807 -18.18333,40.93945 -40.9414,40.93945 -14.29126,0 -26.71485,-7.2372 -34.06446,-18.21875 h -0.002 c -4.35184,-6.50051 -6.87305,-14.25377 -6.87305,-22.7207 0,-22.74591 18.18406,-40.94141 40.93946,-40.94141 z"
id="path6" />
</g>
<g
id="g8">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="m 1146.25,934.25 c -35.3186,0 -64.1992,28.88065 -64.1992,64.19922 0,35.31858 28.8806,64.19918 64.1992,64.19918 35.3186,0 64.1992,-28.8806 64.1992,-64.19918 0,-35.31857 -28.8806,-64.19922 -64.1992,-64.19922 z m 0,23.25977 c 22.7486,0 40.9414,18.19086 40.9414,40.93945 0,22.74858 -18.1928,40.94138 -40.9414,40.94138 -22.7486,0 -40.9414,-18.1928 -40.9414,-40.94138 0,-22.74859 18.1928,-40.93945 40.9414,-40.93945 z"
id="circle7" />
</g>
<g
id="g9">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="m 384.26953,984.9707 c -35.32454,0 -64.19922,28.8852 -64.19922,64.1992 0,13.1284 3.97707,25.4511 10.80078,35.6485 l -0.002,0 c 0.002,0 0.005,0.01 0.008,0.01 11.50547,17.2142 31.2126,28.539 53.39258,28.539 35.32454,0 64.19922,-28.8851 64.19922,-64.1992 0,-35.3245 -28.88518,-64.1992 -64.19922,-64.1992 z m 0,23.2578 c 22.74591,0 40.94141,18.186 40.94141,40.9414 0,22.7459 -18.18601,40.9414 -40.94141,40.9414 -14.29551,0 -26.72504,-7.231 -34.06055,-18.2109 l -9.22851,6.166 9.22265,-6.1758 c -4.35183,-6.5005 -6.87304,-14.2537 -6.87304,-22.7207 0,-22.7459 18.18405,-40.9414 40.93945,-40.9414 z"
id="path8" />
</g>
<g
id="g10">
<path
style="color:#000000;fill:#2aa1bf;stroke-miterlimit:10;-inkscape-stroke:none"
d="m 742.55078,90.142578 c -41.3847,0 -75.20703,34.296222 -75.20703,75.716792 0,15.41194 4.65114,29.95223 12.60352,41.9629 0.002,0.002 0.002,0.005 0.004,0.008 h 0.002 c 13.43416,20.29663 36.61199,33.74609 62.59766,33.74609 41.37934,0 75.20508,-34.29048 75.20508,-75.7168 0,-41.42631 -33.82574,-75.716792 -75.20508,-75.716792 z m 0,46.294922 c 16.12061,0 28.91211,12.76825 28.91211,29.42187 0,16.65363 -12.7915,29.42383 -28.91211,29.42383 -10.13081,0 -18.77141,-5.10708 -23.99805,-13.00586 L 699.25,195.05078 718.54883,182.26953 c -3.10469,-4.68792 -4.91211,-10.22521 -4.91211,-16.41016 0,-16.63936 12.79882,-29.42187 28.91406,-29.42187 z"
id="path9" />
</g>
</g>
</g>
<circle
class="st5"
cx="198.52"
cy="461.36"
r="63.05"
id="circle12" />
<circle
class="st5"
cx="93.92"
cy="601.48"
r="63.05"
id="circle13" />
<path
class="st5"
d="M151.61,654.05h-8.65C130.38,668.22,113.06,677,93.92,677s-36.46-8.77-49.04-22.95h-8.65 c-12.27,16.33-21.48,42.99-27.92,67.5c-7.64,29.09,14.64,57.45,44.71,57.45h40.62h0.57h40.62c30.07,0,52.35-28.37,44.71-57.45 C173.1,697.04,163.89,670.38,151.61,654.05z"
id="path13" />
<path
class="st5"
d="M284.14,581.43c-6.44-24.51-15.65-51.17-27.92-67.5h-8.65c-12.58,14.17-29.9,22.95-49.04,22.95 c-19.14,0-36.46-8.77-49.04-22.95h-8.65c-4.78,6.37-9.09,14.33-12.96,23.1c23.22,12.27,39.23,36.37,39.23,64.46 c0,13.68-3.99,26.33-10.52,37.28c0.36,0.01,0.69,0.12,1.05,0.12h40.62h0.57h40.62C269.5,638.89,291.78,610.52,284.14,581.43z"
id="path14" />
<circle
class="st5"
cx="198.52"
cy="842.03"
r="63.05"
id="circle14" />
<path
class="st5"
d="M256.22,894.59h-8.65c-12.58,14.17-29.9,22.95-49.04,22.95s-36.46-8.77-49.04-22.95h-8.65 c-12.27,16.33-21.48,42.99-27.92,67.5c-7.64,29.09,14.64,57.45,44.71,57.45h40.62h0.57h40.62c30.07,0,52.35-28.37,44.71-57.45 C277.7,937.59,268.49,910.93,256.22,894.59z"
id="path15" />
</svg>

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -1,3 +1,6 @@
// Name on the can
name = "Peter";
// Can height
can_height = 168;// [115:330mL,168:500mL,135:Energy Drink,180:Energy Drink L,146:Soda Sleek]
// Can width
@ -13,10 +16,12 @@ wall = 0.8;//[0.1:0.1:2.4]
ribs = 7;// [1:1:9]
include <../lib/defaults.scad>;
use <../lib/text_on.scad>;
// For the Preview Crosssection
intersection() {
// To remove unnecessary edges
difference(){
union() {
// Primary Cylinder, inner & outer wall
translate([0,0,thickness/2])
@ -58,7 +63,13 @@ intersection() {
}
translate([0,0,-(can_height-lip-2*thickness)/2])
difference(){
cylinder(h=thickness, r=can_dia/2, center=true);
rotate([180,0,0])
resize([can_dia*.9,can_dia*.9,0],[true,true,false])
linear_extrude(height=thickness/2+.1)
import(file="1A_MainLogo_Cube_2021.svg", center=true);
}
//
// Ribs for structural strengt & grip
@ -76,6 +87,8 @@ intersection() {
}
}
}
text_on_cylinder(t=name, r=can_dia / 2 + thickness,h=can_height/2,size=10, center=true, cylinder_center=true, extrusion_height=wall, font="Hack Nerd Font");
}
if ($preview) {
translate([0, 5+can_dia/4, 0])
cube([can_dia+10, 10+can_dia/2, can_height+10], center = true);