Chaveiro letreiro 5 letras e 3D – Openscad

Captura-de-tela-de-2025-01-20-11-53-02 Chaveiro letreiro 5 letras e 3D - Openscad

Chaveiro letreiro 5 letras e 3D – Openscad

input1=”R”;
input2=”E”;
input3=”T”;
input4=”R”;
input5=”O”;

// here the size of the geometry is changed
s1=9;
s2=60;
//here reduces overlap
s3=1.2;

// here are the geometry vectors

p1=[0,0];
p2=[-s1,s2];
p3=[s2,0];
p4=[s2-s1,s2];

p5=[0,0];
p6=[-s1,s2];
p7=[s2,0];
p8=[s2-s1,s2];

module R (R){
translate([2.5,4.5,2])
linear_extrude(height=6,slices=10)
text(input1,size =s2/s3);
color(“#001090”)
linear_extrude(height=5,slices=10)
hull(){
translate(p2)
square();
translate(p1)
square();
translate(p3)
square();
translate(p4)
square();}

// sombra
translate([2,-2,0])

color(“black”)
linear_extrude(height=3,slices=10)
hull(){
translate(p5)
square();
translate(p6)
square();
translate(p7)
square();
translate(p8)
square();}

}
module e (e){
translate([2.5,5,2])
linear_extrude(height=11,slices=10)
text(input2,size =s2/s3);
color(“#901000”)
linear_extrude(height=10,slices=10)
mirror([0,0,1])
hull(){
translate(p2)
square();
translate(p1)
square();
translate(p3)
square();
translate(p4)
square();}// sombra
translate([2,-2,0])

color(“black”)
linear_extrude(height=6,slices=10)
hull(){
translate(p5)
square();
translate(p6)
square();
translate(p7)
square();
translate(p8)
square();}}

module t (t){
translate([2.5,4.5,2])
linear_extrude(height=6,slices=10)
text(input3,size =s2/s3);
color(“#001090”)
linear_extrude(height=5,slices=10)
hull(){
translate(p2)
square();
translate(p1)
square();
translate(p3)
square();
translate(p4)
square();}// sombra
translate([2,-2,0])

color(“black”)
linear_extrude(height=3,slices=10)
hull(){
translate(p5)
square();
translate(p6)
square();
translate(p7)
square();
translate(p8)
square();}}

module r (r){
translate([2.5,4.5,2])
linear_extrude(height=11,slices=10)
text(input4,size =s2/s3);
color(“#901000”)
linear_extrude(height=10,slices=10)
hull(){
translate(p2)
square();
translate(p1)
square();
translate(p3)
square();
translate(p4)
square();}// sombra
translate([2,-2,0])

color(“black”)
linear_extrude(height=6,slices=10)
hull(){
translate(p5)
square();
translate(p6)
square();
translate(p7)
square();
translate(p8)
square();}
}

module o (o){
translate([2.5,4.5,2])
linear_extrude(height=6,slices=10)
text(input5,size =s2/s3);
color(“#001090”)
linear_extrude(height=5,slices=10)
hull(){
translate(p2)
square();
translate(p1)
square();
translate(p3)
square();
translate(p4)
square();}// sombra
translate([2,-2,0])

color(“black”)
linear_extrude(height=3,slices=10)
hull(){
translate(p5)
square();
translate(p6)
square();
translate(p7)
square();
translate(p8)
square();}
}

R();
translate([s2,-5,0])
e();
translate([s22,0,0]) t(); translate([s23,-5,0])
r();
translate([s2*4,0,0])
o();

Captura-de-tela-de-2025-01-20-12-00-40 Chaveiro letreiro 5 letras e 3D - Openscad

Um comentário

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *