Exemple #1
0
    def delete_notifications(self) -> None:
        """
        Deletes all tracked values stored in given group.
        :return:
        """

        rest.delete(f"{URL}/notifications")
Exemple #2
0
    def delete_group(self, group_id: str) -> None:
        """
        Deletes all tracked values stored in given group.
        :param group_id:
        :return:
        """

        rest.delete(f"{URL}/values/{group_id}")
Exemple #3
0
    def clear_collisions(self) -> None:

        for coll_id in rest.get_list_primitive(f"{URL}/collisions", str):
            rest.delete(f"{URL}/collisions/{coll_id}")
Exemple #4
0
 def remove_collision(self, obj: Generic) -> None:
     if not obj.collision_model or obj.collision_model.type(
     ) == Model3dType.NONE:
         return
     rest.delete(f"{URL}/collisions/{collision_id(obj)}")
Exemple #5
0
def delete_model(model_id: str) -> None:
    rest.delete(f"{URL}/models/{model_id}")
Exemple #6
0
def delete_project(project_id: str) -> None:
    return rest.delete(f"{URL}/project/{project_id}")
Exemple #7
0
def delete_scene(scene_id: str) -> None:
    return rest.delete(f"{URL}/scene/{scene_id}")
Exemple #8
0
def delete_object_type(object_type_id: str) -> None:

    rest.delete(f"{URL}/object_type/{object_type_id}")
Exemple #9
0
    def remove_collision_model_id(self, model_id: str) -> None:

        rest.delete(f"{URL}/collisions/{model_id}")