@jetted4 wrote:
.......Is there any option or command or lsp program that would autoadjust the positioning of the line/spline segments so that they meet end to end so that the join command will work?
(the gap between them is so small it wouldn't make a difference which segment got moved in terms of the drawing appearance)........
.......Sometimes hatching an area within a series of unjoined pieces will work, but sometimes it bleeds so I have to either redraw the shape or find all of the broken points and attach them before joining in order to get the hatch to work......
You can do it. Try this.
Use HPGAPTOL on you hatch. So far, you’ve experimented with Spline-This-and-That and Polyline-This-and-That. What you haven’t tried, though, is investigated the hatch component of your opening post. Try using the HPGAPTOL variable which addresses the boundary, or more specifically, the gap on your hatch area.
You can set you gap tolerance in the System Variables dialog window. Simply go to Express Tools tab=>Tools panel=>System Variables button. The default value is 0 which means only ‘closed’ boundaries will accept hatch. See image-1.
Image-1.
You can also set the gap tolerance in hatch settings. See image-2.
Image-2.
The strange thing about the HPGAPTOL variable though, is its behavior. Sometimes it performs as expected while at other times it doesn’t. Too bad, although it’s a good way to hatch areas without having to mess around with closing the space in between lines its unexpected results make it somewhat difficult to work with. Here’s an exercise I performed to illustrate the whacky behavior.
EXPERIMENT 1:
I started with 4 polygons, each with identical dimensions and each with a gap measuring 2 drawing units wide. I set the HPGAPTOL to 3.0 which is greater than the actual gap. I then hatched each polygon using a different hatch pattern. Using the SELECT POINTS option of the HATCH command, the 2.0 gap was ignored and the polygon was hatched as expected. See image-3.
Image-3.
EXPERIMENT 2:
I repeated the experiment but this time using SELECT OBJECTS option to hatch each polygon. This time the results varied. All hatch patterns ANSI31, Earth and Hex were whacky, each had ‘missing lines’ while the Solid pattern didn’t hatch at all. See image-4.
Image-4.
Next I drew four new, or two pairs, of boundaries: spline & spline and polyline & spline to ascertain the effects of HPGAPTOL on boundaries other than a ‘broken polygon.’ Dimensions of the four gaps are shown below. See image-5.
Image-5.
EXPERIMENT 3:
I kept the HPGAPTOL=3.0, again a value greater than the actual gap. All hatch failed at 3.0 tolerance. I then decreased the tolerance to 0.6 which is still greater than the dimensioned gaps. At 0.6 tolerance, only the polyline & spline boundary produced a hatch while spline & spline boundary did not. Next, I increased the tolerance from 0.6 to 1.0. Surprisingly, the 1.0 tolerance produced hatch on both pairs of boundaries albeit with whacky results. See image-6.
Image-6.
For spline & spline boundary only ANSI31 honored the boundary while Earth, Hex and Solid extended their pattern beyond the spline & spline.
For polygon & spline boundary, all 4 patterns honored the boundary. Two patterns, earth and hex, had incomplete patterns (lines within their pattern were missing).
CONCLUSION:
Using HPGAPTOL may (or may not) give you a hatch pattern without manipulating the geometry of your original line work, if and only if, you use the right hatch pattern at the right gap tolerance. Finding the gap sweet spot, or a tolerance value that’s not too small and not too large will solve your problem, not finding a way to marry a spline with a polyline to close the gap.
Chicagolooper
