Commit Graph

131 Commits

Author SHA1 Message Date
Bernd Hahnebach
aa336f77cb Material: card templates, fix name of property shear modulus 2019-02-14 21:11:23 +01:00
Bernd Hahnebach
f3d652fbea Material: editor, get rid of duplicate unit definition
- in mat editor xml file and in FreeCAD unit system
- remove it from material editor xml file and get it from FreeCAD unit system
2019-02-14 21:11:23 +01:00
Bernd Hahnebach
0afa321746 Material: editor dict file, fix some units 2019-02-14 21:11:22 +01:00
Yorik van Havre
671addb4cd Material: Provisorily hide preview fields while mat preview is not implemented 2019-02-14 10:49:24 -02:00
Bernd Hahnebach
4b08acd301 Material: mat card parser, there are two parsers in FreeCAD, make some comments about the existance of each other 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
e1740c0c10 Material: tools adapt csv and ods 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
d651fce35e Material: cards, fix CardName 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
4e7b3f3526 Material: card steel generic, fix kg unit 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
e3cea848f5 Material: mat cards, add some units to all cards where missing 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
be154a21d4 Material: card reader and writer, use file card name as CardName property 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
f283bd6c96 Material: card reader, fix for values containing a = 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
a8349c135b Material: card writer, some comments 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
5ec5d072e6 Material: card writer, better attribute classification
- move Density from General to Mechanical
- move Source from Meta to General and call it SourceURL
- add ReferenceSource to General
- move specific price, vendor and ProductURL into group cost
2019-02-12 10:17:50 -02:00
Bernd Hahnebach
6421722ae1 Material: card writer, do not handle source as comment in mat card 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
7edfa1e076 Material: card writer, move FreeCAD version info behind matcard info, std in original cards 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
5798813be1 Material: Py3, get rid of extra bees on printing 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
f98e930185 Material: Py3 fixes in mat card writer 2019-02-11 15:18:24 +01:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Bernd Hahnebach
c896eb49ca Material Editor: fix unit for specific heat, fixes #3781 2019-02-04 22:18:54 -02:00
Bernd Hahnebach
0bfcc2872a Material: code formating, flake8 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
8166145d0c Material: code formating, file beginnings Python block comment with space, flake8 E265 2019-01-05 12:17:52 +01:00
Yorik van Havre
0970989adf Material: Fixed py3/import issues 2018-12-29 14:40:25 -02:00
caceres
7be816033a Material: MaterialEditor migrate to model/view 2018-12-29 12:47:30 -02:00
looooo
c2be67e812 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Yorik van Havre
3910a6b97f Material: Fixed encoding bug 2018-11-22 11:45:06 -02:00
Yorik van Havre
ce0f871cba py3 compatibility fixes 2018-10-27 16:04:51 -03:00
luz.paz
892c64823f FEM: Typos 2018-10-17 11:23:04 +02:00
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