Commit Graph

17644 Commits

Author SHA1 Message Date
wmayer
0cc2920862 remove /EHs or /EHsc option only for release builds, add /bigobj to release builds 2019-08-10 14:44:26 +02:00
Bernd Hahnebach
a4a7bc72b1 Arch: IFC import, add some comment 2019-08-10 13:04:38 +02:00
Bernd Hahnebach
fd8045d084 Arch: IFC import, move recycler class around 2019-08-10 13:04:38 +02:00
Bernd Hahnebach
ea4a7fdde3 Arch: IFC export, move into separate module 2019-08-10 13:04:38 +02:00
Yorik van Havre
8c9a9767e6 Draft: Fixed typo 2019-08-09 23:08:29 -03:00
Daniel Angelov
b630dd7731 Remove extra indentation from webGL template. 2019-08-09 19:07:57 -03:00
Syres916
99f1798faf [Arch] Bugfix - Unknown command 'Draft_Edit' 2019-08-09 18:56:18 -03:00
Daniel Angelov
b6c8052bf8 Update translate in no GUIup case
If the `utf8_decode` is not added, when saving on server side, the following error occurs: 
```
  File "/usr/share/freecad/Mod/Arch/importWebGL.py", line 129, in export
    FreeCAD.Console.PrintMessage(translate("Arch","Successfully written", utf8_decode=True) + ' ' + filename + "\n")
TypeError: translate() got an unexpected keyword argument 'utf8_decode'
```
2019-08-09 18:54:11 -03:00
Yorik van Havre
2a139a89d4 Merge branch 'misc-typos' of https://github.com/luzpaz/FreeCAD into luzpaz-misc-typos 2019-08-09 18:52:31 -03:00
vocx-fc
3e11cc5969 Draft: importSVG.py, commented out or removed unused variables. Quality of code checked with flake8 --ignore=E226,E266,E401,W503 2019-08-09 18:46:46 -03:00
vocx-fc
2770387422 Draft: importSVG.py, use auxiliary variables to reduce the length of the lines, particualrly the lines with regular expressions which search quantities in strings 2019-08-09 18:46:46 -03:00
vocx-fc
68f380076b Draft: importSVG.py, use auxiliary variables to reduce the length of the lines, and make the code more readable 2019-08-09 18:46:46 -03:00
vocx-fc
b554cb5df9 Draft: importSVG.py, use auxiliary variables to reduce the length of the lines, avoid too many nested parentheses, and make the code more readable 2019-08-09 18:46:46 -03:00
vocx-fc
7e45fd35dd Draft: importSVG.py, test for FreeCAD.GuiUp to confirm that the interface is up; the old check doesn't work; show the Qt dialog only if the interface exist, otherwise assume 96 dpi 2019-08-09 18:46:46 -03:00
vocx-fc
9424c114e6 Draft: importSVG.py, improved spacing, used auxiliary variables to reduce the line length and clean up the code 2019-08-09 18:46:46 -03:00
vocx-fc
79dfd6167c Draft: importSVG.py, improved spacing, used auxiliary variables to reduce the line length and clean up the code 2019-08-09 18:46:46 -03:00
vocx-fc
5c10b7eb57 Draft: importSVG.py, 4 space indentation, 8/8 translateVec, getMatrix 2019-08-09 18:46:46 -03:00
vocx-fc
908ccde34e Draft: importSVG.py, 4 space indentation, 7/? characters, endElement, applyTrans 2019-08-09 18:46:46 -03:00
vocx-fc
b17912f949 Draft: importSVG.py, 4 space indentation, 6/? circles, texts, symbols 2019-08-09 18:46:46 -03:00
vocx-fc
a4cd4bea21 Draft: importSVG.py, 4 space indentation, 5/? lines, polylines, ellipses 2019-08-09 18:46:46 -03:00
vocx-fc
ab420f3f17 Draft: importSVG.py, 4 space indentation, 3/? rects 2019-08-09 18:46:46 -03:00
vocx-fc
64ce130f78 Draft: importSVG.py, 4 space indentation, 3/? paths 2019-08-09 18:46:46 -03:00
vocx-fc
74d6b8f7d3 Draft: importSVG.py, 4 space indentation, 2/? 2019-08-09 18:46:46 -03:00
vocx-fc
81480a6dc4 Draft: importSVG.py, 4 space indentation, 1/? 2019-08-09 18:46:46 -03:00
vocx-fc
cf40dabaa9 Draft: importSVG.py, improved Pythonic style, 4 space indentation instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
696cbeca49 Draft: importSVG.py, improved Pythonic style, 4 space indentation instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
822327ca04 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
dec7bd91bc Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
59eb93a708 Draft: importSVG.py, improved Pythonic style, spaces and comments 2019-08-09 18:46:46 -03:00
vocx-fc
330746d125 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
e180d28eae Draft: importSVG.py, fixed indentation that causes an error 2019-08-09 18:46:46 -03:00
vocx-fc
96046379be Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
3d7995da71 Draft: importSVG.py, improved Pythonic style, 4 space indentations 2019-08-09 18:46:46 -03:00
vocx-fc
2068c0346c Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
80ebb72c90 Draft: importSVG.py, improved Pythonic style, spacing around mathematical operators and commas 2019-08-09 18:46:46 -03:00
vocx-fc
c9440078a7 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
023b28803a Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
dacb262f6f Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
945eee8f86 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
0e2c288137 Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
a7b305056c Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
3f653bf9f2 Draft: importSVG.py, improved Python style, spacing and indentation 2019-08-09 18:46:46 -03:00
vocx-fc
227dfc8a32 Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
fe409d5d84 Draft: importSVG.py, improved docstrings, and comments in the svgHandler class 2019-08-09 18:46:46 -03:00
vocx-fc
22e0a19f11 Draft: importSVG.py, improved docstrings, and comments in the functions 2019-08-09 18:46:46 -03:00
vocx-fc
6c2a0cc55e Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
d4d3e7fd26 Draft: importSVG.py, improve the docstrings, and indentations 2019-08-09 18:46:46 -03:00
vocx-fc
7c2dd77548 Draft: importOCA.py, open the file to write as text, not to write in binary 2019-08-09 18:38:24 -03:00
vocx-fc
3777e8f7f8 Draft: importOCA.py, print to the FreeCAD console (report view), and also allow translating the text 2019-08-09 18:38:24 -03:00
vocx-fc
a8532d6456 Draft: importOCA.py, as of 2019 this file format is practically obsolete, and this module is not maintained 2019-08-09 18:38:24 -03:00