Working with Linear Extrusion
Performing Linear Extrusion
Aspose.3D for .NET offers LinearExtrusion
class, which takes a 2D shape as an input and extends the shape in the 3rd dimension. Following code snippet shows how to perform linear extrusion:
Slices
in Linear Extrusion
Aspose.3D for .NET offers Slices
property of LinearExtrusion
class. Slices property defines the number of intermediate points along the path of the extrusion. Following code snippet shows how to use Slices property in linear extrusion:
Center
in Linear Extrusion
Aspose.3D for .NET offers Center
property of LinearExtrusion
class. If the Center property is set to true, the extrusion range is from -Height/2 to Height/2, otherwise, the extrusion is from 0 to Height. Following code snippet shows how to use Center property in linear extrusion:
Twist
in Linear Extrusion
Aspose.3D for .NET offers Twist
property of LinearExtrusion
class. Twist property handles the degree of the rotation while extruding the shape. Following code snippet shows how to use Twist property in linear extrusion:
TwistOffset
in Linear Extrusion
Aspose.3D for .NET offers TwistOffset
property of LinearExtrusion
class. Twist Offset property translates offset while rotating the extrusion. Following code snippet shows how to use TwistOffset property in linear extrusion:
Direction
in Linear Extrusion
Aspose.3D for .NET offers Direction
property of LinearExtrusion
class. Direction property defines the direction of the extrusion. Following code snippet shows how to use Direction property in linear extrusion: