Commit Graph

36862 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
b0928cf115 [Measure] Redirect enter key press to apply button
Fixes #16401. Now call of the save function is dependent on whether the apply button is enabled. The button is only enabled if valid objects to save.
2024-09-12 16:23:17 +02:00
Benjamin Bræstrup Sayoc
b64cd15535 [Measure] Fix redundant variable assignment 2024-09-12 16:17:29 +02:00
luzpaz
cd7c56eda9 TechDraw: fix typo ballon->balloon 2024-09-12 09:25:40 -04:00
Yorik van Havre
e3fa0266fb BIM: Fixed bug in BimViews - fixes #16452 2024-09-12 14:30:41 +02:00
Furgo
1e84a82ed9 Check location and call corresponding addObject, add missing import. Fixes #16435 2024-09-12 14:29:10 +02:00
Kacper Donat
60b3bbdf64 Gui: Force OpenGL rendering for main window
This is big hack for Qt6 to force rendering using OpenGL from the
beginning. Since Qt6 OpenGL context is initialized only after creating
first QOpenGLWidget which results in window hiding and showing again
after some delay. This causes various timing issus as the window is not
supposed to do that.
2024-09-12 13:27:44 +02:00
wmayer
265909da4a StartPage: Make sure to pass a container widget to the QScrollArea
Fixes #16047: FreeBSD: Segfault in StartView::firstStartWidgetDismissed
2024-09-12 12:04:23 +02:00
wmayer
dad175cee9 MSVC: Fix several compiler warnings 2024-09-12 11:58:36 +02:00
Roy-043
53978bbf30 BIM: fix BIM_Setup license issue
FreeCAD currently has 19 standard licenses. BIM_Setup could only handle the first 10.

Forum post:
https://forum.freecad.org/viewtopic.php?p=781578#p781535
2024-09-12 11:00:39 +02:00
Benjamin Bræstrup Sayoc
fa6c81d23e [TechDraw] Fix uncentered balloon label 2024-09-11 20:04:30 -04:00
pre-commit-ci[bot]
d2eb9526c4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-11 14:39:34 +00:00
wmayer
c64ecd1e7b Qt6: QLocale::countryToString and QLocale::country() are deprecated since Qt 6.6 2024-09-11 16:34:59 +02:00
wmayer
77711e6459 Qt6: Several methods of QMouseEvent are deprecated since Qt 6.0 2024-09-11 16:33:19 +02:00
xtemp09
e6e6b1b1e5 [GUI] Make some strings untranslatable in Light Sources dialog 2024-09-11 08:41:07 -05:00
wmayer
3b91fd33e0 Qt6: QColor::setNamedColor is deprecated since Qt 6.6 2024-09-11 15:41:04 +02:00
spanner888
b51aaa0872 save after del, new, add (#16230)
Co-authored-by: spanner888 <spanner888@users.noreply.github.com>
2024-09-10 11:20:35 -05:00
sliptonic
477eb0c2d0 set default directory for sanity (#15934)
Respond correctly if user cancels  Fixes #14796

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
2024-09-10 10:23:13 -05:00
Roy-043
fa008e44e0 BIM: BimWindow.py add missing imports (#16308) 2024-09-10 12:24:29 +02:00
Furgo
98584d7f53 BIM: Fixes profile tool positioning (#16305)
* [BIM] Get working plane when picking a point

Fixes: #16284

* Use the new way of getting the Draft Working Plane
2024-09-10 11:48:39 +02:00
Pieter Hijma
0894fe0e73 Core: Fix duplicated extensions (see #16299) 2024-09-09 22:11:44 -05:00
Murmele
f7d5d9f0d8 Measure: Show delta option also in interactive mode (#16379)
* Initial commit to apply delta also for interactive measurement
* Not required special logic to check if possible, it can be easily checked if the property exists
* remember setting so it is not required to turn it always on
2024-09-09 21:39:27 -05:00
Kacper Donat
7646d4b611 Sketcher: AutoColor should update only colors
Previously AutoColor property forced reinitialization of all subscribed
parameters. It was mostly fine as most of them should stay in sync with
user settings but it also affected grids.
2024-09-09 21:19:35 -05:00
marioalexis
a3f8483032 Fem: Set Elmer result output format to Ascii 2024-09-09 11:35:22 -05:00
marioalexis
1ff2e0a876 Fem: Allow only one shape type per mesh group - Partially revert #16076 2024-09-09 11:32:51 -05:00
Morimiue
83c846e411 Sketcher: transfer constraints on conic's mid point to the newly created conic arc (e.g. ellipse arc)" -m "Fixes #15860" -m "When spliting a sketch curve, constraints on the original curve are transferred to the newly created curve. The original code did not consider the constraints on the center point of an ellipse arc. 2024-09-09 18:31:13 +02:00
xtemp09
f7f8143913 [GUI] Enable sort of zoom in Light Sources dialog 2024-09-09 18:27:51 +02:00
Yorik van Havre
e1823d25e8 Translations (#16389)
* Translations: Updated ts files

* Translations: Merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-09 18:25:52 +02:00
Yorik van Havre
ab0ab9fafa Merge pull request #16220 from wwmayer/placementpy
Core: Expose Placement dialog to Python
2024-09-09 18:24:31 +02:00
PaddleStroke
20219c7e28 Assembly: Replace Offset and Rotation properties by Offset1 and Offset2, giving full control over JCS positions. 2024-09-09 18:22:06 +02:00
Yorik van Havre
869ff4e51e Merge pull request #16140 from Ondsel-Development/sk_rectangle_thickness_crash
Sketcher: Fix round corner + thickness issue if radius + thickness = 0
2024-09-09 18:14:41 +02:00
Florian Foinant-Willig
05f7047c66 [PD] Fix helix placement 2024-09-09 18:11:25 +02:00
CalligaroV
c36406c112 Call ComplexGeoData::ensureElementMap() in ComplexGeoData::readElements()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-09 18:05:52 +02:00
Syres916
e6a9c2e8c1 [Spreadsheet] Fix CSV import by insert 2024-09-09 18:04:02 +02:00
wmayer
f167e0e8ac Port: Include some important changes of the OpenBSD port
Forum thread: https://forum.freecad.org/viewtopic.php?t=80792
2024-09-09 18:01:38 +02:00
Bas Ruigrok
3427e60fe4 Gui: Fix orthographic camera standard views in an empty scene 2024-09-09 17:59:50 +02:00
Bas Ruigrok
db7ee95347 Gui: Use Coin 4.0.3 fix for orthographic camera clipping 2024-09-09 17:58:32 +02:00
Benjamin Nauck
38111f9511 Spreadsheet XLSX import: Fix bug causing xls import failing for some operators (#16336)
* Fix bug causing xls import failing for some comparisons

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Benjamin Nauck <benjamin.nauck@adlede.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-09 17:55:54 +02:00
Roy-043
46410a9e37 BIM: ArchFence: Fix some color issues
* ShapeAppearance property was misspelled.
* The post and section objects could not be Std_Parts (because they do not have a DIffuseColor).
* Minor improvements to the handling of Bodies.
* Removed the `if __name__ == '__main__':` section. This code is no longer relevant.
2024-09-09 17:52:35 +02:00
Furgo
3310a20d55 [BIM] Separate profile name from label number (#16304)
* [BIM] Separate profile name from label number

Fixes: #16286

* Make internal name generic
2024-09-09 17:45:34 +02:00
MisterMakerNL
1eee14810f changed selection colors 2024-09-09 17:44:21 +02:00
wandererfan
44b7c8e34b [TD]fix initial balloon placement on rotated view (fix #16234) 2024-09-09 17:41:51 +02:00
PaddleStroke
f9b0ab73b4 Update Ondsel Solver 2024-09-09 09:39:45 -05:00
wmayer
9213635c9d Core: Placement dialog
+ replace separate buttons with QDialogButtonBox
+ add convenience method setPlacementAndBindObject
+ use const DocumentObject
2024-09-09 12:28:22 +02:00
Roy-043
796d51ac38 BIM: Fix window transparency
V1.0 fix for the transparency of glass panels in windows and doors.
2024-09-09 11:41:37 +02:00
huguesdpdn-aerospace
611bab3d6d PD: Xerces-C++ - Prepare for the latest version (backward compatible) 2024-09-08 20:31:25 -05:00
Jiří Pinkava
ea6a0943cc OverlayManager: fix unititialized hideTab variable
The hideTab is of type bool, which is primitive type and is thus unitialized if new
instance of the class is created. The exception would be to for static
instance of the class, but that is not the case (only the pointer to the instance is static).

It was originaly initialized, but the initialization was removed in
8cf94c1aba1.
2024-09-08 20:13:21 -05:00
PaddleStroke
fb509154ab App::Link: fix crash with Draft Array (#16240)
* App::Link: fix crash with Draft Array
2024-09-08 17:12:55 -05:00
Chris Hennes
4b77c189eb Merge pull request #16281 from benj5378/aboutStylesheet
[Gui] Add style, theme and qtstyle info to clipboard about info
2024-09-08 17:07:55 -05:00
Syres916
1fc508651b [Measure] Disable QuickMeasure for TechDraw, Spreadsheet, Part Container and Origin objects (#16225)
* [Measure] Disable QuickMeasure for TechDraw objects
* [Measure] Add spreadsheet, Part containers and origins to the exemptions
2024-09-08 16:50:26 -05:00
FEA-eng
10f9ef41e5 FEM: Update Material.ui 2024-09-08 20:14:46 +02:00