def METHOD_NAME(radius, depth):
    if pocket:
        block.append(CNC.grapid(0.0, 0.0))
        block.append(CNC.zenter(depth))
        setCutFeedrate()
        currRadius = 0.0
        while radius > currRadius + stepxy:
            currRadius += stepxy
            block.append(CNC.gline(currRadius, 0))
            addCircumference(currRadius)
        if radius - currRadius > 0:
            block.append(CNC.gline(radius, 0))
            addCircumference(radius)
    else:
        block.append(CNC.grapid(radius, 0.0))
        block.append(CNC.zenter(depth))
        setCutFeedrate()
        addCircumference(radius)