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
122ab14d92
Part: add functions to return the number of nodes and triangles of a tessellation
2023-04-11 13:34:44 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
8ae3185e3b
Part: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 13:31:10 +02:00
Uwe
74d582617c
[Part] TopoShapeFacePyImp.cpp: add includes needed by the CI compiler
2022-07-03 18:16:27 +02:00
Uwe
8e9b359928
[Part] Topo*: remove unneeded includes
...
- also sort includes
2022-07-03 17:41:42 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
wmayer
f87d9bd626
Part: [skip ci] remove superfluous const_cast
2022-06-24 16:10:09 +02:00
wmayer
fb1f4433c6
Part: [skip ci] use Py::None()
2022-04-08 10:58:10 +02:00
0penBrain
760237c8f7
[CrashFix] Core: fix crash when Surface is null
2022-04-08 10:55:31 +02:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
d69defaa3c
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
marioalexis
7b23f6793c
Part: Use Tools::getNormal to compute normal to surface
2022-01-20 13:01:27 +01:00
wmayer
a05cd50fa5
Part: add exception handling to Face.makeEvolved/Wire.makeEvolved
2021-11-30 20:04:31 +01:00
wmayer
5018af974c
Part: implement Part.Wire.makeEvolved and Part.Face.makeEvolved
2021-11-30 18:17:29 +01:00
wmayer
74639da997
OCCT: port FreeCAD sources to version 7.6
...
SMESH is not yet ported
Although FreeCAD code compiles with OCCT 7.6 it doesn't work at the moment
2021-10-09 13:49:02 +02:00
wmayer
4e4068e44f
Py: fix memory leak
2021-04-09 16:59:33 +02:00
wmayer
1062b6ee0f
Part: [skip ci] allow to create empty shapes of each type
2020-10-16 17:08:49 +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
wmayer
7616153b3c
Part: add method to add a wire (e.g. to create a hole) to a face
2020-09-25 16:00:01 +02:00
luz.paz
53bb216b57
Part: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all Part WB files
2019-12-22 00:59:47 +01:00
Abdullah Tahiri
a56658489b
Part: Make 3rd party libraries into PCH
2019-05-02 07:09:22 +02:00
wmayer
43bdef67d6
continue PCH on Part module
2019-05-01 16:10:38 +02:00
tomate44
fe56e51e08
add a python method to cut holes in a Part.Face, from a list of wires
2019-04-29 12:33:43 -03:00
wmayer
dedaa80762
fixes 0003771: Memory leak in Part.Face.Surface
2019-01-23 22:38:51 +01:00
wmayer
e02695b91f
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
wmayer
07eea2e3a6
remove ambiguous function setTolerance, use Tolerance attribute instead
2018-08-19 14:31:04 +02:00
wmayer
840c9e8b3c
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
wmayer
e6e4710ae3
remove SetMinTolerance as suggested by PR 1240
2018-01-21 18:17:45 +01:00
tomate44
33f334049f
tolerance fix in TopoFace.validate()
2018-01-21 12:25:14 +01:00
wmayer
95fbd8a099
add method to get u,v nodes of the tessellation of a face
...
add method to get the nodes of the tessellation of an edge
2018-01-14 15:52:08 +01:00
wmayer
6a785f9afd
fixes #0003262 : normal vector returned by Face.normalAt(u,v) is not always a unit vector
2017-12-09 13:33:30 +01: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
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
wmayer
d3e0f03650
add method to extract pcurve from an edge
2016-11-26 19:28:06 +01:00
wmayer
c99943f822
support creating Face from support face or surface and outer wire
2016-11-18 15:25:15 +01:00
DeepSOIC
7b70711fb3
Part: FaceMaker: check if instance is actually created.
...
Part::FaceMaker::ConstructFromType() could return null pointer if
abstract class type is supplied.
Here, it is fixed by checking for null pointer in facemaker itself,
rather than in every place ConstructFromType is being used.
2016-10-04 10:03:19 +02:00
wmayer
c833136cde
handle possible crashes with FaceMaker and fix a few coding flaws
2016-10-02 14:47:59 +02:00
DeepSOIC
1757f70cdf
Part: Py API: add methods to use FaceMakers
...
* new Part.Shape.Face() constructor footprints with facemaker class
supplied as string mane of C++ class.
* add Part.makeFace method that uses facemaker.
2016-10-01 23:13:44 +03:00
wmayer
1ce73dda96
fix -Wextra in Part
2016-09-22 11:49:28 +02:00
wmayer
e8b36592c0
fix Coverity issues
2016-08-21 18:46:40 +02:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
wmayer
bca7a1866e
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wmayer
c21888af6c
+ issue #0002542 : Part.Wire.makeoffset() doesn't handle circles correctly.
2016-05-12 19:03:23 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
1a12d109e9
+ fix strict-aliasing warnings
2015-08-29 19:48:08 +02:00
wmayer
5ff38ba7d5
+ add methods to get GProps from curves and surfaces
2015-03-22 18:39:49 +01:00
Sebastian Hoogen
5e51a6cdf7
fixes #0001422 : Subclass Exception
...
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
80cc2e4710
+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX
2014-07-18 14:51:54 +02:00