compute_model_centroid#

Views.compute_model_centroid(vportindex: int = 0) List[float]#

Compute the model centroid using the model bounds.

Parameters:
vportindexint, optional

Viewport to compute the centroid for. The default is 0.

Returns:
list

Coordinates of the model centroid.