CAD plugin that joins multiple line segments into one line segment