Working with Cylinder
Customize Offset Top
Aspose.3D for .NET allows customizing Offset Top of a cylinder. In order to use this functionality, you can use Offset
property of Cylinder
class. The following code snippet shows how to customize Offset Top:
The left one has OffsetTop set to (5, 3, 0), it’s easy to see the top cap has moved and the whole torso also gets affected.
Customize ShearBottom
Aspose.3D for .NET allows customizing shear bottom of a cylinder. In order to use this functionality, you can use ShearBottom
property of Cylinder
class. The following code snippet shows how to customize Shear Bottom:
The left cylinder has ShearBottom
to (0, 0.83) while the right one is an ordinal cylinder.
Create Fan-Cylinder
Aspose.3D for .NET allows creating a fan cylinder. In order to use this functionality, you can set GenerateFanCylinder
property of Cylinder
class to true
. The following code snippet shows how to use this functionality:
The left cylinder has GenerateFanCylinder = false
and the right one has GenerateFanCylinder = true
.