Commit Graph

3433 Commits

Author SHA1 Message Date
Przemo Firszt
c777bdef76 FEM: Add function for adding materiales from a directory
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:38 +02:00
Przemo Firszt
d33650596a FEM: Use chooseMat directly set set initial value for material
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:37 +02:00
Przemo Firszt
6848c9a9ca FEM: Add icons to materials
Add icons to distinguish where the material is from. FreeCAD icon for
build-in materials, notmal material icon for materials from user
preferences directory which is "~/.FreeCAD/Materials" on linux or
from an user defined location defined in FEM preferences.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:36 +02:00
Przemo Firszt
33b4579d72 FEM: Add option to define custom material directory
That commit also tidies up FEM preferences, so all file
choosers have the same width

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:36 +02:00
Przemo Firszt
072ae57378 FEM: Rename dirname to sytem_mat_dir
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:35 +02:00
Przemo Firszt
4232ab88d8 FEM: Read materials from user settings directory
That commit also adds python function getUserAppDataDir that calls
Application::getUserAppDataDir()

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:34 +02:00
Przemo Firszt
21ee31afb5 FEM: Fill default ccx binary location in Preferences
ccx path is filled for linux and windows if it was empty.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:33 +02:00
Przemo Firszt
1f96d235ff 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
800a0a7b67 + improve abaqus export 2015-04-14 13:33:20 +02:00
wmayer
2ee400b679 + fix rendering problems for FEM elements 2015-04-13 22:11:27 +02:00
wmayer
d2a5857a55 + workaround for limit of length of file names 2015-04-13 18:23:30 +02:00
wmayer
6e44688670 + fix critical memory leak 2015-04-13 17:24:54 +02:00
wmayer
2760588bda + allow PNG format with POV-Ray 3.7 on Windows 2015-04-13 11:12:14 +02:00
wmayer
07249655e2 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-13 10:33:39 +02:00
wmayer
f66346b695 + fix wrong template path for Raytracing/Lux project 2015-04-13 10:33:10 +02:00
Yorik van Havre
3d53b383b4 Material: Fixed bug in cmake file from commit 6685ae0 2015-04-12 19:21:32 -03:00
wmayer
f8671e9d1c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-12 18:39:27 +02:00
wmayer
a77fd99e85 + add Document::sendMsgToFirstView, fix memory leak 2015-04-12 18:39:01 +02:00
Yorik van Havre
00204bf2cb Material: Added prefix to steel material cards 2015-04-12 13:31:49 -03:00
wmayer
416891c728 + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer
396aeeb2f1 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-11 22:30:36 +02:00
wmayer
5e9543ca55 + fixes #0001963: Only write needed user data in FCSTD file if any. 2015-04-11 22:30:11 +02:00
Yorik van Havre
47228b1246 Arch: small fix in IFC explorer 2015-04-11 14:58:33 -03:00
wmayer
80680c986c + fix bad choose of limit 2015-04-11 01:06:03 +02:00
Bernd Hahnebach
0724744f92 FEM: CalculiX file, boundaries one line for each axis 2015-04-11 00:17:08 +02:00
Bernd Hahnebach
d1f1bee665 FEM: cheange some Comments in CalculiX input file 2015-04-11 00:16:51 +02:00
wmayer
e77027b24d + fix highlighting of words with numbers 2015-04-10 23:38:29 +02:00
wmayer
8caf6275a5 + fix Part.__sortEdges__, check for object type in Part.Wire 2015-04-10 18:25:31 +02:00
Yorik van Havre
d0d80a00a3 Draft: make sure normal is consistent for whole path in PathArray 2015-04-10 12:10:28 -03:00
Yorik van Havre
7beae55f34 Arch: Objects with same colors are now exported to IFC with same IfcSurfaceStyle 2015-04-09 21:07:44 -03:00
Yorik van Havre
300922274a Arch: added DAE importer patch - fixes #2044 2015-04-09 20:17:37 -03:00
wmayer
53178ad3f0 + fix crash of ccx, use darker green for ccx output, fix typos 2015-04-09 23:26:06 +02:00
Ian Rees
87a64d7323 Expands list of mesh formats for import/export 2015-04-09 22:15:28 +02:00
Sebastian Hoogen
b170e87801 use multiFuse in Draft/Array issue #1971 2015-04-09 20:19:13 +02:00
Przemo Firszt
6fb5733e47 FEM: Unify access rights for FEM svg images
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:11 +02:00
Przemo Firszt
3cef815ebe FEM: Replace hardcoded icon with a normal image file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:11 +02:00
Przemo Firszt
8d2f971705 Material: Change PLA material description
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt
dbff15d9a5 Material: Use MPa for Young's modulus in material definitions
Scientific notation removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt
0e6384db63 FEM: Change Young's modulus limit
2000 was way too low and it was causing some unxepected behaviour for
Young's modulud over 2000 kPa

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:09 +02:00
Przemo Firszt
70f7c9036e FEM: Fix typo
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:08 +02:00
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