@@ -92,7 +92,7 @@ def setup(doc=None, solvertype="elmer"):
|
||||
)[0]
|
||||
eq_obj = ObjectsFem.makeEquationElasticity(doc, solver_object)
|
||||
eq_obj.LinearSolverType = "Direct"
|
||||
# direct solver was used in the turorial, thus used here too
|
||||
# direct solver was used in the tutorial, thus used here too
|
||||
# the iterative is much faster and gives the same results
|
||||
eq_obj.DoFrequencyAnalysis = True
|
||||
eq_obj.CalculateStresses = True
|
||||
|
||||
@@ -278,7 +278,7 @@ class _TaskPanel:
|
||||
return
|
||||
self.card_path = self.parameterWidget.cb_materials.itemData(index) # returns whole path
|
||||
FreeCAD.Console.PrintMessage(
|
||||
"Material card choosen:\n"
|
||||
"Material card chosen:\n"
|
||||
" {}\n".format(self.card_path)
|
||||
)
|
||||
self.material = self.materials[self.card_path]
|
||||
|
||||
Reference in New Issue
Block a user