Translations:Manual:Creating and manipulating geometry/59/en

All of the above, and much more, is explained in detail on the Part Scripting page, together with examples.