single_object module

class gensei.single_object.SingleObject(**kwargs)

Base class of all geometrical objects to be sliced that are not compound (multi-object).

Methods

accepted
copy
fd_close
fd_open
from_conf
get_aligned_bounding_box
get_dict
get_intersector
get_origin_bounding_box
has_intersection
init_intersection_counters
init_trait
intersects
objects_from_dict
report
set_centre
set_conf
set_default_traits
setup_orientation
store_intersection
set_centre(centre)
Set the objects’s centre and update its description matrix in homogenous coordinates. Also update the intersector.
setup_orientation()
Sets rot_axis, the direction vector of rotation axis defining the orientation in space, and rot_angle, the rotation angle around the rotation axis according to self.conf. Also update the intersector.

Previous topic

objects module

This Page