TechDraw: Improve code in Python CosmeticEdgePy class

This commit is contained in:
marioalexis
2022-11-06 19:05:45 -03:00
committed by WandererFan
parent 67ec157e59
commit 308fa5b73a
2 changed files with 53 additions and 131 deletions

View File

@@ -7,7 +7,7 @@
TwinPointer="CosmeticEdge"
Include="Mod/TechDraw/App/Cosmetic.h"
Namespace="TechDraw"
FatherInclude="Base/PyObjectBase.h"
FatherInclude="Base/GeometryPyCXX.h"
FatherNamespace="Base"
Constructor="true"
Delete="true">
@@ -41,25 +41,25 @@
<Documentation>
<UserDocu>Gives the position of one end of this CosmeticEdge as vector.</UserDocu>
</Documentation>
<Parameter Name="Start" Type="Object"/>
<Parameter Name="Start" Type="Vector"/>
</Attribute>
<Attribute Name="End">
<Documentation>
<UserDocu>Gives the position of one end of this CosmeticEdge as vector.</UserDocu>
</Documentation>
<Parameter Name="End" Type="Object"/>
<Parameter Name="End" Type="Vector"/>
</Attribute>
<Attribute Name="Center">
<Documentation>
<UserDocu>Gives the position of center point of this CosmeticEdge as vector.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
<Parameter Name="Center" Type="Vector"/>
</Attribute>
<Attribute Name="Radius">
<Documentation>
<UserDocu>Gives the radius of CosmeticEdge in mm.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Object"/>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
@@ -73,7 +73,7 @@
<Documentation>
<UserDocu>The appearance attributes (style, weight, color, visible) for this CosmeticEdge.</UserDocu>
</Documentation>
<Parameter Name="Format" Type="Object"/>
<Parameter Name="Format" Type="Dict"/>
</Attribute>
</PythonExport>
</GenerateModel>