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 .. image:: images/Trim_panel.png
25 - **Segment** is used to select a segment to remove in the view.
27 The selected segment is highlighted in the view:
29 .. image:: images/Trim_segment_sel.png
37 .. py:function:: Sketch_1.addTrim(Feature, PositionPoint)
39 :param object: Line, arc or circle.
40 :param object: Position point.
41 :return: Result object.
42 **Arguments**: feature (line, arc or circle) and position point (a point on or closest to the segment to remove)
47 Created Trim appears in the view.
49 .. image:: images/Trim_res.png
55 **See Also** a sample TUI Script of :ref:`tui_create_trim` operation.