Commit Graph

26633 Commits

Author SHA1 Message Date
0penBrain
1239676a5e [Gui] Ensure dockwidget is stacked on top when activated 2021-12-14 17:35:59 +01:00
wmayer
997e081505 Start: do not show RuntimeError when opening/saving a file after Start page has been closed 2021-12-14 08:08:46 +01:00
wmayer
4da50bc539 Start: avoid flushing the buffer after each new line 2021-12-14 08:01:37 +01:00
wmayer
5fe41f8e4e PD: in ViewProviderLoft::highlightSection follow the same logic as in Loft::execute for selected profiles/sections 2021-12-14 00:30:59 +01:00
wmayer
07c92cc218 Gui: make the Copy command of the report window working if an object in the tree is selected 2021-12-13 18:57:28 +01:00
wmayer
8db3453ffe PD: use class ReferenceHighlighter inside ViewProviderDressUp 2021-12-13 16:56:48 +01:00
wmayer
b2b86477a5 PD: use class ReferenceHighlighter inside ViewProviderPipe 2021-12-13 15:58:55 +01:00
wmayer
0be9d97c91 PD: properly reset line colors when un-highlighting loft profile/sections 2021-12-13 15:46:04 +01:00
wmayer
e6ea67bc1e PD: highlight current profile and sections of a loft when selecting a new profile/section 2021-12-13 15:01:08 +01:00
wmayer
506c40ab60 PD: make Loft working again when two sketches are pre-selected 2021-12-13 10:32:40 +01:00
Uwe
8e2220006c [Win installer] change naming scheme
as suggested by the release team to follow the existing naming in our releases
2021-12-13 01:15:55 +01:00
wmayer
c111009ea6 Gui: add function View3DInventorViewer::projectPointToLine and expose to Python 2021-12-12 12:49:53 +01:00
wmayer
94a881f829 Gui: harmonize classes View3DInventorViewer and View3DInventorPy 2021-12-12 11:33:04 +01:00
wmayer
a84262b2f0 Part: set explicit format version number for binary BRep files to support all OCC versions 2021-12-12 01:15:56 +01:00
Jonas Bähr
0b1f1ddc50 PD: Enhance the helix property docs
Most strings are based on descriptions from the wiki [1]. Some have been
extended where I saw need. Note that I'm not a native speaker, though.

[1]: https://wiki.freecadweb.org/PartDesign_AdditiveHelix
2021-12-11 23:33:28 +01:00
wmayer
d80e83a517 Part: set explicit format version number for BRep files to support all OCC versions 2021-12-11 23:31:41 +01:00
Abdullah Tahiri
5170ac4195 Sketcher: GeoList remove _PreComp 2021-12-11 21:48:21 +01:00
Roy-043
8529786fd1 Draft: fix Draft_Arc_3Points task panel issues
Fixed the following task panel issues:
1. Wrong title and icon.
2. Continue toggle missing.
2021-12-11 19:00:31 +01:00
mwganson
984bf95a7c [python editor] add keywords False, nonlocal, and True to keywords list for syntax highlighting 2021-12-11 18:49:58 +01:00
Mateusz Skowroński
699d2fb197 Fix Qt deprecation warning. QPrinter::setOrientation() is obsolete. 2021-12-11 18:46:29 +01:00
Abdullah Tahiri
24cd3cb7b7 Sketcher: GeoList Improvements
==============================

- Improve GeoList to support GeoElementId input
- Support VertexId to GeoElementId conversion
- GeoListModel gets separate getGeometry and getGeometryFacade naked pointers
- Sketcher: GeoList - make index mappings mutable
- Improve documentation
2021-12-11 17:02:00 +01:00
Abdullah Tahiri
535054e244 Sketcher: Improve documentation of GeoEnum, PointPos and GeoElementId 2021-12-11 17:01:39 +01:00
Abdullah Tahiri
44567167ff Sketcher: Convert PointPos into an enum CLASS 2021-12-11 16:17:21 +01:00
Abdullah Tahiri
182596ba08 Sketcher: GeoId, GeoElementId and GeoUndef refactor
===================================================

This commit is an independent refactor of the identifications used at Sketcher level.

It introduces a new type "GeoElementId" as a combination of GeoId and PointPos.

It moves the Undefined GeoId, previous Constraint::GeoUndef to GeoEnum, together with all
other fixed values of GeoIds.
2021-12-11 16:17:21 +01:00
wmayer
f978765b8a Base: fix memory leak when creating object with factory method 2021-12-11 14:26:40 +01:00
wmayer
16c7ee80f3 Base: [skip ci] allow to access the twin pointer of a PyObjectBase 2021-12-11 08:33:50 +01:00
luz paz
306dc171f4 Cam: Adjust header uniformity 2021-12-10 14:29:34 +01:00
wmayer
3fa4a321d3 TD: replace usage of raw pointers of Vertex and Face with shared pointers.
This fixes issue 4741: Broken File After Using Landmark Dimension in TechDraw
2021-12-10 14:25:24 +01:00
luz paz
4213b3df08 ReverseEngineering: translate doxygen from DE to EN
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
2021-12-10 14:17:50 +01:00
wmayer
e3e22f83c5 Part: a deflection of 0.0 is not allowed any more for meshing a shape 2021-12-10 13:31:40 +01:00
Roy
ce0563b385 Draft: Fix Part_Line offset issue 2021-12-10 02:40:16 +01:00
luz paz
ef824f12e2 Path: fix typo in author's name 2021-12-10 02:36:56 +01:00
luz paz
63138c67ea Path: fix file header uniformity 2021-12-10 02:36:56 +01:00
wmayer
1e71c7ce5b Test: explicitly switch on undo/redo mode in testIssue4649 2021-12-10 00:04:40 +01:00
wmayer
c618f069a1 Test: disable a test that fails in command line mode 2021-12-09 21:32:02 +01:00
wmayer
5dc14d2e48 Test: add unit test for issue 0004649 2021-12-09 18:47:38 +01:00
wmayer
ea836050f1 App: 0004649: Segmentation fault when clearing an expression in an onChanged handler 2021-12-09 18:21:26 +01:00
luz paz
430aadb791 Fix various typos and grammatical refinements 2021-12-09 08:57:52 -06:00
wmayer
5575ae5e09 Part: [skip ci] 0004665: Part/projection tool : Unhandled unknown exception caught when mouse gets over a datum plane 2021-12-09 14:16:06 +01:00
wmayer
9f2b6c5ec6 PD: 0004699: ShapeBinder still touched after recompute 2021-12-09 12:33:09 +01:00
Yorik van Havre
e83843ce82 Merge pull request #5223 from Roy-043/Draft_fix_task_panel_issues
Draft fix task panel issues
2021-12-09 11:16:45 +01:00
wmayer
219ded18ba Gui: refactoring: move duplicated code to DockWindowManager::activate() 2021-12-09 07:40:44 +01:00
mwganson
f803c242a9 [StdCmdSendToPythonConsole] make python console visible if not already visible and set keyboard focus to it when invoking the send to python console command 2021-12-09 07:08:25 +01:00
wmayer
b7237f6876 PD: 0004582: Mulit-transformation dialog cannot be cancelled 2021-12-09 06:13:25 +01:00
Roy-043
21a8c21020 Draft: fix regression draftlink.py (#5220)
* Draft: fix regression draftlink.py

This PR fixes a regression introduces with #5180.

Using transformShape is the correct solution.
2021-12-08 07:37:23 -06:00
luz paz
bcc2873fb9 Draft: fix doxygen typos 2021-12-07 22:53:54 -06:00
Paul Lee
c5c5c8a880 [ArchWall] Do not copy shape
Discussions-
https://forum.freecadweb.org/viewtopic.php?style=1&t=62968&p=540585
234899409f
2021-12-07 18:55:43 -06:00
Abdullah Tahiri
f7deb780a5 Sketcher: Addition of layerId field to SketcherGeometryExtension, GeometryFacade and ExternalGeometryFacade, and their Python wrappers 2021-12-07 16:30:55 +01:00
Abdullah Tahiri
01d37cdaad Sketcher: move GUI common utility functions to a new file Utils.h
=================================================================

Common utility functions used by almost all Command classes were previous in Constraint.h.

Aside from providing a very bad intent, it created unnecessary header dependencies.

This commit separates these common functions into a new header, utils.h, which is then
used in all command classes where it is necessary.
2021-12-07 16:30:55 +01:00
Abdullah Tahiri
ffa6f0c50f Sketcher: CommandSketcherTools add missing include that was indirectly satisfied 2021-12-07 16:30:53 +01:00