# Intersect / trim Problem (bug ?)

**URL:** <https://discourse.mcneel.com/t/intersect-trim-problem-bug/39447>\
**Category:** Rhino for Windows\
**Created:** [December 7, 2016, 6:14pm UTC](https://discourse.mcneel.com/t/intersect-trim-problem-bug/39447 "2016-12-07T18:14:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_P](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tom_p/32/766520_2.png) [@Tom\_P](https://discourse.mcneel.com/u/Tom_P)\
**Post date:** [December 7, 2016, 6:14pm UTC](https://discourse.mcneel.com/t/intersect-trim-problem-bug/39447/1 "2016-12-07T18:14:35Z")

</div>

![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/4/548097604622bfcfe3cee6eb09e96ede8e9002f2.png)\<a class=“attachment”

dear Mc Neel Team  
I know it s a special case - a closed surface, a trim close to the edge, tangency, …  
But it would be nice, if Rhino would find the expected Curve / Trimming.  
thanks.

[trim\_intersect\_problem.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/3/3/33e150c2799d7019559b371eeafac380c4ac1b04.3dm) (319.8 KB)

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [December 7, 2016, 6:37pm UTC](https://discourse.mcneel.com/t/intersect-trim-problem-bug/39447/2 "2016-12-07T18:37:07Z")

</div>

Hi Tom - looks wrong to me - thanks. Different in V6/WIP - more correct in that it seems only to want to return points and curve fragments- probably the correct intersection.  
In any case, use the edge curve to trim - either use DupEdge or use the ‘crv’ filter when choosing the trimming objects to force selection of curves only (click on the edge)

I think the odd trim results from the green curve are due to the curve not being right on the surface and pulling it makes a bit of a mess.If you pull that curve to the surface and clean up to get that actual closed curve that you want, `Trim` gets it right in one click. Turning the cylinder so the seam away also helps of course,…

I’ll check V6/WIP & see if we can do anything to tune this up.

[https://mcneel.myjetbrains.com/youtrack/issue/RH-37117](https://mcneel.myjetbrains.com/youtrack/issue/RH-37117)

-Pascal

---

<div class="post-metadata">

**Author:** ![Tom\_P](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tom_p/32/766520_2.png) [@Tom\_P](https://discourse.mcneel.com/u/Tom_P)\
**Post date:** [December 7, 2016, 9:58pm UTC](https://discourse.mcneel.com/t/intersect-trim-problem-bug/39447/3 "2016-12-07T21:58:30Z")

</div>

Thanks Pascal @pascal

the steps before:  
i 've build a crv in 2d (cyan) and then \_applyCrv to half of the Cylinder.  
Already after this step the applied-Curve (cyan) has Deviation of 0.0007 mm  
to the pulled Curve (red)  
0.0007 is already quite a lot as unit Tolerance is 0.001  
if i project both curves to the Front c-plane  
Deviation against the Edge is  
0.0007 for the applied and projected crv  
0.00029 for the pulled and projected crv

so maybe the problem is some mixture of several imprecisions  
because if i change the Documents Absolute Tolerance to 0.0001 just for applying the crvs - and but it back to 0.001 after - then everything works like expected.

best - tom

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/d/1/d1f2b239a79c20a96e626d4a85eebdb21c3a7858.png)

[trim\_intersect\_problem\_input.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/0/60400e0f654966ebf4da50dd329fce2602281d6f.3dm) (39.2 KB)

---

<div class="post-metadata">

**Author:** ![brian](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brian/32/504171_2.png) [@brian](https://discourse.mcneel.com/u/brian)\
**Post date:** [December 27, 2016, 11:26pm UTC](https://discourse.mcneel.com/t/intersect-trim-problem-bug/39447/4 "2016-12-27T23:26:29Z")

</div>

[RH-37117](https://mcneel.myjetbrains.com/youtrack/issue/RH-37117) is fixed in the [latest WIP](https://discourse.mcneel.com/t/welcome-to-serengeti/9612)
