3DSolid

class 3DSolid(Body)

Introduced in DXF version R13 (AC1012), dxftype is 3DSOLID.

A 3D object created by an ACIS based geometry kernel provided by the Spatial Corp. Create 3DSolid objects in layouts and blocks by factory function add_3dsolid().

DXF Attributes for 3DSolid

Common DXF Attributes for DXF R13 or later

3DSolid.dxf.history

Handle to history object, see: Low Level Access to DXF entities

3DSolid Methods

3DSolid.get_acis_data()

Get the ACIS source code as a list of strings.

3DSolid.set_acis_data(test_lines)

Set the ACIS source code as a list of strings without line endings.

3DSolid.edit_data()

Context manager for ACIS text lines, returns ModelerGeometryData.