Commit Graph

2129 Commits

Author SHA1 Message Date
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
xtemp09 d21d4c89cb Fixed segmentation fault in PartDesign workbench
Closes #9382.
2023-05-04 18:12:34 -04:00
Chris Hennes bd4401ba52 Merge pull request #9374 from wwmayer/pd_harmonize
PD: translation of context-menu item
2023-05-02 10:27:41 -05:00
Chris Hennes fb60e9a0e6 Update translations 2023-04-29 11:10:27 -05:00
Chris Hennes 1995d84edd PD: Add translation to error messages 2023-04-28 11:32:56 -05:00
Chris Hennes b03783f274 PD: 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:41:41 -05:00
Chris Hennes 25157275f0 Merge pull request #9336 from chennes/taskHelixParamtersTranslations
PD: Helix parameters status translation
2023-04-26 21:08:17 -05:00
Chris Hennes ae284512f6 Merge pull request #9301 from chennes/shaftWizardTranslations
PD/ShaftWizard: Correct some translation issues
2023-04-26 20:59:40 -05: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
wmayer f3d385eced PD: fix translation of context-menu item of transform features 2023-04-24 14:04:04 +02:00
wmayer 8a66c8a520 PD: fix translation of context-menu item of dress-up features 2023-04-24 13:44:47 +02:00
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
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
Chris Hennes 2be234f59b PD: Helix parameters status translation 2023-04-20 16:11:54 -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
Ronny Standtke 1199f26401 fixed typo 2023-04-18 12:24:21 +02:00
Ronny Standtke 1be6c076ab added i18n for new body labels 2023-04-18 12:23:37 +02:00
Chris Hennes 3b22ee764f PD/ShaftWizard: Correct some translation issues 2023-04-17 23:48:08 -05:00
wmayer c93b5e27c9 PD: fix crash on Windows when loading PD workbench 2023-04-14 16:34:00 +02:00
wmayer b9227bc15d PD: fix tab order of dialogs 2023-04-05 22:36:29 +02:00
Pesc0 876601d34d Remove all PyQt references 2023-03-31 10:36:04 +02:00
Jolbas c001732663 PartDesign: Return directly if occurrences is 1
In LinearPattern and PolarPattern. Skip all checks if occurrences is 1. Allows Expressions on Length/Angle that evaluates to 0 if Occurrences is 1.

Co-Authored-By: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2023-03-30 23:02:03 +02:00
Paddle 12588150c1 PartDesign: Chamfer/fillet/draft/thickness small fixes. 2023-03-28 13:30:13 +02:00
Paddle 18a9c164d6 PartDesign: Fillet/chamger/draft/thickness: change the button strings to 'Preview' and 'Select' 2023-03-28 12:52:42 +02:00
Paddle de6038ff9b PartDesign: Fix placement issue with thickness tool when the feature was empty. 2023-03-28 12:52:42 +02:00
Paddle d896d00d48 PartDesign: Fillet Draft Chamfer Thickness : Add warning message on empty feature creation 2023-03-28 12:52:42 +02:00
Paddle 47cc265b4f PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection. 2023-03-28 12:52:42 +02:00
Paddle 8ada7af302 PartDesign: Fillet/chamfer/draft/thickness: Merge Add & Remove buttons. 2023-03-28 12:52:42 +02:00
Uwe 5a1bd28631 [PD] FeaturePipe.cpp formatting fixes
- remove commented includes (once mistakenly added by me)
- also fix too long lines
2023-03-28 01:56:30 +02:00
wmayer 5ad97548ca PD: do not record Gui command as Doc command 2023-03-26 18:41:56 +02:00
Uwe bdc704eaa0 [PD] revolve: remove unused code
- also come code style unification
2023-03-22 17:46:03 +01:00
luzpaz eb852691df Fix typos and whitespace 2023-03-22 17:10:38 +01:00
Jonas Bähr 9404c032f4 PD: Implement Profile Shift for InvoluteGear
This commit adds the ability to shift the involute profile inside or
outside. Profile shift is implemented as coefficient, i.e. normalized by
the module, so that it the whole profile scales with the module without
chaning shape.
To verify the profile, the tests implement an "over pins measurement"
using formulae found in literature.
Backward compatibility with FreeCAD-v0.20 is garanteed by already
existing tests, not touched by this commit.

This addresses issue #5618.
2023-03-17 22:22:34 +01:00
Jonas Bähr 4eafedb20f PD: Harmonize ExternalInvoluteGear and InternalInvoluteGear
There has been lots of duplicated code between those two, and the recent
changed introduced even more copy/paste code. This commit consolidates
both implementations. The two "public" entry points, `CreateExternalGear`
and `CreateInternalGear` have been kept and now call a shared helper.
2023-03-13 22:10:41 +01:00
Jonas Bähr b3ab9c1c3c PD: some cleanup of InvoluteGear
This commit removes obsolete files, gets rid of py2 habits like `xrange`
and fixes some comments and blank lines.
2023-03-13 22:10:41 +01:00
wmayer 580b775690 clang: fix -Wunused-parameter, -Wunused-variable, -Wswitch 2023-03-12 15:05:21 +01:00
wmayer 2a970b3045 clang: fix -Wunused-but-set-variable 2023-03-12 15:05:21 +01:00
mosfet80 218269bdaf Update json (#8830)
* Update json from 3.9.1 to 3.11.2
2023-03-11 13:30:27 +01:00
wmayer 8532c96c20 PD: add unit test for PR #8763 2023-03-10 19:23:03 +01:00
wmayer eb01e31174 PD: add unit test for issue #6156 or PR #8748 2023-03-10 19:05:50 +01:00
luzpaz 6802bed99d Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
Uwe d27e69bdc9 [PD] add tooltip for Hole feature
- tooltip makes clear what the depth means for countersinks
- add comment why a calculation cannot be performed
- shorten some long lines
2023-03-10 05:14:24 +01:00
Zheng, Lei fac0a1740f PartDesign: do not include transform for sub-object in Feature 2023-03-10 02:06:24 +01:00
Alexander Golubev 088f51632b PD: Fix Loft's Closed option
Closes: https://github.com/FreeCAD/FreeCAD/issues/6156
2023-03-09 01:48:32 +01:00
Jonas Bähr fb6fffa69f PD: Retranslate InvoluteGear's Task Panel on language change
This makes use of the recent additions to `TaskPanelPython` and
`UiLoader`, cf. #8602, to retranslate the UI without having to close and
reopen it again.
Retranslation of the part from the UI file is now handled by FreeCAD
internally, but the tool tips from the property descriptions still need
to be reassigned with the translated versions.
2023-03-06 00:19:04 +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
Jonas Bähr d0b5b5fb6c PD: Fix exception from InvoluteGear with zero fillets
While gears without a root fillet may have limited real-live use cases,
during number-input it happens regulary to have a zero fillet radius as
intermediate state. With this commit such a situation is now handled
gracefully.
2023-02-26 23:28:33 +01:00