Commit Graph

55 Commits

Author SHA1 Message Date
Bernd Hahnebach
dc7e0cb0ce Material: matcard reader, fix some problems 2021-07-14 16:07:36 +02:00
luz paz
b463eca738 Fix FEM and Material typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-07-14 10:48:20 +02:00
Bernd Hahnebach
ef9d9c7e57 Material: card reader, do not break if error on card reading. 2021-07-13 20:41:38 +02:00
Bernd Hahnebach
3f552500bc Maaterial: card writer, force to use utf-8 2021-07-13 17:55:21 +02:00
Bernd Hahnebach
e9d1af3acc Material: better warning message if card name is not file name 2021-07-13 17:42:25 +02:00
Bernd Hahnebach
df3ba55bf1 Material: matcard writer, print error if no card name is provided on save 2021-07-13 17:42:19 +02:00
Bernd Hahnebach
599e601797 Material: matcard writer, get rid of Python 2 code 2021-07-13 17:42:13 +02:00
Bernd Hahnebach
ad39095847 Material: code formating, spaces 2020-01-06 00:02:20 +01:00
Dietmar Czekay
65ccdee9d8 add VacuumPermittivity and fix adding user values to material editor in FEM 2019-09-04 11:29:09 -03:00
luz.paz
9845c002ab Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
Bernd Hahnebach
421656602a Materials: white space 2019-06-11 10:37:08 +02:00
Bernd Hahnebach
4da861e8a7 Materials: card reader, delete not needed variable 2019-06-08 22:35:26 +02:00
Bernd Hahnebach
5a9ba2988d Material: card reader, do not break reading if saved with depretiated writer 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
db1f3ac0c8 Materials: card writer, add whitspace between FreeCAD and version string 2019-06-03 22:17:50 +02:00
Bernd Hahnebach
57fc1d0cc2 Material: card utils and import, add some code examples 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
5b1d977df1 Material: import card module, code formating, comments and prints 2019-04-23 09:12:55 +02: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
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
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
4af93b326e Material: card parser, more important comments 2019-02-21 13:51:43 +01:00
Bernd Hahnebach
e6731765ff Material: card header, use the same header in all code files 2019-02-19 10:27:26 -03:00
Bernd Hahnebach
19926d7beb Material, mat card writer, do not write empty sections 2019-02-15 19:02:43 +01:00
Bernd Hahnebach
4b08acd301 Material: mat card parser, there are two parsers in FreeCAD, make some comments about the existance of each other 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
be154a21d4 Material: card reader and writer, use file card name as CardName property 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
f283bd6c96 Material: card reader, fix for values containing a = 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
a8349c135b Material: card writer, some comments 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
6421722ae1 Material: card writer, do not handle source as comment in mat card 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
7edfa1e076 Material: card writer, move FreeCAD version info behind matcard info, std in original cards 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
5798813be1 Material: Py3, get rid of extra bees on printing 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
f98e930185 Material: Py3 fixes in mat card writer 2019-02-11 15:18:24 +01:00
Bernd Hahnebach
0bfcc2872a Material: code formating, flake8 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
8166145d0c Material: code formating, file beginnings Python block comment with space, flake8 E265 2019-01-05 12:17:52 +01:00
Yorik van Havre
0970989adf Material: Fixed py3/import issues 2018-12-29 14:40:25 -02:00
caceres
7be816033a Material: MaterialEditor migrate to model/view 2018-12-29 12:47:30 -02:00
looooo
c2be67e812 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Yorik van Havre
ce0f871cba py3 compatibility fixes 2018-10-27 16:04:51 -03:00
Bernd Hahnebach
d546e41923 py3: define more unicode for python3, see commit 421afe84 2018-08-07 16:57:00 +02:00
Bernd Hahnebach
d02b1fee43 Material: move materal property list into material module and use this for material editor ui and writing of mat files 2018-06-10 20:54:23 +02:00
Bernd Hahnebach
eeb5c5e09d Material, code formating, flake8 compatible code 2018-06-10 20:54:23 +02:00
Bernd Hahnebach
d114685107 Material: Editor and import, only use mat keys if they have a value 2018-06-01 08:21:31 +02:00
Bernd Hahnebach
2deeca9602 Material: Editor and import, fix openfile and savefile if no filename is given, make open and save work the same way 2018-06-01 08:21:28 +02:00
Bernd Hahnebach
5f3fdc9b42 Material: Editor and import, delete trailing white spaces 2018-06-01 08:21:26 +02:00
Priit Laes
6f95c7083b python: Material: *.py: Fix syntax for Python 3 2017-02-12 18:57:54 +01:00
wmayer
9a4b4695e2 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
Yorik van Havre
faf062dc5a Material: Fixed the material editor dialog, thanks to rockn 2015-11-24 22:57:50 -02:00