def sweepSymbol(path, section, length, dlength, radius=1, radiusvariation=None): from openalea.plantgl.all import PglTurtle t = PglTurtle() t.start() return t.startGC().sweep(path, section, length, dlength, radius, radiusvariation).stopGC().getScene()[0].geometry
def sweepSymbol(self, path): from openalea.plantgl.all import PglTurtle t = PglTurtle() t.start() return t.startGC().sweep(path, self.section, self.length, self.dlength, self.radius, self.radiusvariation).stopGC().getScene()[0].geometry