Commit Graph

31942 Commits

Author SHA1 Message Date
Przemo Firszt
3c7eaa3c28 [COPR] tighten grep to avoid catching some random stuff
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-02-17 15:41:08 +01:00
luzpaz
a3e41c07e8 Fix source comment and documentation typos
[skip ci]
2023-02-17 08:32:03 -06:00
0penBrain
ceb45a9a1b CI: improve tests reporting (extract failed tests + uncaught tracebacks) 2023-02-17 08:08:40 -06:00
0penBrain
27b5c17cf3 CI: add crash dumps to log artifacts for Linux builds 2023-02-17 08:08:40 -06:00
0penBrain
e6a23b2251 CI: uniformize sed usage 2023-02-17 08:08:40 -06:00
0penBrain
f3c06c3a55 CI: improve reporting for line endings check 2023-02-17 08:08:40 -06:00
0penBrain
33bf8f2f02 CI: fix a bug in getting codespell problem count 2023-02-17 08:08:40 -06:00
0penBrain
e9233d29c8 CI: improve Prepare reporting by using 'continue-on-error' for silent failing 2023-02-17 08:08:40 -06:00
0penBrain
5da1446704 CI: improve Lint reporting by using 'continue-on-error' for silent failing 2023-02-17 08:08:40 -06:00
0penBrain
9d50f4496b CI: Improve Cmake build reporting, print built targets (and only this) 2023-02-17 08:08:40 -06:00
0penBrain
4e0004fb67 CI: Improve Cmake configure reporting, print full config (and only this) 2023-02-17 08:08:40 -06:00
0penBrain
e68b47f501 CI: print Cmake configure error log only in case it failed 2023-02-17 08:08:40 -06:00
0penBrain
5a2f7970c2 CI: add specific timeouts to test actions 2023-02-17 08:08:40 -06:00
Bernd Hahnebach
9855774fee Arch: IFC, export, improve debug messages if axis object has not been exported 2023-02-17 15:02:18 +01:00
Bernd Hahnebach
ba525db278 Arch: IFC, import, fix import break because of a missing variable 2023-02-17 13:18:32 +01:00
Bernd Hahnebach
b5c9ba93f4 Arch: IFC export, fix because one malformed geometry can break the whole export 2023-02-17 10:51:58 +01:00
Roy-043
7d200fe120 [Arch] Arch_Site did not handle movable children (#8510) 2023-02-17 10:09:53 +01:00
Uwe
824f2cdc9a [FEM] fix possible crash on changing the VectorMode
- if pvtu file filtering is on, there is by design not on every call of WriteColorData() data
  (on other occasions of GetArray(array) the result is checked, for two calls is was forgotten)

- also some automatic code formatting according to our current clang file
2023-02-17 02:32:54 +01:00
Roy-043
2c191f74c7 [Arch] Arch_Stairs fix for #8444 (#8518)
- Recompute should not be called from onDocumentRestored. It causes issues when updating complex stairs.
2023-02-16 21:09:06 +01:00
Roy-043
14da2ac92b [Arch] Allow Arch_stairs with 2 steps (#8515)
- Fixes #7050
2023-02-16 20:56:22 +01:00
luzpaz
a134129868 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
berniev
fb2bfe3a08 clang-format enable reflow comments 2023-02-16 09:29:51 -05:00
Uwe
9aa61bf49a [Gui] font setting fixes for NaviCube
- it turned out that the current check for default font failed because of wrong check for the hinting
- fix bug that when the FontSize is not yet stored in the parameters, the dialog shows a wrong size value
2023-02-16 14:11:54 +01:00
Yorik van Havre
c2a8bd5eb9 Merge pull request #8506 from Roy-043/Arch-children-of-Component-did-not-rotate-with-Host
[Arch] children of Component did not rotate with Host
2023-02-16 09:28:32 +01:00
Uwe
6c6e0ae9bb [FEM] make pvtu file filtering optional
- it is sensible to filter by default, however, it turned out that on some complex models Elmer fails to compute if the mesh volume regions are too small (in most cases) or at a certain mesh region. By disabling the filtering, one gets at least for the latter case a visual feedback where the mesh volume of the different CPU are (by also setting a transparency to the result pipeline).
2023-02-16 02:32:40 +01:00
Roy-043
efdae63ef1 [Arch] children of Component did not rotate with Host 2023-02-16 00:07:07 +01:00
wmayer
498e774e68 Gui: fix removing item from recent files list 2023-02-16 00:06:33 +01:00
wmayer
ca946aabcb Gui: [skip ci] set object name to tabbar of MDI area 2023-02-15 19:12:37 +01:00
Abdullah Tahiri
194fbf1efe Sketcher: Correct font sizes and updates
========================================

Fonts:
- SoDatumLabel internally uses QFont and thus points. It was being fed pixels, for which the configured size in preferences did not match the actual on screen size. This is corrected.
- Font sizes fed directly from parameters to the coin nodes skeleton were not being updated, as the parameter observer is initialised after the nodes are created, and the parameter
observer was not configured to update this nodes. This is corrected.

Colors:
- Some color parameters were not being being updated by the parameter observer. This is corrected.
2023-02-15 17:29:46 +01:00
Yorik van Havre
db64b1b462 Merge pull request #8495 from luzpaz/fem-trailing-newlines
FEM: fix trailing newlines
2023-02-15 17:02:16 +01:00
Yorik van Havre
54607120a1 Merge pull request #8491 from luzpaz/draft-typos
Draft: fix typos
2023-02-15 17:01:30 +01:00
wmayer
8f32631d34 Fem: fixes #8485: transparency of pipeline objects is visually lost 2023-02-15 14:52:44 +01:00
luzpaz
61e96bd763 FEM: fix trailing newlines 2023-02-15 13:41:38 +00:00
Uwe
a0731a0d86 [FEM] Contours: disable keyboard tracking
- otherwise the contour creating algorithm would be invoked on every keystroke
- also improve a code comment
2023-02-15 14:31:10 +01:00
Uwe
92b1e6a6fb [FEM] improve visualization of pvtu files
- To speed up analyses one calculates on several CPU cores. The result is a partial VTU file.
Unfortunately when applying a transparency the boundaries of the volumes computed by each CPU core are always visible. This makes it often unusable for visualizations.
The solution is to filter the results the same way a clip filter does.
2023-02-15 14:22:45 +01:00
luzpaz
5f07b4999d Draft: fix typos 2023-02-15 13:13:29 +00:00
Uwe
05af64ae9e [FEM] improve checks for datasets
- check if datasets exists before we access them
- speed up the check for the datatype by testing after the downcast
2023-02-15 10:54:45 +01:00
luzpaz
7a0acd1db6 FEM: fix trailing whitespace
Fix trailing whitespace in `Fem/App/FemPostFilter.cpp`
2023-02-15 10:45:00 +01:00
Uwe
7c691dc7f4 [FEM] [skip ci] add missing header for precompiled headers 2023-02-15 00:42:54 +01:00
wmayer
643a71ae6e Part: add integration tests 2023-02-14 22:56:42 +01:00
wmayer
454c580457 Part: creating a NURBS of a circle or ellipse doesn't respect any transformation
Example:

mat = App.Matrix()
mat.rotateX(1)
mat.rotateY(1)
mat.rotateZ(1)

circle = Part.Circle()
circle.Radius = 5
circle.transform(mat)

circle.transform(mat)
Part.show(circle.toShape())

nurbs = circle.toNurbs()
Part.show(nurbs.toShape())

arc = circle.trim(0, 2)
nurbs = arc.toNurbs()
Part.show(nurbs.toShape())

spline = circle.toBSpline()
Part.show(spline.toShape())

#-------------------------

ellipse = Part.Ellipse()
ellipse.MajorRadius = 5
ellipse.MinorRadius = 3
ellipse.transform(mat)

ellipse.transform(mat)
Part.show(ellipse.toShape())

nurbs = ellipse.toNurbs()
Part.show(nurbs.toShape())

arc = ellipse.trim(0, 2)
nurbs = arc.toNurbs()
Part.show(nurbs.toShape())

spline = ellipse.toBSpline()
Part.show(spline.toShape())
2023-02-14 22:56:42 +01:00
Roy-043
b461e81dc6 [Draft] typo: object name should be capitalized (#8484) 2023-02-14 15:44:26 +01:00
Syres916
2431932ae1 [Sketcher] Fix cursor coordinates text size...
...to stay in proportion to the constraint text size. Fixes https://github.com/FreeCAD/FreeCAD/issues/7080
2023-02-14 15:07:01 +01:00
Uwe
921ecca691 [FEM] [skip ci] Countours: remove unused code
- also fix a trailing whitespace
2023-02-14 13:48:03 +01:00
Uwe
559923a8d0 [FEM] Contours: fix task panel logic
- the ViewProvider sorting of the field can be different from the sorting in the dialog

- also hide a Contours property (I forgot this when the contours filter was added)
2023-02-14 13:30:58 +01:00
wmayer
e71386d20d App: define an enum to be used as the retType argument of DocumentObject.getSubObject()
This is to avoid to use magic numbers in client code
2023-02-14 12:02:33 +01:00
luzpaz
d54efb42b3 Arch: fix incorrect indentation in ArchStairs.py (#8475) 2023-02-14 11:22:04 +01:00
Chris Hennes
f83abbab4c Addon Manager: Refactor Macro parser 2023-02-13 23:46:57 -06:00
Chris Hennes
2603cd6b16 Test(Metadata): Remove catch from Setup()
If an exception occurs while setting up Xerces-C, make the test framework handle it.
Also add a copyright header, and try to quiet down the clang-tidy linter.
2023-02-13 23:46:37 -06:00
VM4Dim
68da9cd64a [Gui] Sort Add Property Types 2023-02-14 02:40:08 +01:00