To enable orientation control with the spring you need to add the viz.LINK_ORI flag. Your code for creating the spring would look something like this:
Code:
spring = cyl.addSpring(viz.LINK_POS|viz.LINK_ORI,linearKd=100,linearKs=10000, angularKs=100, angularKd=10)
For apply forces the ConstantEffect should work. Does the sample script that comes with our Sensable Haptic Device download work for you?