Constraint InternalAngle |
Menu location |
---|
Sketch → Sketcher constraints → Constrain angle |
Workbenches |
Sketcher |
Default shortcut |
A |
Introduced in version |
- |
See also |
Constrain distance, Constraint Perpendicular |
Constrângerea de unghi este o datum constraint având ca scop fixarea unghiurilor unei schițe. Este capabilă să definească pantele liniilor individuale, unghiurile dintre linii, unghiurile de intersecții ale curbelor și deschiderile unghiulare ale arcurilor circulare.
Sunt patru căi diferite pentru ca această constrângere să fie aplicată:
See also: Drawing aids.
Single tool
(default): press the down arrow to the right of the button and select the Constrain angle option from the dropdown.Constrângerea stabilește unghiul polar al direcției liniei. Este unghiul dintre linie și axa X a schiței.
In acest mod, constrângerea fixată unghiulară a unui arc circular.
În acest mod, constrângerea stabilește unghiul dintre două linii. Nu este necesar ca liniile să se intersecteze.
The angle between the two edges at a given point is fixed. The point can be any point, e.g. the center of a circle, the endpoint of an edge, or the origin, it can belong to either or both edges, and it can also be a Point object. If required Point on object constraint(s) are added to ensure the point lies on both (extended) edges. These additional constraints are called helper constraints.
Constrângerea Unghiulară poate fi creată cu macros și de la consola Python console utilizând următoarele:
# line slope angle
Sketch.addConstraint(Sketcher.Constraint('Angle',iline,angle))
# angular span of arc
Sketch.addConstraint(Sketcher.Constraint('Angle',iarc,angle))
# angle between lines
Sketch.addConstraint(Sketcher.Constraint('Angle',iline1,pointpos1,iline2,pointpos2,angle))
# angle-via-point (no helper constraints are added automatically when from python)
Sketch.addConstraint(Sketcher.Constraint('AngleViaPoint',icurve1,icurve2,geoidpoint,pointpos,angle))
unde:
The Sketcher scripting page explains the values which can be used for iline
, iline1
, iline2
, pointpos1
, pointpos2
, geoidpoint
and pointpos
and contains further examples on how to create constraints from Python scripts.