Commit Graph

39749 Commits

Author SHA1 Message Date
Chris Mayo
2a395c364e BIM: Fix imports of Python importers 2024-11-05 12:59:30 +01:00
marioalexis
616b78865f Fem: Print real-time log messages in mesher task panels - fixes #17594 2024-11-04 13:32:51 -05:00
PaddleStroke
38ea260fef Assembly: Fix reverse button in joint task (#17663) 2024-11-04 18:23:17 +01:00
PaddleStroke
ea334d2504 Update JointObject.py 2024-11-04 18:18:21 +01:00
Yorik van Havre
054205d8c6 Merge pull request #17632 from wwmayer/issue_17553
Fixes #17553
2024-11-04 18:14:18 +01:00
Yorik van Havre
c7c23ca158 Merge pull request #17609 from wwmayer/issue_17576
Core: Don't freeze application if lock file already exists
2024-11-04 18:08:51 +01:00
PaddleStroke
f0e0f92424 Assembly: Joint creation: add expression support to spinboxes 2024-11-04 18:07:12 +01:00
mwganson
1ca7760baa [Part Booleans] fix issue with copying visuals when doing Part workbench booleans using App::Part objects, see https://forum.freecad.org/viewtopic.php?t=91813&sid=eea2494d6d02882c3be7df74d7e2b689 2024-11-04 18:02:36 +01:00
WandererFan
8b45901c5e [TD]handle short&wide hatch area (#17630)
* [TD]handle short&wide hatch area

* [TD]sync .h and .cpp parameter names
2024-11-04 18:01:33 +01:00
James
d243992499 Safe mode message added as per #17580 (#17640)
* Safe mode message added as per #17580

* Fixed extra whitespace after return

Removed extra whitespace after return spotted by @hyarion

* Incorporated comments by @hyarion
2024-11-04 18:00:28 +01:00
Bas Ruigrok
579e1c5bbd Gui: Fix camera behavior when rotation center is far from object
Also fixes a regression in turntable navigation speed
2024-11-04 17:59:19 +01:00
wmayer
d7c49329a2 DAG: Add method hasRecord() and use it in Model::slotChangeObject
to avoid a possible failing assert().

Fixes #17572
2024-11-04 17:56:57 +01:00
Benjamin Nauck
4790cabca5 macOS+win+qt6.4+: Hide classic and auto choose light or dark mode depending on os setting (#17410)
* mac, win, qt6.4+: Hide classic and auto choose light or dark mode

* Add dark mode qt6.5 check

* Start: Add QStyleHints to PreCompiled.h

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-11-04 17:55:27 +01:00
Kris
6a8b9d0bd5 Update wording in README (#15766)
* Update moto in README

* Updated Installation section on README

* Update compiling section in README

* Removed link to page

* Updated Contributing section of README

* Added section divider for sponsors in README

* Moved underlying technology into collapsible box

* Updated Overview section of README

* Updated help section in README

* Switch note on README

* Update header in README

* Revert "Update moto in README"

This reverts commit a7ba483a1aa7e410bde01dd42bf5ef0c7d3d8ca8.

* Revert "Updated Contributing section of README"

This reverts commit 2b4a1fdb9f2cf838039c30c755179f1c1b2b0bec.

* Updated overview section description

* Fixed wording in overview

* Restored section header line

* Revert "Updated Overview section of README"

This reverts commit accff3fdb9cefde9b691fa654512903877140cab.

* Partial revert of 52d9c8a

* Revert "Moved underlying technology into collapsible box"

This reverts commit d1cc1ae87b8eee5702611ecb50c0067c50ae05c6.

* Added newlines to compiling section
2024-11-04 17:53:05 +01:00
David Carter
5e1f1ff257 Materials: Disable editor right click menu
The right click context menu in the materials editor was implemented
as a place holder but is currently non-functional. It should be
disabled for 1.0. This will be revisited post 1.0 as all editor
functionality is reviewed and improved.

Fixes #17110
2024-11-04 17:50:54 +01:00
Yorik van Havre
617d730c9f Merge pull request #17567 from wwmayer/issue_17523
Mat: Tmp. block signals of material widget
2024-11-04 17:43:54 +01:00
Adrian Insaurralde Avalos
06ba57b7ae CAM: rename "Tests" to "CAMTests" to avoid python name conflicts 2024-11-04 17:36:21 +01:00
Yorik van Havre
e93bd03595 BIM: Fixed case bug in library tool 2024-11-04 14:48:14 +01:00
hoshengwei
4a7d96af0c Fix Ifc Spatial Element Default Composition Type should be 'Element' 2024-11-04 14:41:30 +01:00
Chris Mayo
5ee2d1df71 BIM: IFC explorer Qt 6 compatibility and other fixes (#17649)
* BIM: IFC - Fixes for Qt 6 due to QtGui.QFont.setWeight()

PySide6 replaced:
  PySide6.QtGui.QFont.setWeight(int)

with:
  PySide6.QtGui.QFont.setWeight(PySide6.QtGui.QFont.Weight)

* BIM: Fix IFC explorer addEntity() and addProperties() on Qt 6

Qt 6 removed QTreeWidget.setFirstItemColumnSpanned()

https://doc.qt.io/qt-5/qtreewidget-obsolete.html#setFirstItemColumnSpanned

Running the Python command 'BIM_IfcExplorer' failed:
Traceback (most recent call last):
  File "/usr/lib64/freecad/Mod/BIM/bimcommands/BimIfcExplorer.py", line 170, in Activated
    self.open()
  File "/usr/lib64/freecad/Mod/BIM/bimcommands/BimIfcExplorer.py", line 223, in open
    self.addEntity(eid, children, self.tree)
  File "/usr/lib64/freecad/Mod/BIM/bimcommands/BimIfcExplorer.py", line 455, in addEntity
    self.tree.setFirstItemColumnSpanned(item, True)

* BIM: Fix IFC explorer exception on toggle mesh

Traceback (most recent call last):
  File "/usr/lib64/freecad/Mod/BIM/bimcommands/BimIfcExplorer.py", line 278, in toggleMesh
    import importIFCHelper
ModuleNotFoundError: No module named 'importIFCHelper'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/freecad/Mod/BIM/bimcommands/BimIfcExplorer.py", line 282, in toggleMesh
    import importIFC
ModuleNotFoundError: No module named 'importIFC'

* BIM: Fix IFC explorer layout warnings

QLayout: Attempting to add QLayout "" to QDialog "IfcExplorer", which already has a layout
QLayout: Attempting to add QLayout "" to QDialog "IfcExplorer", which already has a layout

https://doc.qt.io/qt-6/qtwidgets-tutorials-widgets-nestedlayouts-example.html

* BIM: Output an error if IFC explorer can't explore a file

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
2024-11-04 14:02:07 +01:00
pre-commit-ci[bot]
a02ab5b0d3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-03 23:25:40 +00:00
mwganson
874e2e39a0 [Points WB] fix issue where points are inaccurately imported when the points are far from the origin. This PR checks if the bounding box contains the origin and offers to move it to the origin if not, addresses issue #5808 2024-11-03 23:22:15 +00:00
mwganson
8094e22417 [Spreadsheet] avoid removing user dynamic properties when clearing cells, addresses issue #8655 2024-11-03 23:03:04 +00:00
wandererfan
ea528ecdb9 [TD]fix scaling of large hatch tiles 2024-11-03 10:00:50 -05:00
Furgo
db9fbc5ff8 Reword rigid/flexible sub-assembiles tooltip. Fixes: #17636 2024-11-03 09:07:59 +01:00
wmayer
4ac5c0bbed PD: If needed open another transaction for sketch creation
When creating a sketch in PartDesign a dialog is opened that gives the user the possibility to perform another action that may close the
active transaction. To make sure the creation of the sketch can be undone a new transaction must be opened.
2024-11-03 00:16:26 +01:00
wmayer
97ce877883 Core: Fixes #17553 2024-11-03 00:05:49 +01:00
wmayer
bd813f1df0 Tests: Add unit test to demonstrate failure of #17553 2024-11-02 23:45:02 +01:00
wmayer
f383e59eff Core: Write a log message instead of warning when locking a file fails 2024-11-01 16:10:51 +01:00
wmayer
de18adba03 Core: Add wrapper function Application::applicationPid() 2024-11-01 15:48:01 +01:00
wmayer
f2c9b9f94e Core: Don't freeze application if lock file already exists 2024-11-01 15:02:22 +01:00
marioalexis
e27ce22c59 Fem: fix Gmsh analysis mesh groups - fixes #17427 2024-10-31 15:28:44 -05:00
Eric Price
50c67ce2f6 fix #17578 - RIP bgbsww , don't worry, we got this. 2024-10-30 18:11:43 -05:00
James
39cf3c330f Changes to Addon First Run Dialog (#17518)
* Changes to Addon First Run Dialog

Updated Addon Manager first run dialog as per issue no. #17317

* Incorporated review comments

* Update src/Mod/AddonManager/addonmanager_preferences_defaults.json

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/AddonManager/addonmanager_preferences_defaults.json

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Removed default assigns as requested

* Defaults updated

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-10-30 18:10:22 -05:00
Ulices
d4828cc632 Help: Fix function return to avoid error when clicking URL on built-in browser (#17498)
* Help: Fix function return to avoid error when clicking URL on built-in browser

* fixup! Help: Fix function return to avoid error when clicking URL on built-in browser

Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>

---------

Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>
2024-10-30 12:51:45 +01:00
wmayer
0de167c29a Mat: Clean-up code in DlgDisplayPropertiesImp 2024-10-30 02:07:23 +01:00
wmayer
d54599bd9b Mat: Tmp. block signals of material widget
Fixes #17523
2024-10-30 01:06:12 +01:00
PaddleStroke
3bc7f1e85e Core: Enable TaskDialogs to associate view (#17373)
* Core: Add possibility for task dialogs to associate a view and be able to close when associated view is closed.

* TaskImage: Use task dialog view association.

* Sketcher: Use task dialog view association. Preventing crash (https://github.com/FreeCAD/FreeCAD/issues/16702)

* EditableDatumLabel: Use QPointer to prevent crash
2024-10-29 09:58:11 -05:00
hoshengwei
96d0bcbc04 Fix IFC export elevation with wrong unit 2024-10-29 15:14:00 +01:00
David Carter
d6660f88ed Materials: Selectively apply appearances
Change the appearance only if the appearance hasn't been set explicitly.
A cached material appearance is used to see if the current appearance
matches the last material. It is also compared against an empty
material to see if the saved material value has been initialized.

This solves the problem of material changes overwriting appearance
changes
2024-10-28 21:49:45 -05:00
Adrian Insaurralde Avalos
7f10bef82b Gui: show cpu architecture in version info instead of word size
Fix #15833
2024-10-28 21:48:28 -05:00
wmayer
e30a42b647 Core: Fix compiler warning 2024-10-28 19:06:31 +01:00
Adrian Insaurralde Avalos
d3a7b55886 Gui: use wildcard for some warnings filters. Fix #16687 2024-10-28 17:39:18 +01:00
Adrian Insaurralde Avalos
6700c05857 Fix OpenSCAD test failing when using pipe transfer mechanism 2024-10-28 17:34:25 +01:00
Pieter Hijma
4bb45cb70d Gui: Make VarSet dialog modal
Also tracks its own transactions to prevent interfering with other
transactions.
2024-10-28 17:33:14 +01:00
Yorik van Havre
8691140d4d Merge pull request #17538 from wwmayer/doc_obj_py
Core: Extend DocumentObjectPy
2024-10-28 17:31:23 +01:00
PaddleStroke
6cf06383c6 Sketcher: Dimension: Handle case of vertical/horizontal lines 2024-10-28 17:29:40 +01:00
wmayer
1a14b9020b Sketch: Make sure that variable 'ActiveSketch' is defined in macro
Fixes #17502
2024-10-28 17:23:50 +01:00
Eric Price
948b5ff81a Updated Tolerance feature to optionally restrict maximum tolerance and repair shapes (#17421)
* Updated Tolerance feature to optionally restrict maximum tolerance and repair shapes (With Refine=True)

* implement suggestion by wwmayer
2024-10-28 17:18:15 +01:00
Yorik van Havre
218842102d Draft: Warn user if using trimex on unsupported curve type - fixes #17346 2024-10-28 17:12:06 +01:00