round_corners#

RegionMagnet.round_corners(corner_coordinates, radius)#

Round multiple corners of a region.

Each corner coordinate must already exist on two entities belonging to the region. The two entities adjacent to each corner are shortened, and an arc is created between them.

Parameters:
corner_coordinateslist of ansys.motorcad.core.geometry.Coordinate

List of coordinates of the corners to round.

radiusfloat

Radius to round the corners by.