Uwe
4a4db353a5
[PD] fix pad/pocket direction issue
...
- the info if a custom direction is used, was incorrectly determined by checking a checkbox that only displays the vector value, no matter if it is a custom vector or not
2021-11-13 04:03:04 +01:00
Chris Hennes
37dbcf7f66
Spreadsheet: Add programmatic selection of cells
...
Implement modifying the current selection programmatically via the
ViewProvider object in both C++ and Python. This enables unit testing of
GUI tasks that require a selection, and improves scriptability of
Spreadsheet.
2021-11-12 17:33:39 -06:00
Uwe
640ecca830
[PD] fix typos
2021-11-13 00:29:33 +01:00
Chris Hennes
179c6b540e
Spreadsheet: Minor code cleanup
2021-11-12 13:31:05 -06:00
Jose Luis Cercos-Pita
16bbe12336
Expose the selected cells to Python
2021-11-12 13:19:03 -06:00
wmayer
96512c1e01
PD: [skip ci] add PartDesignGlobal.h with export/import macros
2021-11-12 18:25:41 +01:00
0penBrain
7c54774ef1
[Core] Improve decimal point substitution mechanism
2021-11-12 17:01:12 +01:00
wmayer
6da7749233
App: do not raise an exception if application data directory doesn't exist because this breaks the CI tests
...
Instead try to create the directories and throw an exception if this fails.
2021-11-12 10:17:35 +01:00
wmayer
b2475b228a
App: add upgrade() method to PropertyLinkSubList
2021-11-12 07:49:44 +01:00
Ajinkya Dahale
5aaf6e68b4
[PD] Allow body faces when making loft by pre-selection
2021-11-12 01:33:46 +01:00
Uwe
51cc91da84
Update src/Mod/Sketcher/Gui/TaskSketcherValidation.ui
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-11-12 00:45:46 +01:00
luz paz
bad413b0f7
Sketcher: fix typo in Gui/TaskSketcherValidation.ui
2021-11-12 00:45:46 +01:00
Uwe
0b3839f0f6
[PD] TaskDlgPipeParameters - refactor comments
...
update/refactor comments after today's changes
2021-11-12 00:44:35 +01:00
Uwe
0995c81240
[PD] add feature to set direction for pockets
...
This PR adds the functionality of pads to pad along either a custom direction or along an edge to pockets.
So with this PR Pad and Pocket are on the same level of functionality.
2021-11-11 15:55:42 -06:00
wmayer
bce2c0e648
Gui: [skip ci] fix -Winconsistent-missing-override
2021-11-11 20:36:30 +01:00
wmayer
126fadd2d6
PD: make sure to switch off Profile and Section highlighting when closing sweep dialog
2021-11-11 20:33:27 +01:00
wmayer
fb9a3eecff
PD: change visibility handling of sweep to support undo/redo
2021-11-11 20:21:47 +01:00
wmayer
a545fb6741
App: [skip ci] add program option --keep-deprecated-paths to keep old path names
2021-11-11 14:04:40 +01:00
wmayer
e7e2994ba0
App: fix issue 0002956
2021-11-11 13:51:14 +01:00
Chris Hennes
c62239d0ba
Merge pull request #4626 from pavltom/GUI_TreeView_Item_Ordering
...
[Gui] Issue #3923 - Add arbitrary Tree View item ordering
2021-11-10 23:35:05 -06:00
Chris Hennes
bef1df4d40
Merge pull request #5163 from donovaly/PD-sweep-section-visibility2
...
[PD] fix sweep visibility bug
2021-11-10 22:43:49 -06:00
Uwe
969556573b
[PD] code improvement for FeaturePad
...
as noted by @chennes in PR #5164 , we should follow the C++ style guidelines:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-if
2021-11-11 02:26:42 +01:00
Uwe
8173f79dc7
[PD] code improvements for TaskPadParameters
...
as requested by @chennes in PR #5164 , the code can be simplified:
- remove a redundant type cast, a redundant qualifier and an inconsistent and unnecessary check
2021-11-11 02:08:57 +01:00
Uwe
cc242aae7d
[PD] handle changed property for loft and pipe
...
- this was missing in PR #5155
2021-11-11 01:24:53 +01:00
Ajinkya Dahale
a4fa45b589
[PD] Check if property is named before strcmp
2021-11-11 01:13:17 +01:00
Uwe
6069d48b6d
[PD] fix sweep visibility bug
...
Currently:
only sweep path is toggled correctly in its visibility, the profile is never shown
the sections are always shown
This PR fixes this inconsistency reported here: https://forum.freecadweb.org/viewtopic.php?f=19&t=63544
2021-11-11 00:00:58 +01:00
sliptonic
73c01a4196
cmake error
2021-11-10 13:33:20 -06:00
wmayer
d86a73f07e
App: code cleanup
2021-11-10 18:33:26 +01:00
Ajinkya Dahale
37df050d59
[PD] Clear other taskbox buttons in loft and pipe when one pressed
2021-11-10 17:59:45 +01:00
Bernd Hahnebach
62ad96508a
Arch: export IFC, make compatible with ifcopenshell 0.7
2021-11-10 15:59:30 +01:00
Chris Hennes
b660ed815c
Merge pull request #5152 from Roy-043/Draft-fix-getTeighaConverter
...
Draft: fix getTeighaConverter
2021-11-09 23:05:03 -06:00
Uwe
e06034e772
[PD] fix a typo
...
- also some sorting
2021-11-10 03:26:23 +01:00
luz paz
1957bcc489
Gui: expose the 'Link Actions' toolbar icon to translation
...
Related to https://github.com/FreeCAD/FreeCAD-translations/issues/51 and https://github.com/FreeCAD/FreeCAD-translations/issues/16
2021-11-10 01:12:45 +01:00
luz paz
96bbb4ba21
TechDraw: Renames submenu command + exposes to translation
...
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/82
The dropdown `TechDraw > Extensions: centerlines and threading` (submenu) is too long and superfluous. Renamed to: `Extensions: Centerlines/Threading`. Also exposed to translation.
2021-11-10 01:11:39 +01:00
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
sliptonic
4a7cdd5095
fixing comment errors
2021-11-09 09:04:01 -06: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
Yorik van Havre
ab1eab9ea3
Merge branch 'master' into Crowdin-MeshPart
2021-11-09 11:19:21 +01:00
sliptonic
56875b2137
Drill Generator and testing
2021-11-08 18:57:16 -06: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
Uwe
d7d23d5ef5
[Tux] fix navigation status bar
...
- the PR adjusts the size of the navigation style status bar so that it is wide enough to contain the text + the space for the combobox button
- also sort the entries since as it is it is confusion and just reflects the order the styles were added in the development
2021-11-08 22:48:41 +01: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