Wireforming workbench proposal

I would like to create a wire forming workbench for freecad. In order to create a wire form with my workbench the user would begin by creating a closed sketch with a center line drawn in it.

The user would have 3 operations that they could use to form the wire:

Here is an example of extruding:

And here we bend by 90 degrees around a virtual bar which has the radius of 2mm.

Here is the same result viewed from a different angle. (Don't mind the red arrow, it shouldn't be there)

Here we turn the center line by 90 degrees in order to change the axis around which bending occures.

And here we bend the wire again, this time around the new axis.

Now lets make a spring:

We start with a sketch to extrude.

We extrude it.

And we bend it by 1080 degrees around a virtual rod that has a radius of 2mm. We draw it(pull it) along that rod by 9mm, thus creating a spring.

So how do the mechanics of bending work?

If you were to place a plane upon the end of our wire, and place a perpendicular plane 2mm from the end of our center line then the intersection of the two planes would form our axial rod.