Cylinder¶
Cylinder feature creates a cylinder solid.
To create a Cylinder in the active part:
select in the Main Menu Primitives - > Cylinder item or
click Cylinder button in the toolbar
There are 2 algorithms for creation of a Cylinder:
Cylinder creates a cylinder.
Portion of cylinder creates one segment of a cylinder.
Cylinder¶
Input fields:
Point defines the center of the cylinder base selected in 3D OCC viewer or object browser;
Vector defines the axis of the cylinder selected in 3D OCC viewer or object browser;
- Dimensions:
Radius;
Height.
TUI Commands:
-
model.
addCylinder
(Part_doc, Point, Axis, Radius, Height)¶ - Parameters
part – The current part object.
object – Vertex.
object – Axis.
real – Radius.
real – Height.
- Returns
Result object.
Portion of cylinder¶
Input fields for *Portion of cylinder tab include Angle defining a portion of cylinder.
TUI Commands:
-
model.
addCylinder
(Part_doc, Point, Axis, Radius, Height, Angle)¶ - Parameters
part – The current part object.
object – Vertex.
object – Axis.
real – Radius.
real – Height.
real – Angle.
- Returns
Result object.
Result¶
An example is shown below.
See Also a sample TUI Script of Create Portion of cylinder operation.