|
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.
|
|
|
|
(no translation yet)
|
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
tips.cpp:28
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
tips.cpp:58
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
tips.cpp:73
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
tips.cpp:88
|
|
13.
|
|
|
&File
|
|
|
i18n: file: kig/kigpartui.rc:5
i18n: ectx: Menu (file)
i18n: file: kig/kigui.rc:4
i18n: ectx: Menu (file)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
rc.cpp:5 rc.cpp:101
|
|
14.
|
|
|
&Edit
|
|
|
i18n: file: kig/kigpartui.rc:16
i18n: ectx: Menu (edit)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
rc.cpp:8
|
|
15.
|
|
|
&View
|
|
|
i18n: file: kig/kigpartui.rc:27
i18n: ectx: Menu (view)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
rc.cpp:11
|
|
25.
|
|
|
&Bézier curves
|
|
|
i18n: file: kig/kigpartui.rc:121
i18n: ectx: Menu (new_bezier)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
rc.cpp:41
|
|
32.
|
|
|
&Tools
|
|
|
i18n: file: kig/kigpartui.rc:191
i18n: ectx: Menu (tools)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
rc.cpp:62
|