In [2]:
import surfacegenerator
%load_ext autoreload %autoreload 2

In [3]:
help(surfacegenerator.CylinderGenerator)


Help on function CylinderGenerator in module surfacegenerator.CylinderGenerator:

CylinderGenerator(radius, length, resolution, outfile, direction=(0, 0, 1))
    Write an STL file of a triangulated, uncapped, origin-centred cylinder
    of the specified radius, length and resolution to the specified file.


In [4]:
surfacegenerator.CylinderGenerator(radius=3.0,
                                   length=100.0, resolution=21,
                                   outfile="Tube_6mmD_100mmL.stl", direction=(1,0,0))

In [5]:
surfacegenerator.CylinderGenerator(radius=3.0,
                                   length=100.0, resolution=10,
                                   outfile="Tube_6mmD_100mmL_2.stl", direction=(1,0,0))

In [ ]: