wandererfan
6fd73487c7
[TD]allow template fields to re-apply autofill
2024-06-23 09:48:25 -04:00
wandererfan
4d6fbac1a5
[TD]allow manual update of autofill fields
2024-06-23 09:48:25 -04:00
wandererfan
5723180e43
[TD]correct source of autofill fields
2024-06-23 09:48:25 -04:00
wandererfan
7b71753214
[TD]clean up editable field length and click area
2024-06-23 09:48:25 -04:00
wandererfan
eff32fbba8
[TD]fix wrong xml namespace in some templates
2024-06-23 09:48:25 -04:00
lyphrowny
cc8a0c529c
FEM: remove trailing spaces and newlines when writing input files for solvers
2024-06-23 16:27:20 +03:00
lyphrowny
4e439b8992
FEM: include fem .py sources in pre-commit
2024-06-23 16:27:19 +03:00
lyphrowny
cbea6b6094
FEM: reformat codebase
2024-06-23 16:26:36 +03:00
bgbsww
4c3fc869fe
Toponaming: Check for selection mapped element name
2024-06-22 17:10:54 -05:00
Chris Hennes
a44f5e36fa
Merge pull request #14771 from marioalexis84/fem-python_base_class
...
Fem: Create own base class for Python objects - fixes #14637
2024-06-22 13:13:14 -05:00
jffmichi
c47e0ec507
Path: replace import of PySide2 with PySide
2024-06-22 08:17:16 -05:00
sliptonic
00bdb354b3
fix regression with adding TC to job
2024-06-22 08:16:33 -05:00
sliptonic
18a23b8260
Fixing 'red ink' bugs in CAM
...
fixes: https://github.com/Ondsel-Development/FreeCAD/issues/93
fixes https://github.com/Ondsel-Development/FreeCAD/issues/87
fixes https://github.com/Ondsel-Development/FreeCAD/issues/88
fix threadmilling error if not proper tool
fix vcarve error if no proper tool
fix probe error if no proper tool
fix deburr error if no base geometry
Fix adaptive op error if no base geometry
2024-06-22 08:16:33 -05:00
sliptonic
45439f0a36
fixes #14765 ( #14814 )
2024-06-22 08:15:25 -05:00
Chris Hennes
f294a5efc5
Gui: Silence unused variable
2024-06-22 08:29:27 +02:00
marioalexis
932c73f0de
Fem: Remove selection observer - fixes #14001
2024-06-21 19:28:12 -05:00
marioalexis
32029a1488
Fem: Create own base class for Python Material objects
2024-06-21 19:26:18 -05:00
marioalexis
a5b0cab900
Fem: Create own base class for Python Mesh objects
2024-06-21 19:26:18 -05:00
marioalexis
eb73c8e20f
Fem: Create own base class for Python Element objects
2024-06-21 19:26:18 -05:00
marioalexis
60e782223b
Fem: Avoid unnecessary method overriding
2024-06-21 19:26:18 -05:00
Chris Hennes
83a268881d
Addon Manager: Remember scroll position on Back ( #14753 )
...
* Addon Manager: Remember scroll position on Back
* Addon Manager: Linter cleanup
2024-06-21 14:53:56 -05:00
wmayer
4d492c0b83
Import: Simplify handling of Resource_FormatType
...
The type Resource_FormatType already exists since 2015. So, its usage doesn't require pre-processor macros everywhere.
2024-06-21 12:00:38 -05:00
wmayer
985579bced
Import: Move options handling to ImportGui.importOptions
...
Currently a modal dialog is used directly in ImportGui.open()/ImportGui.insert() that makes it impossible to use the functions in a
script because they will be blocked
2024-06-21 12:00:38 -05:00
wmayer
4219aaef99
Core: Support of import options
2024-06-21 12:00:38 -05:00
lyphrowny
5f761c758e
Add myself as a contributor
2024-06-21 11:54:58 -05:00
Jookia
ca3bcfe6da
Tests: Specify QtWidgets.QDialogButtonBox.Close explicitly
...
This seems needed for PySide6 on my system.
2024-06-21 11:10:16 -05:00
Jookia
df4a4591d2
Tests: Use assertEqual instead of assertEquals
...
This causes some test failures on my system at least.
2024-06-21 11:10:16 -05:00
Kacper Donat
d1535e7827
Gui: Disable changing workbench on tab bar scroll
...
Fixes : #14164
2024-06-21 10:55:00 -05:00
Kacper Donat
3684dc6560
Gui: Display workbench icon in the middle for icon-only
...
It ensures that for icon-only style it is displayed in the middle and
empty text is not accounted while calculating tab size hint. Custom
styles may need to target `QTabBar[style="icon-only"]` to apply specific
fixes like disabling padding.
Fixes : #14282
2024-06-21 10:55:00 -05:00
PaddleStroke
3942d13cab
Assembly: Remove unecessary import that was breaking ubuntu CI.
2024-06-21 10:18:19 -05:00
bgbsww
9b547bb90f
Only adjust found element names
2024-06-20 16:10:39 -05:00
wmayer
2f8382ae59
MSVC: Fix compiler warnings
...
* avoid redefines in Assembly
* explicit cast from size_t to int
* remove unused variables
* avoid implicit cast from double to float
* in test cases replace EXPECT_FLOAT_EQ with EXPECT_DOUBLE_EQ or EXPECT_NEAR when doubles are used
2024-06-20 15:42:16 -05:00
wandererfan
d2be7f7d89
[TD]fix weld symbol position
2024-06-20 09:08:32 -04:00
Yorik van Havre
e3fa5ed679
BIM: Added square and rectangular profiles to pipes
2024-06-20 14:09:06 +02:00
Yorik van Havre
e17301b36c
BIM: IFC: Export non-solids as Breps
2024-06-20 14:06:22 +02:00
Yorik van Havre
62d4f3ae0b
BIM: Fix Copy tool stealing copy mode
2024-06-20 14:06:01 +02:00
Roy-043
2aa7296cc6
Draft: Add type check to Draft_Join
...
Add a type check for the selected objects. All must be Draft Wires.
Fixes #14727 .
2024-06-20 14:05:21 +02:00
Lukas Schattenhofer
8a07f71c28
BIM: ArchComponent Only counts planar surfaces as vertical areas
2024-06-20 14:03:23 +02:00
Roy-043
1ba341194e
Draft: Fix 2 issues to make Draft_Fillet handle arcs properly
...
Fixes #11435
Draft_Fillet could already handle arcs, provided they were not Draft_Arcs. The `_extract_edge` function in make_fillet.py had a strange logic, and could also return a wire which would result in problems later.
Another issue was that the `fillet` function in fillets.py did not handle the order of the edges correctly if one of the edges was an arc and the other a straight edge. The arch had to be selected first to prevent this error.
2024-06-20 14:00:42 +02:00
Roy-043
5a05739197
BIM: Fix base edge direction for Arch_Stairs
...
Fixes #14377
If the base edge of a stairs has a delta Z, the start point must have lowest Z. The `makeStraightStairsWithLanding` code fails otherwise.
Using `edge = Part.LineSegment().toShape()` is not the most efficient, but matches the pattern used elsewhere in the code.
2024-06-20 13:57:19 +02:00
Roy-043
8f1e415eac
Draft: Fix onChanged in view_point.py
...
Fixes #14804
Added (also don't make sense for a point object):
* AngularDeflection
* DrawStyle
* Pattern
* PatternSize
Removed:
* DiffuseColor (property no longer exists)
* LineMaterial (already hidden by default)
2024-06-20 13:46:00 +02:00
wmayer
f6e67a009d
Fix several compiler warnings
...
* -Wmaybe-uninitialized
* -Wunused-parameter
* -Wunused-variable
* -Wnonnull
* -Wstringop-truncation
* -Wstringop-overflow
2024-06-19 21:14:23 -05:00
wmayer
d1d2b730ef
Gui: Move ToolBarAreaWidget to its own files
...
Since ToolBarAreaWidget is not a private class any more move its declaration and definition to their own source files.
2024-06-18 18:42:18 -05:00
Chris Hennes
e3509a37d1
Merge pull request #14773 from wwmayer/fix_fem
...
FEM: Fix linking errors & clean-up code
2024-06-18 18:41:01 -05:00
wmayer
57489af043
Fem: Clean-up code
2024-06-18 19:58:16 +02:00
wmayer
b7e0313591
Fem: Refactor DefineNodesCallback and DefineElementsCallback
...
Refactor the two methods to reduce code duplication.
2024-06-18 18:48:14 +02:00
wmayer
47a9ec8481
FEM: Fix linking errors
...
The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like.
Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
2024-06-18 18:14:10 +02:00
wmayer
6c0f42bb15
Fem: Fix copyright notices
...
Do not clutter copyright notices with changes made to a file. That's the task of the VCS
2024-06-18 18:01:22 +02:00
wmayer
1ccb74f141
PD: Fix crash in ViewProviderBody::unifyVisualProperty
...
Make sure that the view provider of a body feature provides the requested property
2024-06-18 10:41:41 -05:00
Chris Hennes
a36a60d29d
Fem/Sketcher: Fix missing PreCompiled.h files
2024-06-18 08:05:32 -05:00