BPY plus – bounding module

A BPY plus module for working with bounding objects.

Bounding class

sphere(objects: list, context=bpy.context, mode: str = ‘BBOX’)

Calculates the bounding sphere around objects.

Parameters:

objects: list of objects, or object to calculate a bounding sphere around

context: context

mode: ‘BBOX’ – quick calculating around the objects bounding boxes, ‘GEOMETRY’ – more precise calculating by all the objects vertices.

Returns:

a tuple with the bounding sphere location and radius

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Inline Feedbacks
View all comments