DesignSPHysics
DesignSPHysics copied to clipboard
DesignsPhysics error when SaveCase function is used in Freecad
DesignSPHysics version: 0.6.1.2102-24-04 Platform: Windows-10-10.0.19041 FreeCAD Version: 0.19.24276 (Git) Exception type: <class 'RuntimeError'> Exception value: Could not find fill limit and fill point inside a fillbox Traceback:
File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\widgets\dock\dock_pre_processing_widget.py", line 199, in on_save_case save_case(save_name, Case.the()) File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\file_tools.py", line 260, in save_case XMLExporter().save_to_disk(save_name, case) File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\xml\xml_exporter.py", line 109, in save_to_disk file.write(self.generate(case)) File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\xml\xml_exporter.py", line 82, in generate final_xml: str = get_template_text(self.BASE_XML).format(**self.get_adapted_case_data(case)) File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\xml\xml_exporter.py", line 61, in get_adapted_case_data data["objects_template"] = ObjectsRenderer.render(data) File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\xml\renderers\objects_renderer.py", line 149, in render object_template: str = cls.get_fillbox_object_template(obj, fc_object) File "C:\AppData\FreeCAD 0.19\Mod\DesignSPHysics-master\mod\xml\renderers\objects_renderer.py", line 93, in get_fillbox_object_template raise RuntimeError("Could not find fill limit and fill point inside a fillbox")
It seems that you have a FillBox in the scene and added to the case, however either the FillLimit or the FillPoint are missing inside it. It should look like this:

Did you delete one of those objects?
@LannyMercury ping