Face

class Face(wireframes)[source]

Bases: ShapeObject

Face inherits from ShapeObject

Inits Face

Parameters:

wireframe (WireFrame) – Wireframe for face

Methods

add_parent(parent)

Adds parent

Parameters:

parent (ShapeObject) – Adds parent

Return type:

None

static create_id()

Creates int as unique ID for ShapeObject instance. ShapeObject class tracks which IDs have previously been used and are thus not available.

Returns:

Unique ID

Return type:

int

Attributes

last_id = 0