Commit Graph

1424 Commits

Author SHA1 Message Date
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
wmayer
21c967ef77 Part: fix build failure 2022-07-04 02:21:59 +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
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
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
Abdullah Tahiri
30f46d3a34 Part: Geometry - function to get the conic axis direction 2022-06-25 19:03:11 +02:00
wmayer
960318a8ca Part: re-add dropped parameter (7bdad5023c1) 2022-06-25 16:14:14 +02:00
andrea
c66aadeb60 removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
8b9484c82f App: add pure virtual methods to PropertyGeometry to delegate it to the geometry of sub-classes
Following the law of Demeter add some wrapper methods to PropertyGeometry and implement them in sub-classes. As a side-effect this makes some const_cast obsolete
2022-06-24 16:15:02 +02:00
wmayer
76af01f482 Part: [skip ci] remove superfluous const_cast 2022-06-24 16:10:09 +02:00
wmayer
f5235a8057 cppcoreguidelines-pro-type-union-access
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
 Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Benjamin Alterauge
b7ab1dc895 GeomBSplineCurve: Add interpolate without tangents
Now with description

Periodic selectable
2022-06-24 02:25:55 +02:00
mosfet80
c48a569696 Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
marioalexis
eaf01ab0c6 Part: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
wmayer
2064658607 Part: add Const attribute to several methods in TopoShapePy 2022-06-22 16:58:56 +02:00
Chris Hennes
abda78ec74 Part: Add ShapeFix.hxx to precompiled header 2022-06-21 12:59:56 -05:00
wmayer
228326d587 Part: expose ShapeFix_FixSmallSolid to Python 2022-06-21 15:47:27 +02:00
wmayer
79ae67e280 Part: expose ShapeFix_FixSmallFace to Python 2022-06-21 15:47:10 +02:00
wmayer
ede51b792a Part: expose ShapeFix_Wireframe to Python 2022-06-21 15:46:51 +02:00
wmayer
4fe95201c5 Part: expose ShapeFix_SplitTool to Python 2022-06-21 15:46:27 +02:00
wmayer
293573ebde Part: expose ShapeFix_WireVertex to Python 2022-06-21 15:46:11 +02:00
wmayer
26bddf2358 Part: expose ShapeFix_FreeBounds to Python 2022-06-21 15:45:55 +02:00
wmayer
7aebfe4551 Part: expose ShapeFix_ShapeTolerance to Python 2022-06-21 15:45:36 +02:00
wmayer
0d85b75893 Part: expose ShapeFix_FaceConnect to Python 2022-06-21 15:45:10 +02:00
wmayer
5338fb4ba1 Part: expose ShapeFix_SplitCommonVertex to Python 2022-06-21 15:44:50 +02:00
wmayer
8157689029 Part: expose ShapeFix_EdgeConnect to Python 2022-06-21 15:44:30 +02:00
wmayer
2463186b80 Part: workaround for missing include in OCC >= 7.5 2022-06-21 15:44:12 +02:00