Commit Graph

31738 Commits

Author SHA1 Message Date
wmayer
2da2ee5044 Gui: fix regression of 8801836321:
Commands are not shown any more when selecting a category
2023-02-01 20:21:34 +01:00
wmayer
2e5cb03261 Gui: move to new style connect() 2023-02-01 13:49:35 +01:00
wmayer
25a63f8750 TD: move to new style connect() 2023-02-01 01:33:34 +01:00
Uwe
900ad81b49 [Gui] modernize some UI connections 2023-01-31 22:24:45 +01:00
Roy-043
25c4792690 Draft: fix issue with undo (#8267) 2023-01-31 21:38:19 +01:00
wmayer
049056a99a Part: put instantiation of BRepAdaptor_Surface into try/catch block as for some broken faces it may fail 2023-01-31 11:04:38 -06:00
Adrian Popescu
b75142850d Build graph fix (#8311) - Fixed Constraints' value not being updated 2023-01-31 11:00:33 -06:00
Yorik van Havre
c5c3077f8f Merge pull request #8282 from Roy-043/Arch-update-Arch.pruneIncluded-to-include-cloned-PD-Bodies
Arch: update Arch.pruneIncluded to include cloned PD Bodies
2023-01-31 13:16:23 +01:00
Yorik van Havre
fefa7cc40c Merge pull request #8287 from Roy-043/Arch-Fix-ArchPrecast.py-issues
Arch: Fix ArchPrecast.py issues
2023-01-31 13:15:46 +01:00
Uwe
0bfa983a89 [Gui] FreeCADGuiInit.py: address some GH action reports
- superfluous parens and loo long lines
2023-01-30 18:14:27 -07:00
Uwe
8801836321 [Gui] modernize some UI connections 2023-01-30 18:11:37 -07:00
berniev
d5e1b3f441 Further efficiencies to Summary Report
Changed existing function to macro to access list of lines
Added conditional macro to save most of the if() else() endif()
Output sorted for improved comprehension
Moved build message out (nothing to do with report)
SLOC -~30%
2023-01-30 18:10:52 -07:00
mosfet80
0754201b8d Delete .circleci directory
the config.yml file calls the non-existent file ./package/conda/run_docker_build.sh
2023-01-30 18:09:10 -07:00
wandererfan
a810fa68b4 [Sketcher]fix cursor display of angles 2023-01-30 11:04:42 -08:00
mosfet80
27012bb23c Delete vagrant directory
Vagrant configuration are obsolete (freecad 0.17) using python V2, qt4 and boost v. 1.55
2023-01-30 10:44:59 -07:00
Chris Hennes
53aedb17f4 cMake: Correct PySideTools paths on Windows 2023-01-30 10:36:33 -07:00
sliptonic
f80edaa9ed Merge pull request #8205 from LarryWoestman/staging
Path:  Refactored PostUtilsParse.parse a lot.
2023-01-30 08:37:15 -06:00
berniev
9a05a04dad Improve unit testing directory structure
Separate Qt tests and gtest tests
Add a basic shadow of the project structure
Add a few simple tests to demonstrate usage
2023-01-30 07:15:09 -07:00
Yorik van Havre
4eca103469 Merged crowdin translations 2023-01-30 10:04:15 +01:00
Yorik van Havre
31b89be95f update ts files 2023-01-30 09:55:26 +01:00
berniev
b0ae66b94c Remove obsolete cmake code (<3.16.3) 2023-01-29 17:29:08 -07:00
0penBrain
0a5c64239a CI: allow Build2004 to fail because of PathAdaptative bug with GCC 2023-01-29 11:48:50 -07:00
0penBrain
eef8054383 CI: remove current CI workflow 2023-01-29 11:48:50 -07:00
0penBrain
87f60104ee CI: global refactoring of build/test CI 2023-01-29 11:48:50 -07:00
ShuffleWire
2ca167f8c3 SpreadSheet: Display alias
Add an option to display in the cell the alias of the cell.
In preference, add a custom field to format this display.
2023-01-29 10:11:50 -07:00
Uwe
18fdd3f708 [Gui] View3DInventorViewer: fix a GH action report
- use sizeof instead of the hardcoded number
2023-01-29 09:38:16 -07:00
Chris Hennes
e188802ca6 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
wmayer
cd2a35061d Part: add integration test for SectionCut command 2023-01-28 19:51:20 +01:00
sliptonic
73e2bad373 Merge pull request #8193 from haraldhartmann/origin/PathAddEstlcamPP
Path: add Estlcam postprocessor fix #8192
2023-01-28 11:52:33 -06:00
berniev
243ad94fb2 Simplify usage in Final Report and move Libpack copy stuff out
Added report function to separate logic from presentation and automate layout
Removed Libpack stuff to its own cmake file CopyLibpackDirectories.cmake
Added call in main CMakeLists.txt to libpack stuff
2023-01-28 08:41:34 -07:00
wandererfan
c318bc08cb [Part][Draft]fix #8271 temporary files on windows 2023-01-28 07:13:05 -08:00
Roy-043
c0910a7e5b Arch: Fix ArchPrecast.py issues 2023-01-28 11:28:38 +01:00
wmayer
633a6e825c Fem: move from string based connect() to overloaded variant based on meta methods 2023-01-27 21:13:35 +01:00
Roy-043
e10d92a76f Arch: update Arch.pruneIncluded to include cloned PD Bodies 2023-01-27 19:29:47 +01:00
Uwe
b39e1f2fc8 [Gui] NaviCube: improve default font
- it turned out that DejaVu Sans is not the best font since its letters are wide. Bahnschrift was designed to run narrow and it at least on all Win 10 since 2017. Therefore use this, if possible
2023-01-27 15:44:01 +01:00
Roy-043
0a8ea55509 Draft: Update test_modification.py (#8273) 2023-01-27 14:21:55 +01:00
Uwe
588f2d50e4 [Gui] allow to specify font for NaviCube
- the problem is that depending on the OS, the font of the NaviCube is hardly readable. For example under Windows 11, there is no Helvetica font and therefore an ugly replacement font is used. On some laptop screens the font is too large or too small etc.
- as solution this PR add the change the NaviCube's font and font size

- the PR also fixes an issue that the position (corner) of the NaviCube was not respected when the NaviCube is recreated. This fix is necessary for the PR therefore included

- as by-product the PR fixes #8082 since every change in the preferences now properly recreates the NaviCube

- the PR also removes the strange and unused class "HuuhaaClassPy"
2023-01-27 02:23:46 +01:00
Uwe
e07af014e6 [Gui] ExpressionCompleter: fix some GitHub Action reports (#8264)
* [Gui] ExpressionCompleter: fix some GitHub Action reports

- too long lines
- too short variable names
- use .empty()

- also some reformatting according to our current clang file
2023-01-27 00:37:54 +01:00
wmayer
db6d44b1da Part: fix crash in SectionCutting dialog
It segfauls when executing the script below:
doc = App.ActiveDocument
box = doc.addObject("Part::Box", "SectionCutBoxX")
comp = doc.addObject("Part::Compound", "SectionCutCompound")
comp.Links = box
grp = doc.addObject("App::DocumentObjectGroup", "SectionCutX")
grp.addObject(comp)
doc.recompute()
2023-01-26 09:29:01 -07:00
Yorik van Havre
20695da6f7 Arch: Small fix in IFC exporter to adapt to post-0.20 changes 2023-01-26 15:17:29 +01:00
Uwe
64caea2073 modernize a for loop 2023-01-25 17:48:08 -07:00
Uwe
5f91493d49 [Part] SectionCutting: avoid to recompute all cuts on color change
- it is not necessary and speeds up the workflow for large assemblies
2023-01-25 17:48:08 -07:00
Uwe
1f6c1fcd0f [Part] fixes for the section cutting feature
- a typical use-case is to open a document with an existing cut and only this cut is visible. When now opening the section cutting tool, the user got the fault message that there were no visible objects to be cut.
- the transparency for the cut was not explicitly set. Therefore the default transparency for new objects was used instead of the transparency of the objects to be cut.
- workaround for a graphics issue: when cutting objects intersection each other (only then), the transparency setting might be ignored. The fix is simply to change the default color slightly (By the way, this issue is independent on the color that is set in the Part preferences as color for new objects, seems to be a graphics driver or OCC issue.)

- besides this, avoid code duplication by using a lambda function
2023-01-25 17:48:08 -07:00
Adrian Popescu
f727945f1e Fix8228 warnings (#8262)
* Cleaned up Expression Completer
2023-01-26 00:19:05 +01:00
wmayer
0f694c3ae7 Gui: fix several compiler warnings 2023-01-25 23:05:29 +01:00
wmayer
9374155cfe Gui: improve formatation and use of curly braces 2023-01-25 23:05:29 +01:00
luzpaz
8d861e6abd Gui: fix trailing whitespace 2023-01-25 15:23:47 +01:00
mosfet80
144cdc9cb9 Delete src/Tools/encode directory
remove unused file and folder
2023-01-25 13:25:48 +01:00
Uwe
3ff301cd10 [CMake] improve comment about CMake limit 2023-01-24 21:44:19 -07:00
berniev
8c36e83ff2 Update minimum python version
https://wiki.freecadweb.org/FreeCAD_1.0_Development_Cycle
2023-01-24 21:43:45 -07:00