ArcData#

class pyedb.grpc.database.geometry.arc_data.ArcData(core)#

Class managing ArcData.

Overview#

height

Arc data height.

direction

Arc data direction.

center

Arc data center.

start

Arc data start point.

end

Arc data end point.

midpoint

Arc data mid point.

points

Arc data points.

is_segment

Check if arc data is a segment.

length

Arc data length.

is_point

Check if arc data is a point.

is_ccw

Check if arc data is counter-clockwise.

radius

Arc data radius.

Import detail#

from pyedb.grpc.database.geometry.arc_data import ArcData

Property detail#

property ArcData.height: float#

Arc data height.

Returns:
float

Height value.

property ArcData.direction: str#

Arc data direction.

Returns:
str

Direction value.

property ArcData.center: list[float | int]#

Arc data center.

Returns:
[float, float]

[x value, y value]

property ArcData.start: list[float | int]#

Arc data start point.

Returns:
[float, float]

[x value, y value]

property ArcData.end: list[float | int]#

Arc data end point.

Returns:
[float, float]

[x value, y value]

property ArcData.midpoint: list[float | int]#

Arc data mid point.

Returns:
[float, float]

[x value, y value]

property ArcData.points: list[list[float | int]]#

Arc data points.

Returns:
[[float, float]]

[[x value, y value]]

property ArcData.is_segment: bool#

Check if arc data is a segment.

Returns:
bool

True if arc data is a segment, false otherwise.

property ArcData.length: list[float | int]#

Arc data length.

Returns:
float

Length value.

property ArcData.is_point#

Check if arc data is a point.

Returns:
bool

True if arc data is a point, false otherwise.

property ArcData.is_ccw#

Check if arc data is counter-clockwise.

Returns:
bool

True if arc data is counter-clockwise, false otherwise.

property ArcData.radius: float | int#

Arc data radius.

Returns:
float

Radius value.

Attribute detail#

ArcData.core#