Commit Graph

17547 Commits

Author SHA1 Message Date
vocx-fc
05cb2cb4c1 Draft: WorkingPlane, Pythonic style, improved the docstrings; added a graphic to explain the type of point that the functions return; maybe getLocalCoords() should be named getRelativeCoords(), as the return value is a relative vector referred to the plane. 2019-08-09 16:54:50 -03:00
vocx-fc
023cf12c50 Draft: WorkingPlane, Pythonic style, improved the docstring; why does the projection invert the direction of the component, that is, -x instead of x, if the angle between the vectors x and u is larger than 1 radian? Why specifically 1 radian? 2019-08-09 16:54:50 -03:00
vocx-fc
ad74402d9f Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
ee09fc323a Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
34c2dcb277 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
53ef53e0c8 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
2bdf33478b Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
f13529deac Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
cf430bf754 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
8ac3b21ca9 Draft: WorkingPlane, Pythonic style, improved the docstring; these methods only work when 'FreeCAD.GuiUp' is True; it should print a message to the console indicating that. 2019-08-09 16:54:50 -03:00
vocx-fc
5a4ca2a4f7 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
17f39fc410 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
97a02d8795 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
7b91cbce33 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
51e6f91824 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
1a328e58f4 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
04a0c0bbf8 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
2d294994a7 Draft: WorkingPlane, Pythonic style, improved the docstrings. 2019-08-09 16:54:50 -03:00
vocx-fc
9b3aba60b0 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
59f66dcf87 Draft: WorkingPlane, Pythonic style, docstring of the initialization of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
dbbb84b441 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
89b9e64786 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
15b11b8cb9 Draft: WorkingPlane, Pythonic style, added whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
1161cbb9ba Draft: WorkingPlane, moved document docstring to the top 2019-08-09 16:54:50 -03:00
vocx-fc
f54cbb9682 Draft: WorkingPlane, Pythonic style, added spaces after commas, and removed trailing whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
ba5ba2af68 Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
cdde9a4df6 Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
0decb4118b Draft: WorkingPlane, Pythonic style, added spaces 2019-08-09 16:54:50 -03:00
vocx-fc
92797bc976 Draft: WorkingPlane, Pythonic style, add spaces 2019-08-09 16:54:50 -03:00
vocx-fc
4ecb107098 Draft: WorkingPlane, removed excessive indentation 2019-08-09 16:54:50 -03:00
vocx-fc
d3a41be668 Draft: WorkingPlane, removed unnecessary semi-colons and indentation 2019-08-09 16:54:50 -03:00
Bernd Hahnebach
c6e11c4ac1 Arch: IFC import, inform user if material color != shape color 2019-08-09 00:23:23 +02:00
Bernd Hahnebach
362d523e00 Arch: IFC import, use inverse attributes for reading properties 2019-08-07 21:58:55 +02:00
Bernd Hahnebach
ad8a81642c Arch: IFC import, only merge materials if they have same name and color 2019-08-07 21:58:48 +02:00
howetuft
7c48ad754c 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
7b315d3a15 DlgSettingsGeneral.ui: hide unused option from dialog 2019-08-02 17:39:48 +02:00
donovaly
c1ab62af64 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
b3e5fe56ce use shiboken version number to check for existence of Shiboken::ObjectType::typeForTypeName 2019-08-02 16:31:13 +02:00
wmayer
9b3102a701 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
9873ec6d52 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
6ab7d261cc fix regression of previous commit and implement an alternative way to avoid MSVC compiler bug 2019-08-02 00:25:32 +02:00
wmayer
b23589d6af 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
755536e9df 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
cc59222aa0 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
9e203ddf01 Merge pull request #2387 from IMbackK/DeburrUi
Make Deburr Panel reasonably sized
2019-07-29 10:41:02 -05:00
IMback
0795b6633d Make Deburr Pannel rasonably sized 2019-07-28 23:25:26 +02:00
Yorik van Havre
b013624ba8 Tools: added --gui option to fcinfo tool 2019-07-28 13:59:03 -03:00
Erni24
6b1be38f35 add relative permittivity to Air and Water 2019-07-27 21:18:32 +02:00
Yorik van Havre
1919659fad Tools: Small additional fix in fcinfo tool 2019-07-27 15:59:03 -03:00
Yorik van Havre
b351c3da5a Tools: More options to fcinfo tool 2019-07-27 15:48:51 -03:00