Chris Hennes
47c54f9971
Merge pull request #11786 from Syres916/PD_Fix_Combobox_Issue
...
[PartDesign] Sprocket fix bug with translated references
2024-01-06 18:31:18 -06:00
Max Wilfinger
44dfb959dc
add placement command to context menu
2024-01-05 19:14:02 -06:00
bgbsww
5165127dfa
Provide a default axis for polar patterns in multitransformation
2024-01-05 11:28:45 -06:00
Chris Hennes
fce7dea6f7
Update translations ( #11886 )
...
* Update 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>
2024-01-03 09:27:18 -06:00
Syres916
f59f8d7810
[PartDesign] Remove unwanted print statement
2023-12-20 18:51:40 +00:00
Syres916
2c4059a3d5
[PartDesign] Add English references at end of table for clarity
2023-12-20 18:41:28 +00:00
Syres916
9e5fcc001f
[PartDesign] Sprocket fix bug with translated references
2023-12-20 18:30:49 +00:00
Yorik van Havre
651fc54a8c
merged crowdin translations
2023-12-20 09:27:37 +01:00
Yorik van Havre
1f65348080
Updated ts files
2023-12-20 09:27:37 +01:00
bgbsww
8cd29179f8
Add missing initialization of MirrorPlane on non sketch objects ( #11638 )
2023-12-11 11:07:03 -06:00
André Caldas
89dbab9b0e
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
518b48ffaf
[PD] Set up-to-face when opening revolution/grove task box
2023-12-04 13:40:31 -03:00
Ajinkya Dahale
48a1db8a76
[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
edb6a25335
Python: deprecated aliases have been removed in Py 3.12
2023-12-02 14:45:55 +01:00
luzpaz
5c21351608
Fix various typos
2023-11-30 14:58:06 +01:00
bgbsww
a118289f5b
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
fac94ba932
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
a9bf3e86f3
Correct PartDesign Helix feature negative angles ( #11399 )
...
* Correct PartDesign Helix feature negative angles
* Whitespace
2023-11-27 10:51:12 -06:00
bgbsww
e10a62ae82
Use placement only on new objects
2023-11-27 17:46:45 +01:00
bgbsww
156c506f19
Fix variable name, clean
2023-11-27 17:46:45 +01:00
bgbsww
2230850e3d
Take Placement into account when applying boolean
2023-11-27 17:46:45 +01:00
Chris Hennes
1372070452
Update translations
2023-11-20 13:46:22 -06:00
Adrián Insaurralde Avalos
7a01a7dc32
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
c44a61bae3
PartDesign: refresh body after pipe creation ( #11357 )
2023-11-16 12:58:39 -03:00
Ajinkya Dahale
8113f12337
[PD] Set revolution taskview items based on method
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
c7101d7ced
[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
796727fcd3
[PD] Use enum class for revolution method
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
7a6927ca78
[PD] Update revolution properties based on method
2023-11-14 00:20:20 +05:30
Ajinkya Dahale
43a8104926
[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
149738af7f
[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
5a51a490a8
[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
82b5e16cd1
[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
230d355e1d
PartDesign_Pad: add an up to shape mode
2023-11-12 20:06:57 +01:00
czinehuba
12a34be4a6
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
f25af97811
Update translations
2023-11-09 12:23:56 -06:00
wmayer
bb90ced93e
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
37a8e348c6
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
1e3179e9bc
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
46b3c02647
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
583e27e8af
Merge branch 'main' into modernize-type-check
2023-10-25 16:07:28 -05:00
Adrian Insaurralde Avalos
02e829b785
fix #9347 - Improve PD Sprocket dialog wording
2023-10-23 13:34:33 -03:00
Florian Foinant-Willig
24934d7843
PartDesign: modernize type checking
2023-10-23 18:08:16 +02:00
wmayer
e7eb7d7b8d
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
b53623872e
PD: fix constructor of TaskTransformedParameters
2023-10-19 22:58:46 +02:00
wmayer
99c5427c9b
PD: remove redundant std::string from TaskFilletParameters::apply()
2023-10-19 15:49:04 +02:00
Adrian Insaurralde Avalos
c7fd115528
[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
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
3ac69993c0
merge master via cli
2023-10-04 13:28:48 -03:00
Chris Hennes
8595b07b76
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
499381a8ba
Merge branch 'master' into patch-5
2023-10-02 18:14:44 +02:00