FacePrimitive#

class ansys.aedt.core.modeler.cad.elements_3d.FacePrimitive(object3d, obj_id)[source]#

Contains the face object within the AEDT Desktop Modeler.

Methods

FacePrimitive.create_object([non_model])

Return a new object from the selected face.

FacePrimitive.is_on_bounding([tolerance])

Check if the face is on bounding box or Not.

FacePrimitive.move_with_offset([offset])

Move the face along the normal.

FacePrimitive.move_with_vector(vector)

Move the face along a vector.

Attributes

FacePrimitive.area

Face area.

FacePrimitive.bottom_edge_x

Bottom edge in the X direction of the object.

FacePrimitive.bottom_edge_y

Bottom edge in the X direction of the object.

FacePrimitive.bottom_edge_z

Bottom edge in the Z direction of the object.

FacePrimitive.center

Face center in model units.

FacePrimitive.center_from_aedt

Face center for a planar face in model units.

FacePrimitive.edges

Edges lists.

FacePrimitive.id

Face ID.

FacePrimitive.is_planar

Check if a face is planar or not.

FacePrimitive.logger

Logger.

FacePrimitive.normal

Face normal.

FacePrimitive.oeditor

Oeditor Module.

FacePrimitive.top_edge_x

Top edge in the X direction of the object.

FacePrimitive.top_edge_y

Top edge in the Y direction of the object.

FacePrimitive.top_edge_z

Top edge in the Z direction of the object.

FacePrimitive.touching_objects

Get the objects that touch one of the vertex, edge midpoint or the actual face.

FacePrimitive.vertices

Vertices lists.