In the first case you can do it several different ways:
1) two markers that define center and radius
2) two diametral positions on the surface . The center marker can then be parameterized to be the center point between those markers. You have to define the direction some other way.
3) Use three markers that will now make up a plane whose normal is the direction of the cylinder. A bit more complex to define the radius.
The second case is trivial. Use LOC_RELATIVE_TO(LOC_CYLINDRICAL(radius, angle, height), center_marker) to define the location of markers on the surface of a cylinder with given radius.
In the first case you can do it several different ways:
1) two markers that define center and radius
2) two diametral positions on the surface . The center marker can then be parameterized to be the center point between those markers. You have to define the direction some other way.
3) Use three markers that will now make up a plane whose normal is the direction of the cylinder. A bit more complex to define the radius.
The second case is trivial. Use LOC_RELATIVE_TO(LOC_CYLINDRICAL(radius, angle, height), center_marker) to define the location of markers on the surface of a cylinder with given radius.