1 .. |trim.icon| image:: images/Trim.png
6 | The Trim operation trims away the specified segment of the curve.
7 | The curve should have points lying on it or intersections with other curves.
8 | Open curves (line or arc) require one or more points; closed curves (circle) require two or more points.
10 To create a Trim in the active Sketch:
12 #. select in the Main Menu *Sketch - > Trim* item or
13 #. click |trim.icon| **Trim** button in Sketch toolbar:
17 .. figure:: images/Trim_panel.png
24 - **Segment** is used to select a segment to remove in the view.
26 The selected segment is highlighted in the view:
28 .. figure:: images/Trim_segment_sel.png
35 .. py:function:: Sketch_1.addTrim(Feature, PositionPoint)
37 :param object: Line, arc or circle.
38 :param object: Position point.
39 :return: Result object.
41 **Arguments**: feature (line, arc or circle) and position point (a point on or closest to the segment to remove)
46 Created Trim appears in the view.
48 .. figure:: images/Trim_res.png
53 **See Also** a sample TUI Script of :ref:`tui_create_trim` operation.