seam_vector#
- devsrf.seam_vector(p0: float, p1: float, p2: float) int #
Specifies the vector perpendicular to the axis of revolution which points in the direction of the seam line.
This vector does not specify the actual direction of the seam line by which the surface is split. Rather it indirectly specifies the location of the seam line via defining a vector perpendicular to and emanating from the axis of revolution which points to the seam (and thus, is consequently perpendicular to the seam).- Args:
- p0:
‘x_comp’ cartesian x, y, z vector components of a vector perpendicular to and starting from the axis of revolution and pointing to the seam line
- p1:
‘y_comp’ cartesian x, y, z vector components of a vector perpendicular to and starting from the axis of revolution and pointing to the seam line
- p2:
‘z_comp’ cartesian x, y, z vector components of a vector perpendicular to and starting from the axis of revolution and pointing to the seam line
- Examples:
# # Modify the default # ensight.devsrf.select_default() ensight.part.modify_begin() ensight.devsrf.origin(5.0000e-01,5.0000e-01,0.0000e+00) ensight.devsrf.axis(0.0000e+00,0.0000e+00,1.0000e+00) ensight.devsrf.seam_vector(1.0000e+00,0.0000e+00,0.0000e+00) ensight.part.modify_end()
- Returns:
zero on success, non-zero on error