Part Torus/zh-cn

描述
根据position, angle1, angle2, angle3, radius1 与 radius2参数创建一个简单的参数化环面.

A Part Torus can be turned into a segment of a torus by changing its property. By changing its and/or  properties the swept profile can become a segment of a circle.



如何使用
在零件工作台中点击环面图标. 这会在原点(point 0,0,0)处创建一个环面. 三个角度参数(angle1, angle2, angle3)与两个半径参数(radius1, radius2)用于确定参数化环面，详情请看下段文字.

Example


A Part Torus object created with the scripting example below is shown here.

Data
The object has the same attachment properties as a Part Part2DObject.


 * 小圆盘圆周运动所绕圆环的半径
 * 定义环面形状的小圆盘的半径
 * 用于切割/定义环面小圆盘的第1个角度参数
 * 用于切割/定义环面小圆盘的第2个角度参数
 * 用于定义环面运动圆周的第3个角度参数

Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Torus can be created with the method of the document:


 * Where is the name for the object.
 * The function returns the newly created object.

Example: