Linear Extrusion ile king orking
Performing Linear truxtrusion
Aspose.3D for .NET, bir giriş olarak 2d şekli alan ve 3. boyuttaki şekli genişleten LinearExtrusion
sınıfı sunar. Aşağıdaki kod parçacığı, lineer extrusion yonun nasıl gerçekleştirileceğini gösterir:
Linear truxtrusion ‘Slices’
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:
Linear truxtrusion ‘Center’
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:
Linear truxtrusion ‘Twist’
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:
Linear truxtrusion ‘Twistwiffset’
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:
Linear truxtrusion ‘ireirection’
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: