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 Polymesh(Polyline, PolymeshMixin):
    """ PolyMesh structure:
    POLYLINE
      AcDbEntity
      AcDbPolygonMesh

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 Polymesh(Polyline, PolymeshMixin):
    @staticmethod
    def convert(polyline):
        mesh = Polymesh(polyline.tags, polyline.drawing)
        return mesh