Middle point constraint¶
Middle point constraint forces a point to middle of a line.
To create a Middle point in the active Sketch:
select in the Main Menu Sketch - > Middle point item or
click
Middle point button in Sketch toolbar:
There are 2 algorithms for creation of a middle constraint:
By object and point create a middle constraint by object (segment or arc) and point
By object create a middle point on the object (segment or arc)
By object and point¶
Property panel:
Input fields:
First object is a point or a line selected in the view.
Second object is a point or a line selected in the view.
Note that one of two objects should be a line and the other a point (i.e. a point, a line or an arc end point, a center of a circle or an arc).
TUI Command:
-
Sketch_1.setMiddlePoint(Point, Line)¶ - Parameters
object – A point.
object – A line.
- Returns
Result object.
By object¶
Property panel:
Input fields:
Object is a line selected in the view.
TUI Command:
-
SketchPoint_1 = Sketch_1.setMiddlePoint(Line) - Parameters
object – A line.
- Returns
Created middle point.
Result¶
Created Middle point constraint appears in the view.
Created middle point constraint¶
See Also a sample TUI Script of Create Middle point constraint operation.
