projection#

devsrf.projection(p0: str) int#

Specifies the type of coordinate projection, or mapping, that the developed surface part represents.

The meridianal component is defined as m = SQRT(r^2 + z^2).
The default projection is (theta,z).
Args:
p0:

‘type’

  • Includes the following types of coordinate projections, or mapping, in (abscissa, ordinate) frame of reference:

  • r,z

  • theta,z

  • m,theta

  • m,r

  • theta,r

Examples:
ensight.part.select_begin(3)
ensight.part.modify_begin()
ensight.devsrf.projection("m,theta")
ensight.part.modify_end()
ensight.viewport.select_begin(1)
Returns:

zero on success, non-zero on error