ExtrudeModifier.FaceNormalExtrude

This page contains reference documentation for the FaceNormalExtrude member. This member sets or gets the FACENORMALEXTRUDE parameter.

Declaration

double FaceNormalExtrude;

Examples

Examples are as follows:

ExtrudeModifier modifier = new ExtrudeModifier;

// Extrude the face 32 units along the X axis.

modifier.DirectionX = 32;

// Extrude the face 16 units along the Y axis.

modifier.DirectionY = 16;

// Extrude the face 4 units along the Z axis.

modifier.DirectionZ = 4;

// Extrude the face 12 units along the vector formed by the average of the face normals.

modifier.FaceNormalExtrude = 12;

// Extrude the face 7 units along the vector formed by the average of the vertex normals.

modifier.VertexNormalExtrude = 7;

// Create 5 sections along the extrude.

modifier.Sections = 5;

// Taper the end-cap face by 50%.

modifier.Taper = 0.5;

// Expand the end-cap face by 171%.

modifier.Taper = 1.71;

Working Sample Code

For sample code: