Commit Graph

211 Commits

Author SHA1 Message Date
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
Bernd Hahnebach
4e788b40ff Material: card template, update localized property comments 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
dfc4ac5ceb Material: card template, update unit description 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
49707de57a Material: cards and templates, sort and move all rendering and vector rendering group attributes 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
025ec48c8b Material: cards and templates, sort and move all architecture group attributes 2019-03-02 18:13:07 +01:00
Bernd Hahnebach
c942ab71c5 Material: cards and templates, sort and move all thermal group attributes 2019-03-02 18:13:07 +01:00
Bernd Hahnebach
6f6735f9a8 Material: cards and templates, sort and move all mechanical group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach
68e23b6814 Material: cards and templates, sort and move all general group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach
d0098ff966 Material: cards and templates, sort and move all cost group attributes 2019-03-02 18:13:05 +01:00
Bernd Hahnebach
90d789e393 Material: card tools headers, add missing property polish name 2019-03-02 18:13:05 +01:00
Bernd Hahnebach
f8a5d278a1 Material: card tools headers, delete old depretiated property enlargen 2019-03-02 18:13:05 +01:00
wmayer
070a153757 fixes 0003865: non-ASCII characters incorrectly displayed in material cards
The combination Py2+Qt5 already worked, this change now fixes the combinations Py2+Qt4 and Py3+Qt5
2019-02-26 19:26:00 +01:00
Bernd Hahnebach
397418078a Material: card tools, update csv and ods 2019-02-21 21:53:04 +01:00
Bernd Hahnebach
638988f589 Material: cards, some fixes in generic cards 2019-02-21 21:53:04 +01:00