Angle constraint¶
Angle constraint fixes the angle between two lines.
To create an Angle constraint in the active Sketch:
select in the Main Menu Sketch - > Angle item or
click Angle button in Sketch toolbar:
Property panel:
Input fields:
Line 1 is the first line selected in the view;
Line 2 is the second line selected in the view;
Value is an angle between the lines, can be modified to set the desirable value;
- Angle type is a type of angle measurement:
- Direct is the least angle between two lines;Complementary is 180°- Direct angle between two lines;Backward is 360°- Direct angle between two lines.
- Text location is the position of the angle value label relatively to the angle line (in the view):
- Left inserts text to the left of the angle line;Automatic inserts text it the middle of the angle line if it has enough length, otherwise - to the left;Right inserts text to the right of the angle line.
When both lines are selected, the angle value is displayed in the property panel and in the view.
When creating the constraint, after selection of two lines at the first time:
drag the angle presentation in the view to the desired position and click once;
set desirable angle value in the input field in the view and press Enter or just press Enter to keep the current angle
TUI Commands:
-
Sketch_1.
setAngle
(Line1, Line2, Value)¶
-
Sketch_1.
setAngleComplementary
(Line1, Line2, Value)¶
-
Sketch_1.
setAngleBackward
(Line1, Line2, Value)¶ - Parameters
object – Line 1.
object – Line 2.
real – Value.
- Returns
Result object.
Result¶
Created Angle appears in the view.
See Also a sample TUI Script of Create Angle constraint operation.