Commit Graph

2153 Commits

Author SHA1 Message Date
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
f1f68db55b App: Optimize includes to reduce compile time 2022-03-07 15:53:58 +01:00
Yorik van Havre
2cff977548 Merged crowdin translations 2022-03-07 14:55:22 +01:00
Uwe
a8bae676ce [Part] Section cutting: fix read of cut state of existing cuts
- it is now also possible to determine the Flip state correctly
2022-03-07 02:45:36 +01:00
wmayer
91e4e468dd Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
5e0cfc64ee App: use forward declarations 2022-03-04 21:09:46 +01:00
wmayer
2a33fe77f6 App/Gui: move template classes (ViewProvider)ExtensionPythonT to their own header files 2022-03-04 18:54:42 +01:00
wmayer
1cbecdf122 App: use forward declaration to reduce compile time 2022-03-04 17:27:53 +01:00
wmayer
135379e618 Part: issue #6488: Cone surface returns wrong dv derivative
This is a workaround to fix a bug in ElSLib::ConeDN
2022-03-01 14:59:26 +01:00
Uwe
a8c912d6f8 [App] Expression and Extension: remove unused includes 2022-02-25 18:06:57 +01:00
Uwe
c533286d00 [Part] fix a comment on SectionCut 2022-02-24 04:49:29 +01:00
Uwe
16467d9067 Revert "App: fix property ordering problem when undo/redo (#3255)"
This reverts commit 24d30636e4fb990fdbd67538360846ff09456dfc.
2022-02-22 01:21:49 +01:00
Uwe
39c03863b5 [Part] compile fix for precompiled header
For an unknown reason BRepFill_Generator.hxx must be load explicitly for precompiled headers.
2022-02-21 16:52:41 +01:00
Uwe
933484e387 fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00
Zheng Lei
170a12089c App: fix property ordering problem when undo/redo (#3255)
* Part: fix Placement/Shape onChanged() handling

* App: fix property ordering problem when undo/redo
See https://tracker.freecadweb.org/view.php?id=4265#c14271

* Gui: fix undo/redo signaling
Make sure to signal after all properties has been restored
2022-02-21 12:29:01 +01:00
Uwe
2b76f1f89e [Part] remove some unused includes and sorting 2022-02-21 04:29:28 +01:00
Uwe
f129bd7da7 [Part] FaceMaker, Command and Extrusion: remove unused includes 2022-02-21 03:33:01 +01:00
Uwe
bb49dd9622 [Part] ViewProvider2DObject: remove unused includes
- also sort them
2022-02-18 04:03:10 +01:00
wmayer
2a3d3da30d Part: in ViewProviderAttachExtension check if feature has the AttachExtension 2022-02-17 19:26:11 +01:00
wmayer
9c8763c720 Part: fix regression by commit 5dfd4fef7
* Standard_Version.hxx is required for the OCC version check macro
* group sorted header includes by library
2022-02-17 11:09:35 +01:00
Uwe
8cbee76183 [Part] ViewProviderExt: remove unused includes
- also sort them
2022-02-17 05:00:17 +01:00
Uwe
c31cd6abb2 [Part] add context menu icon for color face
- the other context menu entries have icons and we use this icon already in the View menu

- also sort the includes
2022-02-17 03:20:31 +01:00
wmayer
0c583fb7fa Part: fix typos in make* functions 2022-02-16 12:48:02 +01:00
Uwe
9ef912a49d [Part] Bullseye whitespace fixes 2022-02-16 03:40:07 +01:00
wmayer
0208608b9e Base: fix Matrix4D::hasScale
* If all column vectors of the 3x3 sub-matrix are equal the function incorrectly claims that it's uniform scaling.
* Detect also non-uniform scaling and if was applied from the left or right side
* Replace the int with an enum and expose it to Python
* Add several new unit tests
2022-02-15 21:05:11 +01:00
marioalexis
b75fb1626a Part: Part_SectionCut command active only if view is View3DInventor class 2022-02-15 10:19:15 +01:00
Uwe
701609f004 [Part] remove unused precompiled headers 2022-02-15 05:57:27 +01:00
Uwe
3d25e8fc10 [Part] try to fix compilation error without precompiled headers 2022-02-15 05:46:40 +01:00
Uwe
285218ecbe [Part] more simplification of SectionCut code 2022-02-15 05:06:14 +01:00
Uwe
e6f91e9f5d [Part] fix signal blocking in SectionCut code
- add missing signal blockSignals
- assure the desired UI objects get blocked
2022-02-15 04:47:47 +01:00
Uwe
e0fdd4394f [Part] improve SectionCut code
- get rid of potentially unsafe static_casts
- fix logic mistake
2022-02-15 04:30:08 +01:00
Uwe
1197ef7fc9 [Part] simplify a but the SectionCut code 2022-02-15 02:49:05 +01:00
Uwe
1767d26242 [Part] add icon for sectionCut feature 2022-02-15 01:49:34 +01:00
wmayer
a769aee8b3 Part: define Part_SectionCut as permanent menu item 2022-02-14 16:48:09 +01:00
Uwe
942618ce72 [Part] improve SectionCutting code
all changes as suggested in 05a9c88ab2
2022-02-14 14:09:53 +01:00
Yorik van Havre
e1028eb65e Merged crowdin translations 2022-02-14 12:31:57 +01:00
Uwe
ce2a8d00ec [PD, Part] bring section cutting feature back to the View menu
As discussed here:
https://github.com/FreeCAD/FreeCAD/pull/6213#issuecomment-1033696604
the feature makes not much sense when only available from within the Part menu.

For now, bring it at least back to the View menu for Part and PD
2022-02-14 01:34:55 +01:00
wmayer
b0d8ed1bf2 Part: section cut window is not bound to 3d viewer widget 2022-02-13 19:33:19 +01:00
wmayer
29b940fb66 Part: Circle variable name change to create consistency
Change variable names of the Circle from Angle0 to Angle1 to create consistency with all other named angle variables
2022-02-11 18:28:58 +01:00
wmayer
27c2dc216b Part: handle to load old project files with Part::Ellipse 2022-02-11 17:25:28 +01:00
Sebastian
a48656e5fe Ellipse variable name change to create consistency
Change variable names of the Ellipse from Angle0 to Angle1 to create consistency with all other named angle variables
2022-02-11 17:22:45 +01:00
Sebastian
04f71e02be Update PrimitiveFeature.cpp
Correct upper case words equal to other tool tip hints.
2022-02-08 21:54:20 +01:00
0penBrain
73f2c1434a Modernize signal/slot connection for real :) 2022-02-08 17:51:36 +01:00
marioalexis
50478a19d1 Part: Move Part_SectionCut command to Part menu item list 2022-02-08 12:09:09 +01:00
wmayer
846b680d07 Part: [skip ci] add Part unit tests to test Geom2dCircle::getCircleCenter 2022-02-05 16:26:12 +01:00
wmayer
92dc997608 Part: fix possible creation of NaN in Geom2dCircle::getCircleCenter 2022-02-05 16:16:59 +01:00
wmayer
2bec14b93a Part: expose Geom2dCircle::getCircleCenter to Python and fix a regression 2022-02-05 16:07:00 +01:00
Uwe
eecc2eacae [Part] SectionCutting: remove another unused variable
strangely MSVC did not report me these, the CI does
2022-02-05 14:45:34 +01:00
Uwe
a7b1557bcb [Part] SectionCutting: remove unused variable 2022-02-05 14:09:13 +01:00
Uwe
d414a177d2 [Part] Extrusion: reduce angle step size
tapered extrudes are mainly used for molds etc, so only a few degrees. The angle step in the properties was already 1° and also Pad/Pocket uses 1° steps
2022-02-05 05:39:40 +01:00