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
wmayer
fdff852950
+ Fix curve and surface property methods of topo edge and face
2013-11-05 12:16:57 +01:00
jriegel
0738ced074
Fixed python format flags "f" from float to double "d"
2013-09-24 11:01:04 +02:00
jriegel
664c1d4862
Integrate Werners & Jans double branch
...
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
fe9da93c9c
Fix in returning correct surface from face
2013-06-17 11:44:23 +02:00
wmayer
b97266a341
#0001143 : Boolean Cut Fails with Extruded Shapestring
2013-06-13 12:14:24 +02:00
wmayer
288f2f6476
Fix compile error with OCC 6.5.x
2013-02-19 17:38:43 +01:00
jriegel
bbac07e846
Fix for TopoShapeFacePyImp.cpp for older OCC versions
2013-02-17 15:44:49 +01:00
wmayer
0abef4d4e3
Mesh analyzing algorithms
2013-02-17 08:28:01 +01:00
wmayer
7408cc7589
0000919: Crash on upgrade from wire to face
2012-12-20 15:19:16 +01:00
wmayer
b0b2509457
Add Face.OuterWire and mark Face.Wire as deprecated
2012-11-26 10:05:50 +01:00
wmayer
c1886bf24d
Fix crash in TopoShapeface.getWire()
2012-03-28 15:07:28 +02:00
wmayer
7feebeb5a2
+ attribute Tolerance added to vertex, edge and face
...
+ method 'add' added to wire
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5401 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-12 12:09:45 +00:00
wmayer
52d65e2085
+ port to OCC 6.5.2
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5318 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 12:58:47 +00:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00