Commit Graph

31708 Commits

Author SHA1 Message Date
wmayer
7553c87cc9 Part: add integration test for SectionCut command 2023-01-28 19:51:20 +01:00
sliptonic
23d5b78292 Merge pull request #8193 from haraldhartmann/origin/PathAddEstlcamPP
Path: add Estlcam postprocessor fix #8192
2023-01-28 11:52:33 -06:00
berniev
94a4715375 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
80da187cd7 [Part][Draft]fix #8271 temporary files on windows 2023-01-28 07:13:05 -08:00
wmayer
774dc5ce81 Fem: move from string based connect() to overloaded variant based on meta methods 2023-01-27 21:13:35 +01:00
Uwe
ac9d020762 [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
9feffc20e0 Draft: Update test_modification.py (#8273) 2023-01-27 14:21:55 +01:00
Uwe
5fdd405a69 [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
58a008120d [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
756bbe9085 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
cb30b7e882 Arch: Small fix in IFC exporter to adapt to post-0.20 changes 2023-01-26 15:17:29 +01:00
Uwe
a19980ba31 modernize a for loop 2023-01-25 17:48:08 -07:00
Uwe
050708e564 [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
ce8aea5dd2 [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
3914792cec Fix8228 warnings (#8262)
* Cleaned up Expression Completer
2023-01-26 00:19:05 +01:00
wmayer
95444519dc Gui: fix several compiler warnings 2023-01-25 23:05:29 +01:00
wmayer
7b8c6335a3 Gui: improve formatation and use of curly braces 2023-01-25 23:05:29 +01:00
luzpaz
3c9f48e696 Gui: fix trailing whitespace 2023-01-25 15:23:47 +01:00
mosfet80
55f43ae832 Delete src/Tools/encode directory
remove unused file and folder
2023-01-25 13:25:48 +01:00
Uwe
a3a1228026 [CMake] improve comment about CMake limit 2023-01-24 21:44:19 -07:00
berniev
3e0833c2c7 Update minimum python version
https://wiki.freecadweb.org/FreeCAD_1.0_Development_Cycle
2023-01-24 21:43:45 -07:00
Adrian Popescu
21a4d4827e Expressions: path auto-completion fixes (#8228)
PR #8228 consisted of the following:
* Added Documentation for the expression completer
* Working PATH completion
* Allow completes on trailing separator
* Fixed paths appearing with a . at first
* Chaining completions on enter
* Fixed Missing Separator and Document Completions
- fixed missing separator for contextual Properties (ConstraintsHeight instead of Constraints.Height)
- fixed retries on filename#objectname so that they work better
2023-01-24 14:57:59 -06:00
Andrew
e90b364c6e remove deleted files in CMakeList 2023-01-24 08:40:43 -07:00
Andrew
22b0efeb71 remove unused dircoll.* files 2023-01-24 08:40:43 -07:00
mosfet80
354da8d49f Revert "Update CMakeLists.txt"
This reverts commit 10e8c98a189a4ecfb5a43b61d6c076682b324499.
2023-01-24 08:40:43 -07:00
mosfet80
513f68eb26 Update CMakeLists.txt
Remove unused old files
2023-01-24 08:40:43 -07:00
mosfet80
5e632864b7 Delete directory.h 2023-01-24 08:40:43 -07:00
mosfet80
f7a044b05e Delete directory.cpp 2023-01-24 08:40:43 -07:00
mosfet80
004a0ca6d2 Delete basicentry.h 2023-01-24 08:40:43 -07:00
mosfet80
00e95ff5fe Delete basicentry.cpp 2023-01-24 08:40:43 -07:00
Roy-043
1664d0ed66 Draft: fix gui_offset.py issue caused by PR8207 2023-01-24 15:02:38 +01:00
luzpaz
36df5b936f README: fix bugtracker link 2023-01-24 15:01:21 +01:00
berniev
0a659c67c0 bump cmake min version to 3.16.3 2023-01-23 22:02:27 -07:00
mosfet80
90fabf4dd4 Delete src/Tools/embedded/wxWidgets directory
Remove unused library
2023-01-23 21:59:46 -07:00
mosfet80
a06218cc7e Delete zlib.CMakeLists.txt
remove unused Cmake file
2023-01-23 21:58:31 -07:00
luzpaz
9d32c5a70e Stylesheets: convert indentations to spaces 2023-01-23 21:20:57 -07:00
Ajinkya Dahale
7ba24d5572 [Sketcher] Substitute knot tangent related constraints 2023-01-23 20:43:51 +01:00
luzpaz
5d3f56989d Fix various indentation issues (tabs->spaces) 2023-01-23 16:59:28 +01:00
luzpaz
a884da5890 Navicube: convert indentations to spaces 2023-01-23 16:57:58 +01:00
luzpaz
c32381ec77 Gui: convert indentations to spaces 2023-01-23 16:06:40 +01:00
luzpaz
216f4c1f45 PartDesign: convert indentations to spaces 2023-01-23 15:47:22 +01:00
luzpaz
593ab90400 Sketcher: convert indentations to spaces 2023-01-23 15:46:49 +01:00
Uwe
b05813fc3d [Draft] fix compilation after #8234 2023-01-23 15:29:04 +01:00
Roy-043
633a89debf Draft: V0.18 VisGroups were not handled (#8234) 2023-01-23 11:27:52 +01:00
Yorik van Havre
433b17b829 Merged crowdin translations 2023-01-23 11:25:49 +01:00
Yorik van Havre
48fdd4896a Updated ts files 2023-01-23 10:41:33 +01:00
luzpaz
86a7166d47 Arch: fix whitespace in ArchStructure.py 2023-01-22 20:27:55 -06:00
luzpaz
feb18d8a15 Fix various typos 2023-01-22 20:27:47 -06:00
luzpaz
79e150a81b Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Uwe
0f7dc4f60c [Sketch] Constraints.h: fix 2 compiler warnings
- the type change fixes this error: \src\Mod\Sketcher\App\planegcs\Constraints.cpp(509,54): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
- the scone change removes a non-existing definition
2023-01-22 22:30:42 +01:00