Commit Graph

17537 Commits

Author SHA1 Message Date
vocx-fc
15b186bbfe Draft: WorkingPlane, Pythonic style, improved the docstring; setup() only works when 'FreeCAD.GuiUp' is True, otherwise it fails silently. This should be change to print a message to the console. 2019-08-09 16:54:50 -03:00
vocx-fc
e7aaf4b771 Draft: WorkingPlane, Pythonic style, improved the docstrings; alignToSelection() only works when 'FreeCADGui.Selection' is available, that is, when the graphical interface is loaded. 2019-08-09 16:54:50 -03:00
vocx-fc
8ade7083d6 Draft: WorkingPlane, Pythonic style, improved the docstrings; alignToSelection() only really works with Faces because it calls alignToFace(); it doesn't work with Edges nor Wires because alignToCurve() isn't fully implemented. 2019-08-09 16:54:50 -03:00
vocx-fc
0ec668a057 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
df54c400a0 Draft: WorkingPlane, Pythonic style, improved the docstring, although alignToCurve is not yet implemented so it doesn't do anything 2019-08-09 16:54:50 -03:00
vocx-fc
7ef7c17d03 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
f900e57036 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
a941c0179e Draft: WorkingPlane, Pythonic style, improved the docstrings. 2019-08-09 16:54:50 -03:00
vocx-fc
5eaa98629d Draft: WorkingPlane, Pythonic style, improved the docstrings, in particular offsetToPoint(); I have some doubts about the implementation in 3D space as it seems to calculate a projected distance, and not the real distance; I don't think this is very helpful when the direction is different from perpendicular (normal); perpendicular distance is certainly the most common case, so I don't know if there is any problem at all in practice. 2019-08-09 16:54:50 -03:00
vocx-fc
5fd074bfa9 Draft: WorkingPlane, Pythonic style, docstring of the initialization of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
c02260de90 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
4ce2e481e5 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
1037258387 Draft: WorkingPlane, Pythonic style, added whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
d8e154ec17 Draft: WorkingPlane, moved document docstring to the top 2019-08-09 16:54:50 -03:00
vocx-fc
b518898ddb Draft: WorkingPlane, Pythonic style, added spaces after commas, and removed trailing whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
14c6df1cba Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
664441e9be Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
b63407489f Draft: WorkingPlane, Pythonic style, added spaces 2019-08-09 16:54:50 -03:00
vocx-fc
77fab9f03f Draft: WorkingPlane, Pythonic style, add spaces 2019-08-09 16:54:50 -03:00
vocx-fc
c5fab90679 Draft: WorkingPlane, removed excessive indentation 2019-08-09 16:54:50 -03:00
vocx-fc
a4ec930790 Draft: WorkingPlane, removed unnecessary semi-colons and indentation 2019-08-09 16:54:50 -03:00
Bernd Hahnebach
db405d74d0 Arch: IFC import, inform user if material color != shape color 2019-08-09 00:23:23 +02:00
Bernd Hahnebach
3366209789 Arch: IFC import, use inverse attributes for reading properties 2019-08-07 21:58:55 +02:00
Bernd Hahnebach
e4db78c668 Arch: IFC import, only merge materials if they have same name and color 2019-08-07 21:58:48 +02:00
howetuft
11a74bd226 SMDS_VolumeTool.cpp: Fix compilation warning
Creating an explicit copy assignment operator for class XYZ, as implicit copy assignment operator is deprecated (-Wdeprecated-copy)
2019-08-03 13:36:30 +02:00
donovaly
7a5fe3e606 DlgSettingsGeneral.ui: hide unused option from dialog 2019-08-02 17:39:48 +02:00
donovaly
b96813f064 TaskSketcherGeneral.ui: save horizontal space
The renderingOrder ListWidget consumes too much vertical space. In 99% of the cases it has only 3 entries but currently there is always space consumed for 10 entries.
Therefore use a size policy with 12 px for one entry and expanded if necessary to contain more entries
2019-08-02 17:28:02 +02:00
wmayer
d422019cd7 use shiboken version number to check for existence of Shiboken::ObjectType::typeForTypeName 2019-08-02 16:31:13 +02:00
wmayer
e03ae02d41 if SEH option is activated remove compiler flags /EHsc or /EHs to avoid compiler warnings (D9025) 2019-08-02 14:17:38 +02:00
wmayer
559ddec58e do not allow Python to re-define snprintf and vsnprintf for VS 2015 or above to fix build failure with boost 1.69 or later 2019-08-02 14:14:37 +02:00
wmayer
da6a82eaca fix regression of previous commit and implement an alternative way to avoid MSVC compiler bug 2019-08-02 00:25:32 +02:00
wmayer
a3e6bf4ba5 avoid including bitset header and Qt 5.12's qfloat16.h in the same compilation unit
Hints: qfloat16.h is included through PySide2 headers
       There is a compiler bug in VS 2017 so that the build stops (https://bugreports.qt.io/browse/QTBUG-72073)
2019-08-01 20:01:33 +02:00
sliptonic
ef9ad22c1e Merge pull request #2380 from Russ4262/patch-2
[Path] PathCircularHoleBase: Re-enable Final Depths below hole bottom
2019-07-31 13:51:56 -05:00
wmayer
e7ff88a69b workaround for a weird behaviour of Shiboken2Config.cmake that may explicitly set CMAKE_BUILD_TYPE to Release 2019-07-31 13:14:21 +02:00
sliptonic
066194b152 Merge pull request #2387 from IMbackK/DeburrUi
Make Deburr Panel reasonably sized
2019-07-29 10:41:02 -05:00
IMback
a6c6c73c96 Make Deburr Pannel rasonably sized 2019-07-28 23:25:26 +02:00
Yorik van Havre
a1edbb092c Tools: added --gui option to fcinfo tool 2019-07-28 13:59:03 -03:00
Erni24
772cfc56a0 add relative permittivity to Air and Water 2019-07-27 21:18:32 +02:00
Yorik van Havre
d04686026d Tools: Small additional fix in fcinfo tool 2019-07-27 15:59:03 -03:00
Yorik van Havre
42d0282580 Tools: More options to fcinfo tool 2019-07-27 15:48:51 -03:00
Yorik van Havre
febbb16bb1 AddonManager: Don't check addons for updates if they have already been checked for updates 2019-07-26 22:21:51 -03:00
Russell Johnson
db3bb0dc0d Re-enable Final Depths below hole bottom
Also some flake8 cleanup and removal of unnecessary comments and code.
2019-07-26 14:17:57 -05:00
sliptonic
afce7318b1 Merge pull request #2379 from Russ4262/patch-1
[Path] MillFace: SetupProperties() syntax correction for broken Job GUI fix
2019-07-26 13:51:04 -05:00
sliptonic
c6a88965db Merge pull request #2377 from Russ4262/profile_faces_individually_fix
[Path] ProfileFaces: fix "HandleMultipleFeatures" set to "individually"
2019-07-26 13:50:45 -05:00
Russell Johnson
228bd786fe Fix: SetupProperties() syntax correction
Job GUI broken due to SetupProperties() syntax error
2019-07-26 11:18:49 -05:00
luz.paz
f649fbd39d [AddonManager] add cadquery addon logo 2019-07-26 10:54:44 -03:00
luz.paz
116e7f53f3 [AddonManager] Use the correct case-sensitive name for external addons/wbs
Followup to PR #2369  
* made appropriate addons/wbs lowercase
* used the correct case-sensitive spelling and formatting for addons/wbs  
* updated .qrc file  
* removed glider wb icon and mention in .qrc
2019-07-26 10:54:44 -03:00
vocx-fc
149c219e14 Draft: improved the style of the code, checked with flake8 2019-07-26 10:54:01 -03:00
vocx-fc
3abda3d5a7 Draft: improved Python style, checked with flake8 2019-07-26 10:54:01 -03:00
hlg
098d9d4e8d handle projects without sites gracefully 2019-07-26 10:45:25 -03:00