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

@@ -33,7 +33,7 @@ except AttributeError:
import os, math
from PVPlantResources import DirIcons as DirIcons
class _TaskPanel:
class TaskPanel:
def __init__(self, obj = None):
self.obj = None
self.select = 0
@@ -251,7 +251,7 @@ def Open3DTriangle(point_cloud):
#p_mesh_crop = mesh.crop(bbox)
return mesh
class _PVPlantCreateTerrainMesh:
'''class _PVPlantCreateTerrainMesh:
def GetResources(self):
return {'Pixmap': str(os.path.join(DirIcons, "surface.svg")),
@@ -268,4 +268,4 @@ class _PVPlantCreateTerrainMesh:
if FreeCAD.GuiUp:
FreeCADGui.addCommand('PVPlantCreateTerrainMesh', _PVPlantCreateTerrainMesh())
FreeCADGui.addCommand('PVPlantCreateTerrainMesh', _PVPlantCreateTerrainMesh())'''