EDBArcs#
- class pyedb.dotnet.database.edb_data.primitives_data.EDBArcs(app, arc)#
Bases:
objectManages EDB Arc Data functionalities. It Inherits EDB primitives arcs properties.
Examples
>>> from pyedb import Edb >>> edb = Edb(myedb, edbversion="2021.2") >>> prim_arcs = edb.modeler.primitives[0].arcs >>> prim_arcs.center # arc center >>> prim_arcs.points # arc point list >>> prim_arcs.mid_point # arc mid point
Overview#
Get the coordinates of the starting point. |
|
Get the coordinates of the ending point. |
|
Get the height of the arc. |
|
Arc center. |
|
Arc length. |
|
Arc mid point. |
|
Arc radius. |
|
Either if it is a straight segment or not. |
|
Either if it is a point or not. |
|
Test whether arc is counter clockwise. |
|
Return a list of Edb points. |
|
Return the list of points with arcs converted to segments. |
Import detail#
from pyedb.dotnet.database.edb_data.primitives_data import EDBArcs
Property detail#
- property EDBArcs.start#
Get the coordinates of the starting point.
- Returns:
listList containing the X and Y coordinates of the starting point.
Examples
>>> appedb = Edb(fpath, edbversion="2024.2") >>> start_coordinate = appedb.nets["V1P0_S0"].primitives[0].arcs[0].start >>> print(start_coordinate) [x_value, y_value]
- property EDBArcs.end#
Get the coordinates of the ending point.
- Returns:
listList containing the X and Y coordinates of the ending point.
Examples
>>> appedb = Edb(fpath, edbversion="2024.2") >>> end_coordinate = appedb.nets["V1P0_S0"].primitives[0].arcs[0].end
Attribute detail#
- EDBArcs.arc_object#