Files
create/src/Mod/Part/App/PointPy.xml
2016-12-03 13:26:12 +01:00

52 lines
1.7 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
Father="GeometryPy"
Name="PointPy"
PythonName="Part.Point"
Twin="GeomPoint"
TwinPointer="GeomPoint"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometryPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a point
To create a point there are several ways:
Part.Point()
Creates a default point
Part.Point(Point)
Creates a copy of the given point
Part.Point(Vector)
Creates a line for the given coordinates</UserDocu>
</Documentation>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Create a vertex from this point.</UserDocu>
</Documentation>
</Methode>
<Attribute Name="X" ReadOnly="false">
<Documentation>
<UserDocu>X component of this point.</UserDocu>
</Documentation>
<Parameter Name="X" Type="Float"/>
</Attribute>
<Attribute Name="Y" ReadOnly="false">
<Documentation>
<UserDocu>Y component of this point.</UserDocu>
</Documentation>
<Parameter Name="Y" Type="Float"/>
</Attribute>
<Attribute Name="Z" ReadOnly="false">
<Documentation>
<UserDocu>Z component of this point.</UserDocu>
</Documentation>
<Parameter Name="Z" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>