gleTwistExtrusion

Extrude arbitrary 2D contour along arbitrary 3D path, specifying local rotations (twists).

Signature

gleTwistExtrusion( int( ncp ) , gleDouble[][2]( contour ) , gleDouble[][2]( cont_normal ) , gleDouble[3]( up ) , int( npoints ) , gleDouble[][3]( point_array ) , float[][3]( color_array ) , gleDouble[]( twist_array ) )-> void
gleTwistExtrusion( contour , cont_normal , up , point_array , color_array , twist_array )
gleTwistExtrusion( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array), arrays.GLdoubleArray(twist_array) ) -> None

Parameters

VariablesDescription
ncp
number of contour points
contour
2D contour
cont_normal
2D contour normals
up
up vector for contour
npoints
numpoints in poly-line
point_array
polyline vertices
color_array
colors at polyline verts
twist_array
contour twists (in degrees)

See Also

gleExtrusion gleSuperExtrusion