Files
create/src/Mod/Part/App/ParabolaPy.xml
2023-10-28 22:45:15 +02:00

48 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="ParabolaPy"
Namespace="Part"
Twin="GeomParabola"
TwinPointer="GeomParabola"
PythonName="Part.Parabola"
FatherInclude="Mod/Part/App/ConicPy.h"
Include="Mod/Part/App/Geometry.h"
Father="ConicPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a parabola in 3D space</UserDocu>
</Documentation>
<Methode Name="compute">
<Documentation>
<UserDocu>compute(p1,p2,p3)
The three points must lie on a plane parallel to xy plane and must not be collinear</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Focal" ReadOnly="false">
<Documentation>
<UserDocu>The focal distance is the distance between
the apex and the focus of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus" ReadOnly="true">
<Documentation>
<UserDocu>The focus is on the positive side of the
'X Axis' of the local coordinate system of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focus" Type="Object"/>
</Attribute>
<Attribute Name="Parameter" ReadOnly="true">
<Documentation>
<UserDocu>Compute the parameter of this parabola
which is the distance between its focus
and its directrix. This distance is twice the focal length.</UserDocu>
</Documentation>
<Parameter Name="Parameter" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>