Abdullah Tahiri
0a32b91b6b
Convert OCC exceptions into Base::Runtime exceptions for App:DocumentObject handling
2017-04-28 15:46:49 +02:00
Abdullah Tahiri
e3b47cac97
Correct copy-paste typos in exception throwing
2017-04-28 15:46:30 +02:00
Abdullah Tahiri
9cfca05c90
Change all exceptions thrown within AttachExtension::positionBySupport from Base::Exception to a meaningful derivative
2017-04-28 15:46:13 +02:00
Abdullah Tahiri
c3eb3e7fc7
Part Design: Allow attachment error messages and error setting propagation
2017-04-28 15:45:54 +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
Abdullah Tahiri
f6126ba9c0
Part: hiding tag handling functions as protected until a need for them is clear
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7e37d469da
Part: Modify python copy to use c++ copy() instead of clone()
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
c3c670e162
Part: Geometry refactoring copy/clone
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7685823ecd
Part: Geometry assignTag function
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
9382de15a9
Part: Geometry creation of copy method to distinguish from clone
2017-04-10 08:57:25 +02:00
Ian Rees
9ac1994a8f
Improve Python docstrings in Part and MeshPart
2017-04-09 12:00:24 +12:00
wmayer
ce68a5b9dd
expose Geometry::getTag to Python
2017-04-08 16:56:59 +02:00
wmayer
497728a6d2
add method to create new tag id
2017-04-08 13:31:28 +02:00
wmayer
16e09ea01c
fix warning of unused variable
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
99d64ff33f
Part: Geometry - implement missing setHandle functions and refactoring
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
9580440d31
Part: Add unique identifier to Geometry
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
f6dc312681
Part: Fixing signed vs unsigned warning
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d825c4cb61
Part: BSplineCurve Python creation change for greater flexibility
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e34788b6fc
Part: GeomBSpline enable direct construction from parameters
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ca48841b8c
Part: GeomBSplineCurve extension to get, increase or reduce multiplicity
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ea99ba5897
Part: Geometry - Ensure that no point is set as construction by mistake/user mistake
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
409cbb7199
Part: Geometry add support for getting the number of knots in a B-Spline
2017-04-08 12:58:06 +02:00
wmayer
d7d7aa238f
add methods firstVertex and lastVertex to TopoEdge
2017-04-04 10:05:46 +02:00
tomate44
3b6020cda8
add doc and a couple of new methods to MakePipeShell
2017-03-29 19:47:52 +02:00
AjinkyaDahale
b60fe48564
Fixed Typos
2017-03-19 18:09:15 -03:00
tomate44
3e195d5d94
in approximate, don't autocorrect continuity. Explain requirements in UserDocu instead
2017-03-18 19:01:45 +01:00
tomate44
fedbf42e9c
BSplineSurface approximate, add parametrization type and smoothing algo
2017-03-18 19:01:45 +01:00
tomate44
281e5935fb
BSplineCurve approximate, fix function sometime failing with smoothing algo
2017-03-18 19:01:45 +01:00
wmayer
35e8edeb08
extend interface to get actual property with geometric data, get center of gravity of a geometry
2017-03-05 18:05:11 +01:00
Kunda
99c99006b8
source typo fixes pt4 (only on py3 merged code)
2017-03-02 13:47:21 +01:00
Ian Rees
ac9f475702
Clean up clang inconsistent override warnings.
2017-03-01 22:00:41 +01:00
wmayer
02fb687844
do code cleanup
...
move BOPTools from Part to PartGui because it depends on GUI
2017-03-01 21:58:04 +01:00
looooo
a388a9d72d
py3: Part: App: gathering commits relevant for Mod/Part/App
2017-03-01 17:10:46 +01:00
wmayer
ed23c0d3c4
py3: ported Part to python3
2017-03-01 16:38:53 +01:00
hgutsche
de8f66f857
Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows
2017-02-28 18:52:04 +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
wmayer
f2dc8c5d31
Some fixes of pr 538
...
fix -Wreturn-type
homogenous naming style
use official spelling of B-spline
2017-02-21 13:30:43 +01:00
Abdullah Tahiri
f291942d45
Part: Add support for reversing a geomcurve
2017-02-21 13:24:10 +01:00
Abdullah Tahiri
afd761041d
Sketcher: BSpline Increase Degree tool
2017-02-21 13:24:10 +01:00
Abdullah Tahiri
9c10b3219d
Part: Geometry functionality extension
...
======================================
Added for curves:
getFirstParameter
getLastParameter
curvatureAt
length
Modified:
normalAt(double u, Base::Vector3d& dir)
as it was not working properly.
2017-02-21 13:24:10 +01:00
wmayer
448ac27e56
fix crash in uIso of Sphere
2017-02-19 20:36:40 +01:00
Bernd Hahnebach
54bbd79b03
Part: compound filter, GUI command
2017-02-18 15:57:54 +01:00
Bernd Hahnebach
8369d68c8f
Part: compound filter, core module
2017-02-18 15:57:54 +01:00
wmayer
787b930a58
improve exception handling in BSplineCurvePy class
2017-02-18 12:53:36 +01:00
wmayer
72375db71b
clear error state when creating spline
2017-02-18 12:30:00 +01:00
wmayer
5cb17a6036
implement toNurbs for ellipse
2017-02-17 18:43:20 +01:00
wmayer
89925e21a3
implement NURBS converson of circle
2017-02-13 15:13:35 +01:00