round_corners#

RegionMagnet.round_corners(corner_coordinates, radius, maximise=True)#

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.

maximisebool

Whether to maximise the possible radius of each corner if the radius provided is too large.