============================================================================================= This commits removes the Geometry construction data member and adapts sketcher code to use GeometryFacade to access construction information via the SketchGeometryExtension.
104 lines
4.1 KiB
XML
104 lines
4.1 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="PersistencePy"
|
|
Name="GeometryPy"
|
|
Twin="Geometry"
|
|
TwinPointer="Geometry"
|
|
Include="Mod/Part/App/Geometry.h"
|
|
Namespace="Part"
|
|
FatherInclude="Base/PersistencePy.h"
|
|
FatherNamespace="Base"
|
|
Constructor="true"
|
|
Delete="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
|
<UserDocu>The abstract class Geometry for 3D space is the root class of all geometric objects.
|
|
It describes the common behavior of these objects when:
|
|
- applying geometric transformations to objects, and
|
|
- constructing objects by geometric transformation (including copying).</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="mirror">
|
|
<Documentation>
|
|
<UserDocu>Performs the symmetrical transformation of this geometric object</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="rotate">
|
|
<Documentation>
|
|
<UserDocu>Rotates this geometric object at angle Ang (in radians) about axis</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="scale">
|
|
<Documentation>
|
|
<UserDocu>Applies a scaling transformation on this geometric object with a center and scaling factor</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="transform">
|
|
<Documentation>
|
|
<UserDocu>Applies a transformation to this geometric object</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="translate">
|
|
<Documentation>
|
|
<UserDocu>Translates this geometric object</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="copy" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Create a copy of this geometry</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="clone" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Create a clone of this geometry with the same Tag</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="hasExtensionOfType" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Returns a boolean indicating whether a geometry extension of the type indicated as a string exists.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="hasExtensionOfName" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Returns a boolean indicating whether a geometry extension with the name indicated as a string exists.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="getExtensionOfType" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Gets the first geometry extension of the type indicated by the string.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="getExtensionOfName" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Gets the first geometry extension of the name indicated by the string.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setExtension" Const="false">
|
|
<Documentation>
|
|
<UserDocu>Sets a geometry extension of the indicated type.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="deleteExtensionOfType" Const="false">
|
|
<Documentation>
|
|
<UserDocu>Deletes all extensions of the indicated type.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="deleteExtensionOfName" Const="false">
|
|
<Documentation>
|
|
<UserDocu>Deletes all extensions of the indicated name.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="getExtensions" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Returns a list with information about the geometry extensions.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Attribute Name="Tag" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>Gives the tag of the geometry as string.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Tag" Type="String"/>
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|