wmayer
bf2266aee3
+ hide input shape after creating fem object, give feedback on wrong selection for nodes set
2015-04-22 22:45:07 +02:00
Bernd Hahnebach
f4f7759bba
FEM: CalculiX input file, possibility to write more than one material object
2015-04-22 15:28:37 -03:00
Przemo Firszt
943ded5774
FEM: Fix typo in fem_console_message name
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
987dddfc78
FEM: Fix rare crash related to the date of compilation of ccx
...
Printing FEM console message could fail if ccx was compiled in March
and standard output contained double dotted a.
"You are using an executable made on Mi 4. Mär 19:49:02 CET 2015"
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
4b56d3d406
FEM: Fix typo. Rename MathObject to MaterialObject
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
35c5de0782
FEM: No need to check length, empty list evaluates to False
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
25c18729e1
FEM: Disable "open editor" and "run ccx" buttons.
...
This commit moves checking prerequisites to function. The function
is called before writing .inp file to make sure all required objects
are included in the analysis. "open editor" and "run ccx" buttons are
if check_prerequisites runs successfully.
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
2d90d39cc3
FEM: Make sure cursor gets restored if write_calculix_input_file fails
...
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
d3c7270031
FEM: Fix typos
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
76aa89b536
FEM: Catch ccx errors and print to FEM console in red
...
Code by wmayer
http://forum.freecadweb.org/viewtopic.php?f=18&t=10514&p=84921#p84901
2015-04-17 10:51:56 +02:00
Przemo Firszt
2acfadfeef
FEM: Change way of converting ccx output to unicode
...
Previous method was prone to UnicodeDecodeError. The try-catch for
UnicodeDecodeError stays in as additional safety net.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-17 10:51:56 +02:00
Przemo Firszt
bf179d9f78
FEM: Add option to define ccx path in Preferences
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:32 +02:00
wmayer
1c79de55ed
+ workaround for limit of length of file names
2015-04-13 18:23:30 +02:00
Bernd Hahnebach
56b15fb690
FEM: CalculiX file, boundaries one line for each axis
2015-04-11 00:17:08 +02:00
Bernd Hahnebach
08be917054
FEM: cheange some Comments in CalculiX input file
2015-04-11 00:16:51 +02:00
wmayer
e18796efc5
+ fix crash of ccx, use darker green for ccx output, fix typos
2015-04-09 23:26:06 +02:00
Przemo Firszt
3a7f48c632
FEM: Fix typo
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:08 +02:00
Przemo Firszt
8489a014d1
FEM: replace vertical factor scroll bar with a horizonal one
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:07 +02:00
Przemo Firszt
0f9bcc2f84
FEM: Replace deprecated backticks with repr
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt
7b01cd6832
FEM: Replace "!=" with "is not" when comparing to None
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt
7030aa7482
FEM: Fix white space errors
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt
835228ef34
FEM: Fix spaces around =/+/: and brackets
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:59 +02:00
Przemo Firszt
40e8f5b020
FEM: Clean unused imports
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:58 +02:00
Przemo Firszt
3b46c4e94a
FEM: Fix copyright date
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt
1af11d9db7
FEM: Rename OutStr to more descriptive fem_console_message
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt
b149ba0288
FEM: Make CalculiX execute error message red
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:56 +02:00
wmayer
453eb18abb
+ start external editor without blocking GUI
2015-04-03 17:55:51 +02:00
Przemo Firszt
d13c279d5a
FEM: Add preferences dialog
...
This patch add FEM preferrences dialog. There is currently only
one option to define if internal or external editor should be used to
open CalculiX input .inp files. Disabling internal editor allows to
define path to external editor.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-03 08:07:28 +02:00
wmayer
bc9b8bcf19
+ support .inp file format
2015-04-01 11:09:46 +02:00
wmayer
90b5d64831
+ remove platform check
2015-03-30 16:36:40 +02:00
wmayer
30098b62e3
FEM: improve Abaqus syntax highlighter
2015-03-30 15:28:08 +02:00
wmayer
ff774748cd
+ FEM: get nodes by vertex
2015-03-30 11:45:35 +02:00
Bernd Hahnebach
a15ea4ca18
Fem: add Support for loads and supports on edges to CalculiX file
2015-03-30 10:24:38 +02:00
Bernd Hahnebach
e4c2421350
Fem: added Support for more than one Force- and FixedObject in CalculiX file
2015-03-30 10:23:42 +02:00
Przemo Firszt
18e4fdf5c2
+ FEM: Use existing internal editor for inp files
2015-03-28 19:33:11 +01:00
Bernd Hahnebach
b4b0ed5c44
Fem: fix: system() is evaluated instead of calling it
2015-03-26 19:38:10 +01:00
Przemo Firszt
a53f6818b4
FEM: Add description to massage about CalculiX binary
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:04:11 +01:00
Przemo Firszt
ec27cbc1c6
FEM: Add printCalculiXstdout function
...
That non-critical part was quite often silently crashing with
UnicodeDecodeError and as a side effect FreeCAD wasn't loading perfectly
valid CalculiX result file. In long run that function should be replaced
with a write-to-log counterpart and the CalculiX stdout should be shown
to the user only upon request.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:56 +01:00
Przemo Firszt
d693051f14
FEM: Add function to show CalculiX state changes
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:43 +01:00
Przemo Firszt
e0ed154996
FEM: Warn user about not implemented Loads/Supports
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:27 +01:00
Przemo Firszt
0ed9b18367
FEM: Link exisitng calculixError procedure with error signal
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:03:05 +01:00
Przemo Firszt
47b88e47fb
FEM: Add message to indicate end of writing CalculiX input file
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:02:52 +01:00
Przemo Firszt
ea640ea104
FEM: fix typos
...
machanical -> mechanical
Van Mises -> Von Mises
http://en.wikipedia.org/wiki/Von_Mises_yield_criterion
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:02:36 +01:00
Przemo Firszt
41539d672b
FEM: Fix cursor error
...
FEM wb was throwing errors:
X Error: BadCursor (invalid Cursor parameter) 6
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0x3
X Error: BadCursor (invalid Cursor parameter) 6
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0x3
X Error: BadCursor (invalid Cursor parameter) 6
Major opcode: 95 (X_FreeCursor)
Resource id: 0x3
according to this [1] that patch should not make any change for windows
and fixes the problem on linux.
[1] https://bugreports.qt.io/browse/PYSIDE-243
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-21 12:02:20 +01:00
Przemo Firszt
91e3d30e5b
FEM: Replace fem console prints with a function
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-16 18:42:02 +00:00
Przemo Firszt
5ed9e816a0
FEM: Show error if results file is missing
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-03-16 18:42:02 +00:00
Bernd Hahnebach
5b6360684d
Fem: units in CalculiX file: mm and N
2015-03-16 07:29:34 +01:00
Bernd Hahnebach
9a6b729694
Fem: typo in thickness property of FemAnalysis class
2015-03-13 10:09:43 -03:00
Bernd Hahnebach
4a8e1a58b0
Fem: Fix in CalculiX file if not supported shapes are used for constraints
2015-03-06 17:03:22 +01:00
Bernd Hahnebach
baba11610a
FEM: add comments to CalculiX input file
2015-03-05 22:31:04 +01:00