OpenGLContext.scenegraph.extrusions

GLE-based extrusion node-types

Classes

Base class for GLE geometry types
Provides the common operations and data seen in the GLE geometry types.
Attributes: textureMode -- specification of texture-coordinate generation mode to be passed to GLE, include: "mod" -- if present, use model view coordinates "ver"/"norm" -- vertex/normal mode "flat"/"cyl"/"sphere" -- flat, cylinder or spherical coordinate generation See: http://pyopengl.sourceforge.net/documentation/manual/gleTextureMode.3GLE.xml for semantics of the various modes.
sides
exposedField SFInt32 sides 32
textureMode
exposedField SFString textureMode
Lathe of contour around a spiral (or circle)
contour
the shape being swept
normals
normals to the contour
up
the 3D vector orienting the contour
startRadius
initial radius of the spiral
deltaRadius
change in radius of spiral for each spiral rotation
startZ
starting Z coordinate for the spiral
deltaZ
change in Z coordinate for each spiral rotation
startAngle
angle at which spiral starts (in radians)
totalAngle
angle included in the spiral (in radians)
sides
number of divisions in a rotation
contour
exposedField MFVec2f contour []
deltaRadius
exposedField SFFloat deltaRadius 0.0
deltaZ
exposedField SFFloat deltaZ 0.0
normals
exposedField MFVec2f normals []
startAngle
exposedField SFFloat startAngle 0.0
startRadius
exposedField SFFloat startRadius 1.0
startZ
exposedField SFFloat startZ 0.0
totalAngle
exposedField SFFloat totalAngle 3.14159265359
up
exposedField SFVec3f up (1, 0, 0)
Linear extrusion with twisting
contour
the shape being swept
normals
normals to the contour
up
the 3D vector orienting the contour
startZ
starting Z coordinate for the spiral
endZ
ending Z coordinate for each spiral rotation
totalAngle
total angle of rotation across length (radians)
sides
number of divisions in a rotation
contour
exposedField MFVec2f contour []
endZ
exposedField SFFloat endZ 0.0
normals
exposedField MFVec2f normals []
startZ
exposedField SFFloat startZ 0.0
totalAngle
exposedField SFFloat totalAngle 3.14159265359
up
exposedField SFVec3f up (1, 0, 0)
Banked spiral geometry
contour
the shape being swept
normals
normals to the contour
up
the 3D vector orienting the contour
startRadius
initial radius of the spiral
deltaRadius
change in radius of spiral for each spiral rotation
startZ
starting Z coordinate for the spiral
deltaZ
change in Z coordinate for each spiral rotation
startAngle
angle at which spiral starts (in radians)
totalAngle
angle included in the spiral (in radians)
sides
number of divisions in a rotation
contour
exposedField MFVec2f contour []
deltaRadius
exposedField SFFloat deltaRadius 0.0
deltaZ
exposedField SFFloat deltaZ 0.0
normals
exposedField MFVec2f normals []
startAngle
exposedField SFFloat startAngle 0.0
startRadius
exposedField SFFloat startRadius 1.0
startZ
exposedField SFFloat startZ 0.0
totalAngle
exposedField SFFloat totalAngle 3.14159265359
up
exposedField SFVec3f up (1, 0, 0)