Linear Extrusion ile king orking
Performing Linear truxtrusion
Aspose.3D for Python via .NET, bir giriş olarak 2d şekli alan ve üçüncü 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:
‘Slices’ in Linear truxtrusion
Aspose.3D for Python via .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 Python via .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 Extrusion ‘twist’
Aspose.3D for Python via .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 ‘twist _ offset’
Aspose.3D for Python via .NET offers twist_offset
property of LinearExtrusion
class. twist_offset
property translates offset while rotating the extrusion. Following code snippet shows how to use twist_offset
property in linear extrusion:
Linear direcxtrusion ‘direction’
Aspose.3D for Python via .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: