Commit Graph

40078 Commits

Author SHA1 Message Date
tritao
9e6c6682d8 Gui: Cleanup legacy code. 2025-02-05 19:19:40 +00:00
mwganson
a85756b1c9 [Mesh Python] Mesh.show() returns python object, update documentation for Mesh.show(), Part.show(), and Points.show() 2025-02-03 18:27:21 +01:00
mwganson
d5b0f686e1 [Part TopoShapeExpansion] move shape transform from make element copy into ruled surface function since it does not work well when copying vertex objects 2025-02-03 18:17:14 +01:00
Roy-043
488d931a69 Material: rename Materials_Edit command
For consistency it should be Material_Edit.
2025-02-03 18:14:18 +01:00
xtemp09
ea9190bac4 Change FocusPolicy of some PrefWidgets to StrongFocus
This commit mollifies the issue #17684 by making the PrefWidgets receive
mouse wheel events only when they have both focus and the mouse pointer
at the widget.
2025-02-03 18:13:35 +01:00
Chris Hennes
e10d34ada5 Merge pull request #16995 from benj5378/axisColors
[Gui] Axis colors changeable
2025-02-03 18:11:46 +01:00
Chris Hennes
ea878d4abd Drawing: Migrate to using App::Application::getNameWithVersion 2025-02-03 12:05:16 -05:00
Chris Hennes
411c7c0961 TD: Migrate to using App::Application::getNameWithVersion 2025-02-03 12:05:16 -05:00
Chris Hennes
f7495654e7 Spreadsheet: Migrate to using App::Application::getNameWithVersion 2025-02-03 12:05:16 -05:00
Chris Hennes
0f7b758b1e Gui: Migrate to using App::Application::getNameWithVersion 2025-02-03 12:05:16 -05:00
Chris Hennes
d2194bbeda App: Add utility method to get app name with version included 2025-02-03 12:05:16 -05:00
pre-commit-ci[bot]
b94aa0eb5f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 12:05:16 -05:00
Pascal de Bruijn
f980fdaede Add proper PDF creator metadata 2025-02-03 12:05:16 -05:00
Chris Hennes
7c32d9780b GUI: Disable legacy spnav code when legacy is false
We don't ever want to connect to both libspnav and NavLib
2025-02-03 12:03:34 -05:00
tritao
123569823e App: Provide temporary document creation flag to Python App.loadDocument. 2025-02-03 18:01:18 +01:00
Chris Hennes
396e09a4d6 Merge pull request #18682 from alfrix/threads_enums
refactor(PD): ThreadSize enum simplification
2025-02-03 17:59:15 +01:00
Daniel Wood
2e9e496b57 CAM: Tool Bit Library Fixes (#18973)
* remove unused else
* Enable reloading / re-selection of libraries
* Reload the libraries when exiting the editor
* Clear the model to prevent duplicate entries
* add missing docstring to reduce linting warnings
* Maintain any previous library selection when editing
2025-02-03 10:58:24 -06:00
tritao
65466d580b Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
Bas Ruigrok
63f6f35856 Add CLion pixi toolchain script (#19119)
* Add CLion pixi toolchain script

* Add CLion pixi toolchain script for Windows
2025-02-03 10:55:24 -06:00
Chris Hennes
5e9dd297fe Merge pull request #19232 from WandererFan/miscSmallFixes
[TD]minor fixes x3
2025-02-03 17:54:20 +01:00
wandererfan
d26812e048 [TD]fix crash on delete while dialog open (#18120) 2025-02-03 17:51:46 +01:00
FEA-eng
1e573241c5 FEM: Constraint transform - selection error message update (#19192)
* FEM: Update TaskFemConstraintTransform.cpp
2025-02-03 10:47:01 -06:00
Pascal de Bruijn
11c77e4099 TechDraw: Export with default filename (#19033)
* TechDraw: Export with default filename

* TechDraw: templates consistent drawing_number/revision_index
2025-02-03 11:34:14 -05:00
Syres916
34d9ac0050 [Gui] Fix Close without Saving button size (#19342) 2025-02-02 23:24:27 +01:00
Furgo
04aea5e9f3 PrefPacks: reset font size in FreeCAD Classic theme 2025-02-02 09:08:29 +01:00
Benjamin Nauck
64a4f6e366 Update ondselsolver 2025-01-30 15:50:38 +01:00
panintended
b2d5a48fb6 QuickMeasure: display correct angle units
Add angle unit user string getter, fix typos for length unit equivalent

Fixes #19307
2025-01-30 15:48:30 +01:00
Mino-Tsuzuku
6c20224379 #18458 fix SVG import error at non-utf8 native environment. (#19280) 2025-01-30 13:13:56 +01:00
luzpaz
0d96954bca Remove superflous whitespace + trailing newlines 2025-01-29 07:59:05 -06:00
tritao
1e05c59ce8 CMake: Provide build flag to enable compile time tracing. 2025-01-29 06:50:37 -06:00
tritao
ade3ae02ff CMake: Provide build flag to enable libc++ standard library. 2025-01-29 06:50:37 -06:00
tritao
767150102d Gui: Add bounding box data to scene inspector. 2025-01-29 06:49:35 -06:00
FEA-eng
e267508901 FEM: Thermal expansion reference temperature for CalculiX analyses (#19285)
* FEM: Update task_material_common.py

* FEM: Update write_femelement_material.py

* FEM: Update Material.ui

* Fem: Enable material expansion reference temperature

* FEM: Update thermomech_bimetal.py

* FEM: Update thermomech_bimetal.inp

---------

Co-authored-by: marioalexis <mario.passaglia@gmail.com>
2025-01-29 13:37:02 +01:00
Chris Hennes
21b29a1a7e Ext: Correct user preference specified in comment 2025-01-29 05:15:31 -06:00
Max Wilfinger
6246c9ee22 Adding DPI info to the copied information in the about dialog (#19251)
* Adding DPI info to the copied information in the about dialog.

* Update DlgAbout.cpp

changed screen() to QApplication::primaryScreen()
2025-01-29 12:14:26 +01:00
filson1
44435bf9de Helix tooltip spelling update in FeatureHelix.cpp 2025-01-29 08:31:26 +01:00
luzpaz
67c772553b Fix typos
Found via codespell
2025-01-29 08:31:01 +01:00
Roy-043
dfe670e1ae Draft: allow objects in layers to have overrides (#19207)
* Draft: allow objects in layers to have overrides

Fixes #17844.

1. When an object is put in a layer it always adopts the properties of that layer.
2. Properties of the object that are subsequently changed are considered overrides.
3. When the properties of the layer, or the object in the layer, are then changed so that they match again, there is no longer an override, and properties are synced again.
4. The layer and the layer container object get an extra Tree view context menu option "Reassign properties of layer"/"Reassign properties of all layers".
2025-01-28 20:42:45 +01:00
Roy-043
05a3e8d750 Merge pull request #19296 from Roy-043/Draft-fix-handling-of-annotation-Links-in-TD-DraftViews
Draft: fix handling of annotation Links in TD DraftViews
2025-01-28 20:35:59 +01:00
Roy-043
d0dfed25e1 Merge pull request #19298 from Roy-043/Draft-Increase-max-value-for-gridEvery-in-ui
Draft: Increase max value for gridEvery in ui.
2025-01-28 20:31:26 +01:00
Roy-043
49a5dd8e32 Draft: Increase max value for gridEvery in ui.
Fixes #19267.
2025-01-28 18:12:00 +01:00
Roy-043
830b2aada7 Draft: fix handling of annotation Links in TD DraftViews
Fixes #19199.
2025-01-28 17:37:29 +01:00
Roy-043
dda4b3429d Merge pull request #19287 from Roy-043/Draft-remove-faulty-code-from-importDXF.py
Draft: remove faulty code from importDXF.py
2025-01-28 16:53:39 +01:00
wandererfan
61b90ed98b [Units]fix bad length multiplier in MeterDecimal 2025-01-28 01:55:25 -06:00
Roy-043
c4811fa812 Draft: introduce new Draft_Layers icon
The current Draft_Layer.svg icon shows multiple layers. It is used for the Draft_Layer command but also for the LayerContainer. This is confusing. There should be separate icons, one with a single layer and one with multiple layers.
2025-01-28 08:49:39 +01:00
Chris Hennes
d38b6fc3c5 Merge pull request #19011 from marioalexis84/fem-electromagnetic_boundary_condtion 2025-01-27 15:15:59 -06:00
Roy-043
99d69afb5b Draft: remove faulty code from importDXF.py
The Group property of the 'new' layer object is not an attribute of its Proxy.
2025-01-27 21:01:50 +01:00
Max Wilfinger
45897379e6 Merge pull request #19097 from hyarion/refactor/template-based-is-derived-from
Simplify code by using BaseClass' isDerivedFrom<> and is<>
2025-01-27 20:40:08 +01:00
Benjamin Guest
9990408035 TechDraw: Fix dimension alignment issue.
Fixes issue #19121 "dimension numbers placed lower than normal".

Problem:

QGCustomText has a new method `alignmentRect` which can optionally return a
`tightBoundingRect` instead of the regular `boundingRect`. The
`alignmentRect` is used for laying out the `QGIDatumLabel`, however
QGraphicsItemGroup's `childrenBoundingRect` use the childrens'
`boundingRect` and knows nothing of `alignmentRect`. The result is an
improperly sized label and frame and miss alignment. Additionally
`childrenBoundingRect` calculations includes hidden views, so even though
the `m_tolTextOver` and `m_tolTextUnder` are hidden they still affect
the bounding rect size.

Solution:

1. Implement new method `QGIDatumLabel::tightBoundingRect` this
   calculates the bounding rect using the subview's
   `aligmentRect` if there is text in the custom text.
2. Use `tightBoundingRect` in place of `boundingRect` to for the drawing of
   arrows and the exact dim frames.
3. This PR acknowledges that there are some edge case fonts that while not
   clipped may not interface perfectly with arrows and the exact dimension
   frame.
4. Fix vertical alignment of `m_tolTextOver` / `m_tolTextUnder`
5. Incorporate PR Review comments
2025-01-27 20:39:41 +01:00
Alfredo Monclus
11125be89d refactor: taskpanel ui on linux 2025-01-27 18:06:22 +01:00