Trimesh Interfaces¶
- class coperniFUS.modules.interfaces.trimesh_interfaces.TrimeshHandler(parent_viewer, **kwargs)[source]¶
Bases:
object
- property stl_item_mesh_processed¶
Mesh object with affine transformation and boolean operations (if applicable) applied
- property stl_item_mesh¶
Mesh object with affine transformation applied
- property raw_stl_item_mesh¶
Raw mesh object without any affine transformations or processing applied
- property stl_item_tmat¶
Holds the affine transformation matrix for the trimesh object
- class coperniFUS.modules.interfaces.trimesh_interfaces.TrimeshScriptHandler(parent_viewer, **kwargs)[source]¶
Bases:
TrimeshHandler
- property trimesh_script¶
Script to be used to construct the trimesh mesh. Uppon execution, the script should define a ‘mesh’ object.
- property trimesh_script_constants_dict¶
Constants to be provided uppon evaluation of the trimesh_script. Constants keys in trimesh_script_constants_dict can be referenced trimesh_script
- eval_scripted_mesh()[source]¶
Trimesh mesh object constructed from trimesh_script attriute. Uppon execution, the script should define a ‘mesh’ object.
- property raw_stl_item_mesh¶
Raw mesh object without any affine transformations or processing applied
- class coperniFUS.modules.interfaces.trimesh_interfaces.StlHandler(parent_viewer, **kwargs)[source]¶
Bases:
TrimeshHandler
- property raw_stl_item_mesh¶
Raw mesh object without any affine transformations or processing applied