Jump to content

Recommended Posts

Posted

Hi guys, I have one problem that is really anoying, here goes; I want to align hatches to specific object, here is what I have (Hatch_Example_After.dwg).

 

Simply put, I have very large amount of hatches which need to be aligned to object that is in. Right now, I first must read angle at which object is, reduce it by 45, and put that value into the hatch angle. As you can see, that is tedious, and time consuming.

I would like to have something like ROTATE TEXT, that works with hatches.:glare:

Hatch_Example_Before.dwg

Posted

Set up a UCS for each area using the object (entity) option, and pick the bottom line near the left hand end for the object. All your hatches will then be at the required angle without your having to find out angles.

Posted
Set up a UCS for each area using the object (entity) option, and pick the bottom line near the left hand end for the object. All your hatches will then be at the required angle without your having to find out angles.

 

Thanks for reply, but problem is that object boundaries are not parallel, and messing with every object's UCS is not making my job any easier. I need something like command that would make rotation 1 step job.:roll:

Posted

I meant for you to set up an un-named temporary UCS as you work on each object. It is set up by one click on that object that you are working on.

Posted
I meant for you to set up an un-named temporary UCS as you work on each object. It is set up by one click on that object that you are working on.

 

Making UCS to the object, than hatching, takes longer, because you need to first set UCS, and then hatch every object to the drawing. Its easier to hatch to every object in drawing, and then just copy/paste angle of object to the hatch properties.

Nwm, thanks for reply m8.

Posted

I was thinking of hatching one object at a time and setting the ucs for each object.

 

If you hatch everything in one go, then the whole lot change angle when you edit the angle (in my version). Therefore you have to hatch one at a time, and to my mind it would be easier to set the ucs before you hatch each shape rather than to edit each angle afterwards.

 

Setting the UCS only takes 5 seconds which must be shorter than editing the angle :shock:.

Posted

It became interesting... and I has composed a small program

581281319921.gif

But I have not found a system variable which is responsible for a format of angle, therefore the format of angle should be - degrees, it is possible to check up Format -> Units or command units

Geo_hatch.LSP

Posted

This lisp works like charm, thanks m8! It will save me alot of time!

Posted
Not at all!

What means m8?

 

m8=friend!:D

Posted
m8=friend!:D

It is good!

And on more in detail it is possible, I not English-speaking, from where it? In what interrelation? Where logic?

Posted

'm8' is one of the abbreviations used by people who can not be bothered to type out a word in full.

 

As this is an international forum, it is well to remind people that English may not be the first language for many, and it is more polite to use full words rather than abbreviations.

 

m8 is a shortening from the sounds of the two characters said in English, 'em' and 'eight'. When said as one, it sounds like 'mate'

 

Here is a link to one such website which gives some information.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...