Skip to content

hexagon

structural_sections.geometric_profiles.hexagon

Hexagonal profile shape.

Classes:

  • HexagonalProfile

    Class to represent a hexagonal profile flat on ground, using shapely for geometric calculations.

structural_sections.geometric_profiles.hexagon.HexagonalProfile dataclass

HexagonalProfile(side_length: MM, x: MM = 0, y: MM = 0, name: str = 'Hexagon')

Bases: Profile

Class to represent a hexagonal profile flat on ground, using shapely for geometric calculations.

Parameters:

  • side_length (MM) –

    The side length of the hexagonal profile [mm].

  • x (MM, default: 0 ) –

    The x-coordinate of the hexagon's center. Default is 0.

  • y (MM, default: 0 ) –

    The y-coordinate of the hexagon's center. Default is 0.

  • name (str, default: 'Hexagon' ) –

    The name of the hexagon profile, default is "Hexagon".

structural_sections.geometric_profiles.hexagon.HexagonalProfile.apothem property

apothem: MM

Calculate the apothem of the hexagon (distance from center to midpoint of a side) [mm].

Returns:

  • MM

    The apothem of the hexagon.

structural_sections.geometric_profiles.hexagon.HexagonalProfile.max_thickness property

max_thickness: MM

Maximum element thickness of the hexagonal profile [mm].

structural_sections.geometric_profiles.hexagon.HexagonalProfile.mesh_creator property

mesh_creator: partial

Mesh settings for the geometrical calculations of the hexagonal profile.

structural_sections.geometric_profiles.hexagon.HexagonalProfile.radius property

radius: MM

Calculate the radius of the circumscribed circle of the hexagon (farthest point from the center) [mm].

Returns:

  • MM

    The radius of the circumscribed circle.