def METHOD_NAME(
    self,
    geometry: Mesh,
    name: str = None,
    color: Union[RGBColor, Tuple[int, int, int, int], Tuple[float, float, float, float]] = None,
) -> bpy.types.Object:
    """Create the scene objecy representing the robot geometry.
    Parameters
    ----------
    geometry : :class:`~compas.datastructures.Mesh`
        The geometry representing the robot.
    name : str, optional
        A name for the scene object.
    color : tuple[int, int, int] or tuple[float, float, float], optional
        The color of the object.
    Returns
    -------
    bpy.types.Object
    """
    # Imported colors take priority over a the parameter color
    if "mesh_color.diffuse" in geometry.attributes:
        color = geometry.attributes["mesh_color.diffuse"]
    # If we have a color, we'll discard alpha because draw_mesh is hard coded for a=1
    if color:
        color = color[:3]
    else:
        color = (1.0, 1.0, 1.0)
    v, f = geometry.to_vertices_and_faces(triangulated=False)
    native_mesh = compas_blender.draw_mesh(
        vertices=v,
        faces=f,
        name=name,
        color=color,
        centroid=False,
        collection=self.collection,
    )
    native_mesh.hide_set(True)
    return native_mesh