.. # split from OESpicoliFunctions.rst:466


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OEMakeProteinRibbonSurface

.. oe:function:: OEMakeProteinRibbonSurface

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEMakeProteinRibbonSurface(OESurface& surf,
                                         const OEChem::OEMolBase& mol,
                                         unsigned int type = OERibbonType::CAlpha)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeProteinRibbonSurface(surf: OESurface,
                                    mol: Union[OEGraphMol,OEMol,OEQMol],
                                    type: int) -> bool

   This function fills the surface surf with a ribbon surface for the molecule.

   It will set the vertex normals, colors, and atom indices on the surface.

   The ``type`` argument specifies the type of ribbon to be created,
   from the :oe:constns:`OESpicoli::OERibbonType` namespace. 
   

