from solid2 import cube, cylinder, surface

o = surface("logo.png").scale(0.15,0.15,0.5)


o -= cube(500,100,1000).translate([0,0,10])
o -= cube(500,100,10).translate([0,0,-8])
o += cube(64,5,2).translate([8,3.8,2])
o.save_as_stl('logo.stl')