Commit Graph

30768 Commits

Author SHA1 Message Date
wmayer
f3327475b9 Gui: move to new-style connect() in createEditor() 2024-05-14 15:58:44 +02:00
WandererFan
cf57d0adc7 Merge pull request #14000 from wwmayer/td_fix_warning
TD: Fix several compiler warnings
2024-05-14 07:56:38 -04:00
wmayer
c7532cf496 TD: Fix several compiler warnings 2024-05-14 10:55:41 +02:00
bgbsww
869cb1f83b Toponaming: bring in missing code fragments in Sketcher 2024-05-13 15:47:44 -05:00
Bas Ruigrok
fb1539f48e Part: Implement getCameraAlignmentDirection() for PartFeature
Returns normal of a face or direction of an edge
2024-05-13 19:03:56 +02:00
Johannes Wüller
0e24e121eb Fix backwards-compatible Qt6 warnings 2024-05-13 11:39:24 -05:00
WandererFan
c12e1f8bc2 Merge pull request #13525 from Ondsel-Development/td_dimension
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
Max
d2f381c379 update icons for legibility on dark themes and update icons for WBs 2024-05-13 11:23:21 -05:00
wmayer
3a16d73253 Measure: Fix quick measure
* Create QuickMeasure in C++ instead of Python to avoid that it will be garbage collected
* Handle exceptions in case of invalid selections
* Refactor QuickMeasure class
* Fix linter warnings
2024-05-13 11:22:52 -05:00
Chris Hennes
fef3a24187 Merge pull request #13914 from Roy-043/Draft-Draft_SetStyle-new-Material-handling
Draft: Draft_SetStyle new Material handling
2024-05-13 11:22:11 -05:00
marcuspollio
fd01f325b3 Update Draft WB icons (#13585)
* Update Draft WB icons

* Also make all icons 64px based

* keep inner white outline and small tweaks

* Tweaks following review

* Further tweaks following feedback

* Tweak more icons for consistency with light/dark themes

* Update following PR 13865, save as Plain SVG and remove unused ressources

Update texts for visibility

Some more cleanup

Use consistent FreeSans font
2024-05-13 11:20:42 -05:00
David Carter
f9eb6c2c68 Material: Material Preferences
Updates the material preferences including selecting a default material

Preferences adds some options for what gets displayed in the Materials editor.
The option to use the legacy editor is removed in favour of the new
editor.

A new preference page has been added that allows the user to select a
default material. This will then be assigned to any newly created object. In
support of this, a new widget PrefsMaterialTreeWidget has been added as an
extension of the MaterialTreeWidget to automatically save and restore the
selected material.
2024-05-13 11:14:55 -05:00
PaddleStroke
344b125a07 Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py 2024-05-13 17:58:34 +02:00
FEA-eng
7523582c5f FEM: Change the misleading constraint descriptions regarding the geometry selection (#13921)
* FEM: Update TaskFemConstraintFixed.ui

* FEM: Update TaskFemConstraintForce.ui

* FEM: Update TaskFemConstraintTemperature.ui

* FEM: Update TaskFemConstraintDisplacement.ui
2024-05-13 10:54:03 -05:00
Chris Hennes
cc39030293 Merge pull request #13907 from wwmayer/issue_13898
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
hlorus
2b9e9d6ca5 [MeasureGui] Add measurement value to label text 2024-05-13 10:47:10 -05:00
Chris Hennes
1028345ae6 Merge pull request #13811 from hlorus/remove_measure_prefs
[Measure] Remove unused properties from measure preferences
2024-05-13 10:39:18 -05:00
bgbsww
f304b0123c Toponaming: bring in missing code fragments in PartDesign 2024-05-13 08:45:26 -05:00
PaddleStroke
3ed366b629 TechDraw: Smart Dimension tool : Integrate the 'chamfer' tool. 2024-05-13 15:03:43 +02:00
PaddleStroke
1aee2772f0 Techdraw: Smart Dimension: Fixes and simplifies code 2024-05-13 15:03:37 +02:00
wmayer
8fcaaed275 Draft: refactor TestDraftGeomUtils 2024-05-13 09:15:35 +02:00
bgbsww
84ae6b9b7b Toponaming: bring in missing code fragments in Part 2024-05-12 23:08:06 -04:00
bgbsww
c734bfd53c Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 20:57:00 -04:00
Chris Hennes
e703615603 Update translations 2024-05-12 17:06:56 -05:00
bgbsww
45c4aefaae Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 13:28:20 -05:00
Roy-043
ec44573bdc Draft: minor refactor of layer code (#13948) 2024-05-12 09:49:04 +02:00
Roy-043
10a25ebf98 Draft: Update v0.22 references to v1.0 (#13934) 2024-05-12 09:47:51 +02:00
marcuspollio
23537d97d7 Sketcher UI: Update Task panels icons 2024-05-12 15:57:26 +12:00
marcuspollio
17d0ee3aca PartDesign UI: Update Task panels titles and icons
update Workbench.cpp, TaskFeaturePick.cpp
2024-05-12 15:08:14 +12:00
Roy-043
53c6fbc843 get_appearance_material -> get_view_material
Also removed the ret_default argument.
2024-05-11 10:11:16 +02:00
wmayer
7d738f161a PD: Fix ShapeBinder::execute() if Support is empty
This fixes the reported regression: https://forum.freecad.org/viewtopic.php?t=87229
2024-05-10 15:06:22 +02:00
wmayer
35b70acb33 PD: Fix linter warnings 2024-05-10 15:06:22 +02:00
wmayer
7b3eef3dcf Mesh: Make colors persistent if meshing option 'Apply face colors to mesh' is used 2024-05-10 15:03:20 +02:00
bgbsww
0095e52466 Support saving the tnp recalculated file in profile testing 2024-05-09 09:01:25 -05:00
Roy-043
2f9b97ce3a Draft: Add "legacy importer only" to DXF option (#13638)
* Draft: Clarify "legacy only" DXF options in the preferences

Fixes #13598.
2024-05-09 11:12:19 +02:00
Roy-043
4fcbff191f Draft: Draft_SetStyle new Material handling
Discussion: #13657.
2024-05-09 10:49:19 +02:00
wmayer
85d3d9eec0 TD: Fix memory leaks with PySequence_GetItem 2024-05-09 00:03:01 +02:00
wmayer
82101ac890 Part: Fix memory leaks 2024-05-08 20:01:54 +02:00
wmayer
374a663d2c Measure: Fix memory leaks 2024-05-08 20:01:54 +02:00
wmayer
8742c37131 Material: Fix memory leaks 2024-05-08 20:01:54 +02:00
Chris Hennes
1889dd2f7b Merge pull request #13867 from bgbsww/bgbsww-toponamingFixBadPad
Toponaming/Part: Fix fillet/pad bug, add tests
2024-05-07 14:19:01 -05:00
wmayer
40b9c972c5 Assembly: Fix warning: -Wunused-variable 2024-05-07 19:48:33 +02:00
bgbsww
71d96bccac Fix tests, slip in TNP defense 2024-05-07 13:42:21 -04:00
bgbsww
bad3a83827 Fix #13858
Mistaken enabling of known bad code
2024-05-07 10:17:48 -05:00
PaddleStroke
b48bbe390b Sketcher: change rendering height of internal alignment. So that bpsline appears connected. Fixes second part of #13849 2024-05-07 16:00:00 +02:00
PaddleStroke
a3344c1ab8 Sketcher: Red point if end-point perpendicular 2024-05-07 15:42:03 +02:00
bgbsww
8fff92618c Toponaming/Part: Fix fillet/pad bug, add tests 2024-05-07 09:40:48 -04:00
HowThatWorks
bbbc0ad307 Merge branch 'main' into main 2024-05-07 08:17:42 +02:00
PaddleStroke
e33c983614 TechDraw: Implement 'Area' dimension. 2024-05-06 18:42:28 +02:00
PaddleStroke
337cd39244 TechDraw: Improve Arc Length dimension tool so that it can do any edge length: arc of ellipse, bspline. 2024-05-06 18:40:46 +02:00