|
1.
|
|
|
<p>You can control a kig construction by means of a "pykig"
python script, that can be executed with the command
<code>pykig.py</code>. Here is a nice example
(<code>hexagons.kpy</code>) you can try:
<code><pre>
kigdocument.hideobjects()
def hexagons (c, v, n):
hexagon = PolygonBCV (c, v, 6)
if n <= 0:
hexagon.show()
for i in range(6):
PolygonSide (hexagon, i, True)
return
cnew = MidPoints (c, v)
hexagons (cnew, v, n-1)
for k in [2,4]:
v1 = PolygonVertex (hexagon, k)
cnew = MidPoints (c, v1)
hexagons (cnew, v1, n-1)
hexagons (Point(0,0), Point(1,0), 5)
</pre></code>
|
|
|
i18n: file: tips:2
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
<p>Du kan styra en konstruktion i Kig med hjälp av
Pythonskriptet "pykig", som kan köras med kommandot
<code>pykig.py</code>. Här är ett trevligt exempel
(<code>hexagons.kpy</code>) du kan prova:
<code><pre>
kigdocument.hideobjects()
def hexagons (c, v, n):
hexagon = PolygonBCV (c, v, 6)
if n <= 0:
hexagon.show()
for i in range(6):
PolygonSide (hexagon, i, True)
return
cnew = MidPoints (c, v)
hexagons (cnew, v, n-1)
for k in [2,4]:
v1 = PolygonVertex (hexagon, k)
cnew = MidPoints (c, v1)
hexagons (cnew, v1, n-1)
hexagons (Point(0,0), Point(1,0), 5)
</pre></code>
|
|
Translated by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:3
|
|
2.
|
|
|
<p>You can repeat the latest construction simply by pressing the key
'Z'; this comes in very handy if you need to construct a sequence
of objects with the same construction, especially if there is
no shortcut for that construction.</p>
|
|
|
i18n: file: tips:28
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Du kan upprepa den senaste konstruktionen genom att helt enkelt
trycka på tangenten 'Z'. Det är mycket praktiskt om du behöver skapa en
följd av objekt med samma konstruktion, särskilt om det inte finns någon
snabbtangent för konstruktionen.</p>
|
|
Translated by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:28
|
|
3.
|
|
|
<p>One of the most powerful tools in Kig are the menus that you can
enter by right-clicking on an object, or on some empty space in the
document. You can use them to give objects names, change their colors
and line styles, and lots of other interesting things.</p>
|
|
|
i18n: file: tips:37
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Ett av de mest kraftfulla verktygen i Kig är menyerna som du kan
visa genom att högerklicka på ett objekt, eller på en tom yta i
dokumentet. Du kan använda dem för att ge objekt namn, ändra deras
färg och linjestil, och många andra intressanta saker.</p>
|
|
Translated and reviewed by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:36
|
|
4.
|
|
|
<p>You can construct new points without using the menu or the toolbar, simply
clicking somewhere on the Kig document with the <em>middle mouse
button</em>.</p>
|
|
|
i18n: file: tips:46
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Du kan skapa nya punkter utan att använda menyn eller verktygsraden,
genom att helt enkelt klicka någonstans i Kig-dokumentet med
<em>musens mittenknapp</em>.</p>
|
|
Translated and reviewed by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:44
|
|
5.
|
|
|
<p>Kig can open several file formats: its files (<code>.kig</code> files),
<em>KGeo</em> files, <em>KSeg</em> files, and, partially, <em>Dr. Geo</em>
and <em>Cabri™</em> files.</p>
|
|
|
i18n: file: tips:54
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Kig kan öppna flera filformat: dess egna filer (<code>.kig</code>-filer),
<em>KGeo</em>-filer, <em>KSeg</em>-filer, delvis
<em>Dr. Geo</em>-filer
och <em>Cabri™</em>-filer.</p>
|
|
Translated and reviewed by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:51
|
|
6.
|
|
|
<p>Kig has more than 20 objects and 10 transformations with more than 80
constructions you can use in your documents: open the <em>Objects</em>
menu to see them all.</p>
|
|
|
i18n: file: tips:62
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
<p>Kig har mer än 20 objekt och 10 transformer med mer än 80
konstruktioner som du kan använda i dina dokument: titta i menyn
<em>Objekt</em> för att se allihop.</p>
|
|
Translated by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:58
|
|
7.
|
|
|
<p>You can use the selected objects to start the construction of an object
which requires the selected objects as arguments. For example, if you have two
points selected, you can choose <em>Start->Circle by Three Points</em> from the
popup menu to start constructing a circle by three points.</p>
|
|
|
i18n: file: tips:70
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Du kan använda markerade objekt för att börja skapa ett objekt
som kräver markerade objekt som argument. Om du till exempel har
markerat två punkter, kan du välja <em>Starta -> Cirkel med tre punkter</em> i den
sammanhangsberoende menyn, för att börja skapa en cirkel med tre punkter.</p>
|
|
Translated and reviewed by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:65
|
|
8.
|
|
|
<p>Kig can extends its object set using external macros. You can find some
interesting macros on the Kig website:
<a href="http://edu.kde.org/kig">http://edu.kde.org/kig</a>.</p>
|
|
|
i18n: file: tips:79
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Kig kan utöka sin objektuppsättning genom att använda externa makron. Du
hittar några intressanta makron på Kigs webbsida.
<a href="http://edu.kde.org/kig">http://edu.kde.org/kig</a>.</p>
|
|
Translated by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:73
|
|
9.
|
|
|
<p>If you have more than one object under the mouse, and you want to select any
of them, you can click with the <em>left mouse button</em>, while holding the
<em>Shift</em> key, to get a list of the objects under the mouse cursor which
you can then select from.</p>
|
|
|
i18n: file: tips:87
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<p>Om det finns mer än ett objekt under musen, och du vill markera något
av dem, kan du klicka med <em>vänster musknapp</em> medan du håller
nere <em>Skift</em>- eller <em>Ctrl</em>-tangenten, för att få en lista med
objekten under muspekaren som du därefter kan välja bland.</p>
|
|
Translated and reviewed by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:80
|
|
10.
|
|
|
<p>When you construct a locus, you can click on it with the <em>right</em> mouse
button and select <em>cartesian equation</em> to see its cartesian equation,
whenever it is an algebraic curve of low degree.</p>
|
|
|
i18n: file: tips:96
i18n: ectx: @info:tipoftheday
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
<p>När du skapar ett lokus kan du klicka på det med <em>höger</em> musknapp
och välja <em>kartesisk ekvation</em> för att se dess kartesiska ekvation,
när det är en algebraisk kurva av låg grad.</p>
|
|
Translated by
Stefan Asserhäll
|
|
|
|
Located in
tips.cpp:88
|