FEM: constraint electrostatic potential, rename class and module

This commit is contained in:
Bernd Hahnebach
2020-05-22 01:07:29 +02:00
parent 40b2484f62
commit 7f5df5cb42
6 changed files with 32 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
# ***************************************************************************
# * Copyright (c) 2017 Markus Hovorka <m.hovorka@live.de> *
# * Copyright (c) 2020 Bernd Hahnebach <bernd@bimstatik.org> *
# * *
# * This file is part of the FreeCAD CAx development system. *
# * *
@@ -25,19 +26,19 @@ __title__ = "FreeCAD FEM constraint electrostatic potential document object"
__author__ = "Markus Hovorka, Bernd Hahnebach"
__url__ = "http://www.freecadweb.org"
## @package FemConstraintElectrostaticPotential
## @package constraint_electrostaticpotential
# \ingroup FEM
# \brief FreeCAD FEM constraint electrostatic potential object
# \brief constraint electrostatic potential object
from . import FemConstraint
class Proxy(FemConstraint.Proxy):
class ConstraintElectrostaticPotential(FemConstraint.Proxy):
Type = "Fem::ConstraintElectrostaticPotential"
def __init__(self, obj):
super(Proxy, self).__init__(obj)
super(ConstraintElectrostaticPotential, self).__init__(obj)
obj.addProperty(
"App::PropertyFloat",
"Potential",