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

        rest.delete(f"{URL}/notifications")
Esempio n. 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}")
Esempio n. 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}")
Esempio n. 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)}")
Esempio n. 5
0
def delete_model(model_id: str) -> None:
    rest.delete(f"{URL}/models/{model_id}")
Esempio n. 6
0
def delete_project(project_id: str) -> None:
    return rest.delete(f"{URL}/project/{project_id}")
Esempio n. 7
0
def delete_scene(scene_id: str) -> None:
    return rest.delete(f"{URL}/scene/{scene_id}")
Esempio n. 8
0
def delete_object_type(object_type_id: str) -> None:

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

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