FEM: ccx tools solver, get rid of no longer needed and confusing attribute
This commit is contained in:
committed by
Yorik van Havre
parent
05fbc0f8bf
commit
7d250a5355
@@ -35,13 +35,10 @@ class _FemSolverCalculix():
|
||||
"""The Fem::FemSolver's Proxy python type, add solver specific properties
|
||||
"""
|
||||
def __init__(self, obj):
|
||||
self.Type = "Fem::FemSolverCalculix"
|
||||
self.Type = "Fem::FemSolverCalculixCcxTools"
|
||||
self.Object = obj # keep a ref to the DocObj for nonGui usage
|
||||
obj.Proxy = self # link between App::DocumentObject to this object
|
||||
|
||||
obj.addProperty("App::PropertyString", "SolverType", "Base", "Type of the solver", 1) # the 1 set the property to ReadOnly
|
||||
obj.SolverType = 'FemSolverCalculix'
|
||||
|
||||
# fem_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/General") # not needed ATM
|
||||
ccx_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/Ccx")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user