Commit Graph

3393 Commits

Author SHA1 Message Date
Przemo Firszt
12a9f98fc7 FEM: Enable displacement related elements on "Show" only
Displacement related elements (factor, slider max and the slider itself)
are now only active when "Show" is selected. Previously they were active
even when "Show" wasn't checked and it was potentially confusing for the
user as nothing was changing when chacnging slider settings.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:08 +02:00
Przemo Firszt
09a466ccd0 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
ef7dcd4a80 FEM: Add "None" and simplify material setting
The "-->choose Material" has been replaced with a not defined material.
That makes setting/retrieving material to/from the object much easier
and allows user to have a "not defined" material. Previously it wasn't
possible to change i.e. form Steel to "not defined".

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:06 +02:00
Przemo Firszt
9799b06f43 FEM: Clean unused import in MechanicalMaterial.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:06 +02:00
Przemo Firszt
4d11812eba FEM: Comment out not yet used saveMat function 2015-04-09 19:45:05 +02:00
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
Yorik van Havre
ed8b877eea Draft: Improved behaviour of Clone tool when dealing with Arch objects 2015-04-08 21:00:43 -03:00
Yorik van Havre
86cf572f34 Arch: Misc improvements for IFC workflow
* Added utility to make non-parametric Arch component
* Ability for all Arch components to be a clone of another Arch component of same type
* Modified the Draft Clone tool to produce Arch Clones if applicable
* Fixed Arch Roofs so they can be based on a solid shape like other Arch objects
* Ability to change the Root element to be imported in IFC preferences
* Ability to import IFC files also as compounds, Part shapes or non-parametric Arch objects
* Added an "only" parameter to importIFC.open() to import only a certain object ID.
* Ability to read colors (IfcSurfaceStyle) from IFC objects
2015-04-08 12:34:48 -03:00
wmayer
fb753b24b1 + use correct function to get resource directory 2015-04-05 18:30:35 +02:00
wmayer
7118689243 + fix memory leak in toBiArcs 2015-04-05 17:19:04 +02:00
wmayer
ac5392cd42 + remove leftover 2015-04-05 16:50:58 +02:00
wmayer
997e21f749 + integrate biarcs algorithm 2015-04-05 14:10:03 +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
a8a09e8e80 + fixes #0002033: boolean failure, model refine 2015-04-03 07:39:17 +02:00
wmayer
61b1b4c67b + apply patch from Debian to fix build failure of KDL with clang 2015-04-01 16:15:29 +02:00
wmayer
8ed77e22d3 + support .inp file format 2015-04-01 11:09:46 +02:00
wmayer
421d82e432 + extend ActionFunction and use in mesh view provider 2015-03-31 01:02:16 +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
wmayer
139c1b32dc Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-28 17:40:36 +01:00
DeepSOIC
e6931f22ed Sketcher: bugfix: disallow opening when geometry types changed 2015-03-28 17:35:10 +01:00
DeepSOIC
e4716e0e29 Sketcher: small asserts cleanup 2015-03-28 17:35:10 +01:00
DeepSOIC
51eab4cd14 Sketcher: add checks for null pointers
Made throws on null pointers.
2015-03-28 17:35:10 +01:00
DeepSOIC
0a83b2460c Sketcher: fix repr string for symmetric constr. 2015-03-28 17:19:37 +01:00
Bernd Hahnebach
dfb16f8b0a Fem: fix: system() is evaluated instead of calling it 2015-03-26 19:38:10 +01:00
blobfish
06a34cc3ec Part: ModelRefine: catch bspline isEqual exception 2015-03-22 18:43:39 +01:00
wmayer
897591f765 + add methods to get GProps from curves and surfaces 2015-03-22 18:39:49 +01:00
wmayer
46cdf7aa3b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-03-21 19:56:00 +01:00