This commit is contained in:
2025-03-28 19:40:11 +06:00
parent af559092bf
commit 1d062a087f
26 changed files with 360 additions and 514 deletions

View File

@@ -488,7 +488,7 @@ class ViewProviderEarthWorksVolume:
return None
class _EarthWorksTaskPanel:
class EarthWorksTaskPanel:
def __init__(self):
self.To = None
@@ -827,7 +827,7 @@ def searchTool(obj, tools):
return tool
class _CommandCalculateEarthworks:
'''class _CommandCalculateEarthworks:
def GetResources(self):
return {'Pixmap': str(os.path.join(PVPlantResources.DirIcons, "pico.svg")),
@@ -846,7 +846,7 @@ class _CommandCalculateEarthworks:
return active
if FreeCAD.GuiUp:
FreeCADGui.addCommand('PVPlantEarthworks', _CommandCalculateEarthworks())
FreeCADGui.addCommand('PVPlantEarthworks', _CommandCalculateEarthworks())'''
def accept():