Syres916
8ba8375dbb
[PartDesign] Add English references at end of table for clarity
2023-12-20 18:41:28 +00:00
Syres916
0de4c053a6
[PartDesign] Sprocket fix bug with translated references
2023-12-20 18:30:49 +00:00
Yorik van Havre
a679c8b818
merged crowdin translations
2023-12-20 09:27:37 +01:00
Yorik van Havre
f78959fab3
Updated ts files
2023-12-20 09:27:37 +01:00
Zheng, Lei
50fc8e86c7
PD: fix creating new body in active part
...
Add to active App::Part before setting active body in order to obtain
correct object path when setting active body
Fixes #10371
2023-12-17 21:28:37 +08:00
bgbsww
851e78753b
Add missing initialization of MirrorPlane on non sketch objects ( #11638 )
2023-12-11 11:07:03 -06:00
André Caldas
560898907b
Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
...
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.
The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).
Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".
The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
Ajinkya Dahale
f66261b598
[PD] Set up-to-face when opening revolution/grove task box
2023-12-04 13:40:31 -03:00
Ajinkya Dahale
8023c0595d
[PD] Fix wrong mode options when opening existing revolution
...
Only the "Dimension" options showed regardless of what mode was selected.
2023-12-04 13:40:31 -03:00
wmayer
1245c3f3b2
Python: deprecated aliases have been removed in Py 3.12
2023-12-02 14:45:55 +01:00
luzpaz
faef0c6f27
Fix various typos
2023-11-30 14:58:06 +01:00
bgbsww
94ca51b779
PartDesign: Fix #9377 - issue with accuracy in AdditiveHelix ( #11312 )
...
* Correct precision issue in PartDesign::AdditiveHelix
* Simplify getting the end wires
* Remove extraneous loop per @FlachyJoe
* Switch to using mkPS.Shape per @FlachyJoe
* Incorporate guarded efficiency improvement
2023-11-29 21:26:00 -03:00
Yorik van Havre
3ade39ccf1
Translations ( #11551 )
...
* Updated ts files
* merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
bgbsww
d472927bba
Correct PartDesign Helix feature negative angles ( #11399 )
...
* Correct PartDesign Helix feature negative angles
* Whitespace
2023-11-27 10:51:12 -06:00
bgbsww
185e58a219
Use placement only on new objects
2023-11-27 17:46:45 +01:00
bgbsww
18e117b184
Fix variable name, clean
2023-11-27 17:46:45 +01:00
bgbsww
2643fd3334
Take Placement into account when applying boolean
2023-11-27 17:46:45 +01:00
Chris Hennes
90dc4aeb13
Update translations
2023-11-20 13:46:22 -06:00
Adrián Insaurralde Avalos
2cef4cfdbe
Merge pull request #7193 from AjinkyaDahale/pd-more-revol-options
...
PD: more options for revolution/groove
2023-11-20 13:36:34 -03:00
bgbsww
f2d5e07b4e
PartDesign: refresh body after pipe creation ( #11357 )
2023-11-16 12:58:39 -03:00
Ajinkya Dahale
131c74045a
[PD] Set revolution taskview items based on method
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
2ae3c82606
[PD] Support two-angle/up-to-face groove
...
Elements copied from revolution and pocket feature.
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
4c80e567c6
[PD] Use enum class for revolution method
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
0829c96549
[PD] Update revolution properties based on method
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
7e09589942
[PD] Refactor FeatureRevolution further
...
New methods created to reduce size of `execute`.
Use BRepPrimAPI instead of BRepFeat whenever possible since otherwise there are
some limitations.
2023-11-14 00:20:19 +05:30
Ajinkya Dahale
6b1a1e1508
[PartDesign] Refactor mode support in revolution
...
Encodes support for "two angles".
Clarifies that up-to-first and up-to-last is not supported.
2023-11-14 00:20:19 +05:30
Ajinkya Dahale
a7da1003fc
[PartDesign] Some more dummy functionality for revolution
...
[PD] Some more setup
[PD] Some refactor in `TaskRevolutionParameters`
2023-11-14 00:20:19 +05:30
Ajinkya Dahale
b41e592441
[PartDesign] Add some dummy options for revolution
...
These options correspond to "up to face" and "2 angles". They are expected to do
nothing right now. However there is also some experimental code for "up to face"
in this commit, whose behavior is not confirmed.
2023-11-14 00:20:19 +05:30
Florian Foinant-Willig
2010268187
PartDesign_Pad: add an up to shape mode
2023-11-12 20:06:57 +01:00
czinehuba
22a107b775
Update iso10642.json ( #11302 )
...
* Update iso10642.json
Update ISO10642 with M2 and M2.5 sizes
* Update iso10642.json
Updated dimensions
2023-11-09 12:26:56 -06:00
Chris Hennes
954c2fa03f
Update translations
2023-11-09 12:23:56 -06:00
wmayer
a28b2dcf37
PD: fixes #11197 : If bounding box of Body is activated it will be done for each sub-feature
2023-11-08 10:38:42 +01:00
Chris Hennes
aaa0db3867
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
8de6db3e97
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
DeflateAwning
c847a3d516
Change http to https in SVGs
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Chris Hennes
cbd0ef5975
Merge branch 'main' into modernize-type-check
2023-10-25 16:07:28 -05:00
Adrian Insaurralde Avalos
26d748587b
fix #9347 - Improve PD Sprocket dialog wording
2023-10-23 13:34:33 -03:00
Florian Foinant-Willig
6adc675a12
PartDesign: modernize type checking
2023-10-23 18:08:16 +02:00
wmayer
4c509c03ef
PD: wrong direction determined for linear pattern
...
A selected edge of a sketch is not in local coordinates and thus its corresponding axis mustn't be multiplied with the sketch placement as
this will lead to a wrong direction vector.
Forum: https://forum.freecad.org/viewtopic.php?t=82022
2023-10-23 10:53:29 -05:00
wmayer
c85bc2a755
PD: fix constructor of TaskTransformedParameters
2023-10-19 22:58:46 +02:00
wmayer
5f0fcf0815
PD: remove redundant std::string from TaskFilletParameters::apply()
2023-10-19 15:49:04 +02:00
Adrian Insaurralde Avalos
3fe4cdd977
[PD] Remove unused old hole feature implementation
...
Has been disabled for 7 years a there's an existing newer implementation
2023-10-18 12:09:13 +02:00
wmayer
56820718c5
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
2212e68a30
merge master via cli
2023-10-04 13:28:48 -03:00
Chris Hennes
6d37ef6609
Merge pull request #10844 from ppphp/remove_redundant_definition
...
[cmake] some definitions do not matter now
2023-10-02 14:20:49 -05:00
FEA-eng
ec4d1a95d6
Merge branch 'master' into patch-5
2023-10-02 18:14:44 +02:00
liukaiwen
18af697795
Merge remote-tracking branch 'origin/master' into remove_redundant_definition
2023-10-02 01:42:37 +08:00
Chris Hennes
5dfd4d5190
Update translations
2023-09-29 22:57:37 -05:00
liukaiwen
4f8fe8fd4a
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
AgCaliva
1f9bae0de7
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-25 22:58:23 -03:00