Ë
    £èh©  ã                  ód   — d dl mZ d dlmZmZ d dlmZmZ d dl	m
Z
 ddlmZmZmZmZ d
d„Zdd„Zy	)é    )Úannotations)ÚcastÚSequence)Ú	DXFEntityÚBody)Úconsté   )r   Ú
export_satÚ
export_sabÚloadc                ó¬  — t        | t        «      s&t        j                  d| j	                  «       › �«      ‚t        t        | «      }| j                  }|€t        j                  d«      ‚|j                  }|t        j                  k  rt        j                  d|› �«      ‚|t        j                  k  rt        |«      |_        yt        |«      |_        y)añ  Store the :term:`ACIS` bodies in the given DXF entity. This is the
    recommended way to set ACIS data of DXF entities.

    The DXF entity has to be an ACIS based entity and inherit from
    :class:`ezdxf.entities.Body`. The entity has to be bound to a valid DXF
    document and the DXF version of the document has to be DXF R2000 or newer.

    Raises:
        DXFTypeError: invalid DXF entity type
        DXFValueError: invalid DXF document
        DXFVersionError: invalid DXF version

    úinvalid DXF entity Nú a valid DXF document is requiredúinvalid DXF version )Ú
isinstanceÚDXFBodyr   ÚDXFTypeErrorÚdxftyper   ÚdocÚDXFValueErrorÚ
dxfversionÚDXF2000ÚDXFVersionErrorÚDXF2013r
   Úsatr   Úsab)ÚentityÚbodiesÚbodyr   r   s        ú.lib/python3.12/site-packages/ezdxf/acis/dxf.pyÚ
export_dxfr!   
   s­   € ô �fœgÔ&Ü× Ñ Ð#6°v·~±~Ó7GÐ6HÐ!IÓJÐJÜ”˜Ó €DØ
�*‰*€CØ
€{Ü×!Ñ!Ð"DÓEÐEØ—‘€JØ”E—M‘MÒ!Ü×#Ñ#Ð&:¸:¸,Ð$GÓHÐHà”E—M‘MÒ!Ü˜fÓ%ˆ�ä˜fÓ%ˆ�ó    c                óÆ  — t        | t        «      s&t        j                  d| j	                  «       › �«      ‚t        t        | «      }| j                  }|€t        j                  d«      ‚|j                  }|t        j                  k  rt        j                  d|› �«      ‚|j                  r|j                  }|rt        |«      S g S |j                  }|rt        |«      S g S )a\  Load the :term:`ACIS` bodies from the given DXF entity. This is the
    recommended way to load ACIS data.

    The DXF entity has to be an ACIS based entity and inherit from
    :class:`ezdxf.entities.Body`. The entity has to be bound to a valid DXF
    document and the DXF version of the document has to be DXF R2000 or newer.

    Raises:
        DXFTypeError: invalid DXF entity type
        DXFValueError: invalid DXF document
        DXFVersionError: invalid DXF version

    .. warning::

        Only a limited count of :term:`ACIS` entities is supported, all
        unsupported entities are loaded as ``NONE_ENTITY`` and their data is
        lost. Exporting such ``NONE_ENTITIES`` will raise an :class:`ExportError`
        exception.

        To emphasize that again: **It is not possible to load and re-export
        arbitrary ACIS data!**

    r   r   r   )r   r   r   r   r   r   r   r   r   r   r   Úhas_binary_datar   r   r   )r   r   r   r   Úbinary_dataÚtexts         r    Úload_dxfr'   (   sÍ   € ô2 �fœgÔ&Ü× Ñ Ð#6°v·~±~Ó7GÐ6HÐ!IÓJÐJÜ”˜Ó €DØ
�*‰*€CØ
€{Ü×!Ñ!Ð"DÓEÐEØ—‘€JØ”E—M‘MÒ!Ü×#Ñ#Ð&:¸:¸,Ð$GÓHÐHØ×ÒØ—h‘hˆÙÜ˜Ó$Ð$ð
 €Ið �x‰xˆÙÜ˜“:ÐØ€Ir"   N)r   r   r   zSequence[Body])r   r   Úreturnz
list[Body])Ú
__future__r   Útypingr   r   Úezdxf.entitiesr   r   r   Úezdxf.lldxfr   Úentitiesr
   r   r   r!   r'   © r"   r    Ú<module>r/      s#   ðõ #ß !ß 5Ý ß 8Ó 8ó&ô<*r"   