Commit Graph

2359 Commits

Author SHA1 Message Date
wmayer
b6494085b4 Part: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 13:31:10 +02:00
wmayer
a8ac45b090 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
a0012ce7c0 Part: [skip ci] fix possible build failure 2022-07-11 11:12:45 +02:00
Uwe
030aba9b92 [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
869d8d8062 [Part] AppPartPy.cpp: compilation fix for precompiled headers 2022-07-09 19:04:40 +02:00
Uwe
e5be6dc241 [Part] Geom2d*: add more necessary includes
- these gp_* inlcudes are weird
2022-07-09 18:43:18 +02:00
Uwe
22c130e475 [Part] ShapeFix: remove unneeded includes
- also sort includes
2022-07-09 18:30:04 +02:00
Uwe
d758c92bb1 [Part] Geom2d*: add more necessary includes 2022-07-09 18:28:36 +02:00
Uwe
4c404b6353 [Part] Geom2d*: add necessary includes 2022-07-09 18:15:02 +02:00
Uwe
c97236a503 [Part] Geom2d: remove unneeded includes
- also sort includes
2022-07-09 17:57:53 +02:00
Uwe
98d6dda84c [Part] ChFi2d_FilletAlgoPyImp.cpp: add necessary include 2022-07-09 17:28:22 +02:00
Uwe
363f9258d8 [Part] ChFi2d etc.: remove unneeded includes
- also sort includes
2022-07-09 17:13:38 +02:00
Uwe
98c36665be [Part] FeaturePart*: remove unneeded includes
- also sort includes
2022-07-09 16:57:06 +02:00
Uwe
6aed12384a [Part] FeatureRevolution.cpp: add necessary includes 2022-07-09 16:37:26 +02:00
Uwe
a09833896c [Part] FeatureExtrusion.cpp: add necessary include 2022-07-09 16:20:24 +02:00
Uwe
d58a05dc18 [Part] Feature*: remove unneeded includes
- also sort includes
2022-07-09 15:59:22 +02:00
Uwe
86eb643854 [Part] Arc*: remove unneeded includes
- also sort includes
2022-07-09 14:38:13 +02:00
Uwe
c2c7f485db [Part] App*: remove unneeded includes
- also sort includes
2022-07-09 14:11:56 +02:00
Uwe
4f33fd1056 [Part] Attach*: remove unneeded includes
- also sort includes
2022-07-09 13:20:06 +02:00
Uwe
8dd7fb8be1 [Part] [Skip CI] BRepOffsetAPI_MakePipeShellPyImp: re-add an include 2022-07-09 04:12:32 +02:00
Uwe
9694ac0297 [Part] B*: remove unneeded includes
- also sort includes
2022-07-09 03:52:17 +02:00
Uwe
4119084faf [Part] [skip CI] BSplineSurfacePyImp.cpp: remove unneeded comment 2022-07-08 02:00:02 +02:00
Uwe
7fb0f50f49 [Part] BSpline*: remove unneeded includes
- also sort includes
2022-07-08 01:34:59 +02:00
Uwe
a1f2def9af [Part] ConePyImp.cpp: add missing include 2022-07-08 01:29:55 +02:00
Uwe
e20fe9da38 [Part] C*: remove unneeded includes
- also sort includes
2022-07-08 01:20:22 +02:00
Uwe
f18ef718ad [Part] CylinderPyImp.cpp: add missing include 2022-07-05 01:58:26 +02:00
Uwe
363a80c86c [Part] Cy* - Fac*: remove unneeded includes
- also sort includes
2022-07-05 01:46:00 +02:00
Uwe
deb2a1725b [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
83c0044e52 [Part] ExtrusionHelper.h: add missing include 2022-07-04 11:16:23 +02:00
Uwe
27c4ee41d7 [Part] E*: remove unneeded includes
- also sort includes
2022-07-04 10:59:16 +02:00
Uwe
6b00cc31c7 [Part] Geometry*: remove unneeded includes
- also sort includes
2022-07-04 10:25:05 +02:00
Uwe
b95995f23c [Part] SectionCutting.cpp: attempt to fix CI compiler error 2022-07-04 10:13:36 +02:00
wmayer
21c967ef77 Part: fix build failure 2022-07-04 02:21:59 +02:00
Uwe
e20cc5a017 [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
be3120d24f [Part] Geometry*PyImp.cpp: remove unneeded includes
- also sort includes
2022-07-04 01:03:23 +02:00
Uwe
3e920da851 [Part] Import*.cpp: remove unneeded includes
- also sort includes
2022-07-04 00:34:58 +02:00
Uwe
1bb61c46ff [Part] H* to mo*: remove unneeded includes
- also sort includes
2022-07-03 23:32:50 +02:00
Uwe
4d4d42e51e [Part] OCCError.h: remove unneeded includes
- also sort includes
2022-07-03 22:51:16 +02:00
Uwe
fa758b882a [Part] PlanePyImp.cpp.cpp: add missing include 2022-07-03 21:08:22 +02:00
Uwe
4dced53a00 [Part] Pa* to Pre*: remove unneeded includes
- also sort includes
2022-07-03 20:47:03 +02:00
Uwe
276582b4dd [Part] Prim* to Sur*: remove unneeded includes
- also sort includes
2022-07-03 19:32:28 +02:00
Uwe
196010dd10 [Part] SectionCutting: remove unused include
- also uniform line endings 8automatically done by MSVC)
2022-07-03 18:52:04 +02:00
Uwe
f130051618 [Part] To*: remove unneeded includes
- also sort includes
2022-07-03 18:39:24 +02:00
Uwe
1f0a94c539 [Part] TopoShapeFacePyImp.cpp: add includes needed by the CI compiler 2022-07-03 18:16:27 +02:00
Uwe
a44d4b9b87 [Part] Topo*: remove unneeded includes
- also sort includes
2022-07-03 17:41:42 +02:00
wmayer
0f5725b34a modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
tomate44
63733dcaa2 Part: add method to project point on curve 2022-06-28 12:58:49 +02:00
wmayer
2c3ef52dba Part: move BiArcs algorithm to its own class 2022-06-28 12:42:15 +02:00
wmayer
523d364c92 Part: fix GeomBSplineCurve::toBiArcs
If tangent of start and end point are parallel then also check a tangent in between to make sure that it can be considered a straight line
See https://forum.freecadweb.org/viewtopic.php?f=8&t=69710
2022-06-28 11:26:35 +02:00
Abdullah Tahiri
088ca8ee03 Part: Geometry - Add Ellipse minor radio convenience function 2022-06-25 19:03:11 +02:00