Paddle
9d954ac6a1
Improve code and also improve the open file feature to enable selecting several files.
2023-09-01 14:18:28 -05:00
kaktus Jacek
671ca542c3
Update Workbench.cpp
2023-09-01 13:17:55 -05:00
wmayer
8d24f0c021
Points: apply clang-formatting
2023-09-01 20:07:54 +02:00
Evan Chaney
7814945667
Fix slight grammar error
2023-09-01 12:17:34 -05:00
Paddle
4f34ef1a97
Sketcher_Dimension fix crash.
2023-09-01 18:50:46 +02:00
wmayer
c7116599ce
Sketcher: fix several warnings:
...
* fix -Wunused-parameter
* fix -Wsign-compare
2023-09-01 17:34:29 +02:00
wandererfan
61add5ea7a
[TD]fix keyboard zoomIn/zoomOut for Touchpad mode
2023-09-01 09:11:55 -04:00
Paddle
fb32c0a6d7
Sketcher_Dimension: Disable arc-circle and arc-line distances as they are not implemented yet.
2023-09-01 08:00:21 -05:00
Paddle
e7b0ffffc4
Sketcher_Dimension: Implement Point-to-Circle distance.
2023-09-01 08:00:21 -05:00
Paddle
a121f8710f
Sketcher_Dimension Fix the transaction auto-closing issue
2023-09-01 07:58:45 -05:00
Paddle
c72c9eaaa3
Sketcher_Dimension : Implement selection->tool workflow
2023-09-01 07:58:45 -05:00
Paddle
d74e67336e
Sketcher_Dimension : Turn the command into a group-command to have at hand individual commands.
2023-09-01 07:57:44 -05:00
wmayer
49e83787ef
Gui: make GroupCommand more flexible
...
Currently the GroupCommand by default sets the action group as non-exclusive, checkable and having a drop-down menu which isn't always the desired behaviour in sub-classes.
Thus, some new methods are added to let a sub-class in its constructor decide how it should behave.
2023-09-01 13:28:19 +02:00
Yorik van Havre
f865fff37c
Merge pull request #10425 from Roy-043/Draft-FixDraft_Mirror-preview
...
Draft: Fix Draft_Mirror preview
2023-09-01 12:48:16 +02:00
kaktus Jacek
db4a4fabc2
FEM: disable the Constraints without solver submenu
...
Temporarily disable the Constraints without Solver submenu from the GUI.
https://github.com/FreeCAD/FreeCAD/issues/10135
2023-08-31 23:41:27 -05:00
luzpaz
9ed299a57a
Fix typos
2023-08-31 22:29:17 -05:00
Chris Hennes
592c992b86
Assembly: Apply pre-commit to Assembly files
2023-08-31 12:49:30 -05:00
PaddleStroke
b7a6558c72
Assembly: Initial implementation ( #10427 )
...
* Assembly: Initial implementation.
* Disable Assembly wb as it's WIP.
* Stub code for handling assembly import.
Co-authored-by: sliptonic <shopinthewoods@gmail.com >
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com >
2023-08-31 12:30:10 -05:00
tomate44
f3463fe5a7
BlendCurve: cleanup properties instantiation
2023-08-31 10:42:40 +02:00
tomate44
81670321b8
BlendCurve: add documentation of properties
2023-08-31 10:42:40 +02:00
tomate44
2df068b3c5
BlendCurve: fix auto-update of properties
2023-08-31 10:42:40 +02:00
tomate44
cdf998343f
Surface: allow instant update of BlendCurve properties
2023-08-31 10:42:40 +02:00
wandererfan
a2735416e1
[TD]fix #10440 Balloon arrow end point
2023-08-30 14:01:24 -04:00
Roy-043
a66c9ee549
Draft: importDWG.py wrongly assumed that opt directory always exists on Linux ( #10447 )
...
Forum topic:
https://forum.freecad.org/viewtopic.php?p=703063#p703061
2023-08-30 18:10:13 +02:00
howie-j
d5a9f78ad3
Updated Shortcuts.cfg pref pack template to newest commands and shortcuts
2023-08-30 10:00:15 -05:00
liukaiwen
aef990d440
fix: json is a 3rdparty library, move to 3rdparty
2023-08-30 16:59:25 +02:00
wmayer
3883ef3a30
libkdtree++: fix deprecation warning:
...
definition of implicit copy assignment operator for '_Base_iterator' is deprecated because it has a user-provided copy constructor [-Wdeprecated-copy-with-user-provided-copy]
2023-08-30 16:58:48 +02:00
wmayer
a6f5d86d21
Gui: fix crash with the move to the new-style of class SelectionFilterPy
...
When setting the selection filter below and hovering over an object causes a segmentation fault:
filter = Gui.Selection.Filter('SELECT Part::Feature')
Gui.Selection.addSelectionGate(filter)
2023-08-30 15:09:08 +02:00
wandererfan
4fb7b912b4
[TD]fix double delete of centerline
2023-08-29 20:44:14 -04:00
wandererfan
fdd3a8d2cf
[TD]Allow section line stretch/shrink
2023-08-29 20:44:14 -04:00
bdieterm
7013ce0cbc
Sketcher: fix segfault on distance constraints without SecondPos
2023-08-29 16:24:15 -05:00
kaktus Jacek
0445b88d55
Cleaning code from unnecessary strings generated to Crowdin 4 ( #10426 )
...
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 12:57:26 -05:00
Roy-043
ccbc52affd
Draft: Remove unused import WorkingPlane
2023-08-29 18:59:40 +02:00
Roy-043
a205ee549f
Draft: Fix Draft_Mirror preview
2023-08-29 16:25:42 +02:00
Chris Hennes
6bfafc62dc
Update translations
2023-08-29 07:38:09 -05:00
kaktus Jacek
c0060277c8
Cleaning code from unnecessary strings generated to Crowdin 3 ( #10420 )
...
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 07:35:04 -05:00
kaktus Jacek
43e247fb75
Cleaning code from unnecessary strings generated to Crowdin 2 ( #10416 )
...
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-28 22:08:14 -05:00
wmayer
6eddb195cd
Gui: do not call back() on an empty container
...
Calling back() on an empty container is undefined behaviour: https://en.cppreference.com/w/cpp/container/vector/back
2023-08-29 00:52:33 +02:00
wmayer
ee3a0647e0
Gui: no need to check for nullptr when using dynamic_cast
...
It's explicitly allowed to use dynamic_cast on a nullptr and the result will be a nullptr too.
See https://en.cppreference.com/w/cpp/language/dynamic_cast
2023-08-29 00:45:27 +02:00
Chris Hennes
932fd4638b
Merge pull request #10410 from qewer33/startpage-viual-fixes-2
...
StartPage: Visual fixes follow-up
2023-08-28 12:18:13 -05:00
sliptonic
1d33e6916c
Merge pull request #8443 from LarryWoestman/staging
...
Path: Now can set parameter_functions from a postprocessor file.
2023-08-28 11:21:16 -05:00
Chris Hennes
df7b2f8c4b
App: Warn on OpenGL too old ( #9272 )
...
* App: Warn on OpenGL too old
Based on original code from PR #9164
* GUI: Switch to DlgCheckableMessageBox for openGL warning
2023-08-28 12:08:23 -04:00
Edoardo Morandi
93865b2495
fix: downcasting of SoNode that can cause UB ( #9285 )
...
A SoNode* is not necessarily a SoFCSelectionRoot*, and when this
assumption breaks the code causes UB (the comment related to one of the
chunks explicitly says that it is safe, but unfortunately it is not).
Instead of storing `SoFCSelectionRoot*` and blindly cast a generic
`SoNode*` to that, we can do the opposite. In this way it is obviously
necessary to use a dynamic cast when trying to reach for
`SoFCSelectionRoot` specific features, but in this way the abstraction
should be sound.
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2023-08-28 11:06:06 -05:00
Florian Foinant-Willig
ae60811fba
Sketcher: Point to Circle Distance Constraints ( #9559 )
2023-08-28 10:58:09 -05:00
Chris Hennes
874b0ff1a8
Merge pull request #9810 from Ondsel-Development/v2_constrain_contextually
...
Sketcher: Constrain Contextual implementation V2
2023-08-28 10:52:05 -05:00
andrea
6dc39dd5d9
Update libkdtree from 0.7.0 to 0.7.1.1
2023-08-28 10:48:39 -05:00
Florian Foinant-Willig
d3af7e1e8d
Sketcher: Fix Visual toolbox visibility
2023-08-28 10:46:48 -05:00
sliptonic
2f265056a1
Merge pull request #10318 from davidgilkaufman/rampCircleBug
...
[Path] Fix bug where ramp dressup makes big circles
2023-08-28 10:45:17 -05:00
liukaiwen
974da86cb4
fix: windows build need /utf-8
2023-08-28 11:43:39 -04:00
mosfet80
d453672ab8
[BASE] Removed dead code ( #10330 )
2023-08-28 10:41:20 -05:00