[TD]Py routines for CenterLines
This commit is contained in:
@@ -35,17 +35,17 @@
|
||||
</Methode>
|
||||
<Methode Name="getCosmeticVertex">
|
||||
<Documentation>
|
||||
<UserDocu>getCosmeticVertex(id) - returns CosmeticVertex with unique id.</UserDocu>
|
||||
<UserDocu>cv = getCosmeticVertex(id) - returns CosmeticVertex with unique id.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getCosmeticVertexBySelection">
|
||||
<Documentation>
|
||||
<UserDocu>getCosmeticVertexBySelection(name) - returns CosmeticVertex with name (Vertex6). Used in selections.</UserDocu>
|
||||
<UserDocu>cv = getCosmeticVertexBySelection(name) - returns CosmeticVertex with name (Vertex6). Used in selections.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="replaceCosmeticVertex">
|
||||
<Documentation>
|
||||
<UserDocu>replaceCosmeticVertex(cv) - replaces CosmeticVertex in View. Returns True/False.</UserDocu>
|
||||
<UserDocu>rc = replaceCosmeticVertex(cv) - replaces CosmeticVertex in View. Returns True/False.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="removeCosmeticVertex">
|
||||
@@ -60,17 +60,17 @@
|
||||
</Methode>
|
||||
<Methode Name="makeCosmeticLine">
|
||||
<Documentation>
|
||||
<UserDocu>makeCosmeticLine(p1, p2) - add a CosmeticEdge from p1 to p2(View coordinates). Returns index of created edge.</UserDocu>
|
||||
<UserDocu>tag = makeCosmeticLine(p1, p2) - add a CosmeticEdge from p1 to p2(View coordinates). Returns tag of new CosmeticEdge.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="makeCosmeticCircle">
|
||||
<Documentation>
|
||||
<UserDocu>makeCosmeticCircle(center, radius) - add a CosmeticEdge at center with radius radius(View coordinates). Returns index of created edge.</UserDocu>
|
||||
<UserDocu>tag = makeCosmeticCircle(center, radius) - add a CosmeticEdge at center with radius radius(View coordinates). Returns tag of new CosmeticEdge.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="makeCosmeticCircleArc">
|
||||
<Documentation>
|
||||
<UserDocu>makeCosmeticCircleArc(center, radius, start, end) - add a CosmeticEdge at center with radius radius(View coordinates) from start angle to end angle. Returns index of created edge.</UserDocu>
|
||||
<UserDocu>tag = makeCosmeticCircleArc(center, radius, start, end) - add a CosmeticEdge at center with radius radius(View coordinates) from start angle to end angle. Returns tag of new CosmeticEdge.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getCosmeticEdge">
|
||||
@@ -95,7 +95,27 @@
|
||||
</Methode>
|
||||
<Methode Name="makeCenterLine">
|
||||
<Documentation>
|
||||
<UserDocu>makeCenterLine(subNames, mode) - draw a center line on this viewPart. SubNames is a list of n Faces, 2 Edges or 2 Vertices (ex [Face1,Face2,Face3]. Returns index of added CenterLine.</UserDocu>
|
||||
<UserDocu>makeCenterLine(subNames, mode) - draw a center line on this viewPart. SubNames is a list of n Faces, 2 Edges or 2 Vertices (ex [Face1,Face2,Face3]. Returns unique tag of added CenterLine.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getCenterLine">
|
||||
<Documentation>
|
||||
<UserDocu>cl = getCenterLine(id) - returns CenterLine with unique id.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getCenterLineBySelection">
|
||||
<Documentation>
|
||||
<UserDocu>cl = getCenterLineBySelection(name) - returns CenterLine by name (Edge25). Used in selections</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="replaceCenterLine">
|
||||
<Documentation>
|
||||
<UserDocu>replaceCenterLine(cl) - replacls CenterLine cl in View. Returns True/False.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="removeCenterLine">
|
||||
<Documentation>
|
||||
<UserDocu>removeCenterLine(cl) - remove CenterLine cl from View. Returns None.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="clearCosmeticEdges">
|
||||
@@ -113,16 +133,6 @@
|
||||
<UserDocu>clearGeomFormats() - remove all GeomFormats from the View. Returns None.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="adjustCenterLine">
|
||||
<Documentation>
|
||||
<UserDocu>adjustCenterLine(index, hShift, vShift, rotate, extend [,flip]). Returns None.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="formatCenterLine">
|
||||
<Documentation>
|
||||
<UserDocu>formatCenterLine(index, style, weight, color, visible). Returns None.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="formatGeometricEdge">
|
||||
<Documentation>
|
||||
<UserDocu>formatGeometricEdge(index, style, weight, color, visible). Returns None.</UserDocu>
|
||||
|
||||
Reference in New Issue
Block a user