TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: cjw on March 10, 2009, 01:20:37 AM

Title: [HELP]Deal with the cross of the wall!
Post by: cjw on March 10, 2009, 01:20:37 AM
May be post the picture could express clearly.

After think with my best,still have no idea.

Just guess.may be could solve it by "break",however No way out.

TheSwamp super man(may be woman?)...please help!
Title: Re: [HELP]Deal with the cross of the wall!
Post by: cjw on March 10, 2009, 01:26:43 AM
The animation: (My stupid method)
Title: Re: [HELP]Deal with the cross of the wall!
Post by: CADaver on March 10, 2009, 01:44:45 AM
even your way would be faster if you turned off the red layer.
Title: Re: [HELP]Deal with the cross of the wall!
Post by: FengK on March 10, 2009, 01:47:33 AM
I think this (http://www.theswamp.org/index.php?topic=10370.0) should help, Thanks to CAB. Some tweaking might be needed.
Title: Re: [HELP]Deal with the cross of the wall!
Post by: TimSpangler on March 10, 2009, 07:08:49 AM
Here are 3 routine that I use

One for T intersections.
One for X intersections
One for L intersections

I have collected these from various places, put them together and tweaked them to work.  There is much room for improvement.  Enjoy
Title: Re: [HELP]Deal with the cross of the wall!
Post by: cjw on March 10, 2009, 10:55:49 AM
Here are 3 routine that I use

One for T intersections.
One for X intersections
One for L intersections

I have collected these from various places, put them together and tweaked them to work.  There is much room for improvement.  Enjoy

Thanks very much,TimSpangler

and thank you CADaver , xycadd
Title: Re: [HELP]Deal with the cross of the wall!
Post by: Spike Wilbury on March 10, 2009, 10:58:53 AM
Or... you can draw the center lines, and type the width and all of the cleaning can be done with:

AutoWalls.-

http://www.theswamp.org/index.php?topic=7180.msg88472#msg88472


Maybe...
Title: Re: [HELP]Deal with the cross of the wall!
Post by: uncoolperson on March 10, 2009, 11:10:21 AM
mledit
Title: Re: [HELP]Deal with the cross of the wall!
Post by: wizman on March 10, 2009, 02:03:42 PM
also you can,

draw centerline (use one polyline  leaving one point of the star open like in your figure), then offset  the centerline inside and offset outside then you can arrive at your figure.  It only works for open polylines with start and endpoints not coincident.
Title: Re: [HELP]Deal with the cross of the wall!
Post by: cjw on March 10, 2009, 11:58:03 PM
Or... you can draw the center lines, and type the width and all of the cleaning can be done with:

AutoWalls.-

http://www.theswamp.org/index.php?topic=7180.msg88472#msg88472


Maybe...

Luis,
wawa,AutoWalls is amazing. Good work.
Thank you...
Title: Re: [HELP]Deal with the cross of the wall!
Post by: cjw on March 10, 2009, 11:59:09 PM
mledit

The wall and center is "LINE" ,already.
Title: Re: [HELP]Deal with the cross of the wall!
Post by: cjw on March 11, 2009, 12:01:25 AM
also you can,

draw centerline (use one polyline  leaving one point of the star open like in your figure), then offset  the centerline inside and offset outside then you can arrive at your figure.  It only works for open polylines with start and endpoints not coincident.

I don't quite understand. hehe :lol:
Title: Re: [HELP]Deal with the cross of the wall!
Post by: wizman on March 11, 2009, 12:27:54 AM
also you can,

draw centerline (use one polyline  leaving one point of the star open like in your figure), then offset  the centerline inside and offset outside then you can arrive at your figure.  It only works for open polylines with start and endpoints not coincident.

I don't quite understand. hehe :lol:



sorry for confusing, here's a gif:


Title: Re: [HELP]Deal with the cross of the wall!
Post by: cjw on March 11, 2009, 03:03:48 AM
After think long time...
I find a way to make it work...

with the method: region union

look this

Title: Re: [HELP]Deal with the cross of the wall!
Post by: Spike Wilbury on March 12, 2009, 10:06:54 AM
That's looks good CJW,

And that's also the beauty of AutoLISP... :)