# Reduce mesh missing

**URL:** <https://discourse.mcneel.com/t/reduce-mesh-missing/169585>\
**Category:** Grasshopper\
**Tags:** mac, rhino7, reducemesh\
**Created:** [November 20, 2023, 3:42am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585 "2023-11-20T03:42:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veronika\_Ill\_s](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/veronika_ill_s/32/478302_2.png) [@Veronika\_Ill\_s](https://discourse.mcneel.com/u/Veronika_Ill_s)\
**Post date:** [November 20, 2023, 3:42am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/1 "2023-11-20T03:42:41Z")

</div>

Hi everyone!  
I have Rhino 7 and in my Grasshopper I do not have a command called ReduceMesh. Do you guys know why is it missing? In my Rhino 7 I can find the command but not in Grasshopper.

---

<div class="post-metadata">

**Author:** ![diff-arch](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/diff-arch/32/528268_2.png) [@diff-arch](https://discourse.mcneel.com/u/diff-arch)\
**Post date:** [November 20, 2023, 6:51am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/2 "2023-11-20T06:51:06Z")

</div>

Hi,

Not each and every Rhino command also exists in Grasshopper. It could also be the component or workflow is simply named slightly differently.

In case of `ReduceMesh`, you can however use TriRemesh or Quad Remesh to achieve a similar outcome.  
Alternatively, there’s also the Mesh Reduce component from the LunchBox Grasshopper add-on.

---

<div class="post-metadata">

**Author:** ![PeterFotiadis](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/peterfotiadis/32/472316_2.png) [@PeterFotiadis](https://discourse.mcneel.com/u/PeterFotiadis)\
**Post date:** [November 20, 2023, 7:30am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/3 "2023-11-20T07:30:01Z")

</div>

I have a C# that does that. Notify if you want such a thing.

---

<div class="post-metadata">

**Author:** ![Ichiro](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ichiro/32/606465_2.png) [@Ichiro](https://discourse.mcneel.com/u/Ichiro)\
**Post date:** [September 26, 2024, 9:23am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/4 "2024-09-26T09:23:45Z")

</div>

Could you share it with us if you have.  
We also have same issue, right now.

---

<div class="post-metadata">

**Author:** ![laurent\_delrieu](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/laurent_delrieu/32/601605_2.png) [@laurent\_delrieu](https://discourse.mcneel.com/u/laurent_delrieu)\
**Post date:** [September 26, 2024, 9:40am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/5 "2024-09-26T09:40:49Z")

</div>

Hello  
you have access to it using Rhinocommon  
[https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.mesh/reduce](https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.mesh/reduce)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/e/0/2e01757e70100dc4fd33407dc0fc80e7e3baa9ea.jpeg)

The beast from Alec Jacobson repository in Github  
[reduce mesh Rhinocommon.gh](https://discourse.mcneel.com/uploads/short-url/wVQKxO0s57WXH1h9tQOdCFhFQ8F.gh) (1.3 MB)

Also in Pufferfish plugin  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/b/8/7b8e27ebde06669966e949112b45b50beda77856.png)

---

<div class="post-metadata">

**Author:** ![Ichiro](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ichiro/32/606465_2.png) [@Ichiro](https://discourse.mcneel.com/u/Ichiro)\
**Post date:** [September 26, 2024, 9:57am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/6 "2024-09-26T09:57:48Z")

</div>

Thank you for your quick response.  
your code requires C# plugin, but I can’t find this plugin also at food4rhino.  
Therefore, could you share the C# script as code based?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/d/b/7db97ee9cbf74ac00e554033c3120ca09cd06829.png)

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![laurent\_delrieu](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/laurent_delrieu/32/601605_2.png) [@laurent\_delrieu](https://discourse.mcneel.com/u/laurent_delrieu)\
**Post date:** [September 26, 2024, 10:09am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/7 "2024-09-26T10:09:36Z")

</div>

I think you are still on R7, like me indeed but as main people now post R8  
[reduce mesh Rhinocommon R7.gh](https://discourse.mcneel.com/uploads/short-url/o7UINYB73HSSi0qZAbFr9Oq3U8z.gh) (1.2 MB)

> [@Ichiro](#):
>
> Therefore, could you share the C# script as code based?

🤣One line !!! It is more difficult to put the variables than coding !!!

```cs
 private void RunScript(Mesh mesh, int desiredPolygonCount, bool allowDistorsion, int accuracy, bool normalizeSize, ref object B, ref object A)
  {
    mesh.Reduce(desiredPolygonCount, allowDistorsion, accuracy, normalizeSize);

    A = mesh;
  }
```

---

<div class="post-metadata">

**Author:** ![Ichiro](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ichiro/32/606465_2.png) [@Ichiro](https://discourse.mcneel.com/u/Ichiro)\
**Post date:** [September 26, 2024, 10:19am UTC](https://discourse.mcneel.com/t/reduce-mesh-missing/169585/8 "2024-09-26T10:19:47Z")

</div>

Thank you so much!!
