3dwannab Posted Sunday at 06:05 PM Share Posted Sunday at 06:05 PM I've downloaded some stone hatch patterns and would like to simplify the hatch pattern so I was wanting to draw a rectangle around the repeatable hatch pattern, explode it, simplify it and then create a new hatch pattern based of that. See attached .dwg and .pat file. Hatch Pattern (How Do I Draw Around the Repeatable Pattern).dwg Muratura-pietra-02.PAT Quote Link to comment Share on other sites More sharing options...
eldon Posted Monday at 03:14 PM Share Posted Monday at 03:14 PM The second and third terms of each line in the pattern file are the coordinates of the start of a line. So one can extract all points, all 3059 lines in this hatch pattern. Then they can be plotted and one can see the repeatable pattern and draw a rectangle around it. Hatch patterns usually start at 0,0 coordinate, so a good start is to draw a 1x1 rectangle from 0,0. This actually was the case here. Although there are 3059 lines in this hatch pattern, there were also 15 gaps which are plainly visible when zoomed in. Quote Link to comment Share on other sites More sharing options...
3dwannab Posted Monday at 11:04 PM Author Share Posted Monday at 11:04 PM (edited) I see, thanks. I was aware of that but for some reason I must've messed up somewhere. I'm not having much luck getting this one though. Hatch-Stone-01.pat This is it at scale 1 with a 1x1 square. Edited Monday at 11:06 PM by 3dwannab Quote Link to comment Share on other sites More sharing options...
eldon Posted Tuesday at 07:57 AM Share Posted Tuesday at 07:57 AM I used a 100 x 100 square and it showed up. The main pattern seemed to be within a 50 x 50 square, but there were some line start points outside this square. They may be duplicates, I have not got the energy to delve deeper. Or they may be valid points, just initiating outside the square. That should not matter. 1 Quote Link to comment Share on other sites More sharing options...
3dwannab Posted Tuesday at 06:31 PM Author Share Posted Tuesday at 06:31 PM Thanks. I would love to have the skills to write a program to read a pat file, create a square boundary, hatch it with a scale of 1 so I could explode it, fix it, and then export the .pat file again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.