Commit Graph

31 Commits

Author SHA1 Message Date
Jacob Oursland
5c251e73ac python: apply const method annotations to impls. 2025-04-16 20:32:04 -07:00
Chris Hennes
cfd41683a5 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
tomate44
810da3db88 Part : fix edge creation of Geom2d curves 2023-11-20 12:35:09 +01:00
Chris Hennes
068b39092c Part: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
luz paz
2f1ff7928b Part: remove trailing whitespace 2022-11-15 14:19:30 -06:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
c97236a503 [Part] Geom2d: remove unneeded includes
- also sort includes
2022-07-09 17:57:53 +02:00
wmayer
6d2d45ceb7 Part: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
69fd6d35ec Part: use of factory method of Vector2dPy 2021-11-14 18:19:34 +01:00
tomate44
6a1758a867 Part.Curve2d : adjust parameters 2020-08-24 16:09:54 +02:00
tomate44
5ab8ec1c26 Part.Curve2d : fix for toShape sometimes generating wrong BSpline curves 2020-08-24 16:09:54 +02:00
wmayer
5d8cd9dba4 PVS: V522 There might be dereferencing of a potential null pointer 'Py::Vector2d().getCxxObject()' 2019-02-18 00:00:10 +01:00
tomate44
990e202a5e fix intersectCC method missing some intersection points for Geom2d curves 2019-01-03 12:33:58 +01:00
luzpaz
cc87c20afe 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
0d617f97d6 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
800526836a use specialized Python exception classes 2017-04-28 19:33:51 +02:00
Peter Lama
fa4bebf2e0 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
wmayer
0535817033 add missing header files for Linux build 2017-02-24 15:07:31 +01:00
wmayer
1fa57c3d22 if possible then keep canonical curve and avoid to get a B-spline 2017-02-24 12:32:06 +01:00
wmayer
1a39dba72e 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
303bbd250e allow to pass also a face to Curve2d.toShape 2017-02-23 21:31:03 +01:00
Zheng, Lei
3bf3bd5cee Part: export Part::shape2pyshape 2017-01-19 23:05:30 +08:00
wmayer
8afd7dc231 fix CID 154895 2016-12-18 11:32:45 +01:00
wmayer
17d6d739e6 fix warnings 2016-12-04 17:04:48 +01:00
wmayer
f56a570e9a code optimization 2016-12-03 22:27:07 +01:00
wmayer
5551f9c3d2 implement Curve2d 2016-12-03 11:01:44 +01:00
wmayer
86b99e55dc add method to extract pcurve from an edge 2016-11-26 19:28:06 +01:00
wmayer
14228c5f2c implement ArcOfConic2d and ArcOfCircle2d 2016-11-25 10:07:55 +01:00
wmayer
dc23e23acd implement Circle2d 2016-11-24 23:45:05 +01:00
wmayer
1b406d3a97 implement Conic2d and Parabola2d 2016-11-24 21:16:32 +01:00
wmayer
78a6da83b0 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00