summaryrefslogtreecommitdiffstats
path: root/kig/macros/evolute.kigt
diff options
context:
space:
mode:
Diffstat (limited to 'kig/macros/evolute.kigt')
-rw-r--r--kig/macros/evolute.kigt28
1 files changed, 28 insertions, 0 deletions
diff --git a/kig/macros/evolute.kigt b/kig/macros/evolute.kigt
new file mode 100644
index 00000000..aa15296e
--- /dev/null
+++ b/kig/macros/evolute.kigt
@@ -0,0 +1,28 @@
+<!DOCTYPE KigMacroFile>
+<KigMacroFile Number="1" Version="0.9.0" >
+ <Macro>
+ <Name>Evolute</Name>
+ <Description>Evolute of a curve</Description>
+ <ActionName>objects_new_evolute</ActionName>
+ <IconFileName>evolute</IconFileName>
+ <Construction>
+ <input requirement="curve" id="1">
+ <UseText>Evolute of this curve</UseText>
+ <SelectStatement>Select the curve...</SelectStatement>
+ </input>
+ <intermediate action="push" type="hierarchy" id="2" >
+ <input requirement="point" id="1" />
+ <input requirement="curve" id="2" />
+ <result action="calc" type="CocCurve" id="3" >
+ <arg>2</arg>
+ <arg>1</arg>
+ </result>
+ </intermediate>
+ <result action="calc" type="Locus" id="3" >
+ <arg>2</arg>
+ <arg>1</arg>
+ <arg>1</arg>
+ </result>
+ </Construction>
+ </Macro>
+</KigMacroFile>