# WishList MeshPlaneIntersection Python

**URL:** <https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057>\
**Category:** Scripting\
**Created:** [July 18, 2013, 12:40pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057 "2013-07-18T12:40:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![5chmidt](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/5chmidt/32/439398_2.png) [@5chmidt](https://discourse.mcneel.com/u/5chmidt)\
**Post date:** [July 18, 2013, 12:40pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/1 "2013-07-18T12:40:18Z")

</div>

I am attempting to intersect a mesh with a list of planes similar to the Mesh|Plane Intersect component inside grasshopper. Is there a way I can accomplish this using the rhinoscriptsyntax? Currently my best method of attack has been to convert the plane into a large mesh then using rs.MeshMeshIntersection and interpolating the resulting points into curves. Is there a better way I could be approaching this problem?  
Thanks,  
5chmidt

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/772741_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [July 18, 2013, 3:38pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/2 "2013-07-18T15:38:57Z")

</div>

My guess is this is what Grasshopper is doing. So I think you are taking the correct approach.

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [August 6, 2013, 9:38pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/3 "2013-08-06T21:38:09Z")

</div>

That is not exactly what Grasshopper is doing. There is a function in RhinoCommon to achieve this which is what the Grasshopper component is directly accessing

> <https://github.com/mcneel/rhinocommon/blob/master/dotnet/opennurbs/opennurbs_intersect.cs#L396>

There is no rhinoscriptsyntax function that uses this RhinoCommon function, but you should be able to throw a little “RhinoCommon access” into the middle of your python script to run the function.

---

<div class="post-metadata">

**Author:** ![4dsynergy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/4dsynergy/32/595589_2.png) [@4dsynergy](https://discourse.mcneel.com/u/4dsynergy)\
**Post date:** [August 7, 2013, 4:44pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/4 "2013-08-07T16:44:45Z")

</div>

Hi Steve,  
@stevebaer  
Can you please attach the script files when you post scripts because the cut and paste routine can become error prone and going to github etc might produce the same errors. With an attachment the scripts are sure to work. I know it’s an extra step for you but it’s nice for us users and no worrying about if we got the formatting right. Hope it’s doable and thanks for all this marvelous work.

RM

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [August 7, 2013, 5:12pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/5 "2013-08-07T17:12:51Z")

</div>

This was not a script sample. It is the actual function imlpementation in RhinoCommon that I was referring to. It probably would have been better for me to post this link instead since it refers to the function in the SDK reference.

[http://4.rhino3d.com/5/rhinocommon/html/M\_Rhino\_Geometry\_Intersect\_Intersection\_MeshPlane\_1.htm](http://4.rhino3d.com/5/rhinocommon/html/M_Rhino_Geometry_Intersect_Intersection_MeshPlane_1.htm)

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [August 13, 2013, 5:22am UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/6 "2013-08-13T05:22:57Z")

</div>

Split this topic on August 13, 2013, 5:22am UTC

I moved a post to a new topic: [Updating rhinoscriptsyntax](http://discourse.mcneel.com/t/updating-rhinoscriptsyntax/1591)

---

<div class="post-metadata">

**Author:** ![clement](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/clement/32/772979_2.png) [@clement](https://discourse.mcneel.com/u/clement)\
**Post date:** [August 13, 2013, 2:18pm UTC](https://discourse.mcneel.com/t/wishlist-meshplaneintersection-python/1057/7 "2013-08-13T14:18:16Z")

</div>

thank you Steve for giving it a title.

c.
