Thanks & it is great actually!
But how to convert the lines into pline when they are line segments?
Pedit, (J)join, (W)width
Thanks for your input.
But sorry, I am talking about how to write this part of joining line segments in the lisp.
I am able to apply the pedit-joint methods.
Obviously, I have to select the line segments before joining them together.
So the real question is how to select the line segments after the semicircle(s) was added at the intersection(s).