Commit Graph

2307 Commits

Author SHA1 Message Date
Przemo Firszt
1cdd944613 FEM: Replace spinBox_young_modulus with input_fd_young_modulus
spinBox_young_modulus variable is not Gui::SpinBox, but Gui::InputField

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:05 +02:00
Przemo Firszt
abcb6d36d2 FEM: Replace duplicated code with print_mat_data function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:04 +02:00
Przemo Firszt
3c3b184a41 FEM: Replace deprecated has_key with in
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:04 +02:00
Przemo Firszt
f444c7f61f FEM: Remove unused local variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:03 +02:00
Przemo Firszt
5901fb76de FEM: Fix spaces around =/+/: and brackets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:03 +02:00
Przemo Firszt
e2bb365fcc FEM: Fix white space errors
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:02 +02:00
Przemo Firszt
7945dca043 FEM: Clean unused imports in MechanicalMaterial.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:02 +02:00
Przemo Firszt
0890f092d0 FEM: Fix copyright date
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt
34aad2ff43 FEM: Replace deprecated backticks with repr
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:01 +02:00
Przemo Firszt
0d90d95f3b 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
a0ec25d031 FEM: Fix white space errors
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:00 +02:00
Przemo Firszt
8bcab55251 FEM: Fix spaces around =/+/: and brackets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:59 +02:00
Przemo Firszt
0788b20efd FEM: Clean unused imports
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:58 +02:00
Przemo Firszt
f92f238051 FEM: Fix copyright date
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:57 +02:00
Przemo Firszt
8d830a8ee9 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
b154acb80f FEM: Make CalculiX execute error message red
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:44:56 +02:00
wmayer
fb753b24b1 + use correct function to get resource directory 2015-04-05 18:30:35 +02:00
wmayer
f8c5e70d34 + start external editor without blocking GUI 2015-04-03 17:55:51 +02:00
Przemo Firszt
115d67b76f 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
8ed77e22d3 + support .inp file format 2015-04-01 11:09:46 +02:00
wmayer
e18cf373fc + remove platform check 2015-03-30 16:36:40 +02:00
wmayer
02c58ca564 FEM: improve Abaqus syntax highlighter 2015-03-30 15:28:08 +02:00
wmayer
5f04c6e882 + FEM: get nodes by vertex 2015-03-30 11:45:35 +02:00
wmayer
0ad627b06d + choose consistent C++ and Python method names
+ fix typos
+fix whitespaces
2015-03-30 10:42:14 +02:00
Bernd Hahnebach
d2888e6c28 Fem: add Support for loads and supports on edges to CalculiX file 2015-03-30 10:24:38 +02:00
Bernd Hahnebach
36a5014364 Fem: added Support for more than one Force- and FixedObject in CalculiX file 2015-03-30 10:23:42 +02:00
wmayer
2adc56cb14 + syntax highlighter for Abaqus, show short filename on tabs 2015-03-28 21:50:01 +01:00
Przemo Firszt
48bd90feec + FEM: Use existing internal editor for inp files 2015-03-28 19:33:11 +01:00
Bernd Hahnebach
dfb16f8b0a Fem: fix: system() is evaluated instead of calling it 2015-03-26 19:38:10 +01:00
Przemo Firszt
86f8fafea9 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
f9dc0bb77e 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
f5afc689ae 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
289a6489f7 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
982de49998 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
4f5b272200 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
23c84a19f2 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
3319108732 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
2a0f59a378 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
26d94d3e0c 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
a6e34128c6 Fem: units in CalculiX file: mm and N 2015-03-16 07:29:34 +01:00
wmayer
1f641abb51 + improve abaqus exporter 2015-03-15 14:53:22 +01:00
wmayer
97aba58bb2 + fix crash in export to abaqus 2015-03-15 02:08:55 +01:00
Bernd Hahnebach
2edf2d60b4 Fem: typo in thickness property of FemAnalysis class 2015-03-13 10:09:43 -03:00
wmayer
84d878fa81 + set Const attribute to some methods of FemMesh 2015-03-12 10:42:23 +01:00
wmayer
5f1effd108 + fix assert failure in FemMesh 2015-03-10 12:44:22 +01:00
Yorik van Havre
22c17aafbc Merged crowdin translations 2015-03-07 15:17:58 -03:00
Bernd Hahnebach
fb1ba50a4b Fem: ContraintForce: units are no longer printed on widget 2015-03-06 17:03:35 +01:00
Bernd Hahnebach
f0464ddf61 Fem: Fix in CalculiX file if not supported shapes are used for constraints 2015-03-06 17:03:22 +01:00
Bernd Hahnebach
0618d63a29 FEM: add comments to CalculiX input file 2015-03-05 22:31:04 +01:00
wmayer
a2e1d3e558 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-27 23:28:04 +01:00