There was an error while loading. Please reload this page.
Creates a block (mathematically a cuboid) in PYTHA as new part.
Similar to the Faces -> Polygon function in the PYTHA user interface.
Faces -> Polygon
pytha.create_polygon(loop_points [,loop_segments [,holes [,options]]])
loop_points
{{x,y,z}, ...}
loop_segments
{segment, ...}
segment.radius
number
segment.orientation
"cw"
"ccw"
segment.select_arc
"small"
"large"
segment.bulge
segment.angle
holes
{hole_points, hole_segments, ...}
element_handle
pytha, element handles, Axes and directions