# GLE Module. Extrusion and tubing primitives library

    [ Python Module : gle ]

`TUBE_JN_RAW = 0x1`

>     [ Constant: int  ]
>     defines for tubing join styles

`TUBE_JN_ANGLE = 0x2`

>     [ Constant: int  ]

`TUBE_JN_CUT = 0x3`

>     [ Constant: int  ]

`TUBE_JN_ROUND = 0x4`

>     [ Constant: int  ]

`TUBE_JN_MASK = 0xf`

>     [ Constant: int  ]
>     mask bits

`TUBE_JN_CAP = 0x10`

>     [ Constant: int  ]

`TUBE_NORM_FACET = 0x100`

>     [ Constant: int  ]
>     determine how normal vectors are to be handled

`TUBE_NORM_EDGE = 0x200`

>     [ Constant: int  ]

`TUBE_NORM_PATH_EDGE = 0x400`

>     [ Constant: int  ]
>     for spiral, lathe, helix primitives

`TUBE_NORM_MASK = 0xf00`

>     [ Constant: int  ]
>     mask bits

`TUBE_CONTOUR_CLOSED = 0x1000`

>     [ Constant: int  ]
>     closed or open countours

`GLE_TEXTURE_ENABLE = 0x10000`

>     [ Constant: int  ]

`GLE_TEXTURE_STYLE_MASK = 0xff`

>     [ Constant: int  ]

`GLE_TEXTURE_VERTEX_FLAT = 1`

>     [ Constant: int  ]

`GLE_TEXTURE_NORMAL_FLAT = 2`

>     [ Constant: int  ]

`GLE_TEXTURE_VERTEX_CYL = 3`

>     [ Constant: int  ]

`GLE_TEXTURE_NORMAL_CYL = 4`

>     [ Constant: int  ]

`GLE_TEXTURE_VERTEX_SPH = 5`

>     [ Constant: int  ]

`GLE_TEXTURE_NORMAL_SPH = 6`

>     [ Constant: int  ]

`GLE_TEXTURE_VERTEX_MODEL_FLAT = 7`

>     [ Constant: int  ]

`GLE_TEXTURE_NORMAL_MODEL_FLAT = 8`

>     [ Constant: int  ]

`GLE_TEXTURE_VERTEX_MODEL_CYL = 9`

>     [ Constant: int  ]

`GLE_TEXTURE_NORMAL_MODEL_CYL = 10`

>     [ Constant: int  ]

`GLE_TEXTURE_VERTEX_MODEL_SPH = 11`

>     [ Constant: int  ]

`GLE_TEXTURE_NORMAL_MODEL_SPH = 12`

>     [ Constant: int  ]

`gleGetJoinStyle()`

>     [ returns int  ]

`gleSetJoinStyle(style)`

>     [ returns void  ]
>     bitwise OR of flags

`glePolyCylinder(npoints,point_array,color_array,radius)`

>     [ returns void  ]
>     num points in polyline

`glePolyCone(npoints,point_array,color_array,radius_array)`

>     [ returns void  ]
>     numpoints in poly-line

`gleExtrusion(ncp,contour,cont_normal,up,npoints,point_array,color_array)`

>     [ returns void  ]
>     number of contour points

`gleTwistExtrusion(ncp,contour,cont_normal,up,npoints,point_array,color_array,twist_array)`

>     [ returns void  ]
>     number of contour points

`gleSuperExtrusion(ncp,contour,cont_normal,up,npoints,point_array,color_array,xform_array)`

>     [ returns void  ]
>     extrude 2D contour, specifying local affine tranformations

`gleSpiral(ncp,contour,cont_normal,up,startRadius,drdTheta,startZ,dzdTheta,startXform,dXformdTheta,startTheta,sweepTheta)`

>     [ returns void  ]
>     number of contour points

`gleLathe(ncp,contour,cont_normal,up,startRadius,drdTheta,startZ,dzdTheta,startXform,dXformdTheta,startTheta,sweepTheta)`

>     [ returns void  ]
>     lathe moves contour along helical path by helically shearing 3D space

`gleHelicoid(rToroid,startRadius,drdTheta,startZ,dzdTheta,startXform,dXformdTheta,startTheta,sweepTheta)`

>     [ returns void  ]
>     circle contour (torus) radius

`gleToroid(rToroid,startRadius,drdTheta,startZ,dzdTheta,startXform,dXformdTheta,startTheta,sweepTheta)`

>     [ returns void  ]
>     circle contour (torus) radius

`gleScrew(ncp,contour,cont_normal,up,startz,endz,twist)`

>     [ returns void  ]
>     number of contour points

`gleTextureMode(mode)`

>     [ returns void  ]

`rot_axis(omega,axis)`

>     [ returns void  ]
>     Rotation Utilities

`rot_about_axis(angle,axis)`

>     [ returns void  ]

`rot_omega(axis)`

>     [ returns void  ]

`rot_prince(omega,axis)`

>     [ returns void  ]

`urot_axis(m,omega,axis)`

>     [ returns void  ]

`urot_about_axis(m,angle,axis)`

>     [ returns void  ]

`urot_omega(m,axis)`

>     [ returns void  ]

`urot_prince(m,omega,axis)`

>     [ returns void  ]

`uview_direction(m,v21,up)`

>     [ returns void  ]
>     returned

`uviewpoint(m,v1,v2,up)`

>     [ returns void  ]
>     returned

`gleFeedBack()`

>     [ returns void  ]

`gleFreeFeedbackBuffers()`

>     [ returns void  ]

``