# OEMakeProteinRibbonSurface¶

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


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 OERibbonType namespace.