Skip to content

Commit

Permalink
FEM: FemTools - add function documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and yorikvanhavre committed Sep 22, 2015
1 parent 8cd0939 commit d29f3fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Mod/Fem/FemTools.py
Expand Up @@ -229,6 +229,9 @@ def set_analysis_type(self, analysis_type=None):
else:
self.analysis_type = analysis_type

## Sets working dir for ccx execution. Called with no working_dir uses WorkingDir for FEM preferences
# @param self The python object self
# @working_dir directory to be used for .inp file and ccx execution
def setup_working_dir(self, working_dir=None):
if working_dir is None:
self.fem_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem")
Expand All @@ -252,6 +255,8 @@ def setup_ccx(self, ccx_binary=None):
ccx_binary = "ccx"
self.ccx_binary = ccx_binary

## Load results of ccx calculiations from .frd file.
# @param self The python object self
def load_results(self):
import ccxFrdReader
import os
Expand Down

0 comments on commit d29f3fa

Please sign in to comment.