How to join rectangles and circles between them

How to join rectangles and circles between them

tongkezhou21
Participant Participant
4,893 Views
22 Replies
Message 1 of 23

How to join rectangles and circles between them

tongkezhou21
Participant
Participant

I have a pattern made up of a lot of lines and circles between lines. I fill (off) and regen it. Some rectangles and circles are generated. But there are a lot of lines inside circles. And I want to join all of them and then get some closed polygons. How could I do? 1.png is snapshot of a part of pattern after fill and regen. 2.png is the cirles with lines. 3.png is what I want.

 

Thanks a lot for your kind help.

0 Likes
4,894 Views
22 Replies
Replies (22)
Message 21 of 23

dmfrazier
Advisor
Advisor

Ignore.

0 Likes
Message 22 of 23

Kent1Cooper
Consultant
Consultant

Again, we have a terminology issue.  If they're Donuts [Polylines of a specific configuration], they're not Circles, however circular they may be.

 

The reason it fails is that PLWO gives the Polyline zero width, then Offsets it by half its former constant width, in both directions, then deletes the original.  OFFSET itself is the problem, because it refuses to Offset inward when that means down to a point.  So it won't work on a Donut with zero inside radius.  Since that fails, the process is interrupted, and the original taken to zero width does not get deleted -- that's the smaller what-looks-like-a-circle remaining, and depending on the drawn direction of the original Polyline, it might be the only one.

 

I suppose it would be possible somehow to adjust PLWO to recognize that situation, and Offset in only the outward direction.  I'll have to think about that.

Kent Cooper, AIA
Message 23 of 23

tongkezhou21
Participant
Participant

Thank you so much for your kind reply and help.

0 Likes