[TD]Py routines for CenterLines

This commit is contained in:
wandererfan
2019-12-13 17:01:04 -05:00
committed by WandererFan
parent b54212f82c
commit 8cbcd243e6
21 changed files with 924 additions and 328 deletions

View File

@@ -13,7 +13,7 @@
Delete="true">
<Documentation>
<Author Licence="LGPL" Name="WandererFan" EMail="wandererfan@gmail.com" />
<UserDocu>CenterLine specifies appearance parameters for TechDraw Geometry objects</UserDocu>
<UserDocu>CenterLine specifies additional mark up edges in a View</UserDocu>
</Documentation>
<Methode Name="clone" Const="true">
<Documentation>
@@ -25,22 +25,77 @@
<UserDocu>Create a copy of this centerline</UserDocu>
</Documentation>
</Methode>
<Methode Name="setFormat">
<Documentation>
<UserDocu>Change the appearance of this CenterLine. cl.setFormat(style, color, weight, visible)</UserDocu>
</Documentation>
</Methode>
<Methode Name="getFormat">
<Documentation>
<UserDocu>returns the appearance attributes of this CenterLine. returns tuple(style, color, weight, visible).</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Tag" ReadOnly="true">
<Documentation>
<UserDocu>Gives the tag of the CenterLine as string.</UserDocu>
</Documentation>
<Parameter Name="Tag" Type="String"/>
</Attribute>
<Attribute Name="Type" ReadOnly="true">
<Documentation>
<UserDocu>0 - face, 1 - 2 line, 2 - 2 point.</UserDocu>
</Documentation>
<Parameter Name="Type" Type="Long"/>
</Attribute>
<Attribute Name="Mode">
<Documentation>
<UserDocu>0 - vert/ 1 - horiz/ 2 - aligned.</UserDocu>
</Documentation>
<Parameter Name="Mode" Type="Long"/>
</Attribute>
<Attribute Name="Format">
<Documentation>
<UserDocu>The appearance attributes (style, color, weight, visible) for this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="Format" Type="Object"/>
</Attribute>
<Attribute Name="HorizShift">
<Documentation>
<UserDocu>The left/right offset for this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="HorizShift" Type="Float"/>
</Attribute>
<Attribute Name="VertShift">
<Documentation>
<UserDocu>The up/down offset for this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="VertShift" Type="Float"/>
</Attribute>
<Attribute Name="Rotation">
<Documentation>
<UserDocu>The rotation of the Centerline in degrees.</UserDocu>
</Documentation>
<Parameter Name="Rotation" Type="Float"/>
</Attribute>
<Attribute Name="Extension">
<Documentation>
<UserDocu>The additional length to be added to this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="Extension" Type="Float"/>
</Attribute>
<Attribute Name="Flip">
<Documentation>
<UserDocu>Reverse the order of points for 2 point CenterLine.</UserDocu>
</Documentation>
<Parameter Name="Flip" Type="Boolean"/>
</Attribute>
<Attribute Name="Edges">
<Documentation>
<UserDocu>The names of source edges for this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="Edges" Type="Object"/>
</Attribute>
<Attribute Name="Faces">
<Documentation>
<UserDocu>The names of source Faces for this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="Faces" Type="Object"/>
</Attribute>
<Attribute Name="Points">
<Documentation>
<UserDocu>The names of source Points for this CenterLine.</UserDocu>
</Documentation>
<Parameter Name="Points" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>