Commit Graph

1611 Commits

Author SHA1 Message Date
vocx-fc
67de5e212d Draft: Draft.py, the docstrings need triple quotes and be next to the method or class in order to be picked up by Doxygen or Sphinx; this complies with PEP 257 2019-08-14 14:33:15 -03:00
vocx-fc
1fdaec76fc Draft: DraftLayer, the docstrings need triple quotes next to the method or class name so they are correctly picked up by the Doxygen or Sphinx program to generate the documentation 2019-08-14 14:32:26 -03:00
vocx-fc
813338d62e Draft: WorkingPlane, improved Pythonic style, line length < 79 characters; shorter variables
to save space and have line lengths < 79 characters; added whitespace to comments
and used the self.__repr__() method to shorten the impression to the terminal;
broke the line inside parentheses to make the line shorter; inside alignToSelection() test for faces first
to use alignToFace(), which actually works; leave alignToCurve() for later,
as it doesn't actually do anything at the moment; improved docstrings in isOrtho(),
the orthogonality is tested for u, v, and axis, on the global axis +Y only;
removed wrongly placed comment in restore() method;
improved file docstring at the top.
2019-08-14 14:31:56 -03:00
vocx-fc
dc6b02917e Draft: DraftGui.py, the docstrings need triple quotes and be next to the method or class in order to be picked up by Doxygen or Sphinx; this complies with PEP 257 2019-08-14 14:30:46 -03:00
vocx-fc
5db35a9612 Draft: importDWG.py, use FreeCAD.Console.Print, instead of basic Python print() 2019-08-14 14:29:32 -03:00
vocx-fc
8af1f0d4eb Draft: importDWG.py, moved documentation text; added test for ODAFileConverter 2019-08-14 14:29:32 -03:00
vocx-fc
c4946349bf Draft: importDWG.py, improve Pythonic style, maximum line length; also translate the console messages 2019-08-14 14:29:32 -03:00
vocx-fc
5356735114 Draft: importDWG.py, improve Pythonic style, spacing around commas 2019-08-14 14:29:32 -03:00
vocx-fc
6a492a3280 Draft: importDWG.py, added proper docstrings to the functions 2019-08-14 14:29:32 -03:00
Yorik van Havre
4d3f24a5b8 Draft: Reorganizing DraftEdit and future Draft command modules 2019-08-12 21:30:45 -03:00
Yorik van Havre
b2a32125bc Draft: Fixed leftover from badly merged commit 2019-08-12 19:46:40 -03:00
Yorik van Havre
9f31341548 Draft: Fixed typo 2019-08-09 23:08:29 -03:00
Yorik van Havre
59863f4432 Merge branch 'misc-typos' of https://github.com/luzpaz/FreeCAD into luzpaz-misc-typos 2019-08-09 18:52:31 -03:00
vocx-fc
3e48aec60f 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
45bc9a73bb 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
6b4e3b274f 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
a5909173a5 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
5de106b2b3 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
dd8d3fb3c6 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
0d6fba6355 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
00b8ed29b3 Draft: importSVG.py, 4 space indentation, 8/8 translateVec, getMatrix 2019-08-09 18:46:46 -03:00
vocx-fc
c8fa7aebe4 Draft: importSVG.py, 4 space indentation, 7/? characters, endElement, applyTrans 2019-08-09 18:46:46 -03:00
vocx-fc
f747e4a8a6 Draft: importSVG.py, 4 space indentation, 6/? circles, texts, symbols 2019-08-09 18:46:46 -03:00
vocx-fc
5ca4c21e81 Draft: importSVG.py, 4 space indentation, 5/? lines, polylines, ellipses 2019-08-09 18:46:46 -03:00
vocx-fc
a0317cd461 Draft: importSVG.py, 4 space indentation, 3/? rects 2019-08-09 18:46:46 -03:00
vocx-fc
ea8de29daa Draft: importSVG.py, 4 space indentation, 3/? paths 2019-08-09 18:46:46 -03:00
vocx-fc
e67690d161 Draft: importSVG.py, 4 space indentation, 2/? 2019-08-09 18:46:46 -03:00
vocx-fc
3719e0c4a8 Draft: importSVG.py, 4 space indentation, 1/? 2019-08-09 18:46:46 -03:00
vocx-fc
32be13fa5d Draft: importSVG.py, improved Pythonic style, 4 space indentation instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
a1c304a869 Draft: importSVG.py, improved Pythonic style, 4 space indentation instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
3738ad67f3 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
c4822fc30b Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
c3fccc0f1e Draft: importSVG.py, improved Pythonic style, spaces and comments 2019-08-09 18:46:46 -03:00
vocx-fc
e6ad9b5c71 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
b28524fd95 Draft: importSVG.py, fixed indentation that causes an error 2019-08-09 18:46:46 -03:00
vocx-fc
0484b3b90d Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
4198bd4bc9 Draft: importSVG.py, improved Pythonic style, 4 space indentations 2019-08-09 18:46:46 -03:00
vocx-fc
a526701fe8 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
3d7b20fb93 Draft: importSVG.py, improved Pythonic style, spacing around mathematical operators and commas 2019-08-09 18:46:46 -03:00
vocx-fc
18a7d534d9 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
b3e37fff32 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
6571ce7f2f Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
8968a58d9b Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
5666854a94 Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
07caacd4ca Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
4c19b5a398 Draft: importSVG.py, improved Python style, spacing and indentation 2019-08-09 18:46:46 -03:00
vocx-fc
d85d9e18e6 Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
0d12cad0d3 Draft: importSVG.py, improved docstrings, and comments in the svgHandler class 2019-08-09 18:46:46 -03:00
vocx-fc
3266a55a27 Draft: importSVG.py, improved docstrings, and comments in the functions 2019-08-09 18:46:46 -03:00
vocx-fc
97a648ba3c Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00