TheSwamp

CAD Forums => CAD General => Topic started by: Alan Cullen on October 16, 2008, 05:25:43 AM

Title: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 05:25:43 AM
Just a quicky...if you draw a polyline with width and linestyle dashed, how do you get the corners to be neat, and not broken?
Title: Re: corners on dashed polylines with width....
Post by: New Shooz on October 16, 2008, 06:35:09 AM
Instead of giving the polyline its own thickness, put them on a layer, and give the layer a lineweight ?
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 06:42:35 AM
mmmmm...Blue, I've never used that before...wanna talk me through how that's done.

In the meantime I'll have a play with it......

Thanks, mate.
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 06:47:13 AM
Couldn't get it to work, mate
Title: Re: corners on dashed polylines with width....
Post by: jonesy on October 16, 2008, 06:52:59 AM
is it anything to do with the linetypegen?

in enabled the linetype is the same dash length and gap all the way round, but if its disabled each segment will start and end with a line.

is that what you want?
Title: Re: corners on dashed polylines with width....
Post by: New Shooz on October 16, 2008, 07:00:26 AM
ok Alan, Let's presume you want a polyline that will show up on your paper as being 1mm wide, blue in colour and dashed.
I would create a layer called (for this example) Polyline, set its colour to be 5, it's linetype to Dashed, and its lineweight to be 1mm.
Set the layer created above to be the current layer, ready to be drawn upon.
Then I would draw the polyline.
That's presuming that jonesy is on the right track also.
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 07:05:16 AM
Sorry Tracey, I've already looked at plinegen...doesn't help at all.
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 07:07:37 AM
Blue...your possibility just draws a pline at width 0. I haven't tried to plot that to see what happens at plot time. Maybe I should do that now.....be back shortly......
Title: Re: corners on dashed polylines with width....
Post by: New Shooz on October 16, 2008, 07:14:55 AM
you need to switch your LWDISPLAY to on to see its width on screen Alan
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 07:15:01 AM
Okay.....what happens is the outside of the corners plots rounded. Could be a cui setting. But the main thing is lineweights don't comply with required thickness. In other words, a thickness of 2mm is not achieved by setting lineweight to 2mm. I'm going to have a play with the corners in the ctb file........be back again soon.....
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 07:30:07 AM
Wow.....thank you very much Blue.

You are still a guru. I'm still really impressed with your knowledge. That worked. I'm amazed. Thank you, thank you, thank you.

Now to put all that in some form of text. It really is a complicated way to go about it.

Maybe you should suggest to Tiger it will make a great FAQ......

Once again...thanks a heap mate.
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 07:59:39 AM
Blue, just for you mate.......

http://www.autocadeverything.com/help/showthread.php?p=15732#post15732

Go check it out........
Title: Re: corners on dashed polylines with width....
Post by: New Shooz on October 16, 2008, 08:02:56 AM
Woohooo, I'm famous; didn't know I was called LCD tho  :lmao:
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 08:05:37 AM
Hey...it's been a long time...so I forgot...so shoot me...no, don't do that.......
Title: Re: corners on dashed polylines with width....
Post by: Matt__W on October 16, 2008, 08:23:08 AM
is it anything to do with the linetypegen?

in enabled the linetype is the same dash length and gap all the way round, but if its disabled each segment will start and end with a line.

is that what you want?

Geez Tracey... I thought you would've posted >>this (http://www.theswamp.org/index.php?topic=23399.msg282452#msg282452)<< as a response.  :wink:
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 08:27:00 AM
yeah, that works, but not with a dashed linestyle.......
Title: Re: corners on dashed polylines with width....
Post by: jonesy on October 16, 2008, 08:31:09 AM
is it anything to do with the linetypegen?

in enabled the linetype is the same dash length and gap all the way round, but if its disabled each segment will start and end with a line.

is that what you want?

Geez Tracey... I thought you would've posted >>this (http://www.theswamp.org/index.php?topic=23399.msg282452#msg282452)<< as a response.  :wink:
The linetype gen is more common than others errors (well here anyway)
I was going with a process of elimination.  I was :)

(I think I got away with forgetting I'd posted that thread)
Title: Re: corners on dashed polylines with width....
Post by: Matt__W on October 16, 2008, 08:34:32 AM
yeah, that works, but not with a dashed linestyle.......
Can you use MLINE instead?
Title: Re: corners on dashed polylines with width....
Post by: Alan Cullen on October 16, 2008, 10:24:57 AM
Tried the MLINE options....while the outside planted itself as a dashed line....the infill didn't.......and the issue of setting up the MLINE options existed...it was a cumbersome way to go about it......so that option was right out......