# Rhino 5: Mesh loses vertex colors after editing

**URL:** <https://discourse.mcneel.com/t/rhino-5-mesh-loses-vertex-colors-after-editing/10451>\
**Category:** Rhino for Windows\
**Created:** [July 30, 2014, 12:55pm UTC](https://discourse.mcneel.com/t/rhino-5-mesh-loses-vertex-colors-after-editing/10451 "2014-07-30T12:55:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Meyer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/michael_meyer/32/767027_2.png) [@Michael\_Meyer](https://discourse.mcneel.com/u/Michael_Meyer)\
**Post date:** [July 30, 2014, 12:55pm UTC](https://discourse.mcneel.com/t/rhino-5-mesh-loses-vertex-colors-after-editing/10451/1 "2014-07-30T12:55:54Z")

</div>

Hi…,

I have here a customer question: Importing a mesh in wrl-format brings in also vertex colors. But after editing this mesh (closing holes,…), the vertex colors vanish. How to keep mesh vertex colors, while editing.

Any ideas?

Thanks

Michael

[www.flexiCAD.com](http://www.flexiCAD.com)

---

<div class="post-metadata">

**Author:** ![clement](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/clement/32/759176_2.png) [@clement](https://discourse.mcneel.com/u/clement)\
**Post date:** [July 30, 2014, 2:50pm UTC](https://discourse.mcneel.com/t/rhino-5-mesh-loses-vertex-colors-after-editing/10451/2 "2014-07-30T14:50:57Z")

</div>

Hi Michael,

it is on the buglist already for splitting meshes, (RH-17123). [Here](http://discourse.mcneel.com/t/vertex-coloreded-meshes-looses-colors-if-exploded-or-split/6639) is the thread.

- 

c,

---

<div class="post-metadata">

**Author:** ![Michael\_Meyer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/michael_meyer/32/767027_2.png) [@Michael\_Meyer](https://discourse.mcneel.com/u/Michael_Meyer)\
**Post date:** [July 30, 2014, 3:08pm UTC](https://discourse.mcneel.com/t/rhino-5-mesh-loses-vertex-colors-after-editing/10451/3 "2014-07-30T15:08:05Z")

</div>

Hi clement,

thanks

Michael

---

<div class="post-metadata">

**Author:** ![Willem](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/willem/32/554347_2.png) [@Willem](https://discourse.mcneel.com/u/Willem)\
**Post date:** [July 30, 2014, 4:16pm UTC](https://discourse.mcneel.com/t/rhino-5-mesh-loses-vertex-colors-after-editing/10451/4 "2014-07-30T16:16:48Z")

</div>

Hi Michael,

FWIW:  
In the mean time your customer might be helped with this script.  
[MeshMapVertexcolors.rvb](https://sea3.discourse-cdn.com/mcneel/uploads/default/11144/f6cd55d4ab37f3d4.rvb) (1.5 KB)  
It can map vertexcolors from one mesh to another.  
They could keep a copy of the original mesh, then edit the mesh at will(yet keep it in position) and next run the script to find and map the colors of the original vertices and apply them to the edited mesh.

-Willem
