PrimitiveArtist.build_as

static PrimitiveArtist.build_as(item, artist_type, **kwargs)[source]

Build an artist with the given type.

Parameters
  • artist_type (compas.artists.Artist)

  • **kwargs (dict[str, Any], optional) – The keyword arguments (kwargs) collected in a dict. For relevant options, see the parameter lists of the matching artist type.

Returns

compas.artists.Artist – An artist of the given type.