Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/e/z/ezdxf-0.6.0/ezdxf/ac1015/graphics.py   ezdxf(Download)
from ..dxfattr import DXFAttr, DXFAttributes, DefSubclass
from .. import const
from ..facemixins import PolyfaceMixin, PolymeshMixin
from ..tools import safe_3D_point
 
class Polyface(Polyline, PolyfaceMixin):
    """ PolyFace structure:
    POLYLINE
      AcDbEntity
      AcDbPolyFaceMesh

src/e/z/ezdxf-0.6.0/ezdxf/ac1009/graphics.py   ezdxf(Download)
from .. import const
from ..const import VERTEXNAMES
from ..facemixins import PolyfaceMixin, PolymeshMixin
 
 
class Polyface(Polyline, PolyfaceMixin):
    @staticmethod
    def convert(polyline):
        face = Polyface(polyline.tags, polyline.drawing)
        return face