Workspace analysis of a three DOF cable-driven mechanism