Commit Graph

33076 Commits

Author SHA1 Message Date
Przemo Firszt
8967bbcd03 [COPR] Remove Raytracing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-04 21:43:05 +01:00
Roy-043
c5bf4ea105 Sketcher: element arc icons have start and end point switched
In the icons arcs are shown as CW when in fact they are CCW
2023-05-04 14:03:27 -04:00
wandererfan
176cdd45fe [TD]fix rotation of App::Link 2023-05-04 13:16:09 -04:00
wmayer
2de08f77b7 Use View3DInventorViewer::setSelectionEnabled instead of SoFCUnifiedSelection::selectionRole 2023-05-04 08:03:11 +02:00
wmayer
87749d1bb8 Gui: do not enable lighting when rendering from image or framebuffer 2023-05-04 07:55:05 +02:00
sliptonic
703ba9b3cf Merge pull request #9419 from jimzim111/path_importOpBases
PATH: Change GUI Op Base Geometry Import button to support multiple bases
2023-05-03 16:13:39 -05:00
Przemo Firszt
8272355abc [COPR] Restore dynamic release numbering
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-03 19:16:27 +02:00
Abdullah Tahiri
b626caffdc Sketcher: Fixes wrong redundancy reporting
==========================================

fixes #6174

Problem
=======

The popularity contest heuristic was designed to assume that removing one solver constraint from a redundant group would potentially satisfy it.

This means that for sketcher constraints comprising several solver constraints, the sketcher constraint would never be notified as redundant, but
always partially redundant (where the case may be that it is redundant or that it is partially redundant). This happens because after removing one
solver constraint, it may happen:

(a) that no other solver constraint corresponding to the sketcher constraint remains in the redundant group (so it is indeed partially redundant)
(b) that at least one other solver constraint corresponding to the sketcher constraint remains in the redundant group (so if all solver constraints
remain in the redundant group, the sketcher constraint is actually redundant). This happens because solver constraints of a single sketcher constraint
are orthogonal and consequently, a conflict (or redundancy) emanating from removing one of them cannot actually satisfy the group, as it has no effect
on the other.

Solution
========

When popularity constraint decides on one solver constraint, remove any other solver constraint of the same tag (i.e. same sketcher constraint) that is
present in the conflict group (case b). This does not affect case a, because the solver constraint that is not redundant is not present in the conflict
(redundancy) group.
2023-05-03 16:32:50 +02:00
Yorik van Havre
04dd1cb279 Merge pull request #9433 from chennes/fixSerbianLatinMenuEntry
GUI: Transform sr-CS to sr_Latn in menu entry
2023-05-03 11:28:13 +02:00
Yorik van Havre
5c3b5a2405 Merge pull request #9445 from Roy-043/Draft-use-convert_draft_texts-in-importDXF.py
Draft: use convert_draft_texts in importDXF.py
2023-05-03 11:05:43 +02:00
Chris Hennes
a0fc6bc727 Sketcher: Tweak wording as suggested by translators 2023-05-02 20:29:36 +02:00
Chris Hennes
6da3d0e6b5 Mods: Remove Raytracing
Deprecated. Replaced by 3rd party addon 'Render'.
2023-05-02 12:49:54 -05:00
Chris Hennes
bd4401ba52 Merge pull request #9374 from wwmayer/pd_harmonize
PD: translation of context-menu item
2023-05-02 10:27:41 -05:00
Chris Hennes
6daec8ab34 Merge pull request #9434 from chennes/sketcherTranslateAttachmentDialogTake2
Sketcher: Translate the menu entries in attach dialog
2023-05-02 10:24:36 -05:00
Chris Hennes
3cdb347c72 Merge pull request #9437 from chennes/updateTranslations20230429
Update translations
2023-05-02 10:24:05 -05:00
Chris Hennes
4dbb17f3ac Merge pull request #9440 from chennes/modifyGuiTooltipForTranslation
Gui: Adjust tooltips for improved translation
2023-05-02 10:23:42 -05:00
wmayer
bed50951ee Gui: fixes #9086: Disabling the splash screen blocks the startup of Freecad
If no splash screen was shown then windowHandle() returns null and this leads to a segmentation fault.
2023-05-02 16:15:33 +02:00
Florian Foinant-Willig
70eb14ac9c Sketcher : Circle to Line Distance Constraint 2023-05-02 15:41:51 +02:00
Yorik van Havre
691917804f Merge pull request #9412 from yorikvanhavre/arch-ifc-group
Arch - additional prevision for NativeIFC
2023-05-02 10:49:06 +02:00
wmayer
dc9c7a3661 Core: do not override sys.stdin when using FreeCAD as Python module 2023-05-02 09:44:09 +02:00
wmayer
bc7ad64452 Gui: add comment about troubleshooting OpenGL 2023-05-01 23:32:24 +02:00
wmayer
39fb455af2 Gui: workaround to show content of image plane
This workaround is needed on some platforms after the refactoring of the NaviCube code. For more details see also:
https://github.com/FreeCAD/FreeCAD/pull/9356#issuecomment-1529521654
2023-05-01 23:32:24 +02:00
Chris Hennes
3fabd940dd Merge pull request #9368 from chennes/sketcherTestsToCI
Tests: Add Sketcher tests to CI
2023-04-30 16:59:22 -05:00
Roy-043
d7e0100d4b Draft: use convert_draft_texts in importDXF.py 2023-04-30 19:22:23 +02:00
wmayer
b5a548e3fd Gui: fixes #9306: problem importing image if path contains a single quote 2023-04-30 08:42:42 +02:00
0penBrain
db3935b699 CI: improve code separation in C++ tests mechanism 2023-04-29 16:30:52 -05:00
wmayer
1e830a8800 Import: fixes #9438: Crash when loading DXF file with a text element 2023-04-29 22:57:07 +02:00
Chris Hennes
f1e57968cd Gui: Adjust tooltips for improved translation
Tooltips should not be identical to the command menu entry, it prevents translators from translating them separately.
2023-04-29 13:03:02 -05:00
Chris Hennes
fb60e9a0e6 Update translations 2023-04-29 11:10:27 -05:00
wandererfan
25c86bfc9b [TD]remove Qt5 Svg handling code 2023-04-29 11:13:55 -04:00
Chris Hennes
6d01ff73fb Sketcher: Translate the menu entries in attach dialog 2023-04-28 19:09:45 -05:00
wandererfan
b3b30e951b [TD]fix minimum width in TaskCustomizeFormat 2023-04-28 19:13:39 -04:00
Chris Hennes
dbc71090f1 GUI: Transform sr-CS to sr_Latn in menu entry 2023-04-28 17:16:03 -05:00
wmayer
4d076a7056 Gui: force a redraw of the 3d view when creating it as otherwise on some systems the bottom and right side of the main window becomes black 2023-04-28 13:15:54 +02:00
Yorik van Havre
b028bb1696 Merge pull request #9376 from Roy-043/Draft-Remove-Drawing-WB-related-code-from-DXF-related-files
Draft: Remove Drawing WB related code from DXF related files
2023-04-28 12:48:08 +02:00
Yorik van Havre
86d4511a50 Merge pull request #9242 from 0penBrain/svgColor
Draft: Improve color handling of SVG geometry importer
2023-04-28 12:10:19 +02:00
wandererfan
1b2857c306 [TD]Handle changed xml namespace 2023-04-27 18:06:40 -04:00
jim
9407c99831 Change GUI Op Base Geometry Import button to support multiple bases 2023-04-27 10:26:34 -07:00
wandererfan
245c803fd2 [TD]fix bad property type choices 2023-04-27 13:17:48 -04:00
wandererfan
762b4ebf45 [TD]handle escaped unicode annotation text
- v0.19 (and earlier?) stored annotation text as escaped unicode, but
  v0.20 stores the text as utf8.
- checks for "\x" in text to determine is text is escaped or utf8
2023-04-27 13:17:48 -04:00
Chris Hennes
64ff8aa833 Merge pull request #9416 from Rexbas/gitignore
Add CLion default cmake-build locations to gitignore
2023-04-27 10:43:00 -05:00
Chris Hennes
7015d38f97 Tests: Add Sketcher unit tests to CI
Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2023-04-27 07:49:42 -05:00
Yorik van Havre
141a473eee Arch - prevision for NativeIFC 2023-04-27 12:07:23 +02:00
Rexbas
922dbb6b61 Add CLion default cmake-build locations to gitignore 2023-04-27 11:34:58 +02:00
Chris Hennes
25157275f0 Merge pull request #9336 from chennes/taskHelixParamtersTranslations
PD: Helix parameters status translation
2023-04-26 21:08:17 -05:00
Chris Hennes
b0cdbbf1d8 Merge pull request #9350 from chennes/translateEditModeTooltips
GUI: Translate the tooltip for EditMode menu
2023-04-26 21:00:00 -05:00
Chris Hennes
ae284512f6 Merge pull request #9301 from chennes/shaftWizardTranslations
PD/ShaftWizard: Correct some translation issues
2023-04-26 20:59:40 -05:00
0penBrain
760f3d7e42 Draft: Improve color handling of SVG geometry importer
Handle 'none' color => Default to black (+ print message)
 Handle #RRGGBBAA color => Return alpha (+ print, message)
 Handle 'rgba(float, float, float, float) => Return alpha (+ print message)
 Reorganize function to return ASAP + print warning if unknown color format
2023-04-26 21:00:37 +02:00
0penBrain
c77b2f33c2 CI: fix failing unit test reported as passed in summary, fixes #9170 2023-04-26 18:05:14 +02:00
sliptonic
9962db4838 Merge pull request #9339 from xtemp09/path-fix
Fixed segmentation fault in Path workbench
2023-04-26 10:27:36 -05:00