Commit Graph

104 Commits

Author SHA1 Message Date
wmayer
8088aa159f CMake 2.8.12 and lower allowed the SOURCE signature in add_custom_command
In CMake 3.0 the policy CMP0050 was introduced where it could be set to OLD to keep this behaviour while for NEW an error was raised.
Since CMake 3.5.2 a warning comes up when using the OLD behaviour and that it will be removed in a future version.

In FreeCAD we switched to the new behaviour now and removed the SOURCE signature from add_custom_command which affects the macros
fc_copy_sources, fc_target_copy_resource and fc_target_copy_resource_flat and their usage.
It's not possible any more to add files to a target by using the macros. Now a file must be added to the target before using the macros.

This commit fixes it for Arch, Draft, OpenSCAD, Material, Plot and Ship
2018-08-20 11:47:39 +02:00
Bernd Hahnebach
d546e41923 py3: define more unicode for python3, see commit 421afe84 2018-08-07 16:57:00 +02:00
Yorik van Havre
f138a5eb8d Arch: Enable compression when exporting IFC files (reuse similar vectors, colors, etc) 2018-07-17 14:19:38 -03:00
luz.paz
a1ffb0fa3c Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
Bernd Hahnebach
502a9d5f05 Material: recreated materials files with the bash tools 2018-07-11 21:18:49 -03:00
Bernd Hahnebach
ae11ee4385 Material: properties, add ultimate strain 2018-07-11 21:18:49 -03:00
Bernd Hahnebach
e90977a103 Material: properties, remove Elasticity because it is a theory and not a property 2018-07-11 21:18:49 -03:00
Bernd Hahnebach
abdaa271ea Material: material properties, add angle of friction 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
9f5b421cd9 Material: material properties, remove duplicate 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
0ea61180c4 Material: material properties, add some links as comments 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
60ab67e516 Material: material properties, better formating 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
616129c012 Material: add some thermal and mechanical properties to material module 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
78e86c7e05 Material: material module, add some comment 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
d081459837 Material: editor, add cards output and some comment 2018-07-03 17:54:57 -03:00
luz.paz
92e9659fba Misc. comment typos
+ Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`

+ crowdin translation refinements:  
- https://crowdin.com/translate/freecad/6766/en-en#6499546
- https://crowdin.com/translate/freecad/6766/en-en#6504496
2018-06-13 20:37:17 -04:00
Bernd Hahnebach
ec7520d37f Material: main module, only use one material structure list 2018-06-11 06:21:41 +02:00
wmayer
eadf9af1d7 fix typo 2018-06-10 20:55:16 +02:00
Bernd Hahnebach
d02b1fee43 Material: move materal property list into material module and use this for material editor ui and writing of mat files 2018-06-10 20:54:23 +02:00
Bernd Hahnebach
eeb5c5e09d Material, code formating, flake8 compatible code 2018-06-10 20:54:23 +02:00
Bernd Hahnebach
74ee4a8bd9 Material: editor, move poisson ration into mechanical properties 2018-06-09 10:53:00 +02:00
Bernd Hahnebach
44fd9342e9 Material: editor, move in ui hardcoded properties into the editor module in a tuple 2018-06-09 10:52:59 +02:00
Bernd Hahnebach
18f8986c85 Materials: use material directory pref from FEM 2018-06-05 14:28:25 -03:00
Bernd Hahnebach
5ea0e9aee0 Material: editor, some comments 2018-06-01 08:26:58 +02:00
Bernd Hahnebach
367c763c8c Material: Editor, fix open the editor without mat 2018-06-01 08:21:36 +02:00
Bernd Hahnebach
69c7c0ac90 Material: Editor, fix folders to look for mat cards 2018-06-01 08:21:33 +02:00
Bernd Hahnebach
d114685107 Material: Editor and import, only use mat keys if they have a value 2018-06-01 08:21:31 +02:00
Bernd Hahnebach
2deeca9602 Material: Editor and import, fix openfile and savefile if no filename is given, make open and save work the same way 2018-06-01 08:21:28 +02:00
Bernd Hahnebach
5f3fdc9b42 Material: Editor and import, delete trailing white spaces 2018-06-01 08:21:26 +02:00
Bernd Hahnebach
81ae098b18 Material: fix some units in various material cards 2018-05-23 17:59:29 +02:00
looooo
cdcb3bec4a PySide2: qApp -> QApplication 2018-04-14 10:40:31 +02:00
lorenz
7dfb83d250 python3: ConfigParser -> RawConfigParser
"%"-symbol makes problems with python3
2018-04-10 15:12:24 +02:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
looooo
5d1de6037d py3: some diff for fem with py3 2017-10-25 10:56:31 +02:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
Yorik van Havre
ea274e59ed Arch: Material improvements
* Fix in material editor when loading existing material
* Added some properties to Arch materials that reflect the contents of the material dictionary
* Added some similar properties to Arch equipment
* Fixed standard code button in Arch material panel to go to Omniclass website to pick a code
2017-03-08 20:39:38 -03:00
Kunda
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
looooo
170d7b6c3d py3: Material: print to python3
taken from: 23fa650261ed346b2c5a6216b7720b87e063b27d
author: kkremitzki

Update Arch,Fem,Material,Spreadsheet for py3 print
2017-02-12 18:57:54 +01:00
Priit Laes
6f95c7083b python: Material: *.py: Fix syntax for Python 3 2017-02-12 18:57:54 +01:00
qingfengxia
42ac9574b2 Fem: add push button to export customed fluid and solid material to FCMat file 2017-01-22 13:22:29 +00:00
qingfengxia
3c8e0355d8 Fem: add air and water fluid material into data/Mod/Material 2017-01-19 00:08:02 +00:00
Alexander Gryson
e3721b62c0 Update Material Workbench icons 2016-12-26 12:23:07 -02:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
9a4b4695e2 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
vdwalts
ebab0475b7 Materials: add thmermomechanical material values to gerneral steel and calculix steel 2016-08-04 17:45:04 +02:00
Przemo Firszt
0028b5ec28 [Material] Fix acrylic glass density and remove comments 2016-07-20 21:48:07 +01:00
Przemo Firszt
1a635c6d36 [Material] Amend Aluminum-6061-T6.FCMat
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-07-18 17:40:15 -03:00
Yorik van Havre
072f75a8a8 Material: allow to display Drawing Patterns in material editor - issue #2577 2016-06-09 22:19:45 -03:00
Przemo Firszt
96c8802223 [Material] Add Acrylic Glass
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-05-29 19:24:41 -03:00
mandeeps708
49024c34a0 adds new material: Aluminium-6061-T6 2016-04-17 05:02:38 +05:30