You can define paths using bezier curves and extrude an object along it.