Openscad : Making a keyring with text

Опубликовано: 05 Апрель 2025
на канале: Thejollygrimreaper
3,959
28

$fn = 127;

line1text="LOVE";
line2text = "HAPPINESS";
line3text = "LIFE";

signfont = "tomoma:style=bold";





difference(){
union(){

hull(){
translate([-50-5,0,0])cylinder(r=5,h=2);
translate([50+5,0,0])cylinder(r=5,h=2);
translate([-50-5,40-5,0])cylinder(r=5,h=2);
translate([50+5,40-5,0])cylinder(r=5,h=2);
}
linear_extrude(height = 3){
translate([0,24,0])text(line1text,halign="center",font=signfont);
translate([0,12,0])text(line2text,halign="center",font=signfont);
translate([0,0,0])text(line3text,halign="center",font=signfont);
}
}
translate([-50-5,0,0])cylinder(r=5,h=2);
}