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
wmayer
f468c10cb4
Part: fix typos
2022-06-21 15:43:47 +02:00
wmayer
6f521063db
Part: expose ShapeFix_Solid to Python
2022-06-21 15:43:31 +02:00
wmayer
75dee7b35c
Part: expose ShapeFix_Edge to Python
2022-06-21 15:43:13 +02:00
wmayer
a543bf0783
Part: add convenience function to convert Placement into TopLoc_Location
2022-06-21 15:42:52 +02:00
wmayer
6ce6cfe043
Part: expose ShapeFix_Shape to Python
2022-06-21 15:42:31 +02:00
wmayer
0cd1f118fc
Part: expose ShapeFix_Wire to Python
2022-06-21 15:41:44 +02:00
wmayer
2df09ea4ed
Part: expose ShapeFix_Shell to Python
2022-06-21 15:39:41 +02:00
wmayer
954b09f793
Part: expose ShapeFix and ShapeFix_Face to Python
2022-06-21 15:39:09 +02:00
wmayer
d04b65056e
Part: start to expose ShapeFix framework to Python
2022-06-21 15:34:55 +02:00
Uwe
3060e6197b
Revert "remove unused python<3.6 code"
...
This reverts commit 62d8116bb8af1df8b971bb591611356111a4488c.
2022-06-19 16:23:13 +02:00
andrea
9b640f10cf
remove unused python<3.6 code
2022-06-19 15:33:44 +02:00
Uwe
d215b28eba
[Part] remove unnecessary Boolean comparisons
2022-06-19 15:19:13 +02:00
wmayer
b7d8d26c52
Part: do not expect a face to be infinite if meshing it has failed
...
See https://forum.freecadweb.org/viewtopic.php?p=601240#p601240
2022-06-11 13:01:15 +02:00
wmayer
e486f91f6a
Part: in BRepOffsetAPI_MakeOffsetFix::MakeWire also consider the generated edges of the vertexes of the input shape
2022-06-08 13:02:07 +02:00