Can I get a hand creating a custom hatch?

Can I get a hand creating a custom hatch?

tellis
Enthusiast Enthusiast
1,026 Views
6 Replies
Message 1 of 7

Can I get a hand creating a custom hatch?

tellis
Enthusiast
Enthusiast

Hi guys,

 

I have a pattern which I want to turn into a hatch, but I don't have knowhow to do it through CAD LT and I don't have full CAD available to me right now. Can I ask one of you lovely people to help turn the attached pattern into the hatch file? 

 

Thanks!

0 Likes
Accepted solutions (1)
1,027 Views
6 Replies
Replies (6)
Message 2 of 7

Kent1Cooper
Consultant
Consultant

How important is the specific angle of the ends?  Because of the way linesets are defined in Hatch pattern definitions, it would be a lot easier if that could be tweaked [sharpened] just a little so that the red piece lies along a continuation of the green piece:

Hatch.PNG

It would make this much difference:

Hatch2.PNG

Kent Cooper, AIA
Message 3 of 7

tellis
Enthusiast
Enthusiast

If it makes sense to do that slight adjustment then go for it. Thanks!

0 Likes
Message 4 of 7

Kent1Cooper
Consultant
Consultant
Accepted solution

Never mind -- it's not too far before an aligning edge occurs, so it's just a matter of a fairly long pen-up [negative-number] designation at the end of the diagonal lineset code lines.  Try this [minimally tested]:

 

;; TEST.pat -- only ONE definition, called *TEST [copy to separate file with real pattern name]

*TEST, description here if desired
90, 0,0, 11.75,1, 10.5,-13
231.34019175, 0,0, 14.79746394,0.31234752, 1.60078106,-73.63592873
308.65980825, 0,0, 14.79746394,-0.31234752, 1.60078106,-73.63592873

 

NOTE that while this code window doesn't allow it, if you put this in a .pat file of its own, it needs to end with a hard return / blank line, not just at the end of the code content.  And the file name [not including the .pat filetype ending] must exactly match the pattern name defined in it.

Kent Cooper, AIA
0 Likes
Message 5 of 7

tellis
Enthusiast
Enthusiast

Thanks for sending this, but it won't load the hatch. I can see it within my hatch drop down menu but wont' select it. 

0 Likes
Message 6 of 7

Patchy
Mentor
Mentor

Put a blank space at the end of the definition.

pat.jpg

 

 

0 Likes
Message 7 of 7

tellis
Enthusiast
Enthusiast

Got it! I did have the space there but I had to remake the file and it ended up working. 

 

Thanks!

0 Likes