Commit Graph

30857 Commits

Author SHA1 Message Date
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
wmayer
c1b7d38b27 Assembly: Fix warning: -Wunused-variable 2024-05-07 19:48:33 +02:00
bgbsww
9fc744fbe3 Fix tests, slip in TNP defense 2024-05-07 13:42:21 -04:00
bgbsww
ffba7dcbe6 Fix #13858
Mistaken enabling of known bad code
2024-05-07 10:17:48 -05:00
PaddleStroke
8967c74605 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
28bb796fea Sketcher: Red point if end-point perpendicular 2024-05-07 15:42:03 +02:00
bgbsww
3ee0530ac2 Toponaming/Part: Fix fillet/pad bug, add tests 2024-05-07 09:40:48 -04:00
HowThatWorks
9fd4270db7 Merge branch 'main' into main 2024-05-07 08:17:42 +02:00
PaddleStroke
41650a78d4 TechDraw: Implement 'Area' dimension. 2024-05-06 18:42:28 +02:00
PaddleStroke
8c5cfd23ec 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
PaddleStroke
e3a5ef3504 TechDraw: Smart Dimension tool : Integrate chain and coord dimensions. 2024-05-06 18:40:46 +02:00
PaddleStroke
57019d80ea TechDraw: Smart Dimension tool : Integrate extent dimensions. 2024-05-06 18:40:46 +02:00
PaddleStroke
57bc4babea TechDraw: Implement smart dimension tool. 2024-05-06 18:40:46 +02:00
PaddleStroke
4ecd54275b Sketcher: Dimension : little fixes 2024-05-06 18:40:46 +02:00
PaddleStroke
71b924e7dc Core/Sketcher: Create ToolHandler class in core for core reuse accross other wbs. 2024-05-06 18:40:46 +02:00
David Carter
3de35c9818 Material: Expanded Python API (#13829)
Expands the Python API to allow for material creation. With test cases.
2024-05-06 11:34:51 -05:00
PaddleStroke
b12b95b908 Assembly: Fix Gear Radius2 spinbox issue 2024-05-06 18:32:00 +02:00
PaddleStroke
fed17ff6f1 Assembly: Improve Exploded View's radial explosion, and various small fixes. 2024-05-06 18:32:00 +02:00
PaddleStroke
3d13f5353a Assembly: add try/catch blocks in drag step. 2024-05-06 18:32:00 +02:00
PaddleStroke
c8a6f2c55c Assembly: Improve tooltip of CommandCreateJointDistance 2024-05-06 18:32:00 +02:00
PaddleStroke
ce455de2c5 Assembly: Mark new features as experimental. To enable them you need to create a parameter called ExperimentalFeatures and set it to true. 2024-05-06 18:32:00 +02:00