Commit Graph

36065 Commits

Author SHA1 Message Date
Chris Hennes
fe007b205b Merge pull request #14979 from Ondsel-Development/sk_ovp_switching
Sketcher: Dimension: Fix 2 bugs.
2024-07-08 11:26:39 -05:00
Yorik van Havre
7c3badce87 BIM: Fixed possible filename ambiguity in Layers - fixes #15038 2024-07-08 11:25:48 -05:00
wmayer
88fb44900e Mesh: Allow to measure distances with a mesh 2024-07-08 11:22:11 -05:00
Chris Hennes
dd8a4cc435 Measure: Fix repeated element name in UI file 2024-07-08 12:20:15 -04:00
wmayer
fadb607054 Tests: Make PD and Sketcher tests independent of user settings
The Refine property must be explicitly set as otherwise some tests will break because of different user settings
2024-07-08 11:19:36 -05:00
PaddleStroke
b7c6ffe785 Sketcher: scale/translate: fix OVP warning if disabled 2024-07-08 11:13:29 -05:00
bgbsww
f823f3fd8a Toponaming: Tweak test framework to allow leaving documents for examination 2024-07-08 11:12:45 -05:00
FEA-eng
e09d8c58f7 Sketcher: Increase default width of dashed lines (#15075)
* Sketcher: Update SketcherSettingsAppearance.ui

* Sketcher: Update EditModeCoinManager.cpp
2024-07-08 11:06:55 -05:00
PaddleStroke
50228e5071 TechDraw: Fix 14038 and Refactor CommandCreateDims by adding execDim to reduce code duplicity. 2024-07-08 12:05:15 -04:00
Chris Hennes
4eb57fb50d Sketcher: Resolve unsafe combination of bool and int in | 2024-07-08 11:02:49 -05:00
marioalexis
0bc2717788 Fem: Check null shape in constraint bearing 2024-07-08 10:55:08 -05:00
wmayer
12f5f70757 Quarter: Update Quarter code
* Removes unused default constructors of the device classes
* Changes several doc strings
2024-07-08 10:54:41 -05:00
ppphp
51c6dbd3e3 fix unique ptr usage in sketch (#15008)
* fix unique ptr usage in sketch

* [pre-commit.ci] auto fixes from pre-commit.com hooks
2024-07-08 10:53:49 -05:00
Chris Hennes
24c7d3ef25 Sketcher: Switch SnapManager from Win-1252 to UTF-8 2024-07-08 17:51:33 +02:00
PaddleStroke
cef87b5642 Sketcher: BSpline DSH: Fix crash: If you create new sketch, start bspline tool and change mode, it would crash. It's because it was doing a abortCommand before the command was opened. So it cancelled the create sketch command. 2024-07-08 10:50:33 -05:00
hlorus
cd84304b67 Measure: Pass last object in subobject list to getTopoShape 2024-07-08 10:42:44 -05:00
PaddleStroke
6a309e889e Sketcher: BSpline: Fix crash when cancelled while only one point with autoconstraint. 2024-07-08 10:41:11 -05:00
wmayer
1eaf89b485 Sketcher: Handle PyException in createGeneratedAutoConstraints
Command::doCommand may throw an exception that isn't handled by the active sketch handler. This may leave it in an inconsistent state and can cause a crash later.

See #14945
2024-07-08 10:40:04 -05:00
PaddleStroke
6640815c4d Assembly: Enable Insert Component taskbox to grow when more items are added. 2024-07-08 10:39:07 -05:00
mosfet80
8d8ce96f8e [Mod:overlay] clean Overlay.cpp
Deleted dead code.
2024-07-08 11:58:51 +02:00
mosfet80
99983a86b8 [Mod] clean GLGraphicsView.cpp
Removed dead code
2024-07-08 11:58:13 +02:00
mosfet80
dfe0c5d4ee clean [Robot] Command.cpp
removed unnecessary code
2024-07-07 11:27:21 +02:00
wandererfan
4d90e1655a [TD]fix display of spreadsheet cells with no horiz alignment 2024-07-06 18:51:59 -04:00
wandererfan
03db773181 [TD]fix multiselect handling of non-geometry objects 2024-07-06 12:49:18 -04:00
wandererfan
3ddddc375c [TD]fix default for KeepLabel 2024-07-06 12:49:18 -04:00
wandererfan
7d8df6cd55 [TD]fix default line width on empty config 2024-07-06 12:49:18 -04:00
wandererfan
d98aa70d0e [TD]fix camera/front buttons on Proj Group dialog 2024-07-06 12:49:18 -04:00
Max Wilfinger
ef568314fd fix TechDraw .svg autofill and editable tags 2024-07-06 09:42:15 -04:00
FEA-eng
f14498727b FEM: Update exportNastranMesh.py 2024-07-06 14:01:11 +02:00
wmayer
561e521817 MSVC: Fix warning C4005: 'NOMINMAX': macro redefinition 2024-07-05 17:04:43 +02:00
wmayer
dd71f4d5db PD: Remove dead code from workbench class 2024-07-05 15:32:52 +02:00
wmayer
7ab2b92fc8 Gui: Don't show Python console by default
Fixes #15201
2024-07-05 14:56:37 +02:00
FEA-eng
a77d6b8a38 PD: Update Workbench.cpp 2024-07-05 12:09:04 +02:00
wmayer
7a9fd501c3 PD: Reformat TaskThicknessParameters 2024-07-04 22:24:15 +02:00
wmayer
610e1d67ad PD: Refactor TaskThicknessParameters 2024-07-04 22:24:15 +02:00
wmayer
7c0ecac580 PD: Fix linter warnings in TaskThicknessParameters 2024-07-04 22:24:15 +02:00
wmayer
0af1ec2cf3 PD: Do not set hard-coded maximum for thickness parameter
Fixes #15140: Thickness value Task panel issue
2024-07-04 22:24:15 +02:00
wmayer
aac8bdd7bc Fixes #14772: Random color problem 2024-07-04 22:23:10 +02:00
wmayer
3666215f8b Mesh: Do one import per line for the recorded macro 2024-07-04 22:22:28 +02:00
wmayer
535faeb297 Mesh: Use a lower threshold for the MeshPart_SectionByPlane command
See forum: https://forum.freecad.org/viewtopic.php?t=88734
2024-07-04 22:22:28 +02:00
wmayer
876e88f405 Gui: Fix crash in QuarterWidgetP::removeFromCacheContext
Fixes #https://github.com/FreeCAD/FreeCAD/issues/14988
2024-07-04 22:21:44 +02:00
wmayer
f5a87bc620 Spreadsheet: Fix SheetPython::getViewProviderName() to return the correct type name
For more details see: https://forum.freecad.org/viewtopic.php?t=88642
2024-07-04 22:21:03 +02:00
wmayer
30d8a74ce7 Gui: Fix crash when trying to calibrate image after document is closed 2024-07-04 22:19:42 +02:00
wmayer
0e8752448b Start: Make the Start Page a passive view
Do not attach the Start Page to an existing document as otherwise weird behaviour can be observed:
1. Start FreeCAD
2. Open a project file or data file
3. Open the Start Page
4. Make a change to the document
5. Close the document. You won't be asked to save your change
6. In the tree view the document is still shown because the Start Page is attached to the document
7. Close the Start Page. Now you will be asked to save your change
2024-07-04 22:18:42 +02:00
wmayer
858e59fabf Sketcher: Fix format string in ExternalGeometryFacade::initExtensions()
The format string of the warnings were incorrect and caused an fmt::format_error exception
2024-07-04 22:05:22 +02:00
Roy-043
a3cc73ce15 Draft: fix Draft_Shape2DView warnings
Fixes #15144.
2024-07-04 09:11:10 +02:00
wmayer
fdfffbcc9e TD: Fix DrawViewCollection::unsetupObject()
Assigning a null pointer to a std::string causes a failure
2024-07-03 09:07:17 -04:00
PaddleStroke
d92742f9c6 Sketcher: Dimension: Prevent the use of Undo from crashing. 2024-07-02 15:48:47 +02:00
Jookia
04cc890fd0 StartView: Escape file paths when loading 2024-07-02 08:31:59 -05:00
Yorik van Havre
0f462500d9 BIM: Fixed ifcopenshell version detection 2024-07-02 15:24:45 +02:00