pytha.create_circle_edges - pytha-3d-cad/pytha-lua-api GitHub Wiki
Creates an edge circle in PYTHA as new part.
Similar to the Edges-> Circle function in the PYTHA user interface.
pytha.create_circle_edges(radius [,origin [,options]])
| Parameter | Type | Description |
|---|---|---|
radius |
number |
Radius of the circle |
origin |
{x,y,z} |
Optional: center point of the circle |
options |
{...} |
Optional: a table that may contain the following options: |
options.u_axis |
{x,y,z} |
Local coordinate u-axis for the orientation of the circle |
options.v_axis |
{x,y,z} |
Local coordinate v-axis for the orientation of the circle |
options.w_axis |
{x,y,z} |
Local coordinate w-axis for the orientation of the circle |
options.segments |
{x,y,z} |
Segments of the circle |
Return value
| Type | Description |
|---|---|
element_handle |
An element handle of the newly created part |
See also:
pytha, element handles, Axes and directions, create_circle, create_rectangle_edges, create_sphere, create_cylinder