API

Enumeration GreasedLineRibbonAutoDirectionModeConst

Only with POINTS_MODE_PATHS. AUTO_DIRECTIONS_FROM_FIRST_SEGMENT sets the direction (slope) of the ribbon from the direction of the first line segment. Recommended. AUTO_DIRECTIONS_FROM_ALL_SEGMENTS in this mode the direction (slope) will be calculated for each line segment according to the direction vector between each point of the line segments. Slow method. AUTO_DIRECTIONS_ENHANCED in this mode the direction (slope) will be calculated for each line segment according to the direction vector between each point of the line segments using a more sophisitcaed algorithm. Slowest method. AUTO_DIRECTIONS_FACE_TO in this mode the direction (slope) will be calculated for each line segment according to the direction vector between each point of the line segments and a direction (face-to) vector specified in direction. The resulting line will face to the direction of this face-to vector. AUTO_DIRECTIONS_NONE you have to set the direction (slope) manually. Recommended.

Index
AUTO_DIRECTIONS_ENHANCED: 2
AUTO_DIRECTIONS_FACE_TO: 3
AUTO_DIRECTIONS_FROM_ALL_SEGMENTS: 1
AUTO_DIRECTIONS_FROM_FIRST_SEGMENT: 0
AUTO_DIRECTIONS_NONE: 99