80 |
anchorUnit = self.vs.unitSqCS(anchorCS, "UN") |
anchorUnit = self.vs.unitSqCS(anchorCS, "UN") |
81 |
anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5) |
anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5) |
82 |
x = self.ctrx |
x = self.ctrx |
83 |
r = self.ctrx * .5 |
r = self.ctry * 1.2 |
84 |
if dir > 0: |
if dir > 0: |
85 |
buoy = self.vs.coords.buoyOnCircle(0, anchorCenter, |
buoy = self.vs.coords.buoyOnCircle(0, anchorCenter, |
86 |
x, self.ctry, r, |
x, self.ctry, r, |
92 |
x+r, self.ctry, |
x+r, self.ctry, |
93 |
.1) |
.1) |
94 |
self.vs.matcher.add(buoy, linkId) |
self.vs.matcher.add(buoy, linkId) |
95 |
w = 150 |
w = 400 |
96 |
h = 150 |
h = 400 |
97 |
sca = .5 |
sca = 1 |
98 |
into = self.vs.orthoBoxCS(buoy, "V"+str(linkId), -100, -w*sca/2, -h*sca/20, |
into = self.vs.orthoBoxCS(buoy, "V"+str(linkId), -100, -w*sca/2, -h*sca/20, |
99 |
.5, .5, w, h) |
.5, .5, w, h) |
100 |
if 0: |
if 0: |