# Default Mesh Color in Rhino

**URL:** <https://forum.compas-framework.org/t/default-mesh-color-in-rhino/771>\
**Category:** compas\
**Created:** [October 4, 2023, 10:19am UTC](https://forum.compas-framework.org/t/default-mesh-color-in-rhino/771 "2023-10-04T10:19:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zac\_Zhuo\_Zhang](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/zac_zhuo_zhang/32/433_2.png) [@Zac\_Zhuo\_Zhang](https://forum.compas-framework.org/u/Zac_Zhuo_Zhang)\
**Post date:** [October 4, 2023, 10:19am UTC](https://forum.compas-framework.org/t/default-mesh-color-in-rhino/771/1 "2023-10-04T10:19:44Z")

</div>

Maybe a change or custom modification guideline can be put out to improve the default mesh appearance in Rhino/GH imported from COMPAS.

We like blue, but it is just less easy to distinguish the vertices and faces. Changing the colour by either modifying the GH `draw` component or `paint` the Rhino mesh is hard for learners.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/29a96b08623c3498798aa2d689400e8cf957de36.png)

Personally, I feel the `COMPAS.VIEW2` demonstrates a better default mesh appearance.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/ad203434c5103f24a297e08618b32c4776893266.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![gonzalocasas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/gonzalocasas/32/127_2.png) [@gonzalocasas](https://forum.compas-framework.org/u/gonzalocasas)\
**Post date:** [October 8, 2023, 7:44pm UTC](https://forum.compas-framework.org/t/default-mesh-color-in-rhino/771/2 "2023-10-08T19:44:53Z")

</div>

The default appearance of meshes has already been changed in COMPAS 2.0 alpha release. Not to grey though, I believe it defaults to transparent (iirc). Maybe check it out and let us know what you think!

---

<div class="post-metadata">

**Author:** ![petrasvestartas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/petrasvestartas/32/305_2.png) [@petrasvestartas](https://forum.compas-framework.org/u/petrasvestartas)\
**Post date:** [October 9, 2023, 6:00pm UTC](https://forum.compas-framework.org/t/default-mesh-color-in-rhino/771/3 "2023-10-09T18:00:55Z")

</div>

Why not to follow the default grasshopper args workflow that reads selected and unselected user given colors. It was often a usual way for custom components.

in:  
`def DrawViewportWires(self, args):`

grasshopper user given values are stored in:

```auto
  args.WireColour_Selected
  args.WireColour
  args.WireColour
  args.DefaultCurveThickness

```

and you can set boolean value to check if component is selected every frame is drawn.

For sure it is just a display…

---

<div class="post-metadata">

**Author:** ![Zac\_Zhuo\_Zhang](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/zac_zhuo_zhang/32/433_2.png) [@Zac\_Zhuo\_Zhang](https://forum.compas-framework.org/u/Zac_Zhuo_Zhang)\
**Post date:** [October 10, 2023, 7:40am UTC](https://forum.compas-framework.org/t/default-mesh-color-in-rhino/771/4 "2023-10-10T07:40:53Z")

</div>

I support this idea!! 🕶 👍
