from solid2 import cube, cylinder, surface, scad_render_to_file

o = surface("circle3.png").scale(0.066,0.066,1)
o -= cube(500,500,1000).translate([0,0,4])
o -= cube(500,500,1).translate([0,0,-1])
o += cylinder(r=16, h=1).translate([16.5,16.5,0])

scad_render_to_file(o, "circle.scad")