Commit Graph

31901 Commits

Author SHA1 Message Date
Roy-043
f34cce97a0 [Draft] typo: object name should be capitalized (#8484) 2023-02-14 15:44:26 +01:00
Syres916
f6b3399848 [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
af68a0618b [FEM] [skip ci] Countours: remove unused code
- also fix a trailing whitespace
2023-02-14 13:48:03 +01:00
Uwe
a6d1dc7fc0 [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
212bbc7fa0 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
ae00eec442 Arch: fix incorrect indentation in ArchStairs.py (#8475) 2023-02-14 11:22:04 +01:00
Chris Hennes
d6fc29f057 Addon Manager: Refactor Macro parser 2023-02-13 23:46:57 -06:00
Chris Hennes
377c1564d1 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
e85cf5df1f [Gui] Sort Add Property Types 2023-02-14 02:40:08 +01:00
Roy-043
889feae7d7 [Arch] fix Arch_Stairs recompute issue (#8444)
* [Arch] fix Arch_Stairs recompute issue

* Fixed the tooltips for the updated properties.

* Added warnings to the functions that updated the properties.

* Fixed a typo makeCurvedStairsWithLandings -> makeCurvedStairsWithLanding
2023-02-13 21:11:52 +01:00
edi271
2cf1f64000 [TD] solve reported issues 2023-02-13 14:45:04 -05:00
edi271
28fb8b7153 Changed files 2023-02-13 14:45:04 -05:00
edi271
b461f6343f Combo View dialog source hole / shaft fit 2023-02-13 14:45:04 -05:00
edi271
cee126660e [TD] Command source hole /shaft fit 2023-02-13 14:45:04 -05:00
edi271
333bd1a545 [TD] ui file hole /shaft fit 2023-02-13 14:45:04 -05:00
edi271
bd4219951b [TD] Icon file hole/shaft fit 2023-02-13 14:45:04 -05:00
Uwe
592da198c5 [FEM] sort code of result filters
- sort the functions alphabetically to know where to scroll to - eases the reading at least a bit
- some automatic reformatting according to our current clang file
- split too long lines
2023-02-13 19:52:54 +01:00
Uwe
eecf57ffe9 [FEM] improve messages in mesh generation
- no longer output an error on mesh from a BooleanFragments. There are cases when this fails, but other cases where one must use a BoopleanFragments compound and this works well, see https://forum.freecad.org/viewtopic.php?t=71070. Therefore a warning is sufficient.
- disable log messages not important for the average users.
- avoid code duplication
2023-02-13 16:55:00 +01:00
Uwe
fa780e8b5b [FEM] add new filter to display iso contours
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Chris Hennes
3937a746b8 CI: Tweaks to pylintrc 2023-02-13 15:46:28 +01:00
Yorik van Havre
50fb6d6b46 merged crowdin translations 2023-02-13 15:45:26 +01:00
Yorik van Havre
d74c9f0188 updated ts files 2023-02-13 15:45:26 +01:00
luzpaz
50413a1ca1 FEM: fix trailing newlines 2023-02-13 15:41:31 +01:00
Yorik van Havre
190ade8fd7 Merge pull request #8409 from Roy-043/Arch-fix-Arch_Site
[Arch] fix Arch_Site
2023-02-13 14:40:23 +01:00
Uwe
0100a24135 [FEM] fix wrong name in cut filter
- it is the cut, not the clip filter, was probably a copy/paste mistake
- also some automatic code-reformatting according to our current clang file
2023-02-13 14:13:09 +01:00
Uwe
b6ff2ad9fd [FEM] add missing registration of magnetodynamics equation 2023-02-13 14:12:43 +01:00
0penBrain
f31e5066ea CI: improve logging for configure, build and install steps
* Line buffering for stdout and stderr to better preserve log order
 * Full log now contains both stdout and stderr to keep errors in context
2023-02-13 11:27:26 +01:00
0penBrain
c83b530c6e CI: factorize CMake install step in Linux builds 2023-02-13 11:27:26 +01:00
0penBrain
5d107d6762 CI: factorize CMake build step in Linux builds 2023-02-13 11:27:26 +01:00
0penBrain
75db9af607 CI: factorize CMake configuration in Linux builds 2023-02-13 11:27:26 +01:00
0penBrain
b4a57d510b CI: fix typo in runTests action name 2023-02-13 11:27:26 +01:00
0penBrain
9480c98ccc CI: spell checker silently fails 2023-02-13 11:27:26 +01:00
0penBrain
ad9afb6173 CI: deleting used artifacts in wrapup is allowed to silently fail 2023-02-13 11:27:26 +01:00
0penBrain
ed5b4ecd23 CI: rename Ubuntu jobs in master workflow to clarify 2023-02-13 11:27:26 +01:00
Uwe
bdc23a5b02 [FEM] register new result values to DataAtPoint filter
- also sorting to keep the overview
2023-02-13 02:50:34 +01:00
Jonas Bähr
4a77843845 PD: Improve InvoluteGear's fillet generatrion
Previously, the fillet started at a fixed value, tailored at 20° pressure
angle, a fillet radius of 0.375 and a dedendum of 1.25. With PR #8184
those values became user-adjustable and thus the assumptions of the
original code are not fullfilled any more. This resulted in significant
artefacts, especially for higher pressure angles or smaller dedendums as
commonly found in splines.

This commit actually calculates the junction between fillet and involute
so that the tangents of the both curves match.
The mathematical approach is described in source code comments.

The change in the fillet calculation also affects compatibility with
files generated by earlier versions of FreeCAD. Those changes are way
below 0.1% per tooth, however the earlier test required absolute equality
down to the micron. This was relaxed and also changed to a relative, per
tooth, tolerance.

There is one particular case where the new algorithm performs slightly
worse, though. That is when the fillet radius is too large to the
dedendum, i.e. resulting in a single arc instead of two fillets, and
effectively cannibalizes some of the clearance. This happens with internal
gears having less than 25 teeth. At about 15 teeth it becomes visible
that the fillet is not 100% tanget any more. However, as such a low
number of teeth is highly unusual for internal gears and the effect,
although noticeable, is minor, the overall benefits of the new algorithm
outweighs the drawbacks. And now with the fillet radius being adjustable
it is easy to fix, too.
The technical reason is that the tangency is calculated correctly, but
the fillet circle is displaced aferwards to avoid an overlap of the two
fillets. For the new fillet position, the tangents do not align any more.
2023-02-13 02:31:28 +01:00
Jonas Bähr
4f56b2654e PD: Expose new gear properties to the SVG generator
This little script has proven to be a vauable debugging aid, so it got
some love. All the new properties from #8184 can now be set, together
with the option to generate internal gears.
2023-02-13 02:31:28 +01:00
Uwe
4382bd199a [Part] extend SectionCutting feature for intersecting objects
- it is a well-known and often feed-backed missing feature that SectionCuttings fails for intersecting objects.
To resolve this, the objects must be put int a BooleanFragments object.
- this PR adds this functionality as option.
- since a BooleanFragments objects has a specific color, the different colors of the objects cannot be preserved. Because of this disadvantage, the BooleanFragments option will not be the default.

- this PR also modernize all for loops
2023-02-13 00:46:37 +01:00
Roy-043
72849c53d5 [Arch] fix Arch_Site: fix transform issue 2023-02-12 22:21:03 +01:00
Uwe
1bcaaec26c [App] License.cpp: add missing include
- does otherwise not compile on Windows
2023-02-12 21:25:08 +01:00
wmayer
38e02e6f36 App: support of method unsetupObject in Python feature classes 2023-02-12 20:01:09 +01:00
wmayer
3623dbd862 tests: add unit tests for License 2023-02-12 19:57:41 +01:00
wmayer
4036613fd2 App: refactor license handling to reduce code duplication 2023-02-12 19:57:41 +01:00
wmayer
91048d7900 Part: fixes to create a NURBS for the arc of a conic
See forum: https://forum.freecad.org/viewtopic.php?t=75846
2023-02-12 19:45:00 +01:00
0penBrain
ba25e9a82f [Core] Add possibility to set color with tuple of integers, fixes #8344 2023-02-12 18:16:59 +01:00
wandererfan
4dff7db187 [TD]fix face hatch location inSvg export 2023-02-12 11:50:20 -05:00
Roy-043
b6af6c9330 [Draft] fix #8433 regression (#8452) 2023-02-12 14:22:52 +01:00
Adrien GUICHARD
87c5403b69 Add TaackPLM_workbench_icon.svg in resources 2023-02-12 10:38:47 +01:00
alexneufeld
8f06403537 Gui: Add CERN OHL to default licenses list 2023-02-12 10:31:59 +01:00
ieternalleo
bececf6384 Mesh: Update error message to inform of missing mesh file format upon export 2023-02-12 10:29:35 +01:00