Commit Graph

26602 Commits

Author SHA1 Message Date
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
wmayer
9a14239d76 Part: add test for Geom2d.toShape 2023-11-20 13:00:09 +01:00
tomate44
207bcfa80d Part : fix edge creation of Geom2d curves 2023-11-20 12:35:09 +01:00
Roy-043
3b32f50a47 Arch: remove global precision variables
To avoid having to restart after changing the Draft precision parameter.
2023-11-20 12:21:28 +01:00
bgbsww
5b4d287034 Reverse misuse of list comprehension 2023-11-20 11:36:39 +01:00
bgbsww
f087c4b3ef Parse inventor format without commas between points 2023-11-20 11:36:39 +01:00
Roy-043
6d83326307 Draft: store more command modes in prefs
With this PR the following 5 command modes are automatically stored in the preferences:
* "ContinueMode"
* "RelativeMode"
* "GlobalMode"
* "fillmode" (existing preference, removed from the Preferences Editor)
* "SubelementMode"

Additionally:
Three commands (Draft_Ellipse, Draft_Rectangle and Draft_Stretch) call `setRelative` after the 1st point has been specified and would permanently switch on relativeMode. After this PR this switch is temporary.
2023-11-18 21:03:26 +01:00
Roy-043
f30e643c82 Merge pull request #11440 from Roy-043/Draft-make-Draft_Edit-prefs-non-global
Draft: make Draft_Edit prefs non-global
2023-11-18 19:45:00 +01:00
Roy-043
9409f68294 Merge pull request #11436 from Roy-043/Draft-constraining-did-not-respect-global-mode
Draft: constraining did not respect global mode
2023-11-18 19:44:40 +01:00
Roy-043
34e49b50d8 Draft: make Draft_Edit prefs non-global 2023-11-18 19:18:23 +01:00
Roy-043
f6f0ace4c7 Draft: constraining did not respect global mode
Fixes #10496.
2023-11-18 13:36:35 +01:00
Roy-043
03e8ac4ac6 Draft: make in-command shortcuts non-global
Fixes #8329.
2023-11-17 12:57:56 +01:00
Roy-043
e9e4554c06 Draft: minor updates related to precision pref 2023-11-17 09:49:01 +01:00
Roy-043
16a9f09940 Merge pull request #11419 from Roy-043/Draft-Draft_Join-should-call-join_wires
Draft: Draft_Join should call join_wires
2023-11-17 09:30:01 +01:00
pavltom
2ffca4958a [TechDraw] Multiselection mode implementation 2023-11-16 20:45:02 -05:00
pavltom
e3fe68a0f3 [TechDraw] Remove obsolete getYInClip method 2023-11-16 20:45:02 -05:00
pavltom
98a005b7b5 [TechDraw] Remove nowhere used m_dragState 2023-11-16 20:45:02 -05:00
pavltom
ec6df1726e [TechDraw] Refactor QGIView and QGIPrimPath mouse processing 2023-11-16 20:45:02 -05:00
pavltom
bd69b1c341 [TechDraw] Remove now unused SelectPoint signal relics 2023-11-16 20:45:02 -05:00
pavltom
87e2c36dda [TechDraw] Fix app selection not reflecting Qt selection 2023-11-16 20:45:02 -05:00
pavltom
886c683f65 [TechDraw] Fix DrawView.setPosition signaling changes always 2023-11-16 20:45:02 -05:00
Roy-043
c3a3100137 Draft: Draft_Join should call join_wires
Also removed an obsolete comment.
2023-11-16 21:02:19 +01:00
bgbsww
f2d5e07b4e PartDesign: refresh body after pipe creation (#11357) 2023-11-16 12:58:39 -03:00
Roy-043
daea162ae2 Draft: prefs: remove copymode, useSupport no longer via UI
This PR removes the copymode (Global copy mode) preference.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=82679

Additionally useSupport is removed from preferences-draft.ui, turning it into a fine-tuning preference. Use of this feature is rare and may not be supported in the future. No need to present this preference to new users in the UI.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=80689
2023-11-16 11:40:23 +01:00
Roy-043
b07ff3eeb5 Draft: menu texts of snaps to sentence case 2023-11-15 14:59:38 +01:00
Paddle
fbcc53d2cb Fix ESC key for Sketcher_Dimension 2023-11-15 14:41:43 +01:00
Paddle
12f48d531c Sketcher OVP setting : add missing default. 2023-11-15 14:40:03 +01:00
Abdullah Tahiri
97d3665757 SketcherGui: Fix preselectAtPoint for non X-Y orientations 2023-11-15 14:34:11 +01:00
Roy-043
4857836287 Merge pull request #11393 from Roy-043/Draft-cleanup-related-to-PR11336
Draft: cleanup related to PR11336
2023-11-15 09:43:49 +01:00
Paddle
60dc6cd1cf Slot fix vertical/horizontal constraints 2023-11-14 14:22:26 +01:00
Paddle
ca4ba5e3b0 Slot DSH : fixes 2023-11-14 14:22:26 +01:00
Paddle
cb19b1036e Slot DSH : implement tool parameters. 2023-11-14 14:22:26 +01:00
Abdullah Tahiri
b4d4a00329 SketcherGui: DSH - parameter unused depending of constexpr fixed 2023-11-14 14:12:16 +01:00
Roy-043
0f76aaab86 Draft: cleanup related to PR11336
See #11336
2023-11-14 11:51:34 +01:00
Roy-043
8b6d133c26 Merge pull request #11388 from Roy-043/Arch-more-file-extensions-also-in-caps
Arch: more file extensions also in caps
2023-11-14 10:34:42 +01:00
Roy-043
db970b0ab3 Merge pull request #11387 from Roy-043/Draft-more-file-extensions-also-in-caps
Draft: more file extensions also in caps
2023-11-14 10:34:14 +01:00
Roy-043
6837bf2756 Merge pull request #11379 from Roy-043/Draft-remove-the-tolerance-preference
Draft: remove the tolerance preference
2023-11-14 10:33:10 +01:00
Roy-043
aee9fcf6c6 Arch: more file extensions also in caps 2023-11-14 00:14:20 +01:00
Roy-043
3f7dedf8a4 Typos 2023-11-14 00:04:33 +01:00
Roy-043
7ac0a44136 Draft: more file extensions also in caps 2023-11-13 23:12:18 +01:00
Abdullah Tahiri
4ff00ef998 SketcherGui: Compiler warning fix 2023-11-13 21:09:13 +01:00
Abdullah Tahiri
0525cee4ee SketcherGui: DSH Default - return reference in ShapeConstraint helpers 2023-11-13 20:52:04 +01: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