Still looking for some help on this. I found this. https://www.cnblogs.com/opencascade/p/4634374.html
That code gets me closer but I still need a way to specify the pitch and total height of the helix. any help would be appreciated.
#
# make helix curve in OpenCASCADE.
# Shing Liu([email removed])
# 2015-07-08 22:00
#
pload MODELING VISUALIZATION
cylinder aCylinder 6
line aLine2d 0 0 1 1
trim aSegment aLine2d 0 2*pi
mkedge aHelixEdge aSegment aCylinder 0 6*pi
vdisplay aHelixEdge