Commit Graph

224 Commits

Author SHA1 Message Date
Bernd Hahnebach
79016e0881 Materials: code formating, flake8 2019-06-25 00:14:43 +02:00
luz.paz
3fe94ea7cf [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
luz.paz
75b52c85b0 [Material] Respect unicode filenames
Fixes #4027
2019-06-19 22:16:13 +02:00
luz.paz
9453e68e23 Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
Bernd Hahnebach
49329919a7 Materials: cards, recreate new cards and update csv and ods 2019-06-16 18:29:32 +02:00
Bernd Hahnebach
874fc22786 Materials: cards, add concrete matrix and reinforcement materials
- safety factor is included in material params
- this is for sure not a material parameter
- but FreeCAD has no safety factor yet
- workaround: directly include them in the material parameter
- structural engineers have a lot of them in limeted state design
2019-06-16 18:29:32 +02:00
Bernd Hahnebach
3abd3fcc2e Materials: white space 2019-06-11 10:37:08 +02:00
Bernd Hahnebach
6380b28e24 Materials: card reader, delete not needed variable 2019-06-08 22:35:26 +02:00
Bernd Hahnebach
f68958cd07 Material: card reader, do not break reading if saved with depretiated writer 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
5301013873 Material: card utils, do not fail to return card dicts if reading a card fails 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
28efbd2e75 Materials: editor, improve comments 2019-06-05 21:49:16 +02:00
Bernd Hahnebach
6e5ec327c9 Materials: card writer, add whitspace between FreeCAD and version string 2019-06-03 22:17:50 +02:00
Bernd Hahnebach
3c82ffca73 Material: white space 2019-05-24 19:08:17 +02:00
Bernd Hahnebach
14eaa95bb6 Material: card utils, add some code comments for new added methods 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
8698ed56cd Material: card utils, add methods for quatity unit checks 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
09a0a6f95f Material: card utils, add a parameter to ignore template mat on import materials 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
5658119786 Material: card utils, example code comments fixes 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
71b645d76d Material: templatematerial, make FractureToughness a float
- it unit is not possible with FreeCAD unit system
2019-05-14 12:05:47 +02:00
luz.paz
8d5fbd947b FIx some user and non-user facing typos
Found via ` codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig* -L pard,wallthicknessOn`  
codespell version 1.15.0.dev0
2019-05-12 16:59:26 +02:00
Bernd Hahnebach
b68ddaafca Material: card utils and import, add some code examples 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
1aa5a7ffbc Material: card utils, data model comments and a few more 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
84bb893e4b Material: editor, allow duplicate card names and other improvements 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
080c48b4a3 Material: material main module, move card related defs into mat utils module 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
27591f5063 Material: card utils modul, add some defs:
- def to write template mat file
- def to write card tools headers file
- def to get the FreeCAD source directory out of Makefile in build
- the data will be taken from the material editor template
- means we gone have an overall template to generate all others material related templates now
- output reistered, non registered, used and not used material keys (very useful for debuging)
2019-04-25 20:43:07 +02:00
Bernd Hahnebach
3f5f53e91f Material: mat card template for material editor, move to a much more pythonic one 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
ae37de1419 Material: card utils, move card methods from material editor to card utils module
- isolate card tools for further use in other modules
- possible use of card tools in cmd mode
- add some methods for better card handling
- add some output methods for better card debuging
- editor, better names for methods
- add preference to sort cards and add duplicate cards too
- use icon in mat editor card combo box
2019-04-25 20:43:06 +02:00
Bernd Hahnebach
edb3813a1c Material: card utils, add new module 2019-04-25 20:43:06 +02:00
Bernd Hahnebach
a20b05f4cd Material: editor, add author 2019-04-25 20:43:06 +02:00
Bernd Hahnebach
ad88b6af76 Material, editor and main module, code formating 2019-04-23 09:13:16 +02:00
Bernd Hahnebach
82c46ab56a Material: editor, code formating, line length, prints, add some comments 2019-04-23 09:13:04 +02:00
Bernd Hahnebach
95aaa73388 Material and FEM: card reader and writer, make sure to import the same in all modules 2019-04-23 09:13:02 +02:00
Bernd Hahnebach
50c363c2f3 Material: editor, sort cards in combo box 2019-04-23 09:13:00 +02:00
Bernd Hahnebach
659ac13573 Material: redundant card reader and writer, add some print messages 2019-04-23 09:12:55 +02:00
Bernd Hahnebach
80bf21c3d6 Material: import card module, code formating, comments and prints 2019-04-23 09:12:55 +02:00
Bernd Hahnebach
bb558a4b57 Material: editor, small ui layout improvements 2019-04-23 09:12:53 +02:00
Bernd Hahnebach
19a62a44ea Material: editor code formating, white space and remove new lines 2019-03-05 13:43:20 +01:00
luz.paz
9079de7516 Material: fix typos
Found via codespell
Thought this would merit a pre-0.18 release commit because of `./src/Mod/Material/StandardMaterial/TEMPLATE.FCMat`
2019-03-02 18:11:45 -05:00
Bernd Hahnebach
039ed11e84 Material: card tools, update ods and csv 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
ce4413e7a4 Material: cards, add group sections to all cards, by rewriting them once again 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
ac51fb35a7 Material: cards, rewrite all cards with card writer 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
6a3a3f9f3e Material: mat module, write all cards def, add a parameter to not write the template card, which is active by default 2019-03-02 18:13:10 +01:00
Bernd Hahnebach
93456fda4c Material: card writer, get rid of double new line on file end 2019-03-02 18:13:10 +01:00
Bernd Hahnebach
e481af1369 Material: card writer, better meta comments 2019-03-02 18:13:10 +01:00
Bernd Hahnebach
f8771be49a Material, card writer, add parameter to switch off group section writing (it is how material cards look like ATM) 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
83a40a3273 Material, card writer, move comment 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
1f2e0fb9e5 Material: card writer, add white spaces around = 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
cf7df30f0f Material: card template, add group sections 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
910753def0 Material: card template, white space 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
34cd6733fb Material: card template, update some descriptions and links 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
db027538dd Material: card template, move property link comment in a separat line 2019-03-02 18:13:08 +01:00