Commit Graph

20 Commits

Author SHA1 Message Date
Bernd Hahnebach
a7492d1934 Material: comments 2021-07-15 00:09:58 +02:00
Bernd Hahnebach
b235f1be73 Material: pep8 code formating 2020-11-18 08:15:50 +01:00
Yorik van Havre
0f875168b6 Material: Mateiral editor UI fixes
- Fixed color buttons
- Introduced "Section Color" property
- Fixed named properties
- Added preview icons
- Remember UI dimensions and expanded states
2020-10-27 19:16:58 +01:00
Bernd Hahnebach
e100339cd9 Material: typo 2019-09-12 23:50:41 +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
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
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
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