# Hatching Problem

**URL:** <https://discourse.mcneel.com/t/hatching-problem/8981>\
**Category:** Rhino for Windows\
**Created:** [June 6, 2014, 3:17pm UTC](https://discourse.mcneel.com/t/hatching-problem/8981 "2014-06-06T15:17:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmas](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cosmas/32/505549_2.png) [@cosmas](https://discourse.mcneel.com/u/cosmas)\
**Post date:** [June 6, 2014, 3:17pm UTC](https://discourse.mcneel.com/t/hatching-problem/8981/1 "2014-06-06T15:17:46Z")

</div>

Good morning friends,

I wonder if someone could please look at the attached file? It’s got two closed nurbs curves in layout space that I have been trying to hatch with a solid black hatch pattern. The curve that’s a simple rectangle, works, but the other doesn’t.  
It will accept other patterns, but not the solid.  
Any clues?  
Thank you.

Cosmas  
[hatching problem.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/7/07f76966174916e9f8d7635db581aa09302e4f14.3dm) (64.3 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:** [June 6, 2014, 3:38pm UTC](https://discourse.mcneel.com/t/hatching-problem/8981/2 "2014-06-06T15:38:53Z")

</div>

Hi Cosmas- solid hatching uses a mesh, that may have something to do with it- in any case, the curve has some very short segments and they seem to be the problem- try: Explode, SelShortCrv (defaults to .01 here, that’s fine) and delete these. Then join the rest and Hatch. The hatch is made on the original (use SelHatch) but it is invisible- we’ll take a look at this anyway and see what we can find.

[http://mcneel.myjetbrains.com/youtrack/issue/RH-27584](http://mcneel.myjetbrains.com/youtrack/issue/RH-27584)

-Pascal

---

<div class="post-metadata">

**Author:** ![cosmas](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cosmas/32/505549_2.png) [@cosmas](https://discourse.mcneel.com/u/cosmas)\
**Post date:** [June 6, 2014, 4:00pm UTC](https://discourse.mcneel.com/t/hatching-problem/8981/3 "2014-06-06T16:00:29Z")

</div>

Cool. Thank you.

---

<div class="post-metadata">

**Author:** ![mahmoudelmeligy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mahmoudelmeligy/32/464861_2.png) [@mahmoudelmeligy](https://discourse.mcneel.com/u/mahmoudelmeligy)\
**Post date:** [April 1, 2021, 9:18am UTC](https://discourse.mcneel.com/t/hatching-problem/8981/4 "2021-04-01T09:18:37Z")

</div>

Hello,  
Has this issue been resolved since this question was asked in 2014?  
I am using Rhino 7 and the proposed solution is not optimal for me due to the large amounts and complexity of curves involved in hatching.

Mahmoud

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [April 6, 2021, 12:18pm UTC](https://discourse.mcneel.com/t/hatching-problem/8981/5 "2021-04-06T12:18:56Z")

</div>

Hi Mahmoud -  
The issue was addressed in RH-27584 - when a curve self-intersects and the segments that self-intersect are smaller than the document tolerance, you are warned about this on the command line and the command fails.

> [@mahmoudelmeligy](#):
>
> I am using Rhino 7 and the proposed solution is not optimal for me due to the large amounts and complexity of curves involved in hatching.

The best solution is to avoid messy geometry from being created.  
That said, Rhino 7 has new tools to make it easier to find messy geometry. Use `SelSelfIntersectingCrv` to isolate messy curves and `IntersectSelf` to see where the self-intersection is located.  
-wim
