var sels = app.documents[0].selection; var objs = sels; var jointwidth = objs[0].width/6; var increaceangle =0; for (var j=0; j