EDBArcs#

class pyedb.dotnet.edb_core.edb_data.primitives_data.EDBArcs(app, arc)[source]#

Manages 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

Attributes

EDBArcs.center

Arc center.

EDBArcs.end

Get the coordinates of the ending point.

EDBArcs.height

Get the height of the arc.

EDBArcs.is_ccw

Test whether arc is counter clockwise.

EDBArcs.is_point

Either if it is a point or not.

EDBArcs.is_segment

Either if it is a straight segment or not.

EDBArcs.length

Arc length.

EDBArcs.mid_point

Arc mid point.

EDBArcs.points

Return the list of points with arcs converted to segments.

EDBArcs.points_raw

Return a list of Edb points.

EDBArcs.radius

Arc radius.

EDBArcs.start

Get the coordinates of the starting point.