Source code for compas_ghpython.artists._artist


from __future__ import print_function
from __future__ import absolute_import
from __future__ import division


__all__ = ["BaseArtist"]


[docs]class BaseArtist(object): """Abstract base class for all GH artists. """
[docs] def __init__(self): pass
[docs] def draw(self): raise NotImplementedError
[docs] @staticmethod def draw_collection(collection): raise NotImplementedError
# ============================================================================== # Main # ============================================================================== if __name__ == '__main__': pass