PDA

View Full Version : Very complex line type



Baxuzman
25th Aug 2007, 02:10 pm
Hello,

I made some complex line types before, but now I have one that I can't do myself. I'll try to describe it (look at the file in attachment please):

There are two points and one line (or polyline) somewhere. I have to draw new line (call it baseline) between given points which should have set of little lines on it with some rules: Little lines are perpendicular to base line, and distance between them is 0.5. These little lines should stop about 10 to 14 mm from end of baseline from both sides. Drawing lines should start from midpoint of baseline to left and right, so distances from ending points of baseline to last little lines will be the same (about 10 to 14mm).
And more important is the lengths of these little lines. Every second little line should go to 0.3mm to given line (or polyline) (call it longer little lines), and every other line between that longer little lines should have a length that is half of sum of previous and next little line lengths.

It's important that somebody who take my dwg file can see this linetype on his computer.

Please, see the attachment.
This is drawn manualy.

Thanks for any help.

Alan Cullen
26th Aug 2007, 03:14 am
Batter lines. I'm pretty sure Acad can't do that, but I have been proven wrong before. I hope you get a solution, because I wouldn't mind also knowing how to set up a linestyle to do that.

Baxuzman
26th Aug 2007, 03:32 am
It's harder way to solve the problem using Lisp, but it's one of potential solutions. Another one solution is to make linetype with batter lines which will have the same lengths and then use trim (then fence) etc...
But I really hope somebody will give us some better idea here.

Thanks for response.

Baxuzman
9th Sep 2007, 03:22 pm
I wrote some lisp code, and found probably harder solution for my problem.
Anyway, it works fine. I am going to use it until I find better solution.

Thanks.

Alan Cullen
9th Sep 2007, 03:35 pm
Baxuzman,

Do you mind giving me your solution to this problem. I really would like to know how you managed this. I am involved in civil work, and I use batter linestyles all the time. I would love to be involved in this. o:)

SLW210
10th Sep 2007, 04:29 pm
Looks to me like a custom HATCH pattern might be the way to go.

Could someone explain these batter lines to me a little? I will see if a custom hatch can be done, but I need a little more info on batter lines..

Alan Cullen
10th Sep 2007, 11:52 pm
AGM,

Take the line between pts 55 and 56 on his drawing above. that is a batter line. It is a line with alternating line lenghts coming square off it. A batter line indicates a bank of sloping ground, and is normally drawn with fixed line symbol lengths. They show the top of a bank. Below are some examples of typical batter lines:

2582

PS_Port
11th Sep 2007, 12:21 am
You civil guys might be interested in this little freebie, its sort of an add-on to ACAD. It does batters by clicking top & btm plines.
I dont have much use for it but you guys might like.
http://www.glamsen.se/CadTools.htm

mdbdesign
11th Sep 2007, 12:55 am
Thanks, I love this tools

Alan Cullen
11th Sep 2007, 01:10 am
Thanks, Paul.

That looks pretty good, I'l have a play around with it at lunch time. :D

Baxuzman
11th Oct 2007, 04:25 am
Sorry for waiting Alan, I traveled a lot last month.
If you give me you e-mail I will send to you my lisp code for batter lines.

ralph
12th Mar 2008, 08:59 am
You civil guys might be interested in this little freebie, its sort of an add-on to ACAD. It does batters by clicking top & btm plines.
I dont have much use for it but you guys might like.
http://www.glamsen.se/CadTools.htm


any one know if this is still around
or have any other ways of drawing batter's?

trying to search and cant find anything out there

cheers