Body¶
BODY (DXF Reference) created by an ACIS based geometry kernel provided by the Spatial Corp.
See also
Ezdxf will never create or interpret ACIS data, for more information see the FAQ: How to add/edit ACIS based entities like 3DSOLID, REGION or SURFACE?
Subclass of |
|
DXF type |
|
Factory function |
|
Inherited DXF attributes |
|
Required DXF version |
DXF R2000 ( |
Warning
Do not instantiate entity classes by yourself - always use the provided factory functions!
- class ezdxf.entities.Body¶
- dxf.version¶
Modeler format version number, default value is
1
- dxf.flags¶
Require DXF R2013.
- dxf.uid¶
Require DXF R2013.
- acis_data¶
Get/Set ACIS text data as list of strings for DXF R2000 to R2010 and binary encoded ACIS data for DXF R2013 and later as list of bytes.
- has_binary_data¶
Returns
True
if ACIS data is of typeList[bytes]
,False
if data is of typeList[str]
.
- tostring() str ¶
Returns ACIS data as one string for DXF R2000 to R2010.
- tobytes() bytes ¶
Returns ACIS data as joined bytes for DXF R2013 and later.
- set_text(text: str, sep: str = '\n') None ¶
Set ACIS data from one string.