Jump to content
vernonlee

HELP: Have hatch pattern but cannot align hatch pattern exactly.

Recommended Posts

[ATTACH]53430[/ATTACH]

 

Is this what you mean?

 

No. Basically i can hatch with same patten but as you can see their position is not the same when you hatch it. I need it to be the same.

 

Thanks

Share this post


Link to post
Share on other sites

Before opening the drawing, I thought for sure it was a matter of adjusting the base point but there is something weird happening when I play with it.

 

Copying one of the hatches gives the desired result.

Share this post


Link to post
Share on other sites
Before opening the drawing, I thought for sure it was a matter of adjusting the base point but there is something weird happening when I play with it.

 

Copying one of the hatches gives the desired result.

 

Hi Rob, perhaps to add on, i have to hatch another pline of a different shape but i need the hatch to line up excately the same as the origin patten.

Share this post


Link to post
Share on other sites

Thank goodness we now use CAD to create drawings. It allows us to concentrate on less important aspects of our drawings.

Share this post


Link to post
Share on other sites

By default AutoCAD uses (0,0), as the base point for starting a hatch. The patterns are lined up with each other. Think of it as one big hatch pattern but you are only seeing bits and pieces of it. Adjusting the position of the pattern is done by changing the origin of the pattern and can be difficult to achieve what you are saying.

 

That being said, when I did that with your file I got the unexpected result of the pattern looking like it changed scales but the value did not change.

 

An alternative would be move the pattern to be where you want it and then adjust the boundary to match the shape.

Share this post


Link to post
Share on other sites
Thank goodness we now use CAD to create drawings. It allows us to concentrate on less important aspects of our drawings.

 

I'm not sure how this helps.

Share this post


Link to post
Share on other sites

Thanks Rob for trying. I though i was missing something on the setting or system variables but i tried whatever i could adjust but to no avail.

 

BTW, there is no LISP or method to find where the actual origin point is plus the exact scale & angle?

 

The alternative is a very difficult mission, not to mention i cannot even get the exact scale & angle to match.

 

By default AutoCAD uses (0,0), as the base point for starting a hatch. The patterns are lined up with each other. Think of it as one big hatch pattern but you are only seeing bits and pieces of it. Adjusting the position of the pattern is done by changing the origin of the pattern and can be difficult to achieve what you are saying.

 

That being said, when I did that with your file I got the unexpected result of the pattern looking like it changed scales but the value did not change.

 

An alternative would be move the pattern to be where you want it and then adjust the boundary to match the shape.

Share this post


Link to post
Share on other sites

It was a compliment.

 

vernon: Is this what you are trying to achieve?

 

HatchMatch.jpg

 

As it turns out the hatch pattern on the right is not an exact match. While your hatch pattern angle is called out as being 102 it is really 99.4316.

Share this post


Link to post
Share on other sites

(First, a little pet peeve of mine is when someone asks for code before finding out how to do it without.)

 

The properties of a hatch can be obtained and changed in more than one way. The ribbon and the properties box have the tools you are looking for. I'm not sure that is going to help you with this file, though. Those hatches are not behaving properly.

Share this post


Link to post
Share on other sites
It was a compliment.

 

I'm a bit slow on the sarcasm uptake this morning. I get your OP, now.

Share this post


Link to post
Share on other sites

Have another eight cups of coffee and you'll be right as rain in no time.

Share this post


Link to post
Share on other sites

The hatch pattern on the left, in magenta, matches the angle and scale of your original.

 

HatchMatchFix.jpg

Share this post


Link to post
Share on other sites

Hi Remark,

 

Yes. Just that the patten is not align if you alight the top right hand edge. It looks close though

 

It was a compliment.

 

vernon: Is this what you are trying to achieve?

 

[/ATTACH]

 

As it turns out the hatch pattern on the right is not an exact match. While your hatch pattern angle is called out as being 102 it is really 99.4316.

Share this post


Link to post
Share on other sites

Looking close is not the same as exact. Did you see my second attempt?

Share this post


Link to post
Share on other sites

Firstly, great, but how did you find out the exact scale & angle? I hatch by inhert properties & also by measuring the angle of the HEX patten after exploding it, i still cannot get it to match.

 

2ndly, is it possible to find out the exact origin point?

 

Thanks

 

The hatch pattern on the left, in magenta, matches the angle and scale of your original.

 

Share this post


Link to post
Share on other sites
(First, a little pet peeve of mine is when someone asks for code before finding out how to do it without.)

 

The properties of a hatch can be obtained and changed in more than one way. The ribbon and the properties box have the tools you are looking for. I'm not sure that is going to help you with this file, though. Those hatches are not behaving properly.

 

Hi Rob, I understand what you mean. In my defense, i posted on non-LISP forum & only mention LISP when it seems not possible to find the exact origin point :oops:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×