1<tip category="Kig"> 2<html> 3<p>You can control a kig construction by means of a "pykig" 4python script, that can be executed with the command 5<code>pykig.py</code>. Here is a nice example 6(<code>hexagons.kpy</code>) you can try: 7<code><pre> 8kigdocument.hideobjects() 9def hexagons (c, v, n): 10 hexagon = PolygonBCV (c, v, 6) 11 if n <= 0: 12 hexagon.show() 13 for i in range(6): 14 PolygonSide (hexagon, i, True) 15 return 16 cnew = MidPoints (c, v) 17 hexagons (cnew, v, n-1) 18 for k in [2,4]: 19 v1 = PolygonVertex (hexagon, k) 20 cnew = MidPoints (c, v1) 21 hexagons (cnew, v1, n-1) 22hexagons (Point(0,0), Point(1,0), 5) 23</pre></code> 24</html> 25</tip> 26 27<tip category="Kig"> 28<html> 29<p>You can repeat the latest construction simply by pressing the key 30'Z'; this comes in very handy if you need to construct a sequence 31of objects with the same construction, especially if there is 32no shortcut for that construction.</p> 33</html> 34</tip> 35 36<tip category="Kig"> 37<html> 38<p>One of the most powerful tools in Kig are the menus that you can 39enter by right-clicking on an object, or on some empty space in the 40document. You can use them to give objects names, change their colors 41and line styles, and lots of other interesting things.</p> 42</html> 43</tip> 44 45<tip category="Kig"> 46<html> 47<p>You can construct new points without using the menu or the toolbar, simply 48clicking somewhere on the Kig document with the <em>middle mouse 49button</em>.</p> 50</html> 51</tip> 52 53<tip category="Kig"> 54<html> 55<p>Kig can open several file formats: its files (<code>.kig</code> files), 56<em>KGeo</em> files, <em>KSeg</em> files, and, partially, <em>Dr. Geo</em> 57and <em>Cabri™</em> files.</p> 58</html> 59</tip> 60 61<tip category="Kig"> 62<html> 63<p>Kig has more than 20 objects and 10 transformations with more than 80 64constructions you can use in your documents: open the <em>Objects</em> 65menu to see them all.</p> 66</html> 67</tip> 68 69<tip category="Kig"> 70<html> 71<p>You can use the selected objects to start the construction of an object 72which requires the selected objects as arguments. For example, if you have two 73points selected, you can choose <em>Start->Circle by Three Points</em> from the 74popup menu to start constructing a circle by three points.</p> 75</html> 76</tip> 77 78<tip category="Kig"> 79<html> 80<p>Kig can extends its object set using external macros. You can find some 81interesting macros on the Kig website: 82<a href="https://edu.kde.org/kig">https://edu.kde.org/kig</a>.</p> 83</html> 84</tip> 85 86<tip category="Kig"> 87<html> 88<p>If you have more than one object under the mouse, and you want to select any 89of them, you can click with the <em>left mouse button</em>, while holding the 90<em>Shift</em> key, to get a list of the objects under the mouse cursor which 91you can then select from.</p> 92</html> 93</tip> 94 95<tip category="Kig"> 96<html> 97<p>When you construct a locus, you can click on it with the <em>right</em> mouse 98button and select <em>cartesian equation</em> to see its cartesian equation, 99whenever it is an algebraic curve of low degree.</p> 100</html> 101</tip> 102