Hello.
I am using Rhino 8 with Windows 11.
As part of a larger drawing I created a 2D shape using the offset command alongside the line tool.
I want to hatch this enclosed area but a small section of the curve has a gap that refuses to be fully closed.
I have attached both a screen grab of the region aswell as the entire shape as a Rhino file.
Many thanks.
Gap in curve prevening a hatch.3dm (126.4 KB)
You have a lot of problems in there…
First, you have a lot of overlapping curves. Oftentimes CurveBoolean will help fix this, but as there are also some small gaps between the curves here and there, it will not work as it cannot find closed regions. So a more ‘manual’ approach…
SelDup will find 50 exact duplicates, delete those.
Then you need to find the partially overlapping curves. I like to use SelChain>Continuity, then select one curve somewhere and see what connects to it. It will go until it reaches a spot where either there is more than one choice (probably an overlap) or it can’t go any further (gap). If there is an overlap, choose the one that looks the most likely. When you can’t go any further on one stretch, use Join and join what you have up. Then Lock that and continue. Sooner or later you will end up with a series of locked parts that make the whole closed figure more or less. At that point you can probably use Connect to connect them, which will close small gaps or mutually trim the curves together if there is an intersection. You will eventually end up with one closed curve. At that point you will see more overlapping segments that are left over, delete those.
I did these two for you with this method.
Gap in curve prevening a hatch-fixed.3dm (2.6 MB)
Thank you Helvetosaur. Much appreciated. Is this messy set of curves due to the Offset command?
Well, I don’t really like to say this, but… GIGO. On these simple types of curves, unlikely that Offset alone would produce your problem. We would need to see the original input curves you used and how you offset them to say for sure.