Commit Graph

21760 Commits

Author SHA1 Message Date
vocx-fc
6834a41a60 Surface: update tooltip of Filling 2020-10-19 13:18:12 +02:00
marioalexis
1ad7b9788b Improve make_sketch and geometric related functions 2020-10-19 13:15:14 +02:00
sliptonic
5b84f6a768 Merge pull request #3966 from sliptonic/feature/RtoIJarcs
[PATH] Add RtoIJ function to PathUtils.  fixes #2606
2020-10-18 14:28:12 -05:00
sliptonic
4c98567338 Merge pull request #3962 from sliptonic/feature/boundaryenforcecontrol
PATH: add boundary enforcement to the task panel
2020-10-18 14:26:17 -05:00
sliptonic
49c5c4481c Merge pull request #3956 from sliptonic/bug/pathsanity
Path: handle missing target directory in Path-Sanity
2020-10-18 14:25:45 -05:00
wmayer
730994945b Revert "PartDesign: [skip ci] fixes #0004371: Changing Hole profile from ISO to nothing is not possible: "Hole: Cannot get value from invalid enumeration""
This reverts commit afefc4ede20f04a37ac6cf0808e9eaf55b7d5775.
2020-10-18 17:08:18 +02:00
Priit Laes
4151ec279b Part: Enable test for issue 4456
Now that issue 4456 is fixed, we don't need to skip this test anymore.
2020-10-18 16:26:18 +02:00
wmayer
b945573ec8 macOS: suppress some warnings 2020-10-18 16:18:34 +02:00
wmayer
4f219342a7 Qt5: fix build failure with Qt 5.15 2020-10-18 16:17:48 +02:00
wmayer
38819925a5 Fem: Python header must be included before vtk headers to avoid re-definition of macro _LARGEFILE_SOURCE 2020-10-18 14:45:31 +02:00
wmayer
5c35325cc0 Py3: suppress warnings about un-initialized/deprecated tp_print slot 2020-10-18 14:45:31 +02:00
wmayer
09eca18e99 Part: remove deprecated type LinePyOld 2020-10-18 14:45:31 +02:00
wmayer
99451511ed Qt5: make StatusWidget derive from QDialog instead of QWidget to avoid code duplication and using deprecated API functions 2020-10-18 14:45:31 +02:00
wmayer
67e80c7d6a Qt5: fix deprecation warnings for Qt 5.15
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
+ overloaded version of QString::split is deprecated
+ QSysInfo::windowsVersion()/QSysInfo::MacVersion() is deprecated
2020-10-18 14:45:31 +02:00
wmayer
2647987157 Qt5: fix deprecation warnings of QWheelEvent in Qt 5.15 2020-10-18 14:45:31 +02:00
sgrogan
a8ca6ada87 fix import, OpenSCAD isn't namespace workbench 2020-10-17 23:54:26 +02:00
wmayer
409ceb6ec5 macOS: [skip ci] suppress some more Py3.8 warnings, suppress warnings about deprecated OpenGL API 2020-10-17 23:53:47 +02:00
wmayer
0f007c1370 Gui: [skip ci] workaround for Qt5.12.9 that causes a crash in the parameter editor for right clicks in an empty area 2020-10-17 20:06:53 +02:00
wmayer
633fa6e3ac fixes #0004456: Regression : Part.Plane.Intersect do not accept plane as argument [skip ci] 2020-10-17 10:12:01 +02:00
wmayer
dcfbc1bf3b Part: [skip ci] replace some old C-style casts with static_cast 2020-10-17 10:10:44 +02:00
Priit Laes
aeb82223ea Part: Add regression test for issue #4456 (skipped for now) 2020-10-17 09:37:59 +02:00
sliptonic
eb5c26c664 more pythonic params (thanks plaes) 2020-10-16 13:49:47 -05:00
sliptonic
5c48763cd5 Merge branch 'master' into bug/pathsanity 2020-10-16 13:03:01 -05:00
sliptonic
6c2101760f Merge branch 'master' into feature/boundaryenforcecontrol 2020-10-16 13:02:29 -05:00
sliptonic
04b54c4f6d add RtoIJ function to PathUtils. fixes #2606
function is unused at this time.  It should be used by preprocessor scripts like gcode_pre to
convert radius mode arcs to IJ mode.
2020-10-16 11:02:29 -05:00
wmayer
12577acc40 Part: [skip ci] allow to create empty shapes of each type 2020-10-16 17:08:49 +02:00
wmayer
d61a06e3b3 Part: [skip ci] fix bugs in MakePrismPy 2020-10-16 16:00:36 +02:00
wmayer
852b06cae7 Qt4: fix Qt4 build failure 2020-10-16 13:56:27 +02:00
wmayer
2473417a23 Part: expose BRepFeat_MakePrism to Python 2020-10-16 13:50:29 +02:00
wmayer
8dfce38041 Part: [skip ci] implement getPyObject/setPyObject of TopoShape class 2020-10-16 13:46:44 +02:00
Yorik van Havre
822943b1aa Arch: Fixed backwards compatibility issues 2020-10-16 12:40:09 +02:00
wmayer
587362af98 C++11: [skip ci] replace deprecated function std::mem_fun_ref with lambda functions 2020-10-15 18:55:29 +02:00
wmayer
2f7e432051 Py3: suppress warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
If the tp_print slot is not set the warning -Wmissing-field-initializers is raised. If it's set then -Wdeprecated-declarations is raised.
So, the only way is to suppress it.
2020-10-15 17:07:39 +02:00
wmayer
4a10f0c381 Qt5: fix deprecation warnings for Qt 5.15
+ replace QDirModel with QFileSystemModel
+ QProcess::start(QString, OpenMode) is deprecated
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
2020-10-15 16:50:11 +02:00
wmayer
1d289252c4 Py3: [skip ci] fix warning: missing field 'tp_print' initializer [-Wmissing-field-initializers]
This warning is only specific to Py3.8. See https://docs.python.org/3/c-api/typeobj.html
2020-10-15 15:25:42 +02:00
wmayer
961d9145e2 Qt5: 'endl' manipulator is deprecated with 5.15. Replace it with newlines. 2020-10-15 15:22:28 +02:00
wmayer
56c6db10e0 C++11: replace deprecated function std::bind2nd with lambda functions 2020-10-15 14:46:02 +02:00
Yorik van Havre
d8bbced84e Arch: Made default door/windows openable 2020-10-15 12:55:27 +02:00
Yorik van Havre
5193120ff5 Draft: Added grid extension control in WorkingPlane task panel 2020-10-15 12:30:16 +02:00
wmayer
c6374bc102 Py3: fix warning: missing field 'tp_print' initializer [-Wmissing-field-initializers]
This warning is only specific to Py3.8. See https://docs.python.org/3/c-api/typeobj.html
2020-10-15 10:35:47 +02:00
Neinei0k
061b6fb620 [Sketcher] Changes to drawing of constraint icons.
* Change the formula to calculate maximum distance for merging of constraint icons.
* Ignore z coordinate while calculating the distance between icons. It is irrelevant but can slightly differ between icons.
* Choose first icon from the group of nearby icons as a location of the composite icon, instead of choosing icon closest to the average position. Fixes jittering of the icon while one of the constraints is moved.
2020-10-15 10:09:30 +02:00
wmayer
442eee4946 TechDraw: [skip ci] fix possible crash in QGIViewPart::drawFace 2020-10-15 09:40:39 +02:00
sliptonic
acd666c3bc add boundary enforcement to the task panel 2020-10-14 22:19:06 -05:00
sliptonic
6f6f9b3c54 handle missing target directory
better output messages
2020-10-14 15:21:27 -05:00
Yorik van Havre
84692f95e1 Draft: Added pref option to set default dimension unit 2020-10-14 17:21:27 +02:00
Yorik van Havre
e595eb898b Draft: Compatibility fix 2020-10-14 17:17:56 +02:00
wmayer
ad48dd2538 PartDesign: [skip ci] Improve revolution function
+ Fix hard crash when selecting an edge or face of the created feature before selecting option to choose a reference.
+ In ProfileBased::getAxis() convert OCCT into FreeCAD exception to simplify handling of calling instances.
+ Change return value of getReferencedSelection() from void to bool to mkae it easier for calling instance to detect if the selection failed.
  This is needed to avoid to add invalid items to the combo box of the revolution task panel
2020-10-14 15:20:52 +02:00
wmayer
f53871780c Surface: automatically start "Add edge" mode when starting the fill surface tool. Moving the order of edges is supported now. 2020-10-13 17:32:20 +02:00
wmayer
43638ec0a5 Surface: rename TaskFillingUnbound to TaskFillingEdge 2020-10-13 16:23:58 +02:00
vocx-fc
7ca2d7dd03 Part: add viewprovider icon for the Part::Spline object
The `Part::Spline` object is the parent of the parametric
Surface Workbench objects.

For example, the `Part::Spline` object is created by the
`Surface_CurveOnMesh` tool, which in reality just calls
the `MeshPart_CurveOnMesh` tool.
2020-10-13 15:54:04 +02:00