eq_triangle_h#

ansys.motorcad.core.geometry_shapes.eq_triangle_h(height, r_O, th_O, region_type=RegionType.adaptive, motorcad_instance=None)#

Create an equilateral triangle of given height at a given set of coordinates.

Parameters:
heightfloat

Height value.

r_Ofloat

Radial coordinate of the triangle centre.

th_Ofloat

Angular coordinate of the triangle centre.

region_type: RegionType or str

Type of region. String must be a valid RegionType.

motorcad_instance: ansys.motorcad.core.MotorCAD

Motor-CAD instance currently connected.

Returns:
this_triangleansys.motorcad.core.geometry.Region

Region object with three Line entity types.