FreeCAD
1<?xml version="1.0" encoding="UTF-8"?>
2<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">3<PythonExport4Father="Curve2dPy"5Name="Conic2dPy"6PythonName="Part.Geom2d.Conic2d"7Twin="Geom2dConic"8TwinPointer="Geom2dConic"9Include="Mod/Part/App/Geometry2d.h"10Namespace="Part"11FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h"12FatherNamespace="Part"13Constructor="true">14<Documentation>15<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />16<UserDocu>Describes an abstract conic in 2d space</UserDocu>17</Documentation>18<Attribute Name="Location" ReadOnly="false">19<Documentation>20<UserDocu>Location of the conic.</UserDocu>21</Documentation>22<Parameter Name="Location" Type="Object"/>23</Attribute>24<Attribute Name="Eccentricity" ReadOnly="true">25<Documentation>26<UserDocu>27returns the eccentricity value of the conic e.
28e = 0 for a circle
290 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)30e > 1 for a hyperbola
31e = 1 for a parabola
32</UserDocu>33</Documentation>34<Parameter Name="Eccentricity" Type="Float"/>35</Attribute>36<Attribute Name="XAxis" ReadOnly="false">37<Documentation>38<UserDocu>The X axis direction of the circle</UserDocu>39</Documentation>40<Parameter Name="XAxis" Type="Object"/>41</Attribute>42<Attribute Name="YAxis" ReadOnly="false">43<Documentation>44<UserDocu>The Y axis direction of the circle</UserDocu>45</Documentation>46<Parameter Name="YAxis" Type="Object"/>47</Attribute>48</PythonExport>49</GenerateModel>50