# How can I use trimmed surface with lunchbox in grasshopper?

**URL:** <https://discourse.mcneel.com/t/how-can-i-use-trimmed-surface-with-lunchbox-in-grasshopper/153330>\
**Category:** Grasshopper\
**Tags:** windows, rhino7\
**Created:** [January 14, 2023, 2:48pm UTC](https://discourse.mcneel.com/t/how-can-i-use-trimmed-surface-with-lunchbox-in-grasshopper/153330 "2023-01-14T14:48:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![호승찬](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/%ED%98%B8%EC%8A%B9%EC%B0%AC/32/417637_2.png) [@호승찬](https://discourse.mcneel.com/u/%ED%98%B8%EC%8A%B9%EC%B0%AC)\
**Post date:** [January 14, 2023, 2:48pm UTC](https://discourse.mcneel.com/t/how-can-i-use-trimmed-surface-with-lunchbox-in-grasshopper/153330/1 "2023-01-14T14:48:33Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/e/f/3ef31ef15084426afb3ba33e44f9d583ed796f35.png)

I want to use a lunchbox using the surface shown in the picture. What should I do?

If you can, please show me an example.

---

<div class="post-metadata">

**Author:** ![Will\_Wang](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/will_wang/32/513624_2.png) [@Will\_Wang](https://discourse.mcneel.com/u/Will_Wang)\
**Post date:** [January 18, 2023, 3:58pm UTC](https://discourse.mcneel.com/t/how-can-i-use-trimmed-surface-with-lunchbox-in-grasshopper/153330/2 "2023-01-18T15:58:21Z")

</div>

if it’s all planar, you can do this  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/4/f/34fea9a4ef5a446827550bd35c2baad5a37bac1e.png)

otherwise you’ll need to come up with an inclusivity test that works for the kinda geometry you’re working with after you split  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/7/3/473732a4ac5f924ea374fa2c5563b4633a23bc3a.png)  
the diamonds with the boundary curve of the parent surface.
