Commit Graph

32994 Commits

Author SHA1 Message Date
wmayer
fa8bdfd550 PD: harmonize API of view provider classes
* add virtual method featureName() to ViewProviderTransformed
* add featureIcon() to ViewProviderTransformed and ViewProviderDressUp
2023-04-24 12:25:04 +02:00
Chris Hennes
217f3c22f2 Merge pull request #9357 from chennes/toolsPreCommitFormatNormalization
Tools: pre-commit format normalization
2023-04-23 21:34:28 -05:00
wandererfan
709a2cf23d [TD]fix FreeCAD translate substitution 2023-04-23 10:49:48 -04:00
Chris Hennes
2d8c871873 TechDraw: Fix translations of TaskShareView 2023-04-23 10:49:48 -04:00
wandererfan
7120b57192 [TD]fix FreeCAD translate substitution 2023-04-23 10:49:00 -04:00
Chris Hennes
6a1227cbe0 TechDraw: Fix translations of TaskMoveView 2023-04-23 10:49:00 -04:00
Chris Hennes
2e22df3470 Mesh: Eliminate Alt+O as a shortcut for close 2023-04-23 15:42:30 +02:00
Chris Hennes
5cd377f931 TechDraw: Add a few missing translation strings 2023-04-22 19:16:53 -04:00
Abdullah Tahiri
d656d4e959 Sketcher: Change behaviour of toggle of mixed group of edges and vertices
=========================================================================

Forum:
https://forum.freecad.org/viewtopic.php?p=677304#p677304

A common operation is to toggle a group of geometry to/from construction. This happens often
in connection with carbon copy operations.

When this happens, geometry is often selected using box selection.

If there are geometry points (which are generally construction), and selection box is used, this
results in construction points being toggled to normal defining mode. This situation is undesirable
in 99% of the cases. It requires to reselect only the points and toggle them back.

When construction points need be made defining geometry (for example to use them as attachments), the
general workflow is to select only those points and toggle them.

In order to improve the efficiency, it has been decided to provide a special behaviour for construction
toggling:

1. Vertices will only be toggled to/from construction IF ONLY vertices are selected.
2. If there is a mixture of edges and vertices, vertices will be ignored during the toggling operation.
2023-04-22 22:19:41 +02:00
Syres916
562c967082 [Sketcher] Allow experienced users to not have...
...the extra points created on rounded rectangles, it started to become a real pain when box selecting large amounts of geometry and having to keep changing the two points back to construction. New and existing users are completely unaffected.
2023-04-22 21:04:23 +02:00
Chris Hennes
22d8c8f0dd Sketcher: Add gtest unit test framework 2023-04-22 20:56:29 +02:00
Chris Hennes
069b5859e0 Merge pull request #9294 from chennes/tastCheckGeometryTranslation
Gui: TaskCheckGeometry message translation
2023-04-22 13:55:06 -05:00
Chris Hennes
b169efdbba Merge pull request #9349 from chennes/translateFemSolverCalculix
FEM: Translate Solver Calculix
2023-04-22 13:53:46 -05:00
Chris Hennes
67e1246d81 Merge pull request #9338 from chennes/partBooleanSplitTranslations
Part: Fix context of Part->Split commands
2023-04-22 13:52:27 -05:00
Chris Hennes
8ad059d603 Tools: Add reformat to git-blame-ignore-revs 2023-04-22 13:08:16 -05:00
Chris Hennes
4a7e1b6d9b Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
wandererfan
6caaea06b7 [TD]handle BSpline "lines" in GeometryMatcher 2023-04-22 13:49:10 -04:00
wandererfan
90c3b3c1ae [TD]make BSpline::isLine a general purpose static method 2023-04-22 13:49:10 -04:00
wandererfan
c55a9256e1 [Gui]overload toQGraphicsItem, toQGraphicsObject for PyObject 2023-04-22 13:48:31 -04:00
Chris Hennes
74561536af TechDraw: Translate direction labels 2023-04-22 09:31:40 -04:00
MaxiV
cab86d1ecf Add files via upload 2023-04-22 09:30:35 -04:00
MaxiV
e3881fe938 Update LEEME 2023-04-22 09:30:35 -04:00
andesfreedesign
fd9b89b38c Create LEEME
Creation of folder to store templates of the IRAM standard (Argentina)
2023-04-22 09:30:35 -04:00
Chris Hennes
b40eae83f0 TechDraw: Translate leader line arrow shapes 2023-04-22 09:29:09 -04:00
Abdullah Tahiri
04dce2546c Sketcher: Fix typo 2023-04-22 15:21:24 +02:00
Chris Hennes
c0b5fb2f8c Sketcher: Translate the attacher GUI dropdown 2023-04-22 15:12:15 +02:00
Abdullah Tahiri
a6adfc58b6 Sketcher: Fix overlapped points not selecting/preselecting
=========================================================

Fixes an issue reported directly by Chrisb.

On overlapping points, such as due to coincidence, selection and
preselection (e.g. from the ElementsWidget) is not shown for those
points which are rendered first.

Solution: To raise the points to the highlight height.
2023-04-22 15:07:34 +02:00
Chris Hennes
e9250684db FEM: Translate Solver Calculix 2023-04-21 15:54:51 -05:00
Abdullah Tahiri
bfd8e5d334 Sketcher: Tooltips for solver message hyperlinks
================================================

I promised Uwe I would look into improving the information of the solver messages, including the abbreviation DoF.

I wanted to keep the effort by Paddle to reduce the width of the taskbar.

This commit introduces new explanatory tooltips for the hyperlinks, a different tooltip per type of information.

UrlLabel sets the tooltips automatically to the url text on change. This commit modifies the tooltip just after the change,
so that the meaningful tooltip is shown.
2023-04-21 19:45:06 +02:00
Chris Hennes
f5eccb11a1 TechDraw: Preferences wording tweak 2023-04-21 09:19:54 -04:00
wmayer
396a7060ef PD: don't use a static variable as otherwise it won't be translated after changing the language 2023-04-21 12:08:20 +02:00
Yorik van Havre
bb3ecb5161 Merge pull request #9332 from chennes/archStairsTranslation
Arch: Fix translation context for Stairs
2023-04-21 10:19:11 +02:00
Chris Hennes
894a3cf505 Part: Fix context of Part->Split commands 2023-04-20 22:44:09 -05:00
joha2
bfb3efbc72 FEM: XML/XDMF: removed trailing whitespaces 2023-04-20 22:42:50 +02:00
joha2
1e49852fa8 FEM: XML/XDMF: Console.Print* strings to F-strings (where necessary) and reformated them to avoid long lines 2023-04-20 22:42:50 +02:00
joha2
5d30b30c5e FEM: XML/XDMF: bumped year numbers in license comments 2023-04-20 22:42:50 +02:00
joha2
400048b22d Fem: feminout: XML Fenics format: fixed error in read function 2023-04-20 22:42:50 +02:00
joha2
d10c941d1f Fem: feminout: write XML/XDMF Fenics formats: fixed some errors in written meshs read by meshio library
* XDMF: capital "Version" in tag
* XDMF: capitalizing topology names
* XML: removed data tag throwing a warning in meshio
2023-04-20 22:42:50 +02:00
Bernd Hahnebach
708cbde90e FEM: pep8 code formatting 2023-04-20 22:40:59 +02:00
Chris Hennes
9f1bf040a8 Merge pull request #9311 from ronnystandtke/i18n_origin
added i18n for the origin
2023-04-20 15:40:15 -05:00
Chris Hennes
2815620fa5 FEM: Correct mis-spelled 'Elmer' 2023-04-20 22:39:37 +02:00
Chris Hennes
897c40e902 Merge pull request #9317 from ronnystandtke/i18n_for_axes_and_planes
added i18n for axes and planes
2023-04-20 15:37:46 -05:00
wandererfan
6f535c26a3 [TD]fix null shape in GeometryMatcher 2023-04-20 16:33:58 -04:00
Chris Hennes
c34c2fdf17 Arch: Fix translation context for Stairs 2023-04-20 15:28:31 -05:00
Ronny Standtke
1f99ded44d removed test gainst label name (useless because of i18n) 2023-04-20 21:51:18 +02:00
Abdullah Tahiri
11c76c998e Sketcher: Fix double icons not selectable
=========================================

The scaling factor used  was the one of the ViewProviderSketch, however ZoomTranslation uses its own scaling factor.

fixes #6283
2023-04-20 20:45:40 +02:00
Abdullah Tahiri
423ff82409 Sketcher: SoZoomTranslation - expose scaling factor
===================================================

This commit exposes the scale factor used.
2023-04-20 20:45:40 +02:00
wmayer
8b1d094fb4 Gui: Add translations for color bar labels 2023-04-20 18:52:07 +02:00
Chris Hennes
7d2107be23 Merge pull request #9327 from yorikvanhavre/translations
Translations
2023-04-20 10:41:44 -05:00
wmayer
963322876f Gui: fix several pending issues of image scale:
* refactor some functions
* do not use mdi view of active document as parent for spin box because this can be the wrong widget
* fix compiler warnings of unused variables
* fix typo
* handle Qt::Key_Return in event filter
* fix lint error
2023-04-20 16:52:06 +02:00