Przemo Firszt
b9c02c9aaf
FEM: Use brackets for print
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:30 +01:00
Przemo Firszt
fcd2e43ec1
FEM: Use eigenmode number to decide if we're dealing with frequency analysis
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:29 +01:00
Przemo Firszt
7bb36a2dc7
FEM: Fix invalid check for frequency analysis
...
eigenmode = 0 for static and it's greater than 0 for frequency analysis.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:29 +01:00
Przemo Firszt
a8cb3f79b1
FEM: Remove imported but not used FreeCADGui
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:28 +01:00
Przemo Firszt
b47eb1fce7
FEM: Do not activate FEM wb from ccxFrdReader
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:27 +01:00
Przemo Firszt
e047b17a73
FEM: Make sure result_object exist before accesing it
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:26 +01:00
Przemo Firszt
fb4b6dc3e6
FEM: Initialise result_object to None to fix crash on empty results
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:25 +01:00
Przemo Firszt
661a1ef17c
FEM: Fix invalid check for empty resutls
...
Even when readResult was not producing any resuts the check was passing
fine as len({'Nodes': {}, 'Tet10Elem': {}, 'Results': []}) is 3
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:25 +01:00
Przemo Firszt
9e794a9cab
FEM: Add new properties to FEM preferences
...
The new properties are NumberOfEigenmode, EigenmodeHighLimit and
EigenmodeLowLimit. All 3 are linked with analysis object properties.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:24 +01:00
Przemo Firszt
39747dd9bb
FEM, Tests: Make sure eigenmode parameters are always the same.
...
The parameters were taken from FEM prefs, so the test could fail.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:23 +01:00
Przemo Firszt
8adba58977
FEM: Add EigenmodeHighLimit property to analysis object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:22 +01:00
Przemo Firszt
94c706ec44
FEM: Add EigenmodeLowLimit property to analysis object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:22 +01:00
Przemo Firszt
138a83bcd9
FEM: Add NumberOfEigenmode property to analysis object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:21 +01:00
Przemo Firszt
e08ac08398
FEM: Add WorkingDir property
...
that allows to set individual directory to be used for each analysis
object
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:20 +01:00
Przemo Firszt
d51a613710
FEM: Use AnalysisType in FemTools by default
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:19 +01:00
Przemo Firszt
564d9abd63
FEM: Move module loading to InitGui.py
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-22 11:20:03 +01:00
wmayer
84547aa75c
+ fix initialization order in initFemGui
2015-10-22 11:11:47 +02:00
wmayer
bdb0b54a3c
+ proper exception handling of FemGui module
2015-10-22 11:01:21 +02:00
Przemo Firszt
a4c5c91b8a
FEM: remove comment lines for _CommandNewMechanicalAnalysis.py
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:08 +02:00
Przemo Firszt
ba5d10b5b9
FEM: change purge_results to operate on analysis document
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:08 +02:00
Przemo Firszt
ee5b466229
FEM: improve enabling/disabling commands
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:07 +02:00
Przemo Firszt
e4fac7fe34
FEM: Migrate _CommandMechanicalMaterial to FemCommands
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:07 +02:00
Przemo Firszt
b883063b4f
FEM: Remove Frequency Analysis from GUI
...
Separate Frequency analysis button is no longer required.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:06 +02:00
Przemo Firszt
4935c3bf02
FEM: Add new analysis properity AnalysisType
...
To run frequency analysis user have 2 options:
1. Run normal aalysis, set "frequency" and start ccx
2. Set Analysis Type in Analysis object properties to "frequency" and
use Quick Analysis
With that workflow we no longer need a separate button for frequency
analysis. Also it's much easier to prepare & run a dediacted analysis
for frequency calculiations and separate analysis objects for
different load cases.
2015-10-19 21:28:05 +02:00
Przemo Firszt
1b11d6e290
FEM: Remove not used OutputDir analysis property
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:05 +02:00
Przemo Firszt
db2a2e0549
FEM: Change the way set_analysis_type works - use FEM prefs
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:04 +02:00
Przemo Firszt
aee61f871e
FEM: Make sure ccx working dir is set
...
Also TestFem and check_prerequisities are corrected
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:04 +02:00
Przemo Firszt
184e3c6139
FEM: Add AnalysisType to Prefs and use it in analysis control window.
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:03 +02:00
Przemo Firszt
fb36f73b88
FEM: Make sure it's clear what failed when ccx is not set and cannot be found
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:02 +02:00
Przemo Firszt
c337997fa9
FEM: Fix WorkingDir problem
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:01 +02:00
Przemo Firszt
5cf0c355f4
FEM: Typo + move debug print to be the first command in calculixStarted
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:01 +02:00
Przemo Firszt
c6b4a7f393
FEM: Rename pushButton_generate to pb_run_ccx
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:00 +02:00
Przemo Firszt
e308e30ef8
FEM: Rename pushButton_edit to pb_edit_inp
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:59 +02:00
Przemo Firszt
2851b7047d
FEM: Rename pushButton_write to pb_write_inp
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:58 +02:00
Przemo Firszt
c789db7518
FEM: Rename label_Time to l_time
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:58 +02:00
Przemo Firszt
f3ef44bf18
FEM: Move known_analysis_type definition to class definition
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:57 +02:00
Przemo Firszt
e0a74ac6c9
FEM: print should use brackets for python3 compatibility
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:56 +02:00
Przemo Firszt
4dbde7c2fe
FEM: Fix invalid exception raise call
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:55 +02:00
Przemo Firszt
969ae6e60a
FEM: Test ccx binary before use
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:54 +02:00
Przemo Firszt
c1974aa005
FEM: Add documentation to FemTools
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:54 +02:00
Przemo Firszt
0306c801e7
FEM: Constraints should be enabled only when there is an active analysis
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:53 +02:00
Przemo Firszt
e7715eabe3
FEM: Use fem-constraint-pulley and fem-constraint-gear icon names
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:52 +02:00
wmayer
19aa17cd27
+ make FEM beam section and shell thickness ready for drag and drop
2015-10-19 14:48:07 +02:00
wmayer
b6a1e15aee
+ Do not rely on active document but active analysis object
2015-10-18 22:36:36 +02:00
wmayer
1b6cad550b
+ allow to activate an analysis object from context-menu
2015-10-18 16:10:32 +02:00
wmayer
e6c2edb8af
+ write out nodes sorted by id to abaqus file
2015-10-18 12:32:09 +02:00
Przemo Firszt
f2b1b97748
FEM, Tests: Add setting static analysis
...
The tests from GUI were failing if FEM prefs were set to frequency analysis
Debugged by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-17 12:20:48 -03:00
Przemo Firszt
6a04948235
FEM, Tests: Include detailed information in test report after failure
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-17 12:20:48 -03:00
Przemo Firszt
fbd9714a3b
FEM, Tests: Close files as soon as possible
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-17 12:20:48 -03:00
Przemo Firszt
409df7b1bd
FEM: Migrate _CommandQuickAnalysis to FemCommands
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-13 21:41:06 +02:00