I’m trying to make a variation on a spring. One can imagine a normal spring being made by wrapping a round bar around a cylinder. The wrap direction is always a little bit along the axis of the cylinder as well as around it giving a constant slope upwards if the spring is upright.
Instead of wrapping around a cylinder, I want to wrap the round bar around something that has a rounded off square for a cross section,
It is important that the slope remain constant on both the straight and curved sections.
Any ideas as to how to go about this?