1 <!DOCTYPE KigMacroFile>
2 <KigMacroFile Number="1" Version="0.9.0" >
4 <Name>Circle by Point && Segment (as the Diameter)</Name>
5 <Description>A circle defined by its center and the length of a segment as the diameter</Description>
6 <ActionName>objects_new_circlebpd</ActionName>
7 <IconFileName>circlebpd</IconFileName>
9 <input requirement="point" id="1">
10 <UseText>Construct a circle with this center</UseText>
11 <SelectStatement>Select the center of the new circle...</SelectStatement>
13 <input requirement="segment" id="2">
14 <UseText>Construct a circle with the diameter given by the length of this segment</UseText>
15 <SelectStatement>Select the segment whose length gives the diameter of the new circle...</SelectStatement>
17 <intermediate action="fetch-property" property="end-point-A" id="3" >
20 <intermediate action="fetch-property" property="mid-point" id="4" >
23 <intermediate action="calc" type="SegmentAB" id="5" >
27 <intermediate action="fetch-property" property="length" id="6" >
30 <result action="calc" type="CircleBPR" id="7" >