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<PythonExport4Name="SpherePy"5Namespace="Part"6Twin="GeomSphere"7TwinPointer="GeomSphere"8PythonName="Part.Sphere"9FatherInclude="Mod/Part/App/GeometrySurfacePy.h"10Include="Mod/Part/App/Geometry.h"11Father="GeometrySurfacePy"12FatherNamespace="Part"13Constructor="true">14<Documentation>15<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>16<UserDocu>Describes a sphere in 3D space</UserDocu>17</Documentation>18<Attribute Name="Radius" ReadOnly="false">19<Documentation>20<UserDocu>The radius of the sphere.</UserDocu>21</Documentation>22<Parameter Name="Radius" Type="Float"/>23</Attribute>24<Attribute Name="Area" ReadOnly="true">25<Documentation>26<UserDocu>Compute the area of the sphere.</UserDocu>27</Documentation>28<Parameter Name="Area" Type="Float"/>29</Attribute>30<Attribute Name="Volume" ReadOnly="true">31<Documentation>32<UserDocu>Compute the volume of the sphere.</UserDocu>33</Documentation>34<Parameter Name="Volume" Type="Float"/>35</Attribute>36<Attribute Name="Center" ReadOnly="false">37<Documentation>38<UserDocu>Center of the sphere.</UserDocu>39</Documentation>40<Parameter Name="Center" Type="Object"/>41</Attribute>42<Attribute Name="Axis" ReadOnly="false">43<Documentation>44<UserDocu>The axis direction of the circle</UserDocu>45</Documentation>46<Parameter Name="Axis" Type="Object"/>47</Attribute>48</PythonExport>49</GenerateModel>50