Journal - CrossHatch Issue
Journal - CrossHatch Issue
(OP)
Hello Eng-Tips. I have an problem with the attached journal. This journal build a set of line with crosshatch inside the enclosed area but when the postion of the lines change the crosshatch is build outside the enclosed area. So far I couldn't found the problem, can anyone take a look??.
BestRegards
BestRegards





RE: Journal - CrossHatch Issue
I changed/added the highlighted code in your AddCrossHatch function.
CODE
www.nxjournaling.com
RE: Journal - CrossHatch Issue
BestRegards.
RE: Journal - CrossHatch Issue
Note: the code I added was for testing and is not very robust. It assumes Lines(0) is going to be an arc; but since all your curves are arcs, this is a pretty safe assumption. However, should you use this code "as is" on a region made only of lines or a mixture of curve types, it will probably fail. I'll leave it as an "exercise for the reader" to modify the code if/when it is necessary.
www.nxjournaling.com
RE: Journal - CrossHatch Issue
BestRegards, and thanks for your help!!!.