Here’s an example of the geometry manipulation I’m working on:
Selecting these line segments:

Executing this:
r('5 MM DRAWINGS DRAWSEGMENT FILTERTYPE SELECTED ROUND')
Results in this:

The corners are rounded using arcs of specified radius. In this case, the radius is specified as 5mm.
I’m still working out the details and a lot of bugs.
Comments?