Commit Graph

35118 Commits

Author SHA1 Message Date
Roy-043
107964c2c1 Draft: update Draft Point viewprovider to account for ShapeAppearance
Without this mod there is an error when opening a V0.21 file with a Draft Point. As well as when creating a Draft Point in V0.22.
2024-05-02 10:09:28 +02:00
Adrián Insaurralde Avalos
368b91e035 Measure: write init message to log instead 2024-05-02 08:09:39 +02:00
tomate44
c7c07f28c6 add unit test for edge split method 2024-05-01 22:15:09 +02:00
tomate44
2a07bce5b5 Preserve pcurves in TopoShapeEdge.split 2024-05-01 22:15:09 +02:00
0penBrain
502f78e111 Make: use single dash argument for Apple toolchain 2024-05-01 14:04:45 -04:00
Reqrefusion
7cf7922079 Add myself as contributor 2024-05-01 10:33:01 -05:00
Chris Hennes
0af3ee4851 Merge pull request #13727 from wwmayer/fix_warnings
Fix compiler warnings
2024-05-01 10:29:21 -05:00
wmayer
02df1c86b7 Gui: fix possible build failure 2024-05-01 09:47:33 +02:00
Roy-043
a02ff7ac6c Merge pull request #13589 from yorikvanhavre/arch-move-with-host
Arch: Fixed move with host
2024-04-30 21:18:04 +02:00
wmayer
787573f9b3 Start: fix possible build failure 2024-04-30 17:00:27 +02:00
wmayer
56f84c8042 Fix various compiler warnings:
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
wmayer
9e4def7104 Part: Remove cyclic dependency to Measure module
Although there is no cyclic dependency between the shared libraries it's still odd to have it on source files
2024-04-30 16:23:23 +02:00
WandererFan
89b9a324b2 Merge pull request #13703 from Reqrefusion/main
Gui:Making Technical Drawing icons compatible with Part Design and Assembly icon
2024-04-30 07:45:42 -04:00
Dov Grobgeld
ff11cd25ee Fix run time errors with python3.12 and pyside6 (#13337)
* Change pyopen=open expression to from builtins import open as pyopen

---------

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-04-30 00:28:01 -04:00
Martin Rodriguez Reboredo
0100a99838 Gui: TypeInitStruct for Shiboken6 builds 2024-04-29 16:08:07 -04:00
liukaiwen
45e6d4e1e8 fix precompile on lastest unified measurement 2024-04-29 13:42:40 -05:00
sliptonic
680792030f Merge pull request #13650 from chennes/firstStartWidget
Start: First start widget
2024-04-29 11:42:50 -05:00
CalligaroV
c3b0fcdccf App/Toponaming: import SubObjectT dependencies for SubShapeBinder
* Fixed a mistake made in getSubObjectListFlatten()
 * Applied modifications according to review comments

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-04-29 11:42:18 -05:00
CalligaroV
243e20248d App/Toponaming: import SubObjectT dependencies for SubShapeBinder
* Formatted and refactored code imported for the DocumentObject class
 * Formatted and refactored code imported for the SubObjectT class

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-04-29 11:42:18 -05:00
CalligaroV
ceb5478a37 App/Toponaming: import SubObjectT dependencies for SubShapeBinder
* Added test for SubObjectT::hasSubObject()
 * Added test for SubObjectT::hasSubElement()
 * Added test for SubObjectT::normalize()
 * Added test for SubObjectT::normalized()

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-04-29 11:42:18 -05:00
Zheng, Lei
138417c2a2 App/Toponaming: import SubObjectT dependencies for SubShapeBinder
* Added SubObjectT methods normalize(), normalized(), hasSubObject() and hasSubElement()
 * Updated DocumentObject::getSubObjectList()
 * Applied modifications to make the code compile
2024-04-29 11:42:18 -05:00
WandererFan
db22476450 Merge pull request #9750 from hlorus/gsoc2023_measure
GSoC 2023: Unified Measurement Facility
2024-04-29 12:41:54 -04:00
Florian Foinant-Willig
abd5d4daef FEM: prevent python added properties to be removed 2024-04-29 18:33:45 +02:00
Syres916
d1946bfebe [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements (#13684)
* [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements

* [FEM] CCX Solver TP make time code more prominent

* [FEM] Gmsh mesh TP make time code more prominent
2024-04-29 11:29:00 -05:00
WandererFan
22e157b78c Merge pull request #13644 from wwmayer/default_material
Gui: expose ViewProviderGeometryObject::getUserDefinedMaterial() to Python
2024-04-29 12:28:25 -04:00
sliptonic
5b10ed9cd8 Merge pull request #13673 from chennes/startFixCardWidth
Start: Correct card size calculation
2024-04-29 11:27:19 -05:00
Roy-043
7dc978948d Gui: DlgSettingsNavigation.ui fix misalignment of Corner label 2024-04-29 11:26:11 -05:00
0penBrain
7b85e8fc48 Cmake: pass 'undefined' with double dash so alternative linker can be used 2024-04-29 18:25:17 +02:00
MisterMaker
2d49fcefe2 Overlay fix for default windows style and other light theme's. (#12573)
* Removing white spaces

* Fixes made by Kadet

I am cleaning up my previous PR because of the white space removal.
I now make a single commit with the white space stuff and one with Kadet fixes.

Co-Authored-By: Kacper Donat <kacper@kadet.net>

* Delete CMakeSettings.json

screwed it up

* added stylesheet for example code.

* added example to cmakelist

* Mouse over fix

This fixes the mouse over issue!

Co-Authored-By: Bas Ruigrok <14298143+Rexbas@users.noreply.github.com>

* Added more overlay stylesheet for all options

* Removed reddudant code!

* Fixed the code

Works great!

Co-Authored-By: Bas Ruigrok <14298143+Rexbas@users.noreply.github.com>

---------

Co-authored-by: Kacper Donat <kacper@kadet.net>
Co-authored-by: Bas Ruigrok <14298143+Rexbas@users.noreply.github.com>
2024-04-29 11:24:33 -05:00
sliptonic
90842c9df6 Merge pull request #13666 from Roy-043/Gui-Clarify-cache-directory-as-read-only-in-prefs,-add-Browse-tooltip
Gui: Clarify cache directory as read-only in prefs, add Browse tooltip
2024-04-29 11:14:59 -05:00
Chris Hennes
dcbdc1b204 Merge pull request #13665 from wwmayer/fix_memory_leak2
Core: fix possible memory leaks when using parser
2024-04-29 11:14:11 -05:00
Chris Hennes
a45524712d Merge pull request #13576 from wwmayer/issue_13518
Sketcher: Make ValidateSketch scriptable
2024-04-29 11:11:13 -05:00
PaddleStroke
14a12b916a TechDraw: remove 'Project Shape' from Techdraw toolbar 2024-04-29 18:08:50 +02:00
Chris Hennes
77cf3f395f Merge pull request #13642 from wwmayer/fix_memory_leaks
Fix memory leaks
2024-04-29 10:57:51 -05:00
wmayer
c14e735c20 Sketcher: Fix possible crash inside ~CurveConverter()
Accessing the parameter manager inside ~CurveConverter() is undefined behaviour because it will be accessed after the main() function
has been exited.

Fixes #13622
2024-04-29 10:56:15 -05:00
PaddleStroke
6ae13db72a Core: TabBar: fix issue following #13508 2024-04-29 10:55:44 -05:00
marioalexis84
ff285b6c60 Fem: Add radiation heat transfer (#13466)
* FEM: Add radiation heat transfer
* FEM: Add radiation heat transfer to CalculiX writer
* FEM: Update .inp files
* Fem: Rename heat flux ui members

---------

Co-authored-by: FEA-eng <59876896+FEA-eng@users.noreply.github.com>
2024-04-29 10:53:59 -05:00
marioalexis
5d69945f6e Fem: Remove unused view properties 2024-04-29 10:52:52 -05:00
marioalexis
ba0825f605 Fem: Constraint symbol scaling based on shape size - fixes #7030 2024-04-29 10:46:40 -05:00
Nexusnui
e6a547f33c Update importCSG.py
Fixed Scaling with one parameter
2024-04-29 17:46:10 +02:00
WandererFan
34f92f2d5e Merge pull request #13407 from Ondsel-Development/sk_reorganize_tbs
Sketcher: Small reorganization of toolbars
2024-04-29 11:43:52 -04:00
Max
016ff91de2 update icon for assembly recompute 2024-04-29 17:36:00 +02:00
Max
3a57df116d Update context menu with a toggle for suppress property with checkmark (checked when suppressed) 2024-04-29 17:35:14 +02:00
Roy-043
d787f382d5 Only imported modules can be reloaded 2024-04-29 16:15:58 +02:00
Roy-043
6c5cc7d9d9 Draft: legacy DXF importer: downloaded libs should be reloaded
Otherwise old versions will still be used in the current FreeCAD session.
2024-04-29 16:15:58 +02:00
Roy-043
de37e94f32 Draft: legacy DXF importer fix group and layer behavior
Fixes #13621.

Currently the legacy DXF importer creates a main group with the DXF name if a DXF is imported into an existing FreeCAD document. For each DXF layer it then creates a sub-group (or Draft Layer) inside that main group. Objects are nested in the sub-groups (or Draft Layers).

This does not make sense for Draft Layers as they should be nested in the LayerContainer, which should be in the root of the FreeCAD document.

Both for Draft Layers and sub-groups there is the issue that if mutliple DXF files are imported in the same FreeCAD document, exising Draft Layers and sub-groups are not taken into account. For each DXF a new "0" group/layer is created (with a Label that is not "0" and therefore not recognized), and if there are objects on that layer a new group/layer is created for each object (labelled "0001", "0002", "0003", etc).

To solve this the main group with the DXF name is no longer created in the revised code and the layers variable is initialized with the groups/layers that already exist in the FreeCAD document.

Additionally the formatObject function should not format objects that are in Draft Layers. Its action conflicts with the layer mechanism resulting in the last imported object having an incorrect color.
2024-04-29 16:15:16 +02:00
Roy-043
c02df6a5fb Import: C++ DXF importer wrongly scaled polyline bulges
Fixes #13600.
2024-04-29 16:12:17 +02:00
hlorus
7ff4da5a27 [Part/PD] Remove measure tools 2024-04-29 09:27:22 -04:00
wandererfan
e070b61cdc [Measure] Change icon
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
2024-04-29 09:27:22 -04:00
hlorus
47fd87af51 [Gui] Add command and task for unified measurement facility 2024-04-29 09:27:22 -04:00