Commit Graph

104 Commits

Author SHA1 Message Date
wmayer
16295d4121 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
9ce4111cee py3: define more unicode for python3, see commit 7ad0c7f7 2018-08-07 16:57:00 +02:00
Yorik van Havre
d940fd3447 Arch: Enable compression when exporting IFC files (reuse similar vectors, colors, etc) 2018-07-17 14:19:38 -03:00
luz.paz
be5e93ddfe 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
101fac6c12 Material: recreated materials files with the bash tools 2018-07-11 21:18:49 -03:00
Bernd Hahnebach
4627ad5856 Material: properties, add ultimate strain 2018-07-11 21:18:49 -03:00
Bernd Hahnebach
35b92641de Material: properties, remove Elasticity because it is a theory and not a property 2018-07-11 21:18:49 -03:00
Bernd Hahnebach
a790510d8e Material: material properties, add angle of friction 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
7a27e0e85a Material: material properties, remove duplicate 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
f379e61255 Material: material properties, add some links as comments 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
3887161f4c Material: material properties, better formating 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
527b3b35ed Material: add some thermal and mechanical properties to material module 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
6442ac83dc Material: material module, add some comment 2018-07-03 17:54:57 -03:00
Bernd Hahnebach
ce9e5d9553 Material: editor, add cards output and some comment 2018-07-03 17:54:57 -03:00
luz.paz
c0014cbd3e 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
1051f10498 Material: main module, only use one material structure list 2018-06-11 06:21:41 +02:00
wmayer
2410e53238 fix typo 2018-06-10 20:55:16 +02:00
Bernd Hahnebach
184a566da3 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
1e844d4f53 Material, code formating, flake8 compatible code 2018-06-10 20:54:23 +02:00
Bernd Hahnebach
c3e64d2861 Material: editor, move poisson ration into mechanical properties 2018-06-09 10:53:00 +02:00
Bernd Hahnebach
e143e3f290 Material: editor, move in ui hardcoded properties into the editor module in a tuple 2018-06-09 10:52:59 +02:00
Bernd Hahnebach
05bee3aa1f Materials: use material directory pref from FEM 2018-06-05 14:28:25 -03:00
Bernd Hahnebach
22b0fe9df7 Material: editor, some comments 2018-06-01 08:26:58 +02:00
Bernd Hahnebach
76cb5f033c Material: Editor, fix open the editor without mat 2018-06-01 08:21:36 +02:00
Bernd Hahnebach
b643d03319 Material: Editor, fix folders to look for mat cards 2018-06-01 08:21:33 +02:00
Bernd Hahnebach
6ae0aa0659 Material: Editor and import, only use mat keys if they have a value 2018-06-01 08:21:31 +02:00
Bernd Hahnebach
bf11a5f239 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
428e9ea5ed Material: Editor and import, delete trailing white spaces 2018-06-01 08:21:26 +02:00
Bernd Hahnebach
0c6ed4db13 Material: fix some units in various material cards 2018-05-23 17:59:29 +02:00
looooo
be5ea8391c PySide2: qApp -> QApplication 2018-04-14 10:40:31 +02:00
lorenz
f0a91a89ee python3: ConfigParser -> RawConfigParser
"%"-symbol makes problems with python3
2018-04-10 15:12:24 +02:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
looooo
7529754c34 py3: some diff for fem with py3 2017-10-25 10:56:31 +02:00
Unknown
ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
ab8f8919b6 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
91c59c7910 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
0485edd560 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
looooo
d925db17af 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
de89c2e178 python: Material: *.py: Fix syntax for Python 3 2017-02-12 18:57:54 +01:00
qingfengxia
66fcaf6796 Fem: add push button to export customed fluid and solid material to FCMat file 2017-01-22 13:22:29 +00:00
qingfengxia
82526160af Fem: add air and water fluid material into data/Mod/Material 2017-01-19 00:08:02 +00:00
Alexander Gryson
eb4e6fdcb9 Update Material Workbench icons 2016-12-26 12:23:07 -02:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
ee07ff6231 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
vdwalts
eb305c142f Materials: add thmermomechanical material values to gerneral steel and calculix steel 2016-08-04 17:45:04 +02:00
Przemo Firszt
8fc0fcf4ae [Material] Fix acrylic glass density and remove comments 2016-07-20 21:48:07 +01:00
Przemo Firszt
4e7f1d305b [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
319920c185 Material: allow to display Drawing Patterns in material editor - issue #2577 2016-06-09 22:19:45 -03:00
Przemo Firszt
c73602b797 [Material] Add Acrylic Glass
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-05-29 19:24:41 -03:00
mandeeps708
8059563681 adds new material: Aluminium-6061-T6 2016-04-17 05:02:38 +05:30