Commit Graph

28043 Commits

Author SHA1 Message Date
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
Yorik van Havre
a0807918a0 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
4c34ae7398 Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +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
0penBrain
1c16e512db [BUGFIX] Gui: fix mouse Gesture navigation mode
Regression introduced by commit 5ce0bb7
2022-06-24 01:03:53 +02:00
Ajinkya Dahale
09b63e12c1 [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
eaf01ab0c6 Part: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
44da7b7c0b Import: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
74c168a082 Mesh: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
15923813d4 PartDesign: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
b10f73b571 Path: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
ce082d8f4a Sketcher: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
ae56fb62a7 Gui: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
80492e81fa Main: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
fbfb6c3ed3 Base: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
marioalexis
1bc43b8606 App: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
ShuffleWire
f09040052a Base: add Const attribute to many MatrixPy methods
multiply(), determinant(), isOrthogonal(),
submatrix(), analyze() also get the const attribute
2022-06-22 19:16:38 -04:00
wmayer
2064658607 Part: add Const attribute to several methods in TopoShapePy 2022-06-22 16:58:56 +02:00
sliptonic
2d64bfee4b Missing camoticsgui file in the CMakelists. 2022-06-22 09:02:42 -05:00
wmayer
41c7edc6d5 Base: add Const attribute to MatrixPy::inverse() 2022-06-22 13:49:11 +02:00
Roy-043
8559de5dda Draft: Fix Placement in make_sketch 2022-06-22 12:11:47 +02:00
marioalexis
adfac77e61 Base: Add function to get Python object types for SWIG interfaces 2022-06-21 21:01:37 -04:00
luzpaz
3a9caa928c Stylesheets: fix typos
[skip ci]
2022-06-21 20:39:01 -04:00
Chris Hennes
abda78ec74 Part: Add ShapeFix.hxx to precompiled header 2022-06-21 12:59:56 -05:00
sliptonic
264a198080 UI fixes 2022-06-21 10:36:12 -05:00
Kuzemko Alexsandr
bd7d4273f3 Crowdin Add Material to updatets.py script and create new Material.ts 2022-06-21 17:45:25 +03:00
Kuzemko Alexsandr
0b2356ba04 Add missing file. 2022-06-21 17:35:36 +03:00
Kuzemko Alexsandr
b99ccc6193 Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
Kuzemko Alexsandr
648b97e283 Crowdin Add no-sort option to lupdate. 2022-06-21 17:29:22 +03:00
Kuzemko Alexsandr
a858de0046 Crowdin Add Inspection WB to updatets.py script 2022-06-21 17:28:40 +03:00
Kuzemko Alexsandr
547bd689c6 Inspection Add more translation texts. 2022-06-21 17:22:15 +03: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