Commit Graph

26333 Commits

Author SHA1 Message Date
Ajinkya Dahale
314ff0053c [PD] Fixed loft and sweep breaking on section deletion
Item removal in `onDeleteSection()` was also clearing subname details so if one
of the remaining sections was a face this caused a failure.
2021-11-09 23:05:29 +01:00
Ajinkya Dahale
03a8ff7841 [PD] Support adding solid faces for loft and pipe sections
With these changes, one face per solid can be added as either the first
"profile" or subsequent sections in loft and pipe.

This commit depends on `App::PropertyXLinkSubList` preserving the order in which
sections are added.

A minor change this also adds is that when a solid's face is selected that face
is mentioned in the fields instead of the solid (eg `Box:Face1` instead of
`Box`).
2021-11-09 23:05:29 +01:00
wmayer
5c77af421d PD: [skip ci] fix crash in ReferenceSelection::allow 2021-11-09 18:37:54 +01:00
Chris Hennes
f7073704e8 Merge pull request #5160 from luzpaz/TD-ToolAttributes-typo-translation
TechDraw: Fix typo in Tool Attributes command + expose to translation
2021-11-09 07:37:57 -06:00
wmayer
84182deff0 App: add a CMake test to check if C runtime provides backtrace symbols 2021-11-09 14:16:12 +01:00
wmayer
5ad8bed9c4 App: add new config key UserConfigPath to store the path to the config files 2021-11-09 13:46:26 +01:00
luz paz
d63dab54cb TechDraw: Fix typo in Tool Attributes command + expose to translation
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/85
2021-11-09 07:23:11 -05:00
wmayer
2cc5707571 App: issue 0002956: implement XDG_CACHE_HOME 2021-11-09 00:20:55 +01:00
Chris Hennes
9e4ea890e8 Merge pull request #5149 from donovaly/PD-loft-visibility-fix
[PD] fixes loft visibility on creation and modification
2021-11-08 15:57:17 -06:00
wmayer
d244df4f79 App: further code refactoring in Application::ExtractUserPath() 2021-11-08 22:17:06 +01:00
wmayer
7375be66ad App: keep custom user data path as is if FREECAD_USER_HOME or FREECAD_USER_DATA is set 2021-11-08 18:28:02 +01:00
wmayer
ab1220b663 App: code refactoring in Application::ExtractUserPath() 2021-11-08 16:17:08 +01:00
wmayer
11c5954ebf App: split Application::ParseOptions into two functions
to simplify handling of options that should be processed before determining user directories
2021-11-08 11:10:13 +01:00
Yorik van Havre
25d0e63e0c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-11-08 10:51:28 +01:00
Yorik van Havre
0b4e1ea556 Draft: Fixed DWG import's QCAD config 2021-11-08 10:51:10 +01:00
Chris Hennes
02c1277a1d OpenSCAD: Minor cleanup of import code 2021-11-07 21:50:48 -06:00
Chris Hennes
058962362d OpenSCAD: Refactor tests to all use the same code path for tempdir generation 2021-11-07 17:13:51 -06:00
Uwe
0b77c2b2b5 [PD] fixes loft visibility on creation and modification
- the PR fixes the issue reported here: https://forum.freecadweb.org/viewtopic.php?f=3&t=63252

- (also a MSVC code formatting fix)
2021-11-07 21:57:00 +01:00
Uwe
0b4405e935 [PD] simplify Loft code
- also two automatic style fixes made by MSVC
2021-11-07 19:04:38 +01:00
wmayer
84274f5c80 PD: [skip ci] fix ambiguous shortcut overload in TaskDlgPipeParameters 2021-11-07 08:27:33 +01:00
wmayer
4f56ee263d Sketcher: fix some memory leaks 2021-11-06 17:48:35 +01:00
wmayer
6d2aa6acc9 Main: [skip ci] partially fix issue 0004765: FreeCAD failed to build on MSVC with std:c++latest 2021-11-06 14:31:17 +01:00
luzpaz
4543c98267 MeshPart: fix header uniformity + remove superfluous whitespace (#5135)
* MeshPart: fix header uniformity + remove superfluous whitespace
2021-11-06 00:15:00 +01:00
Ajinkya Dahale
e30efba754 [PartDesign] Fix typo in method name 2021-11-06 00:03:48 +01:00
wmayer
549e5b5650 Tux: support of OpenSCAD and TinkerCAD in navigation indicator 2021-11-05 23:49:14 +01:00
wmayer
916fe37a6b Gui: move handling of SoMouseWheelEvent to its own handler function 2021-11-05 21:37:19 +01:00
wmayer
4a1c1c7004 C++11: modernize use nullptr (replaces NULL or 0) 2021-11-05 18:16:19 +01:00
wmayer
528ffce593 Gui: add method NavigationStyle::processClickEvent() to reduce code duplication in sub-classes 2021-11-05 14:37:18 +01:00
wmayer
b1ab5c3b8f Gui: [skip ci] in MayaGestureNavigationStyle rename mousedownConsumedEvent to mousedownConsumedEvents 2021-11-05 14:00:09 +01:00
wmayer
5b023b0af5 Gui: [skip ci] rename handleKeyboardEvent to processKeyboardEvent 2021-11-05 12:58:36 +01:00
wmayer
ef100d55e9 Gui: add support of TinkerCAD navigation style 2021-11-05 11:10:38 +01:00
0penBrain
7cd3930dd8 [Sketcher] Removed lines that was introduced to workaround grid visibility management issues 2021-11-05 03:18:08 +01:00
0penBrain
76130c85ce [ViewProvider2DObject=>Sketcher] Fix grid visibility management
Error in grid visibility equation that makes grid to disappear when saving document in Edit mode
2021-11-05 03:18:08 +01:00
0penBrain
648c55c8a0 [ViewProvider2DObject] Fix typo 2021-11-05 03:18:08 +01:00
0penBrain
a2d6c317fd [Examples] Add thumbnail to PDN example 2021-11-05 02:42:51 +01:00
luz paz
fdcdaebc9b Fix typos in source comments [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -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,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-11-05 02:35:17 +01:00
wmayer
8366028e6f PD: [skip ci] open a transaction when creating a new body with DlgActiveBody 2021-11-04 23:21:14 +01:00
0penBrain
b22f2c6562 [Sketcher] Add tooltips in Validate Sketch task UI 2021-11-04 18:40:26 +01:00
0penBrain
eac21354fa [Sketcher] Refactor Validate Sketch task UI to decrease confusion 2021-11-04 18:40:26 +01:00
wmayer
09da245af9 App: harmonize API of App::Application
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
Uwe
13dcfa64f6 [skpi ci] Win installer: update MSVC version 2021-11-04 02:04:21 +01:00
Uwe
f881330e8e [skip ci] update links in Windows installer - missing part
until not all issues are sorted out with the new domain this should not be backported to the 0.19 branch
2021-11-04 01:34:16 +01:00
Uwe
4346fddc9c [skip ci] update links in Windows installer
until not all issues are sorted out with the new domain this should not be backported to the 0.19 branch
2021-11-04 01:30:19 +01:00
Chris Hennes
bcab6b5a31 Spreadsheet: Prevent marking a cell dirty when the content didn't change 2021-11-03 19:16:31 -05:00
Uwe
e43189fc48 Merge pull request #5141 from luzpaz/mesh-qrc
Mesh: separating translation section in Mesh.qrc
2021-11-04 00:55:17 +01:00
Uwe
909b035d0b Squashed commit of the following:
commit b5aa19950f09d9a391b189a578073b9920943294
Author: Roy-043 <70520633+Roy-043@users.noreply.github.com>
Date:   Tue Nov 2 14:37:19 2021 +0100

    Std: Fix OpenSCAD navigation string

    Holding down SHIFT is not required when zooming with the MMB.
2021-11-04 00:52:08 +01:00
Uwe
1e49e20232 Merge branch 'pr/5140' 2021-11-04 00:49:36 +01:00
Chris Hennes
b8ad042986 Spreadsheet: Fix copy of empty but used cell 2021-11-03 14:31:11 -05:00
luz paz
e8016bdb82 Mesh: separating translation section in Mesh.qrc 2021-11-03 11:17:05 -04:00
luz paz
9a9267f922 Mesh: Convert comments from DE->EN
Bringing uniformity to documenting FreeCAD
2021-11-03 11:13:16 -04:00