wmayer
9aa6a700d8
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
wmayer
5a380af1d7
remove ambiguous function setTolerance, use Tolerance attribute instead
2018-08-19 14:31:04 +02:00
wmayer
99ec96acd5
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
wmayer
9b28d1e226
remove SetMinTolerance as suggested by PR 1240
2018-01-21 18:17:45 +01:00
tomate44
31ce28aa0d
tolerance fix in TopoFace.validate()
2018-01-21 12:25:14 +01:00
wmayer
9980b74816
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
c5847cf918
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
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
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
86b99e55dc
add method to extract pcurve from an edge
2016-11-26 19:28:06 +01:00
wmayer
7b05dddf40
support creating Face from support face or surface and outer wire
2016-11-18 15:25:15 +01:00
DeepSOIC
115c7e4f88
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
da406cddb8
handle possible crashes with FaceMaker and fix a few coding flaws
2016-10-02 14:47:59 +02:00
DeepSOIC
585fc856bc
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
7d38edb065
fix -Wextra in Part
2016-09-22 11:49:28 +02:00
wmayer
c2dd2e2b99
fix Coverity issues
2016-08-21 18:46:40 +02:00
Wolfgang E. Sanyer
d1d2f1f811
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
wmayer
cb73d010bb
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wmayer
858b9bf3b9
+ issue #0002542 : Part.Wire.makeoffset() doesn't handle circles correctly.
2016-05-12 19:03:23 +02:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
c1f96b20b1
+ fix strict-aliasing warnings
2015-08-29 19:48:08 +02:00
wmayer
897591f765
+ add methods to get GProps from curves and surfaces
2015-03-22 18:39:49 +01:00
Sebastian Hoogen
af50cbf964
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
2ecdf001a4
+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX
2014-07-18 14:51:54 +02:00
wmayer
4d653a2f17
+ Fix curve and surface property methods of topo edge and face
2013-11-05 12:16:57 +01:00
jriegel
4d9da9c0c1
Fixed python format flags "f" from float to double "d"
2013-09-24 11:01:04 +02:00
jriegel
00ea24e07e
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
43a465f006
Fix in returning correct surface from face
2013-06-17 11:44:23 +02:00
wmayer
f857f99413
#0001143 : Boolean Cut Fails with Extruded Shapestring
2013-06-13 12:14:24 +02:00
wmayer
14d0fc4d88
Fix compile error with OCC 6.5.x
2013-02-19 17:38:43 +01:00
jriegel
9882c15ea5
Fix for TopoShapeFacePyImp.cpp for older OCC versions
2013-02-17 15:44:49 +01:00
wmayer
bdd41c40a0
Mesh analyzing algorithms
2013-02-17 08:28:01 +01:00
wmayer
90bdf1d3bd
0000919: Crash on upgrade from wire to face
2012-12-20 15:19:16 +01:00
wmayer
53413d15e4
Add Face.OuterWire and mark Face.Wire as deprecated
2012-11-26 10:05:50 +01:00
wmayer
2c3afd958f
Fix crash in TopoShapeface.getWire()
2012-03-28 15:07:28 +02:00
wmayer
5c23a97737
+ 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