from .Profile import Profile


class ArbitraryProfile(Profile):
    """The ArbitraryProfile object defines the properties of an arbitrary profile.
    The ArbitraryProfile object is derived from the Profile object.

    Notes
    -----
    This object can be accessed by:

    .. code-block:: python

        import section
        mdb.models[name].profiles[name]
        import odbSection
        session.odbs[name].profiles[name]

    The table data for this object are:
    The first sequence in the table specifies the following:
    
        - 1-coordinate of the first point defining the profile.
        - 2-coordinate of the first point defining the profile.
        
    All other sequences in the table specify the following:
    
        - 1-coordinate of the next point defining the profile.
        - 2-coordinate of the next point defining the profile.
        - The thickness of the segment ending at that point.

    The corresponding analysis keywords are:

    - BEAM SECTION
    """

    def __init__(self, name: str, table: tuple):
        """This method creates a ArbitraryProfile object.

        Notes
        -----
        This function can be accessed by:

        .. code-block:: python

            mdb.models[name].ArbitraryProfile
            session.odbs[name].ArbitraryProfile

        Parameters
        ----------
        name
            A String specifying the repository key.
        table
            A sequence of sequences of Floats specifying the items described below.

        Returns
        -------
        ArbitraryProfile
            An :py:class:`~abaqus.BeamSectionProfile.ArbitraryProfile.ArbitraryProfile` object.

        Raises
        ------
        RangeError

        """
        super().__init__()
        pass

    def setValues(self, *args, **kwargs):
        """This method modifies the ArbitraryProfile object.

        Raises
        ------
        RangeError

        """
        pass
