Commit Graph

17927 Commits

Author SHA1 Message Date
luz.paz
c02fb5f6b1 [AddonManager] Add ThreadProfile WB icon
+ fix whitespace issue in .qrc file
2019-08-14 14:38:52 -03:00
luz.paz
2469dacf74 Fix issue in previous commit 2019-08-14 14:36:53 -03:00
luz.paz
050ac16f1c 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
vocx-fc
f7587c30d8 Draft: DraftTrackers.py, the docstrings need triple quotes and be next to the method or class name so they are correctly picked up by Doxygen or Sphinx to generate documentation; this complies with PEP 257 2019-08-14 14:34:31 -03:00
vocx-fc
a72d78507d Draft: DraftTools.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:57 -03:00
vocx-fc
09046c98b1 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
cf368ac2b0 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
445538c7dd 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
a2103d814f 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
Amritpal Singh
3f99446607 [AddonManager] Added RebarAddon icon. Issue link: https://github.com/amrit3701/FreeCAD-Reinforcement/issues/24 2019-08-14 14:30:15 -03:00
vocx-fc
5340140427 Draft: importDWG.py, use FreeCAD.Console.Print, instead of basic Python print() 2019-08-14 14:29:32 -03:00
vocx-fc
b0df1a6f21 Draft: importDWG.py, moved documentation text; added test for ODAFileConverter 2019-08-14 14:29:32 -03:00
vocx-fc
0804564d81 Draft: importDWG.py, improve Pythonic style, maximum line length; also translate the console messages 2019-08-14 14:29:32 -03:00
vocx-fc
12d59b76d3 Draft: importDWG.py, improve Pythonic style, spacing around commas 2019-08-14 14:29:32 -03:00
vocx-fc
0056edb6cb Draft: importDWG.py, added proper docstrings to the functions 2019-08-14 14:29:32 -03:00
paullee0
e4132f5800 Multi-Width to support Sketch with multiple wires
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=37708&p=321956#p321956
2019-08-14 14:28:34 -03:00
Dubstar_04
cce9d07216 Make the z traverse height equal to the stock z max plus the clearance height. This should help avoid fixtures and such. 2019-08-14 09:30:55 +01:00
Yorik van Havre
16c26cb3b1 Draft: Reorganizing DraftEdit and future Draft command modules 2019-08-12 21:30:45 -03:00
Yorik van Havre
537a011a1d Draft: Fixed leftover from badly merged commit 2019-08-12 19:46:40 -03:00
Yorik van Havre
a210ec3733 Arch: fixed wrong copy/paste, duh... 2019-08-12 19:40:33 -03:00
Yorik van Havre
347b818076 AddonManager: Check that the addon folder actually contains files before declaring it installed 2019-08-12 19:36:15 -03:00
Yorik van Havre
683397b187 Arch: Allow to turn off material color and object color syncing 2019-08-12 19:22:58 -03:00
IMback
cf4804ebc0 Improve irregular hole detection. 2019-08-11 20:56:17 +02:00
IMback
3148d92d6e Changed hole diameter detection to avoid tessilation inaccuracies in more cases. 2019-08-11 17:16:22 +02:00
wandererfan
641d946fa4 [TD]Allow Aligned & Uniform Conventions on Radius Dims 2019-08-10 19:41:03 -04:00
Tomas Pavlicek
f704340f2b Enhance Radius dimension drawing 2019-08-10 19:41:03 -04:00
Markus Lampert
1800f29f44 Set transparency of base model clones to 80 2019-08-10 15:26:24 -07:00
Markus Lampert
1d4b035459 Auto complete job template name if naming convention isn't met 2019-08-10 15:26:24 -07:00
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