<s> from __future__ import absolute_import , division , print_function , unicode_literals <EOL> from pi3d . constants import * <EOL> from pi3d . Shape import Shape <EOL> class Lathe ( Shape ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , camera = None , light = None , path = None , sides = <NUM_LIT:12> , name = "<STR_LIT>" , x = <NUM_LIT:0.0> , y = <NUM_LIT:0.0> , z = <NUM_LIT:0.0> , <EOL> rx = <NUM_LIT:0.0> , ry = <NUM_LIT:0.0> , rz = <NUM_LIT:0.0> , sx = <NUM_LIT:1.0> , sy = <NUM_LIT:1.0> , sz = <NUM_LIT:1.0> , <EOL> cx = <NUM_LIT:0.0> , cy = <NUM_LIT:0.0> , cz = <NUM_LIT:0.0> ) : <EOL> """<STR_LIT>""" <EOL> super ( Lathe , self ) . __init__ ( camera , light , name , x , y , z , rx , ry , rz , <EOL> sx , sy , sz , cx , cy , cz ) <EOL> if VERBOSE : <EOL> print ( "<STR_LIT>" ) <EOL> self . path = path if path != None else [ ] <EOL> self . ttype = GL_TRIANGLES <EOL> self . buf = [ ] <EOL> self . buf . append ( self . _lathe ( path , sides ) ) </s>
