Commit Graph

116 Commits

Author SHA1 Message Date
vocx-fc
bb96ff25df Draft: importSVG, commit 19f87739 accidentally introduced blady merged code that produced syntax errors; then 1ad65467 tried to fix it by removing the syntax errors; however a large block of text needs to be removed as well; this was supposed to happen in pull request #2418; however, that pull request no longer merges cleanly so it was withdrawn; this commit finally fixes the problem. 2019-08-14 14:41:58 -03:00
luz.paz
020a66cddf Fix misc. 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*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L od,orign,orginx,orginy`
2019-08-14 14:36:53 -03:00
Yorik van Havre
b2a32125bc Draft: Fixed leftover from badly merged commit 2019-08-12 19:46:40 -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
vocx-fc
f58858c478 Draft: importSVG.py, improve the docstrings, and indentations 2019-08-09 18:46:46 -03:00
luz.paz
50a8e3cf22 Fix misc. source comment 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*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`  
Fix ./src/Tools/fcinfo grammar + whitesapce  
Fix typos in ./src/Mod/Mesh/App/Core/Evaluation.cpp
2019-08-07 20:16:45 -04:00
Syres916
9ccd2e4762 [Draft] ImportSVG apply suggested changes
along with two bug fixes subsequently detected in testing
2019-07-25 23:36:34 -03:00
Syres916
e7ce5fcd1a [Draft] ImportSVG - Set DPI automatically where possible
...otherwise request user input
2019-07-25 23:36:34 -03:00
Yorik van Havre
d9c765eba5 Draft: better handling of non-closing paths in SVG import - issue #2488 2019-02-18 23:22:31 -03:00
donovaly
d0008e6756 export Flattened SVG fixes for python 3
To be able to export as flattened SVG with the Conda build of FC one needs these fixes.
2019-02-09 20:01:44 -02:00
easyw
2da5a78d86 minor fix on SVG import 2019-01-07 12:26:34 -02:00
looooo
c2be67e812 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Yorik van Havre
88f47ee725 Fixed coverity issues
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00