Esempio n. 1
0
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
Esempio n. 2
0
 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