Commit Graph

28524 Commits

Author SHA1 Message Date
Chris Hennes
064a715860 Revert "update icons for legibility on dark themes and update icons for WBs"
This reverts commit 117a9dac33c357cc42186eaf1e1e713fb19452a5.
2024-05-16 09:02:18 -05:00
sliptonic
4aa7f78790 fix minor bugs with sanity report and job visibility (#14043) 2024-05-16 07:27:45 -05:00
bgbsww
52ed6eb848 Toponaming: Bring in Chamfer, Fillet code and add tests (#14035)
* Toponaming: bring in missing code fragments in Sketcher

* Toponaming: Fix infinite recursion, remove debug cruft, rough in fillet test

* Bring in missing code; fix chamfers

* Toponaming: Add code for fillets and test
2024-05-15 19:43:30 -04:00
wmayer
51a0d8ecb8 Mesure: Ignore ValueError exceptions in quick measure 2024-05-15 10:28:33 -04:00
marcuspollio
1b2a3c3c29 Address feedback 2024-05-15 14:27:18 +12:00
marcuspollio
a5a26aee9e Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1 2024-05-15 13:45:43 +12:00
hlorus
3bb78b1873 MeasureGui: Add UMF folder icon
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
2024-05-14 17:55:21 +02:00
hlorus
381d10e305 MeasureGui: Add icons
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
2024-05-14 17:55:06 +02:00
hlorus
e473ec2333 Measure Prefs: Set background default color to white 2024-05-14 17:53:56 +02:00
wmayer
af3861aa79 Gui: move to new-style connect() in createEditor() 2024-05-14 15:58:44 +02:00
WandererFan
0958fa066f Merge pull request #14000 from wwmayer/td_fix_warning
TD: Fix several compiler warnings
2024-05-14 07:56:38 -04:00
wmayer
e32d1aa28a TD: Fix several compiler warnings 2024-05-14 10:55:41 +02:00
bgbsww
6fa5dc42c6 Toponaming: bring in missing code fragments in Sketcher 2024-05-13 15:47:44 -05:00
Bas Ruigrok
f7078d13d4 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
33e91421b5 Fix backwards-compatible Qt6 warnings 2024-05-13 11:39:24 -05:00
WandererFan
5b4eeb29a9 Merge pull request #13525 from Ondsel-Development/td_dimension
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
Max
c6ebc80f1f update icons for legibility on dark themes and update icons for WBs 2024-05-13 11:23:21 -05:00
wmayer
c16a4e034d 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
c05111cb59 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
a3d0713911 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
4dcd810ac5 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
5f4dd814ea 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
d430551aa0 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
bd7abe5521 Merge pull request #13907 from wwmayer/issue_13898
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
hlorus
2394a8cb1e [MeasureGui] Add measurement value to label text 2024-05-13 10:47:10 -05:00
Chris Hennes
b52c6ed9bc 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
86abf074c0 Toponaming: bring in missing code fragments in PartDesign 2024-05-13 08:45:26 -05:00
PaddleStroke
972f711210 TechDraw: Smart Dimension tool : Integrate the 'chamfer' tool. 2024-05-13 15:03:43 +02:00
PaddleStroke
cc393632e1 Techdraw: Smart Dimension: Fixes and simplifies code 2024-05-13 15:03:37 +02:00
wmayer
41a707dcfe Draft: refactor TestDraftGeomUtils 2024-05-13 09:15:35 +02:00
bgbsww
d3c5df86ee Toponaming: bring in missing code fragments in Part 2024-05-12 23:08:06 -04:00
bgbsww
e00d02aba1 Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 20:57:00 -04:00
Chris Hennes
9fead3682d Update translations 2024-05-12 17:06:56 -05:00
bgbsww
5054cace46 Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 13:28:20 -05:00
Roy-043
3dc1de6acf Draft: minor refactor of layer code (#13948) 2024-05-12 09:49:04 +02:00
Roy-043
30b3fcd045 Draft: Update v0.22 references to v1.0 (#13934) 2024-05-12 09:47:51 +02:00
marcuspollio
22336540b6 Sketcher UI: Update Task panels icons 2024-05-12 15:57:26 +12:00
marcuspollio
12a09af5cd PartDesign UI: Update Task panels titles and icons
update Workbench.cpp, TaskFeaturePick.cpp
2024-05-12 15:08:14 +12:00
Roy-043
81436e833a get_appearance_material -> get_view_material
Also removed the ret_default argument.
2024-05-11 10:11:16 +02:00
wmayer
c2e3d61059 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
f3637096e3 PD: Fix linter warnings 2024-05-10 15:06:22 +02:00
wmayer
ba638d204c Mesh: Make colors persistent if meshing option 'Apply face colors to mesh' is used 2024-05-10 15:03:20 +02:00
bgbsww
5d15df8729 Support saving the tnp recalculated file in profile testing 2024-05-09 09:01:25 -05:00
Roy-043
4c87e22b7f 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
1b2ef7831f Draft: Draft_SetStyle new Material handling
Discussion: #13657.
2024-05-09 10:49:19 +02:00
wmayer
acbb19335d TD: Fix memory leaks with PySequence_GetItem 2024-05-09 00:03:01 +02:00
wmayer
5b98af4591 Part: Fix memory leaks 2024-05-08 20:01:54 +02:00
wmayer
9934eb3b37 Measure: Fix memory leaks 2024-05-08 20:01:54 +02:00
wmayer
bf1fc57157 Material: Fix memory leaks 2024-05-08 20:01:54 +02:00
Chris Hennes
938a9012e8 Merge pull request #13867 from bgbsww/bgbsww-toponamingFixBadPad
Toponaming/Part: Fix fillet/pad bug, add tests
2024-05-07 14:19:01 -05:00