summaryrefslogtreecommitdiffstats
path: root/kig/macros/evolute.kigt
blob: aa15296e540e20980d28d7264536e541231ad1cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>