Manager-owned lifecycle and tagging for mesh parts on one Model.
Attributes
_mesh_maker
instance-attribute
_meshparts
instance-attribute
_meshparts: Dict[str, MeshPart] = {}
_start_tag
instance-attribute
_tagging
instance-attribute
_tagging = CompactRetagPolicy[MeshPart]()
line
instance-attribute
line = LineMeshNamespace(self)
volume
instance-attribute
volume = VolumeMeshNamespace(self)
surface
instance-attribute
surface = SurfaceMeshNamespace(self)
general
instance-attribute
general = GeneralMeshNamespace(self)
Methods:
add
add(meshpart: MeshPart) -> MeshPart
get
get(user_name: str) -> Optional[MeshPart]
get_by_tag
get_by_tag(tag: int) -> Optional[MeshPart]
resolve
resolve(item: Union[str, int, MeshPart]) -> Optional[MeshPart]
get_all
get_all() -> Dict[str, MeshPart]
get_by_category
get_by_category(category: str) -> Dict[str, MeshPart]
remove
remove(user_name: str) -> None
set_tag_start
set_tag_start(start_tag: int) -> None