git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
53 lines
1.8 KiB
XML
53 lines
1.8 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="GeometryCurvePy"
|
|
Name="CirclePy"
|
|
Twin="GeomCircle"
|
|
TwinPointer="GeomCircle"
|
|
Include="Mod/Part/App/Geometry.h"
|
|
Namespace="Part"
|
|
FatherInclude="Mod/Part/App/GeometryCurvePy.h"
|
|
FatherNamespace="Part"
|
|
Constructor="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
|
<UserDocu>Describes a circle in 3D space
|
|
To create a circle there are several ways:
|
|
Part.Circle()
|
|
Creates a default circle with center (0,0,0) and radius 1
|
|
|
|
Part.Circle(Circle)
|
|
Creates a copy of the given circle
|
|
|
|
Part.Circle(Circle, Distance)
|
|
Creates a circle parallel to given circle at a certain distance
|
|
|
|
Part.Circle(Center,Normal,Radius)
|
|
Creates a circle defined by center, normal direction and radius
|
|
|
|
Part.Circle(Point1,Point2,Point3)
|
|
Creates a circle defined by three non-linear points
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Attribute Name="Radius" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>The radius of the circle.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Radius" Type="Float"/>
|
|
</Attribute>
|
|
<Attribute Name="Center" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Center of the circle.</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>
|