PartDesign: Remove XML binding files.

This commit is contained in:
Joao Matos
2025-03-24 18:37:13 +00:00
committed by Benjamin Nauck
parent a209926436
commit bbe9fbccb5
6 changed files with 4 additions and 100 deletions

View File

@@ -37,7 +37,7 @@ def compareFiles(file1, file2):
class TemplateClassPyExport(template.ModelTemplate):
# TODO: This is temporary, once all XML files are migrated, this can be removed.
def getPath(self, path):
if self.is_python and not self.export.ModuleName in ["Base", "App", "Gui"]:
if self.is_python and not self.export.ModuleName in ["Base", "App", "Gui", "PartDesign"]:
root, ext = os.path.splitext(path)
return f"{root}_{ext}"
return path