There was an error while loading. Please reload this page.
Creates a cylinder in PYTHA as new part.
Similar to the Parts -> Sphere function in the PYTHA user interface.
Parts -> Sphere
pytha.create_sphere(radius [,origin [,options]])
radius
number
origin
{x,y,z}
options
{...}
options.u_axis
options.v_axis
options.w_axis
options.segments
options.latitude_segments
By specifying options.top_radius, both a frustum can be created as well as a cone by setting options.top_radius = 0
options.top_radius
options.top_radius = 0
element_handle
pytha, element handles, Axes and directions, create_block, create_cylinder