Beispiel #1
0
def gen_perimeter(tername, radius):
    fields = parse_var_file(tername)

    s = ""
    for k,v in fields.iteritems():
        pt = distances.get_point_at(0,0, v["angle"], v["dfeet"])
        s += dtf.dtf_darcircle(pt, radius, 14)
    return s
Beispiel #2
0
def gen_dar_circles(tername, dars, radius):
    fields = parse_var_file(tername)

    s = ""
    for d in dars:
        v = fields[d]
        pt = distances.get_point_at(0,0, v["angle"], v["dfeet"])
        s += dtf.dtf_darcircle(pt, radius, 16)
    return s