Commit Graph

13667 Commits

Author SHA1 Message Date
Yorik van Havre
7ee75eae6a Draft: Shape2Dview now supports buildingparts 2019-08-16 16:40:50 -03:00
Yorik van Havre
af65305d45 Arch: misc small fixes to buildingpart 2019-08-16 16:38:43 -03:00
sliptonic
f4598d968e Merge branch 'master' into HoleDiaDetection 2019-08-16 12:15:56 -05:00
Bernd Hahnebach
80bdd21471 FEM: code formating, command manager, more formating 2019-08-16 08:33:30 +02:00
Bernd Hahnebach
657b17594a FEM: code formating, command manager, fix indents 2019-08-16 08:33:24 +02:00
Bernd Hahnebach
b9ec1e15be FEM: code formating, commands, some new lines 2019-08-16 08:33:17 +02:00
Bernd Hahnebach
9bb420caf4 FEM: code formating, commands, use double quotes instead of single ones 2019-08-16 08:33:12 +02:00
Bernd Hahnebach
2c9eef4bbb FEM: code formating, small ones 2019-08-16 08:33:06 +02:00
Bernd Hahnebach
08a150ca95 FEM: ccx tools, small indent code formating 2019-08-15 08:40:01 +02:00
Yorik van Havre
b20a706fc6 Arch: Reorganized view properties of buildingParts 2019-08-15 00:20:24 -03:00
Yorik van Havre
c1c5210654 Arch: Minor fixes to IFC export 2019-08-14 17:56:15 -03:00
Bernd Hahnebach
bdf1abacc7 Arch: make new property to use shape color instead of material color working for all Arch objs 2019-08-14 21:41:47 +02:00
Yorik van Havre
09d0b2d0e7 Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
furti
a12b851ab3 Arch: Fix missing cache value for SectionPlane
When the Arch SectionPlane was rendered via TechDraw in Solid mode, the
last parameter "fillSpaces" was not set for the svgcache.
So the next render operation threw an exeption because there where only
4 instead of 5 elements in the cache list.
2019-08-14 14:43:13 -03:00
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
cab148a1ee [AddonManager] Add CADExchanger workbench icon
Manually created this .svg file. This PR also fixes a previous commit typos for AirplaneDesign and A2plus workbenches that fail to make them display correctly in the AddonManager GUI
2019-08-14 14:40:07 -03:00
luz.paz
144afc52f5 [AddonManager] Add ThreadProfile WB icon
+ fix whitespace issue in .qrc file
2019-08-14 14:38:52 -03:00
luz.paz
7d6d267c2d Fix issue in previous commit 2019-08-14 14:36:53 -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
vocx-fc
d1b19f7f3c 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
24086baef4 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
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
Amritpal Singh
303f38e446 [AddonManager] Added RebarAddon icon. Issue link: https://github.com/amrit3701/FreeCAD-Reinforcement/issues/24 2019-08-14 14:30:15 -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
paullee0
a5aa838575 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
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
1a3d2b11e1 Arch: fixed wrong copy/paste, duh... 2019-08-12 19:40:33 -03:00
Yorik van Havre
e53d3bbea2 AddonManager: Check that the addon folder actually contains files before declaring it installed 2019-08-12 19:36:15 -03:00
Yorik van Havre
722a0d552c Arch: Allow to turn off material color and object color syncing 2019-08-12 19:22:58 -03:00
IMback
6e129a8ec5 Improve irregular hole detection. 2019-08-11 20:56:17 +02:00
IMback
48a0a50d50 Changed hole diameter detection to avoid tessilation inaccuracies in more cases. 2019-08-11 17:16:22 +02:00
wandererfan
8f57a68f4e [TD]Allow Aligned & Uniform Conventions on Radius Dims 2019-08-10 19:41:03 -04:00
Tomas Pavlicek
1544c68a57 Enhance Radius dimension drawing 2019-08-10 19:41:03 -04:00
Bernd Hahnebach
902ee01eb6 Arch: IFC import, add some comment 2019-08-10 13:04:38 +02:00
Bernd Hahnebach
d1f1f81fff Arch: IFC import, move recycler class around 2019-08-10 13:04:38 +02:00
Bernd Hahnebach
3c5f418261 Arch: IFC export, move into separate module 2019-08-10 13:04:38 +02:00
Yorik van Havre
9f31341548 Draft: Fixed typo 2019-08-09 23:08:29 -03:00
Daniel Angelov
3a018f26aa Remove extra indentation from webGL template. 2019-08-09 19:07:57 -03:00
Syres916
450b96186f [Arch] Bugfix - Unknown command 'Draft_Edit' 2019-08-09 18:56:18 -03:00
Daniel Angelov
4402170f37 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
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