+.. |new_part.icon| image:: images/new_part.png
+.. |remove.icon| image:: images/remove.png
+.. |duplicate.icon| image:: images/duplicate.png
.. _partPlugin:
Part plug-in
============
+.. _new-part:
+
New Part
--------
To create a New Part:
#. select in the Main Menu *Part - > New part* item or
-#. click **New part** button in Shaper toolbar:
-
-.. image:: images/new_part.png
- :align: center
+#. click |new_part.icon| **New part** button in Shaper toolbar:
-.. centered::
- New part button
+**TUI Command**:
-**TUI Command**: *model.addPart(partSet)*
+.. py:function:: model.addPart(partSet)
-**Arguments**: 1 partset
+ :param part: The current part object.
+ :return: Result object.
Result
""""""
Created empty part is activated and appears in the object browser.
-**See Also** a sample TUI Script of a :ref:`tui_create_part` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_part` operation.
Duplicate Part
--------------
-To duplicate active Part:
+To duplicate an active Part:
#. select in the Main Menu *Part - > Duplicate part* item or
-#. click **Duplicate part** button in Shaper toolbar:
-
-.. image:: images/duplicate.png
- :align: center
-
-.. centered::
- Duplicate part button
+#. click |duplicate.icon| **Duplicate part** button in Shaper toolbar:
Result
""""""
Remove Part
-----------
-To remove active Part:
+To remove an active Part:
#. select in the Main Menu *Part - > Remove part* item or
-#. click **Remove part** button in Shaper toolbar:
-
-.. image:: images/remove.png
- :align: center
-
-.. centered::
- Remove part button
+#. click |remove.icon| **Remove part** button in Shaper toolbar:
Result
""""""