Commit Graph

22727 Commits

Author SHA1 Message Date
wmayer
c955372ecf 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
Yorik van Havre
393352387d Merge pull request #7071 from Roy-043/Draft-Fix-Placement-in-make_sketch
Draft: Fix Sketch Placement in make_sketch (issue #7058)
2022-06-24 13:53:33 +02:00
Yorik van Havre
830b3944db Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
Benjamin Alterauge
ad8bb4dc69 GeomBSplineCurve: Add interpolate without tangents
Now with description

Periodic selectable
2022-06-24 02:25:55 +02:00
mosfet80
620c273c4e 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
Ajinkya Dahale
00e7eae6f8 [Sketcher] Use more segments while drawing splines
B-Splines can have an arbitrary number of pieces. Using the same number of
segments to draw a multi-piece spline can make the curve blocky.

This commit only changes the behavior in edit-mode.
2022-06-23 14:35:33 +02:00
marioalexis
ad0f1147f7 Part: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
ea79771afd Import: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
a91e32a6f4 Mesh: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
37511553f7 PartDesign: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
d298a7101c Path: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
51f3727d3c Sketcher: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
wmayer
a527daa4b3 Part: add Const attribute to several methods in TopoShapePy 2022-06-22 16:58:56 +02:00
sliptonic
012fe8d9b6 Missing camoticsgui file in the CMakelists. 2022-06-22 09:02:42 -05:00
Roy-043
256c4cd086 Draft: Fix Placement in make_sketch 2022-06-22 12:11:47 +02:00
Chris Hennes
cd32457b60 Part: Add ShapeFix.hxx to precompiled header 2022-06-21 12:59:56 -05:00
sliptonic
86fc7298a1 UI fixes 2022-06-21 10:36:12 -05:00
Kuzemko Alexsandr
40395a0a57 Crowdin Add Material to updatets.py script and create new Material.ts 2022-06-21 17:45:25 +03:00
Kuzemko Alexsandr
166306469a Add missing file. 2022-06-21 17:35:36 +03:00
Kuzemko Alexsandr
e678620cbd Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
Kuzemko Alexsandr
5f4ea420b0 Inspection Add more translation texts. 2022-06-21 17:22:15 +03:00
wmayer
b70d8d3781 Part: expose ShapeFix_FixSmallSolid to Python 2022-06-21 15:47:27 +02:00
wmayer
4c2946c8a4 Part: expose ShapeFix_FixSmallFace to Python 2022-06-21 15:47:10 +02:00
wmayer
6843a461e6 Part: expose ShapeFix_Wireframe to Python 2022-06-21 15:46:51 +02:00
wmayer
bbecc3f296 Part: expose ShapeFix_SplitTool to Python 2022-06-21 15:46:27 +02:00
wmayer
8c6ffc99e3 Part: expose ShapeFix_WireVertex to Python 2022-06-21 15:46:11 +02:00
wmayer
1ee1aee10e Part: expose ShapeFix_FreeBounds to Python 2022-06-21 15:45:55 +02:00
wmayer
125d5b6360 Part: expose ShapeFix_ShapeTolerance to Python 2022-06-21 15:45:36 +02:00
wmayer
a0eb2e9de7 Part: expose ShapeFix_FaceConnect to Python 2022-06-21 15:45:10 +02:00
wmayer
4b44c54cfa Part: expose ShapeFix_SplitCommonVertex to Python 2022-06-21 15:44:50 +02:00
wmayer
4d4adb932b Part: expose ShapeFix_EdgeConnect to Python 2022-06-21 15:44:30 +02:00
wmayer
74c75b86a0 Part: workaround for missing include in OCC >= 7.5 2022-06-21 15:44:12 +02:00
wmayer
6cfd7d21e8 Part: fix typos 2022-06-21 15:43:47 +02:00
wmayer
8d56879305 Part: expose ShapeFix_Solid to Python 2022-06-21 15:43:31 +02:00
wmayer
4089cbfbf2 Part: expose ShapeFix_Edge to Python 2022-06-21 15:43:13 +02:00
wmayer
ac421ffd0e Part: add convenience function to convert Placement into TopLoc_Location 2022-06-21 15:42:52 +02:00
wmayer
87db9dccb5 Part: expose ShapeFix_Shape to Python 2022-06-21 15:42:31 +02:00
wmayer
94f6279a67 Part: expose ShapeFix_Wire to Python 2022-06-21 15:41:44 +02:00
wmayer
da4b05fdcc Part: expose ShapeFix_Shell to Python 2022-06-21 15:39:41 +02:00
wmayer
b6cd635cc1 Part: expose ShapeFix and ShapeFix_Face to Python 2022-06-21 15:39:09 +02:00
wmayer
f3e941a382 Part: start to expose ShapeFix framework to Python 2022-06-21 15:34:55 +02:00
wmayer
6b2882e01f Part: support of box selection in shape builder task panel 2022-06-21 15:30:31 +02:00
wmayer
8998c9847d Points: fixes #5785: a python method to convert a Shape into a point cloud without extra dialog but parameter 2022-06-21 15:25:53 +02:00
wmayer
e7a9081097 Mesh: replace boost::bind with std::bind 2022-06-21 15:23:47 +02:00
wmayer
0a4488462c Mesh: reduce the use of const_cast in Mesh module 2022-06-21 12:20:37 +02:00
sliptonic
9db32a3911 Merge pull request #7056 from Kuzma30/toolbit_tr
[Path] Add localization for PathToolBit and update Path.ts
2022-06-20 17:20:32 -05:00
sliptonic
e1eeabc86c Merge pull request #6637 from sliptonic/feature/camotics
[Path] Feature/camotics
2022-06-20 13:48:54 -05:00
sliptonic
8dad6cf84d Resolving bugs and rebasing for 0.21 merge 2022-06-20 13:09:09 -05:00
wmayer
35919e2a75 Test: [skip ci] test for fixed Rotation::inverse() 2022-06-20 12:39:22 +02:00
wmayer
796d722072 Path: fix warning: extra ';' inside a struct/class [-Wextra-semi] 2022-06-20 11:34:31 +02:00