Coloring edges of meshes

Hi, is there a way to assign different colors for edges of meshes? I couldn't find something like MeshVS_ElementalColorPrsBuilder for edges.
There is Drawer->SetColor(MeshVS_DA_EdgeColor, ..) but it applies to all edges.

Paul Jimenez's picture

I haven't played with MeshVS myself, but if it is like using AIS_Shape then you would have to implement it yourself. I am aware it is possible to assign different colors to the vertices, but I do really have my doubts about edges.

Maili's picture

Maybe I should try to draw lines externally using AIS_Line etc. But then what is the fastest way to draw too many lines (each colored differently)?