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

50 lines
1.9 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="SpherePy"
Namespace="Part"
Twin="GeomSphere"
TwinPointer="GeomSphere"
PythonName="Part.Sphere"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a sphere in 3D space</UserDocu>
</Documentation>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="Area" ReadOnly="true">
<Documentation>
<UserDocu>Compute the area of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Area" Type="Float"/>
</Attribute>
<Attribute Name="Volume" ReadOnly="true">
<Documentation>
<UserDocu>Compute the volume of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Volume" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the circle</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>