Commit Graph

31070 Commits

Author SHA1 Message Date
0penBrain
80308c0105 Sketcher: fix warning about QStringLiteral used without argument 2022-11-21 09:57:54 +01:00
0penBrain
6e65e77915 Gui: ActionGroup also get its tooltip title updated 2022-11-21 04:06:20 +01:00
Rexbas
14f56c4e1c Gui: Stop Revit rotation and zoom on scroll release
- Stops the rotation when scroll is released but SHIFT is still pressed
- Stops zooming when scroll is released but CTRL is still pressed
2022-11-21 04:01:52 +01:00
luz paz
1559683684 Image: remove trailing whitespace 2022-11-21 03:59:51 +01:00
Uwe
3b7189f6af [Mesh] Core E-M: remove unused includes
- also some sorting
2022-11-21 03:59:13 +01:00
Uwe
577ba5ba58 [Mesh] Core A-D: remove unused includes
- also some sorting
2022-11-21 03:24:27 +01:00
Uwe
3283107f38 [Mesh] Core/IO: remove unused includes
- also some sorting
2022-11-21 02:49:26 +01:00
0penBrain
7b2a6a3bf7 Sketcher: filter list strings are updated at language change (include fix commits) 2022-11-20 15:14:19 +01:00
Paddle
15dd77512e Sketcher: Element widget: Improve filter widget. 2022-11-20 15:14:19 +01:00
berniev
ab7644441f cmake: correct usage of ifdefined (PR #7829) 2022-11-20 14:16:18 +01:00
Aapo
1f6ec0469a [TD] DrawViewPart: Fix Dimension attachment for Coarse Views and faceless Views 2022-11-20 08:08:33 -05:00
berniev
aafdb8134d remove unused code in find pyside 2022-11-20 13:43:10 +01:00
Uwe
e6c53d8642 [sketch] Geo.cpp: fix compiler warning
- as reported here: https://forum.freecadweb.org/viewtopic.php?f=10&t=73647
2022-11-20 00:38:21 +01:00
wmayer
0c2fdd64f4 Base: [skip ci] fix readability-identifier-length 2022-11-19 16:54:08 +01:00
wandererfan
7745a5aca0 [Units]Allow querying schema for unit of measure 2022-11-19 16:49:46 +01:00
luz paz
c9829a312f [Sketcher] fix header uniformity
Make uniform all Sketcher headers.
2022-11-19 16:04:55 +01:00
berniev
d2e5a12190 change ALL_UPPER_CASE constexpr definitions to camelCase 2022-11-19 16:00:36 +01:00
wmayer
09dccb70c7 Part: [skip ci] fix some warnings reported by GH actions 2022-11-19 15:57:54 +01:00
marioalexis
f0deeaed00 Part: Fix endless-loop in TopoShapePy::proximity function 2022-11-19 15:31:13 +01:00
luz paz
98d29647e6 [Arch] fix header uniformity
Make uniforum all Arch headers
2022-11-18 20:22:24 +01:00
luz paz
1b41844acb [skip ci] Add commits to .git-blame-ignore-revs
Added:  
dc5b3cb495  
875f9eaad6  
7a8a453746
2022-11-18 16:21:24 +01:00
Bernd Hahnebach
f0b151dc09 FEM: gmsh binary location on osx, add comment 2022-11-18 12:05:36 +01:00
Bernd Hahnebach
c0a45ec61e FEM: add standard path for gmsh on osx 2022-11-18 12:02:22 +01:00
wmayer
5adcfd1dd4 Arch: replace tabs with spaces 2022-11-18 11:47:17 +01:00
0penBrain
862c092c0b Sketcher: disable auto-constraint in Copy/Clone/Move commands 2022-11-18 08:18:58 +01:00
0penBrain
f6884b307c Sketcher: Clone: do not apply parallel constraint if angle constraint is applied on arc 2022-11-18 08:18:58 +01:00
Aapo
2e19e5f6fb [TD] DrawViewPart: Fix Dimension attachment on Cosmetic CenterLines upon document restore 2022-11-17 19:25:43 -05:00
luz paz
7a8a453746 Path: remove trailing whitespace 2022-11-18 00:01:25 +01:00
luz paz
875f9eaad6 Sketcher: remove trailing whitespace 2022-11-17 23:56:13 +01:00
luz paz
dc5b3cb495 Arch: remove trailing whitespace 2022-11-17 23:54:03 +01:00
wmayer
c3b38bda08 App: [skip ci] fix warnings reported by GH actions 2022-11-17 23:50:34 +01:00
wmayer
2614a1cec6 App: [skip ci] fix typo 2022-11-17 20:00:00 +01:00
wmayer
1f83094b44 App: fix endless-loop in DocumentObject::getParents 2022-11-17 19:05:32 +01:00
wmayer
e10b23ca70 App: replace boolean with enum 2022-11-17 17:38:31 +01:00
wmayer
07711bb8a8 App: fix endless-loop when recursively determining placement of an object 2022-11-17 15:46:06 +01:00
sliptonic
c8074a972e Merge pull request #7759 from LarryWoestman/staging
Path:  Changes for Path refactoring to fix regressions.
2022-11-16 18:09:38 -06:00
wmayer
d793a182c4 App: fix possible stack overflow in GroupExtension::hasObject() 2022-11-17 00:30:44 +01:00
wmayer
955eeb4775 Gui: [skip ci] use full namespace of AccelLineEdit 2022-11-16 23:26:08 +01:00
wmayer
4067cc158f Gui: fix endless-loop in View3DInventorSelection::checkGroupOnTop 2022-11-16 21:02:49 +01:00
wmayer
4b17636c5e Gui: code-refactoring
Split selection handling from View3DInventorViewer and move to View3DInventorSelection
2022-11-16 20:27:14 +01:00
Ajinkya Dahale
249ee72333 [Sketcher][planegcs] Make changes as per comments on #7484
Comments by @abdullahtahiriyo.

Remove default values and smaller constructor for `CenterOfGravity` and
`WeightedLinearCombination` constraints.

Clarify comments.

Improve readability of `CenterOfGravity` and `WeightedLinearCombination`
constraints.
2022-11-16 15:35:37 +01:00
Ajinkya Dahale
2537ea883f [Sketcher][planegcs] Set knot constraint as internal alignment 2022-11-16 15:35:37 +01:00
Ajinkya Dahale
19810fac2a [Sketcher] Do not make knots construction points 2022-11-16 15:35:37 +01:00
Ajinkya Dahale
430b0baa00 [Sketcher] Stop treating knots as fixed in GUI commands
This stops constraints from becoming non-driving when not set.

Follow 0penbrain's comments

typo
2022-11-16 15:35:37 +01:00
Ajinkya Dahale
7cd2cbd29c [Sketcher] Constrain B-spline knots as linear combination of poles
Also squashes:

[Sketcher] Create center of gravity constraint in planegcs

[Sketcher] typo

[Sketcher] Use accurate "weights" for knots

By weights we mean the linear combination factor B_i(x) such that
spline(x) = sum(pole_i * B_i(x)) for _non-rational_ splines.

[Sketcher] Use more appropriate weights for knots

These are relevant for knots _away_ from any ends (and possibly other high
multiplicity knots).

[Sketcher] Make COG constraint weights user-definable

[Sketcher] Make `flattenedknots` for periodic B-Splines

[Sketcher] Fix incorrect setup of `flattenedknots`

Without ensuring enough space, iterators become invalid. These iterators are
needed because for periodic B-splines we need to pad flattenedknots with offset
values within flattenedknots.

Apparently there is still some iterator issues even after the reserve. Just use
fresh vectors instead.

[Sketcher] Apply knot constraints by parameter

Hopefully this will allow directly applying constraints on knots.

[Sketcher] Disable some knot updating

[Sketcher] Use center of gravity constraint on knots

[Sketcher] Fix knot COG constraint for periodic splines

[Sketcher] Add start/end point of periodic spline to solver

This removes the trouble of transferring constraints to the underlying knot.

[Sketcher] Support knot constraints on rational B-splines

[Sketcher] Remove virtual from overridden methods in planegcs

Follow 0penbrain's comments

[Sketcher][planegcs] Use `unsigned int` in signatures

Also `size_t` at places

Suggestions by @abdullahtahiriyo
2022-11-16 15:35:37 +01:00
Ajinkya Dahale
027504ce16 [Sketcher] Reformat some if-else for readability
Weren't folding right in spacemacs.
This commit can be omitted if undesired.
2022-11-16 15:35:37 +01:00
wandererfan
4f96b1bf60 [TD]fix alignment of section line marks on rotated base view 2022-11-16 08:56:00 -05:00
0penBrain
e3cd132af7 [Typo]Sketcher: 'Clone' is the first command of CompCopy, match the tooltip 2022-11-16 14:48:39 +01:00
wmayer
4483c77530 Gui: MSVC requires a user-defined destructor of RecentFilesAction
otherwise the class declaration of Private is needed in the header file
2022-11-16 12:46:47 +01:00
Yorik van Havre
e1aa6f58e3 Merge pull request #7526 from paullee0/ArchWall_15_UseAndCreate-ArchSketch-If-Present
[ArchWall]  Use and Create ArchSketch if add-on is present
2022-11-16 11:08:11 +01:00