import cadquery as cq w0=cq.Workplane('YZ',origin=(100,0,0)) r=w0.sketch().rect(148,154).rect(114,72,mode='s').finalize().extrude(-200)