EdbPolygon#

class pyedb.dotnet.edb_core.edb_data.primitives_data.EdbPolygon(raw_primitive, core_app)[source]#

Methods

EdbPolygon.add_void(point_list)

Add a void to current primitive.

EdbPolygon.area([include_voids])

Return the total area.

EdbPolygon.clone()

Clone a primitive object with keeping same definition and location.

EdbPolygon.convert_to_polygon()

Convert path to polygon.

EdbPolygon.delete()

Delete this primitive.

EdbPolygon.duplicate_across_layers(layers)

Duplicate across layer a primitive object.

EdbPolygon.expand([offset, tolerance, ...])

Expand the polygon shape by an absolute value in all direction.

EdbPolygon.fix_self_intersections()

Remove self intersections if they exists.

EdbPolygon.get_closest_arc_midpoint(point)

Get the closest arc midpoint of the primitive to the input data.

EdbPolygon.get_closest_point(point)

Get the closest point of the primitive to the input data.

EdbPolygon.get_connected_object_id_set()

Produce a list of all geometries physically connected to a given layout object.

EdbPolygon.get_connected_objects()

Get connected objects.

EdbPolygon.get_hfss_prop()

Get HFSS properties.

EdbPolygon.in_polygon(point_data[, ...])

Check if padstack Instance is in given polygon data.

EdbPolygon.intersect(primitives)

Intersect active primitive with one or more primitives.

EdbPolygon.intersection_type(primitive)

Get intersection type between actual primitive and another primitive or polygon data.

EdbPolygon.is_arc(point)

Either if a point is an arc or not.

EdbPolygon.is_intersecting(primitive)

Check if actual primitive and another primitive or polygon data intesects.

EdbPolygon.make_zone_primitive(zone_id)

Make primitive a zone primitive with a zone specified by the provided id.

EdbPolygon.move(vector)

Move polygon along a vector.

EdbPolygon.move_layer(layer)

Move polygon to given layer.

EdbPolygon.points([arc_segments])

Return the list of points with arcs converted to segments.

EdbPolygon.points_raw()

Return a list of Edb points.

EdbPolygon.remove_hfss_prop()

Remove HFSS properties.

EdbPolygon.rotate(angle[, center])

Rotate polygon around a center point by an angle.

EdbPolygon.scale(factor[, center])

Scales the polygon relative to a center point by a factor.

EdbPolygon.set_hfss_prop(material, solve_inside)

Set HFSS properties.

EdbPolygon.subtract(primitives)

Subtract active primitive with one or more primitives.

EdbPolygon.unite(primitives)

Unite active primitive with one or more primitives.

Attributes

EdbPolygon.aedt_name

Name to be visualized in AEDT.

EdbPolygon.api_class

EdbPolygon.arcs

Get the Primitive Arc Data.

EdbPolygon.bbox

Return the primitive bounding box points.

EdbPolygon.can_be_zone_primitive

bool: If a primitive can be a zone.

EdbPolygon.center

Return the primitive bounding box center coordinate.

EdbPolygon.component

Component connected to this object.

EdbPolygon.has_self_intersections

Check if Polygon has self intersections.

EdbPolygon.has_voids

bool: If a primitive has voids inside.

EdbPolygon.id

Primitive ID.

EdbPolygon.is_negative

Determine whether this primitive is negative.

EdbPolygon.is_null

Flag indicating if this object is null.

EdbPolygon.is_parameterized

bool: Primitive's parametrization.

EdbPolygon.is_void

Either if the primitive is a void or not.

EdbPolygon.is_zone_primitive

bool: If primitive object is a zone.

EdbPolygon.layer

Get the primitive edb layer object.

EdbPolygon.layer_name

Get the primitive layer name.

EdbPolygon.longest_arc

Get the longest arc.

EdbPolygon.name

Name of the definition.

EdbPolygon.net

Net Object.

EdbPolygon.net_name

Get the primitive layer name.

EdbPolygon.owner

Primitive: Owner of the primitive object.

EdbPolygon.polygon_data

pyedb.dotnet.edb_core.dotnet.database.PolygonDataDotNet: Outer contour of the Polygon object.

EdbPolygon.primitive_type

Return the type of the primitive.

EdbPolygon.shortest_arc

Get the longest arc.

EdbPolygon.type

Return the type of the primitive.

EdbPolygon.voids

list of Primitive: List of void primitive objects inside the primitive.