Created
December 7, 2020 10:30
-
-
Save luisfcorreia/cdfca4c5fc2db0889bb13faf08775df4 to your computer and use it in GitHub Desktop.
zynthian front panel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=50; | |
altura = 5; | |
encoder=6.25; | |
midi=16; | |
lcdw=78; | |
lcdh=50; | |
bumperw=5; | |
//mixes it up | |
leftlcd=20; | |
toplcd=39; | |
// relative | |
leftenc=leftlcd+10; | |
rightenc=leftenc+58; | |
leftb=leftlcd-3-bumperw; | |
rightb=leftlcd+lcdw+3; | |
topb=toplcd-3-bumperw; | |
difference() { | |
cube(size=[140,128,altura]); | |
// retirar suportes laterais | |
#translate([0,0,3]) cube(size=[10,128,altura]); | |
#translate([130,0,3]) cube(size=[10,128,altura]); | |
// retirar espaço do LCD | |
translate([leftlcd,toplcd,-1]) cube(size=[lcdw,lcdh,altura+2]); | |
// retirar encoders | |
translate([leftenc,25,-1]) cylinder(d=encoder,h=altura*2); | |
translate([leftenc,104,-1]) cylinder(d=encoder,h=altura*2); | |
translate([rightenc,25,-1]) cylinder(d=encoder,h=altura*2); | |
translate([rightenc,104,-1]) cylinder(d=encoder,h=altura*2); | |
// retirar MIDI | |
translate([rightenc+30,25,-1]) cylinder(d=midi,h=altura*2); | |
// retirar audio out | |
translate([rightenc+30,55,-1]) cylinder(d=encoder,h=altura*2); | |
translate([rightenc+30,75,-1]) cylinder(d=encoder,h=altura*2); | |
// make logo | |
#translate([leftlcd+80,106.5,0]) rotate(180) mirror(v=[90,0,0]) linear_extrude(height = 1) { | |
text("zynthian", size = 7, direction = "ltr", spacing = 1 ); | |
}; | |
} | |
// LCD bumpers | |
translate([leftb,35,altura]) cube(size=[bumperw,60,altura/2]); | |
translate([leftlcd+45,topb,altura]) cube(size=[15,bumperw,altura/2]); | |
translate([rightb,35,altura]) cube(size=[bumperw,60,altura/2]); | |
translate([leftlcd+45,toplcd+lcdh+3,altura]) cube(size=[15,bumperw,altura/2]); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment