EdgePrimitive#

class pyaedt.modeler.cad.elements3d.EdgePrimitive(object3d, edge_id)[source]#

Contains the edge object within the AEDT Desktop Modeler.

Parameters:
object3dpyaedt.modeler.cad.object3d.Object3d

Pointer to the calling object that provides additional functionality.

edge_idint

Object ID as determined by the parent object.

Methods

EdgePrimitive.chamfer([left_distance, ...])

Add a chamfer to the selected edges in 3D/vertices in 2D.

EdgePrimitive.create_object([non_model])

Return a new object from the selected edge.

EdgePrimitive.fillet([radius, setback])

Add a fillet to the selected edges in 3D/vertices in 2D.

EdgePrimitive.move_along_normal([offset])

Move this edge.

Attributes

EdgePrimitive.length

Length of the edge.

EdgePrimitive.midpoint

Midpoint coordinates of the edge.

EdgePrimitive.segment_info

Compute segment information using the object-oriented method (from AEDT 2021 R2 with beta options).

EdgePrimitive.vertices

Vertices list.