Commit Graph

1172 Commits

Author SHA1 Message Date
Chris Hennes
d3c08a2da9 Update translations 2023-08-08 17:52:59 -06:00
wmayer
d150fa7164 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
96aabe113e modernize C++: raw string literal 2023-08-07 19:51:15 -06:00
bdieterm
c9028e46fe Part: allow reduction of Part ViewProvider tesselation resolution
Problem description
To display a shape, the ViewProvider creates a mesh of the shape data. The
resolution depends also on the two parameters "Angular Deflection" and
"Deviation" in the View properties. (The values of these parameters are also
updated for all objects when changing these settings in the Preferences
dialog).
Changing the parameters from a high value to a lower value has an immediate
effect on the displayed shape -- for example a circle will be displayed finer
with more line segments. But changing the parameter back to the higher value
(with less resolution) will keep the finer view-mesh instead of calculating a
coarser one. To get back to the coarse view, the object has to be manually
recomputed or the file re-opened.

Solution
I just set the meshing parameter AllowQualityDecrease to True. I guess that
this was not implemented before because this parameter is quite new (introduced
in OCC v7.5 in the year 2020).
2023-08-07 10:19:58 -06:00
wmayer
899932cec0 Part/PD: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
7daf7c0700 Part: modernize C++: use override 2023-08-04 17:09:53 +02:00
Yorik van Havre
ebc65ee713 Merged crowdin translations 2023-07-26 11:05:11 +02:00
Yorik van Havre
6bfeb5ff53 Update ts files 2023-07-26 11:04:24 +02:00
sliptonic
20768ba7f9 Merge pull request #9594 from wwmayer/issue_9549_new
Part: fixes #9549: Part Fuse not working inside Part container
2023-07-24 10:16:51 -05:00
Chris Hennes
6838740153 Update translations 2023-07-24 13:37:52 +00:00
Benjamin Bræstrup Sayoc
370e794d27 [Part] Make tooltip match label
Fixes issue #9941
2023-07-17 09:47:53 -04:00
Syres916
d231a25da8 [Part] Fix regression when opening...
project files with linked objects having face colors.
See discussion https://forum.freecad.org/viewtopic.php?t=79558
Regression commit: ce56d65162
2023-07-11 00:20:27 +01:00
Chris Hennes
6f97b74fdb Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
97771dc673 Update translations 2023-07-06 08:20:59 -05:00
Yorik van Havre
0977aac30d merged crowdin translations 2023-06-16 16:42:32 +02:00
Yorik van Havre
23491db16b Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
62434ea85b Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
e405a0570a Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
a2d457e88f Update translations 2023-05-25 21:32:26 -05:00
Chris Hennes
20f073e84e Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
0b41c4a8a8 Update translations 2023-05-18 07:49:08 -05:00
wmayer
0460563da0 Part: fixes #9549: Part Fuse not working inside Part container 2023-05-15 23:40:51 +02:00
Chris Hennes
80b29d2dbf Gui: Minor translation fixes 2023-05-11 18:31:34 -05:00
wmayer
6603a2e13f Part: Create .qm out of .ts files 2023-05-07 08:47:14 +02:00
Chris Hennes
1a4b85121b Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
6db82dcf8e Merge pull request #9430 from chennes/exceptionsInDialogs
Begin translating user-visible exception strings
2023-05-05 16:47:10 -05:00
wmayer
2de08f77b7 Use View3DInventorViewer::setSelectionEnabled instead of SoFCUnifiedSelection::selectionRole 2023-05-04 08:03:11 +02:00
Chris Hennes
fb60e9a0e6 Update translations 2023-04-29 11:10:27 -05:00
Chris Hennes
bdcd28cf5c Part: Attempt to translate exceptions in dialogs
Relies on the exception text having been added to the translation database in a previous call to QT_TRANSLATE_NOOP, and put in the 'Exception' context.
2023-04-27 17:31:44 -05:00
Chris Hennes
5605f43b49 Part: Translate offset toolbar dropdown 2023-04-25 12:12:02 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
069b5859e0 Merge pull request #9294 from chennes/tastCheckGeometryTranslation
Gui: TaskCheckGeometry message translation
2023-04-22 13:55:06 -05:00
Yorik van Havre
33c2e485e3 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
d96042fc24 Updated ts files 2023-04-20 13:53:35 +02:00
Chris Hennes
78196e5c18 Gui: TaskCheckGeometry message translation 2023-04-18 19:10:06 -05:00
Chris Hennes
df0054bbf1 Part: translate geometry check results 2023-04-17 16:06:15 -05:00
0penBrain
afd6a15f54 Gui: consistent angular deflection between Part and Preferences
Also with docstring just below modified line
2023-04-13 16:04:40 +02:00
wmayer
140657e1cc Part: set an absolute upper limit of the deflection for the shape tessellation to avoid useless results 2023-04-12 08:10:39 +02:00
wmayer
ad29f1628a Part: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
0penBrain
8bea52a5bf Gui: prevent crashes on MacOS using boost::format 2023-03-31 15:22:03 +02:00
Andrew
b916c387fb Clean Mod/Part. remove old OCC <7.3 and #if 0 code. 2023-03-26 21:17:18 +02:00
Ronny Standtke
0ff5ff37f4 move "Close" button of angular variant also to north 2023-03-13 11:56:27 -05:00
wmayer
2a970b3045 clang: fix -Wunused-but-set-variable 2023-03-12 15:05:21 +01:00
luzpaz
6802bed99d Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
wmayer
76623ad0a5 Part: set minimum angular deflection to 1 deg
See also forum: https://forum.freecad.org/viewtopic.php?t=76614
2023-03-07 10:41:38 +01:00
wmayer
599b14b430 Part: extend command Part_PointsFromMesh to support any geometric type 2023-03-04 14:44:58 +01:00
Yorik van Havre
46653420a6 merged crowdin translations 2023-02-27 16:01:15 +01:00
Yorik van Havre
3ad0e233d5 updated ts files 2023-02-27 15:35:51 +01:00