Commit Graph

19 Commits

Author SHA1 Message Date
Bernd Hahnebach
f6978f419e Material: pep8 code formating 2020-11-18 08:15:50 +01:00
Yorik van Havre
cb245845c5 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
78c2d33a47 Material: typo 2019-09-12 23:50:41 +02:00
luz.paz
9845c002ab Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
Bernd Hahnebach
4431d30562 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
436ea86b79 Material: white space 2019-05-24 19:08:17 +02:00
Bernd Hahnebach
e6ce361a02 Material: card utils, add some code comments for new added methods 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
2cf145f6f7 Material: card utils, add methods for quatity unit checks 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
00716d75b5 Material: card utils, add a parameter to ignore template mat on import materials 2019-05-14 12:05:47 +02:00
Bernd Hahnebach
6c2f2189b0 Material: card utils, example code comments fixes 2019-05-14 12:05:47 +02:00
luz.paz
659d17129a 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
57fc1d0cc2 Material: card utils and import, add some code examples 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
e0b08e74f3 Material: card utils, data model comments and a few more 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
8827187935 Material: editor, allow duplicate card names and other improvements 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
e4f29ffe92 Material: material main module, move card related defs into mat utils module 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
f9c873531e 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
f69537ed30 Material: mat card template for material editor, move to a much more pythonic one 2019-04-25 20:43:07 +02:00
Bernd Hahnebach
eb21144c4b 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
4f3bcf05b9 Material: card utils, add new module 2019-04-25 20:43:06 +02:00