Commit Graph

6081 Commits

Author SHA1 Message Date
Przemo Firszt
32a51db481 FEM: Add Preferences option to hide built in materials
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:43 +02:00
Przemo Firszt
956e5f0da0 FEM: Remove self.params
It doesn't make sense to pull preferences in __init__ for later use as
they change dependin on user action.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:43 +02:00
Przemo Firszt
5040266320 FEM: Add message about reverting material after user clicked Cancel button
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:42 +02:00
Przemo Firszt
9205db4b77 FEM: Fix problem with lost values after editing material properties
Now a valid value is stored immediately into object material.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:41 +02:00
Przemo Firszt
75fcae04b9 FEM: Compare material using all properies and handle non-local materials
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:41 +02:00
Przemo Firszt
c091b87459 FEM: Rename comboBox_MaterialsInDir to cb_materials
The combo box no longer stores materials from just one dir, so name
needs to be changed

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:40 +02:00
Przemo Firszt
8113463e1e FEM: Import all materials in init instead of on-demand import
On-demand import is no longer good enough as we have 3 different
material directories and materials may have non-unique names.
A material is now identified by a full file path.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:39 +02:00
Przemo Firszt
343225dcc2 FEM: Show material description below combo box
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:39 +02:00
Przemo Firszt
97f5f76433 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
7cb4df59f7 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
9a9f7e64a5 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
f7fd04aa2b 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
0039ea9e72 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
54ae984650 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
b7bb4346da 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
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
Sebastian Hoogen
7ddd9d2ce0 check BoundingBox before calling distToShape
to find intersecting edges. issue #2050
2015-04-14 10:12:04 -03:00
wmayer
f6638d49ce + improve abaqus export 2015-04-14 13:33:20 +02:00
wmayer
0e91902e74 + move to Qt's built-in search system for icon resources 2015-04-14 11:37:24 +02:00
wmayer
2dc1890fd2 + fix rendering problems for FEM elements 2015-04-13 22:11:27 +02:00
wmayer
1c79de55ed + workaround for limit of length of file names 2015-04-13 18:23:30 +02:00
wmayer
618192fca5 + fix critical memory leak 2015-04-13 17:24:54 +02:00
wmayer
f53fd0fe90 + allow PNG format with POV-Ray 3.7 on Windows 2015-04-13 11:12:14 +02:00
wmayer
0c0365bb49 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-13 10:33:39 +02:00
wmayer
d9b6007722 + fix wrong template path for Raytracing/Lux project 2015-04-13 10:33:10 +02:00
Yorik van Havre
a7c346606f Material: Fixed bug in cmake file from commit 6685ae0 2015-04-12 19:21:32 -03:00
wmayer
3e1e5974f0 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-12 18:39:27 +02:00
wmayer
8991b9e04b + add Document::sendMsgToFirstView, fix memory leak 2015-04-12 18:39:01 +02:00
Yorik van Havre
6685ae0142 Material: Added prefix to steel material cards 2015-04-12 13:31:49 -03:00
wmayer
52db9a6cff + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer
708f6665e6 + fixes #0001831: FreeCAD can start only once 2015-04-12 02:02:30 +02:00
wmayer
2a5659c36b Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-04-11 22:30:36 +02:00
wmayer
8476bab7dc + fixes #0001963: Only write needed user data in FCSTD file if any. 2015-04-11 22:30:11 +02:00
Yorik van Havre
5c079f8da7 Arch: small fix in IFC explorer 2015-04-11 14:58:33 -03:00
wmayer
00daa1cbd2 + fixes #0001989: 'Open recent' not saved until exit. 2015-04-11 19:04:31 +02:00
wmayer
4e54841a75 + fixes #0002047: Don't register recent files which can't be opened 2015-04-11 17:34:46 +02:00
wmayer
c62319d2d9 + make XML parser more robust against unexpected structure 2015-04-11 13:11:12 +02:00
wmayer
9ea9980b2c + fix bad choose of limit 2015-04-11 01:06:03 +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
64b83139c7 + fix highlighting of words with numbers 2015-04-10 23:38:29 +02:00
wmayer
1c79112f6e + handling of undercore in calltips window 2015-04-10 19:36:30 +02:00
wmayer
b3cbf2b3da + fix Part.__sortEdges__, check for object type in Part.Wire 2015-04-10 18:25:31 +02:00
Yorik van Havre
0c32b1b0ec Draft: make sure normal is consistent for whole path in PathArray 2015-04-10 12:10:28 -03:00
Yorik van Havre
7a096acccd Arch: Objects with same colors are now exported to IFC with same IfcSurfaceStyle 2015-04-09 21:07:44 -03:00
Yorik van Havre
1f47d2cac0 Arch: added DAE importer patch - fixes #2044 2015-04-09 20:17:37 -03:00
wmayer
e18796efc5 + fix crash of ccx, use darker green for ccx output, fix typos 2015-04-09 23:26:06 +02:00
Ian Rees
4024f46677 Expands list of mesh formats for import/export 2015-04-09 22:15:28 +02:00
Sebastian Hoogen
6a6a3d3bd0 use multiFuse in Draft/Array issue #1971 2015-04-09 20:19:13 +02:00
Przemo Firszt
c774316642 FEM: Unify access rights for FEM svg images
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:11 +02:00