I've tried this before and am trying again but each time, I feel like I'm just smacking my head against the wall. The following code should be self-explanitory but I can't seem to get it to work. Obviously it's supposed to draw a cone. I specifically want to try to use Sketch; I know how to do this w/o Sketch API.
In particular I want to learn how to loft() with Sketch because then I can use the same Sketch object which is scaled and moved.
import cadquery as cqsketch1 = cq.Sketch().circle(1)
sketch2 = cq.Sketch().circle(0.5)
result = cq.Workplane("XY")
result = result.placeSketch(sketch1)
result = result.workplane(offset= 5)
result = result.placeSketch(sketch2)
result = result.loft(combine= True)