Changesets: FreeCAD

master 27053d90

2020-10-16 10:40:09

yorik

Details Diff
Arch: Fixed backwards compatibility issues
mod - src/Mod/Arch/ArchSectionPlane.py Diff File

master ef067e9f

2020-10-16 05:57:32

Neinei0k


Committer: abdullahtahiriyo Details Diff
Sketcher: Merged constraint selection fix.

When the sketch is not in XY plane, individual constraints from the merged constraint icon can't be selected. Constraint icon coordinates are given in sketcher coordinates. The function getCoordsOnSketchPlane projects vector in global coordinates to the sketch plane. So, it makes no sense to use sketcher coordinates with it. If the sketch is in the XY plane, then the global coordinates are the same as sketcher coordinates. The solution is to get global coordinates of the icon from the sketcher coordinates and use it to project icon to the screen.
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

master 6a9f0f59

2020-10-16 02:36:06

mlampert

Details Diff
Replaced toGeom with toPoint for VoronoiVertex and toShape for VoronoiEdge - results in arbitrary orientation of parabola for multiple z
mod - src/Mod/Path/App/VoronoiEdgePy.xml Diff File
mod - src/Mod/Path/App/VoronoiEdgePyImp.cpp Diff File
mod - src/Mod/Path/App/VoronoiVertexPy.xml Diff File
mod - src/Mod/Path/App/VoronoiVertexPyImp.cpp Diff File
mod - src/Mod/Path/PathTests/TestPathVoronoi.py Diff File

master 7f52d8bc

2020-10-16 01:10:29

vocx-fc


Committer: wmayer Details Diff
Sketcher: clean up line spacing for VirtualSpace command
mod - src/Mod/Sketcher/Gui/CommandSketcherVirtualSpace.cpp Diff File

master a1e89da8

2020-10-15 23:46:55

vocx-fc


Committer: wmayer Details Diff
Sketcher: add BSplineDecreaseDegree although with an empty implementation

Currently there is a command to increase the degree of a B-spline
but the corresponding command to reduce the degree does not exist.
So this command is a placeholder for when the full implementation
is added in the future by somebody.
mod - src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp Diff File
mod - src/Mod/Sketcher/Gui/Workbench.cpp Diff File

master a2913050

2020-10-15 23:34:45

vocx-fc


Committer: wmayer Details Diff
Sketcher: clean up the sketcher B-spline tooltips

Also clean up linespacing and whitespaces to make the code more
readable. Extremely long lines are broken to be 80 to 100 characters
long when possible.
mod - src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp Diff File

master dcc64838

2020-10-15 21:24:40

vocx-fc


Committer: wmayer Details Diff
Sketcher: clean up the sketcher tools tooltips

Also clean up linespacing and whitespaces to make the code more
readable. Extremely long lines are broken to be 80 to 100 characters
long when possible.

'DrawSketchHandlerCopy' and 'DrawSketchHandlerRectangularArray'
are de-indented so that they start at column 1.
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp Diff File

master df9282dc

2020-10-15 16:55:29

wmayer

Details Diff
C++11: [skip ci] replace deprecated function std::mem_fun_ref with lambda functions
mod - src/Mod/Mesh/App/Core/Builder.cpp Diff File
mod - src/Mod/Mesh/App/Core/MeshKernel.cpp Diff File

master da4a2e4e

2020-10-15 15:07:39

wmayer

Details Diff
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.
mod - src/Tools/generateTemplates/templateClassPyExport.py Diff File

master 9c72532f

2020-10-15 14:50:11

wmayer

Details Diff
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
mod - src/Gui/NetworkRetriever.cpp Diff File
mod - src/Gui/OnlineDocumentation.cpp Diff File
mod - src/Gui/ProjectView.cpp Diff File
mod - src/Gui/ProjectView.h Diff File
mod - src/Gui/QSint/actionpanel/actionbox.cpp Diff File
mod - src/Gui/QSint/actionpanel/actionbox.h Diff File
mod - src/Gui/QSint/actionpanel/taskgroup_p.cpp Diff File
mod - src/Gui/QSint/actionpanel/taskheader_p.cpp Diff File
mod - src/Gui/TaskElementColors.cpp Diff File

master 3430adda

2020-10-15 13:25:42

wmayer

Details Diff
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
mod - src/Base/PyObjectBase.cpp Diff File

master ef0fd3ca

2020-10-15 13:22:28

wmayer

Details Diff
Qt5: 'endl' manipulator is deprecated with 5.15. Replace it with newlines.
mod - src/Gui/Assistant.cpp Diff File
mod - src/Gui/AutoSaver.cpp Diff File
mod - src/Gui/CommandView.cpp Diff File
mod - src/Gui/DocumentRecovery.cpp Diff File
mod - src/Gui/Splashscreen.cpp Diff File

master d4c0baba

2020-10-15 12:46:02

wmayer

Details Diff
C++11: replace deprecated function std::bind2nd with lambda functions
mod - src/Gui/DlgDisplayPropertiesImp.cpp Diff File
mod - src/Gui/TaskView/TaskAppearance.cpp Diff File
mod - src/Mod/Mesh/App/Core/Algorithm.cpp Diff File
mod - src/Mod/Mesh/App/Core/Degeneration.cpp Diff File
mod - src/Mod/Mesh/App/Core/Evaluation.cpp Diff File
mod - src/Mod/Mesh/App/Core/MeshIO.cpp Diff File
mod - src/Mod/Mesh/App/Core/MeshKernel.cpp Diff File
mod - src/Mod/Mesh/App/Core/Segmentation.cpp Diff File
mod - src/Mod/Mesh/App/Core/TopoAlgorithm.cpp Diff File
mod - src/Mod/Mesh/App/Mesh.cpp Diff File
mod - src/Mod/Mesh/Gui/ViewProvider.cpp Diff File

master 26827008

2020-10-15 10:55:27

yorik

Details Diff
Arch: Made default door/windows openable
mod - src/Mod/Arch/ArchWindowPresets.py Diff File

master fd0019c6

2020-10-15 10:30:16

yorik

Details Diff
Draft: Added grid extension control in WorkingPlane task panel
mod - src/Mod/Draft/Resources/ui/TaskSelectPlane.ui Diff File
mod - src/Mod/Draft/draftguitools/gui_selectplane.py Diff File

master bc6fefe3

2020-10-15 08:35:47

wmayer

Details Diff
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
mod - src/Tools/generateTemplates/templateClassPyExport.py Diff File

master d7529914

2020-10-15 07:40:39

wmayer

Details Diff
TechDraw: [skip ci] fix possible crash in QGIViewPart::drawFace
mod - src/Mod/TechDraw/Gui/QGIViewPart.cpp Diff File

master 71236cbc

2020-10-15 03:45:04

Neinei0k


Committer: wwmayer Details Diff
[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.
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

master 053b8e9e

2020-10-15 03:09:23

sliptonic

Details Diff
add boundary enforcement to the task panel
mod - src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui Diff File
mod - src/Mod/Path/PathScripts/PathSurfaceGui.py Diff File

master 9f13c8c2

2020-10-15 01:50:06

russ4262

Details Diff
Path: LGTM cleanup
mod - src/Mod/Path/PathScripts/PathAreaOp.py Diff File
mod - src/Mod/Path/PathScripts/PathPocketShape.py Diff File

master 9bd31637

2020-10-15 01:49:27

vocx-fc


Committer: wmayer Details Diff
Sketcher: clean up general commands tooltips

* `MapOnSketch` is active only when there is a sketch available
in the document.
* `ReorientSketch` and `ValidateSketch` are active only when one,
and only one, sketch is selected.
* `MergeSketch` is active only when there is at least two sketches
selected.
* `MirrorSketch` is active only when there is at least one sketch selected.

Clean up the lines so they are not extremely long.
mod - src/Mod/Sketcher/Gui/Command.cpp Diff File

master bbbf7aad

2020-10-14 17:52:04

plaes


Committer: wwmayer Details Diff
Part: Add regression test for issue 0004456 (skipped for now) Affected Issues
0004456
mod - src/Mod/Part/CMakeLists.txt Diff File
mod - src/Mod/Part/TestPartApp.py Diff File
add - src/Mod/Part/parttests/regression_tests.py Diff File

master 71cd301c

2020-10-14 15:21:27

yorik

Details Diff
Draft: Added pref option to set default dimension unit
mod - src/Mod/Draft/Resources/ui/preferences-drafttexts.ui Diff File
mod - src/Mod/Draft/draftutils/utils.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_dimension.py Diff File

master 7f95da95

2020-10-14 15:17:56

yorik

Details Diff
Draft: Compatibility fix
mod - src/Mod/Draft/draftviewproviders/view_base.py Diff File

master b33f9289

2020-10-14 13:20:52

wmayer

Details Diff
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
Affected Issues
0004457
mod - src/Mod/PartDesign/App/FeatureSketchBased.cpp Diff File
mod - src/Mod/PartDesign/Gui/ReferenceSelection.cpp Diff File
mod - src/Mod/PartDesign/Gui/ReferenceSelection.h Diff File
mod - src/Mod/PartDesign/Gui/TaskRevolutionParameters.cpp Diff File
 First  Prev  1 2 3 ... 70 ... 80 81 82 83 84 85 86 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last