circle#
- planestress.pre.library.circle(d: float, n: int, material: Material = Material(name='default', elastic_modulus=1.0, poissons_ratio=0.0, thickness=1.0, density=1.0, color='w'), tol: int = 12) Geometry[source]#
Creates a circular geometry with the centre at the origin.
- Parameters:
d (float) – Diameter of the circle.
n (int) – Number of points to discretise the circle.
material (Material) –
`Materialobject to apply to the circle. Defaults toDEFAULT_MATERIAL, i.e. a material with unit properties and a Poisson’s ratio of zero.tol (int) – The points in the geometry get rounded to
toldigits. Defaults to12.
- Returns:
Circular
Geometryobject.- Return type:
Example
TODO.