إنشاء نتوء مستطيل في مشهد 3D
Contents
[
Hide
]
Using Aspose.3D for .NET API, developers can create 3D objects, and then save 3D scene in any supported 3D format.
Rالزاوية الأمامية orus
We have added RectangularTorus
class, it allows developers to place a parameterized rectangular torus into the scene, this can be converted to ordinal mesh/triangle mesh during saving the scene into different supported file formats.
C#
RectangularTorus rt = new RectangularTorus();
rt.InnerRadius = 17;
rt.OuterRadius = 22;
rt.Height = 30;
rt.Arc = Math.PI * 0.5;
Scene scene = new Scene();
scene.RootNode.CreateChildNode(rt);
scene.Save("rtorus.obj", FileFormat.WavefrontOBJ);
Tانه ولد توروس مستطيلة تبدو على النحو التالي: