Commit Graph

2362 Commits

Author SHA1 Message Date
wmayer
2a41f359f7 Gui: implement mechanism to set a custom icon name or tooltip of a preferences group 2022-07-16 19:27:22 +02:00
Uwe
6d54ca4df4 [Gui] preferences: clarify Part/PD page
- users are confused that we have a preferences page named "Part design" that also defines things for the Part WB. The Wiki is clear that the preferences page is for both, Part and PD, however the UI is not.
This PR makes this clear.
2022-07-16 16:20:36 +02:00
wmayer
f34a814ead Part: replace PyObject_Not with Base::asBoolean 2022-07-16 14:10:34 +02:00
wmayer
8ae3185e3b Part: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 13:31:10 +02:00
wmayer
c2667384bd Replace std::ignore with boost::ignore_unused()
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
wmayer
e24cd8f03c Part: [skip ci] fix possible build failure 2022-07-11 11:12:45 +02:00
Uwe
19530b337f [Part] [PD] add preferences setting for transparency
- allow to specify the default transparency for new shapes
2022-07-09 23:24:17 +02:00
Uwe
bf606e980c [Part] AppPartPy.cpp: compilation fix for precompiled headers 2022-07-09 19:04:40 +02:00
Uwe
162a39fb8c [Part] Geom2d*: add more necessary includes
- these gp_* inlcudes are weird
2022-07-09 18:43:18 +02:00
Uwe
92129e83a1 [Part] ShapeFix: remove unneeded includes
- also sort includes
2022-07-09 18:30:04 +02:00
Uwe
3c369285ce [Part] Geom2d*: add more necessary includes 2022-07-09 18:28:36 +02:00
Uwe
fc96cee7d5 [Part] Geom2d*: add necessary includes 2022-07-09 18:15:02 +02:00
Uwe
53d67a537a [Part] Geom2d: remove unneeded includes
- also sort includes
2022-07-09 17:57:53 +02:00
Uwe
a09f04ded6 [Part] ChFi2d_FilletAlgoPyImp.cpp: add necessary include 2022-07-09 17:28:22 +02:00
Uwe
494cedd863 [Part] ChFi2d etc.: remove unneeded includes
- also sort includes
2022-07-09 17:13:38 +02:00
Uwe
6f28ba4eb8 [Part] FeaturePart*: remove unneeded includes
- also sort includes
2022-07-09 16:57:06 +02:00
Uwe
c7a6bcef58 [Part] FeatureRevolution.cpp: add necessary includes 2022-07-09 16:37:26 +02:00
Uwe
4bbd240e5f [Part] FeatureExtrusion.cpp: add necessary include 2022-07-09 16:20:24 +02:00
Uwe
7030956099 [Part] Feature*: remove unneeded includes
- also sort includes
2022-07-09 15:59:22 +02:00
Uwe
a54c2ed21b [Part] Arc*: remove unneeded includes
- also sort includes
2022-07-09 14:38:13 +02:00
Uwe
3548032b5f [Part] App*: remove unneeded includes
- also sort includes
2022-07-09 14:11:56 +02:00
Uwe
9fdac70448 [Part] Attach*: remove unneeded includes
- also sort includes
2022-07-09 13:20:06 +02:00
Uwe
81ce256e69 [Part] [Skip CI] BRepOffsetAPI_MakePipeShellPyImp: re-add an include 2022-07-09 04:12:32 +02:00
Uwe
f5d3c22d3a [Part] B*: remove unneeded includes
- also sort includes
2022-07-09 03:52:17 +02:00
Uwe
353c95bd82 [Part] [skip CI] BSplineSurfacePyImp.cpp: remove unneeded comment 2022-07-08 02:00:02 +02:00
Uwe
47460b632c [Part] BSpline*: remove unneeded includes
- also sort includes
2022-07-08 01:34:59 +02:00
Uwe
531e5d19a6 [Part] ConePyImp.cpp: add missing include 2022-07-08 01:29:55 +02:00
Uwe
b3cf8cc31c [Part] C*: remove unneeded includes
- also sort includes
2022-07-08 01:20:22 +02:00
Uwe
90d660260c [Part] CylinderPyImp.cpp: add missing include 2022-07-05 01:58:26 +02:00
Uwe
f92b5b4b7f [Part] Cy* - Fac*: remove unneeded includes
- also sort includes
2022-07-05 01:46:00 +02:00
Uwe
bc2d022e55 [Part] edgecluster.h: add missing include
- apparently #include <Mod/Part/PartGlobal.h> must not be removed in general
2022-07-04 11:19:07 +02:00
Uwe
5834cc8060 [Part] ExtrusionHelper.h: add missing include 2022-07-04 11:16:23 +02:00
Uwe
27a69f89c3 [Part] E*: remove unneeded includes
- also sort includes
2022-07-04 10:59:16 +02:00
Uwe
fd68d0d947 [Part] Geometry*: remove unneeded includes
- also sort includes
2022-07-04 10:25:05 +02:00
Uwe
e790566fd4 [Part] SectionCutting.cpp: attempt to fix CI compiler error 2022-07-04 10:13:36 +02:00
wmayer
70a5faf327 Part: fix build failure 2022-07-04 02:21:59 +02:00
Uwe
3aa4955e94 [Part] fix MSVC compiler warning
about redefinition of content of basic.h, see https://forum.freecadweb.org/viewtopic.php?f=10&t=69988
2022-07-04 02:14:27 +02:00
Uwe
7a17e579f5 [Part] Geometry*PyImp.cpp: remove unneeded includes
- also sort includes
2022-07-04 01:03:23 +02:00
Uwe
2aac6ea1d9 [Part] Import*.cpp: remove unneeded includes
- also sort includes
2022-07-04 00:34:58 +02:00
Uwe
2d19fad276 [Part] H* to mo*: remove unneeded includes
- also sort includes
2022-07-03 23:32:50 +02:00
Uwe
9a41845a41 [Part] OCCError.h: remove unneeded includes
- also sort includes
2022-07-03 22:51:16 +02:00
Uwe
3bab125da7 [Part] PlanePyImp.cpp.cpp: add missing include 2022-07-03 21:08:22 +02:00
Uwe
6fb7f614c7 [Part] Pa* to Pre*: remove unneeded includes
- also sort includes
2022-07-03 20:47:03 +02:00
Uwe
73511f82c2 [Part] Prim* to Sur*: remove unneeded includes
- also sort includes
2022-07-03 19:32:28 +02:00
Uwe
01b4352693 [Part] SectionCutting: remove unused include
- also uniform line endings 8automatically done by MSVC)
2022-07-03 18:52:04 +02:00
Uwe
ca5efc5be1 [Part] To*: remove unneeded includes
- also sort includes
2022-07-03 18:39:24 +02:00
Uwe
74d582617c [Part] TopoShapeFacePyImp.cpp: add includes needed by the CI compiler 2022-07-03 18:16:27 +02:00
Uwe
8e9b359928 [Part] Topo*: remove unneeded includes
- also sort includes
2022-07-03 17:41:42 +02:00
wmayer
9b2b0e0acf modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
tomate44
3af5cfaed6 Part: add method to project point on curve 2022-06-28 12:58:49 +02:00