gleScrew

Draws screw-type shapes.

Signature

gleScrew( int( ncp ) , gleDouble[][2]( contour ) , gleDouble[][2]( cont_normal ) , gleDouble[3]( up ) , gleDouble( startz ) , gleDouble( endz ) , gleDouble( twist ) )-> void
gleScrew( contour , cont_normal , up , startz , endz , twist )
gleScrew( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), gleDouble(startz), gleDouble(endz), gleDouble(twist) ) -> None

Parameters

VariablesDescription
ncp
number of contour points
contour
2D contour
cont_normal
2D contour normals
up
up vector for contour
startx
start of segment
endz
end of segment
twist
number of rotations

See Also

gleExtrusion

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gleScrew
OpenGLContext OpenGLContext/scenegraph/extrusions.py Lines: 168