Add python interface for Part::GeomPoint
This commit is contained in:
45
src/Mod/Part/App/PointPy.xml
Normal file
45
src/Mod/Part/App/PointPy.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?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"
|
||||
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>
|
||||
<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>
|
||||
Reference in New Issue
Block a user