Commit Graph

211 Commits

Author SHA1 Message Date
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
Bernd Hahnebach
73f0348105 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
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
Bernd Hahnebach
d0bee305e9 Material: editor, add author 2019-04-25 20:43:06 +02:00
Bernd Hahnebach
d6582737a7 Material, editor and main module, code formating 2019-04-23 09:13:16 +02:00
Bernd Hahnebach
ac71d82dd4 Material: editor, code formating, line length, prints, add some comments 2019-04-23 09:13:04 +02:00
Bernd Hahnebach
4cb913d12c 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
7f5094231e Material: editor, sort cards in combo box 2019-04-23 09:13:00 +02:00
Bernd Hahnebach
04d9836b88 Material: redundant card reader and writer, add some print messages 2019-04-23 09:12:55 +02:00
Bernd Hahnebach
5b1d977df1 Material: import card module, code formating, comments and prints 2019-04-23 09:12:55 +02:00
Bernd Hahnebach
f501b396ca Material: editor, small ui layout improvements 2019-04-23 09:12:53 +02:00
Bernd Hahnebach
c2e45cd4a9 Material: editor code formating, white space and remove new lines 2019-03-05 13:43:20 +01:00
luz.paz
a8cea8c73f 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
7714ab01de Material: card tools, update ods and csv 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
30203c7f09 Material: cards, add group sections to all cards, by rewriting them once again 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
40740f0dba Material: cards, rewrite all cards with card writer 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
ee1d4ae44b 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
848d8f4d9c Material: card writer, get rid of double new line on file end 2019-03-02 18:13:10 +01:00
Bernd Hahnebach
fe0c313f00 Material: card writer, better meta comments 2019-03-02 18:13:10 +01:00
Bernd Hahnebach
2f621af7fa 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
1ed9561864 Material, card writer, move comment 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
fb1b9f2ef4 Material: card writer, add white spaces around = 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
c4d2e17052 Material: card template, add group sections 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
3ad91c756e Material: card template, white space 2019-03-02 18:13:09 +01:00
Bernd Hahnebach
e50fbbd430 Material: card template, update some descriptions and links 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
1b3e8f456a Material: card template, move property link comment in a separat line 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
ebc5ed9502 Material: card template, update localized property comments 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
ae16e9dc6a Material: card template, update unit description 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
b562b8a80f Material: cards and templates, sort and move all rendering and vector rendering group attributes 2019-03-02 18:13:08 +01:00
Bernd Hahnebach
c0ca1760a6 Material: cards and templates, sort and move all architecture group attributes 2019-03-02 18:13:07 +01:00
Bernd Hahnebach
7de6e47b98 Material: cards and templates, sort and move all thermal group attributes 2019-03-02 18:13:07 +01:00
Bernd Hahnebach
31d399c7d4 Material: cards and templates, sort and move all mechanical group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach
323e0833b6 Material: cards and templates, sort and move all general group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach
08c48c8524 Material: cards and templates, sort and move all cost group attributes 2019-03-02 18:13:05 +01:00
Bernd Hahnebach
75b5f249ab Material: card tools headers, add missing property polish name 2019-03-02 18:13:05 +01:00
Bernd Hahnebach
ac304ebd22 Material: card tools headers, delete old depretiated property enlargen 2019-03-02 18:13:05 +01:00
wmayer
4b17d0e6ba 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
d8d01f1c4d Material: card tools, update csv and ods 2019-02-21 21:53:04 +01:00
Bernd Hahnebach
c7531ec6cf Material: cards, some fixes in generic cards 2019-02-21 21:53:04 +01:00