Is there a command/lisp to extend lines and join with multiple selections?

Is there a command/lisp to extend lines and join with multiple selections?

jboyceQPURR
Contributor Contributor
3,668 Views
4 Replies
Message 1 of 5

Is there a command/lisp to extend lines and join with multiple selections?

jboyceQPURR
Contributor
Contributor

So we exporting artwork from illustrator to send to laser and none of the lines are connecting. Is there a way to have all the lines extend to finish out  the shape then join? See the attached image, basically I want to select all those shapes, type a command, and have it close the gaps and make it a complete object, and do it all at once. It should finish looking like the object circled red.Capture.JPG

0 Likes
Accepted solutions (1)
3,669 Views
4 Replies
Replies (4)
Message 2 of 5

Patchy
Mentor
Mentor

Yes, but the other way around. You Pjoin all of them, then go to Properties Pallet and choose Close Polylines.

0 Likes
Message 3 of 5

jboyceQPURR
Contributor
Contributor

I shouldn've mentioned some of the lines are actually arcs - it doesnt seem to like when they are arcs. Also illustrator doesn't export the lines as joined polylines, it's just a bunch of lines. So you'd still have to go through and manually convert each set to a joined polyline. the image attached is a small sample of the file we're trying to fix. everytime an arc meets a line there is a gap. We need to close all the gaps in the file. there are thousands of these.

 

capture2.JPG

0 Likes
Message 4 of 5

Kent1Cooper
Consultant
Consultant
Accepted solution

Joining them and then forcing them to be closed will result in four-segment Polylines where you want triangles, and in some cases the added [closing] segment won't be an extension of the adjacent line or arc that you want it to be an extension of.

 

Use the PEDIT command, Multiple option, select everything [multiple groupings all at once], Join option, and give it a big-enough fuzz factor to cover the maximum expected gap.  Works with Lines and Arcs and whatever may already be Polyline, if any.  That will operate like Filleting all the nearby ends at zero radius.

Kent Cooper, AIA
Message 5 of 5

jboyceQPURR
Contributor
Contributor

That was it, perfect, thank you! We had the fuzz set to 0 so it wasn't working.

0 Likes