Chris Hennes
fa65438556
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
wmayer
5f3c6b6d1a
Part: fix BSplineCurve2dPy::insertKnot
2023-11-24 15:06:00 +01:00
tomate44
207bcfa80d
Part : fix edge creation of Geom2d curves
2023-11-20 12:35:09 +01:00
wmayer
fe82b737e8
Part: format XML files
2023-10-28 22:45:15 +02:00
luzpaz
274b05cf2d
Part: remove leftover comment markup
...
Closes #10731
2023-09-22 15:56:22 +02:00
wmayer
b081bb05f7
Part: when replacing PyArg_ParseTupleAndKeywords with Base::Wrapped_ParseTupleAndKeywords then in a few cases the negation of the expression has been removed.
...
See also: https://forum.freecad.org/viewtopic.php?t=80958
2023-09-06 11:53:56 +02:00
Chris Hennes
0e8be10b90
Part: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05:00
wmayer
312975edba
Part: modernize C++: use range-based for loop
2023-08-16 21:56:32 -05:00
wmayer
0af4990817
modernize C++: make unique
2023-08-07 19:51:30 -06:00
wmayer
899932cec0
Part/PD: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
luz paz
6e542b6fad
Part: remove trailing whitespace
2022-11-15 14:19:30 -06:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
f34a814ead
Part: replace PyObject_Not with Base::asBoolean
2022-07-16 14:10:34 +02:00
wmayer
8ae3185e3b
Part: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 13:31:10 +02:00
Uwe
162a39fb8c
[Part] Geom2d*: add more necessary includes
...
- these gp_* inlcudes are weird
2022-07-09 18:43:18 +02:00
Uwe
3c369285ce
[Part] Geom2d*: add more necessary includes
2022-07-09 18:28:36 +02:00
Uwe
fc96cee7d5
[Part] Geom2d*: add necessary includes
2022-07-09 18:15:02 +02:00
Uwe
53d67a537a
[Part] Geom2d: remove unneeded includes
...
- also sort includes
2022-07-09 17:57:53 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
marioalexis
ad0f1147f7
Part: Use PyObject_IsTrue in combination with conditional ternary operator
2022-06-22 19:50:03 -04:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
3dc91fa2b8
Part: expose Geom2dCircle::getCircleCenter to Python and fix a regression
2022-02-05 16:07:00 +01:00
wmayer
0c933ac70a
Part: use of factory method of Vector2dPy
2021-11-14 18:19:34 +01:00
luz paz
c69f245d6f
Part: remove py2 code
2021-04-25 11:29:35 +02:00
wmayer
a6c55acdb1
Part: improve Python interface
...
+ rename getCurve2dFromGeom2d to makeFromCurve2d
+ add function makeFromCurve and makeFromTrimmedCurve like makeFromSurface
+ implement OffsetCurve.BasisCurve
+ fix memory leak in BRepOffsetAPI_MakePipeShellPy
2020-09-27 23:34:45 +02:00
tomate44
2ea94bee60
Part.Curve2d : adjust parameters
2020-08-24 16:09:54 +02:00
tomate44
f504152917
Part.Curve2d : fix for toShape sometimes generating wrong BSpline curves
2020-08-24 16:09:54 +02:00
wmayer
0f18bdeb72
PVS: V524 It is odd that the body of 'getLastUKnotIndex' function is fully equivalent to the body of 'getFirstUKnotIndex' function
2020-07-18 10:59:27 +02:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
luz.paz
e04ba4e4a1
Add some more user-facing typo fixes
2019-03-22 10:44:14 -03:00
wmayer
90c80f83fd
PVS: V522 There might be dereferencing of a potential null pointer 'Py::Vector2d().getCxxObject()'
2019-02-18 00:00:10 +01:00
luz.paz
26750deb07
Documentation: uniformity
2019-01-30 11:08:03 -02:00
tomate44
9ea523a9e0
fix intersectCC method missing some intersection points for Geom2d curves
2019-01-03 12:33:58 +01:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
840c9e8b3c
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
luzpaz
706141b967
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
18f723cb03
use specialized Python exception classes
2017-04-28 19:33:51 +02:00
Peter Lama
a75a98ef27
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
looooo
a388a9d72d
py3: Part: App: gathering commits relevant for Mod/Part/App
2017-03-01 17:10:46 +01:00
wmayer
b32c102f0f
add missing header files for Linux build
2017-02-24 15:07:31 +01:00
wmayer
1073d06ef5
if possible then keep canonical curve and avoid to get a B-spline
2017-02-24 12:32:06 +01:00
wmayer
2dcbba9c33
call BRepLib::BuildCurves3d after mapping a 2d curve onto a surface to correctly create a 3d curve
2017-02-24 09:42:54 +01:00
wmayer
64912a59cc
allow to pass also a face to Curve2d.toShape
2017-02-23 21:31:03 +01:00
Zheng, Lei
4a0e037893
Part: export Part::shape2pyshape
2017-01-19 23:05:30 +08:00
wmayer
a68c204bb0
fix CID 154895
2016-12-18 11:32:45 +01:00
wmayer
6cde253f67
fix warnings
2016-12-04 17:04:48 +01:00
wmayer
04668901ea
code optimization
2016-12-03 22:27:07 +01:00
wmayer
428f099aaf
implement BSplineCurve2d
2016-12-03 22:17:04 +01:00
wmayer
3941fc4cea
implement BezierCurve2d
2016-12-03 18:23:55 +01:00