Commit Graph

727 Commits

Author SHA1 Message Date
Abdullah Tahiri
6301b814ee Part: GeomBSpline enable direct construction from parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
298e962d26 Part: GeomBSplineCurve extension to get, increase or reduce multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
8199b685a7 Part: Geometry - Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
0cf81e2d1f Part: Geometry add support for getting the number of knots in a B-Spline 2017-04-08 12:58:06 +02:00
wmayer
59682f31a7 add methods firstVertex and lastVertex to TopoEdge 2017-04-04 10:05:46 +02:00
tomate44
bcd2a0f394 add doc and a couple of new methods to MakePipeShell 2017-03-29 19:47:52 +02:00
AjinkyaDahale
65342e53e7 Fixed Typos 2017-03-19 18:09:15 -03:00
tomate44
645dc7d2ba in approximate, don't autocorrect continuity. Explain requirements in UserDocu instead 2017-03-18 19:01:45 +01:00
tomate44
8da5ea5e2d BSplineSurface approximate, add parametrization type and smoothing algo 2017-03-18 19:01:45 +01:00
tomate44
395cb9836b BSplineCurve approximate, fix function sometime failing with smoothing algo 2017-03-18 19:01:45 +01:00
wmayer
63943e4bb8 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
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
wmayer
3d6fc352c5 do code cleanup
move BOPTools from Part to PartGui because it depends on GUI
2017-03-01 21:58:04 +01:00
looooo
275db827aa py3: Part: App: gathering commits relevant for Mod/Part/App 2017-03-01 17:10:46 +01:00
wmayer
d5e9afa52b py3: ported Part to python3 2017-03-01 16:38:53 +01:00
hgutsche
201c9d89b0 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
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
wmayer
a0aa4fdfef 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
49fe51910c Part: Add support for reversing a geomcurve 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
194dcae963 Sketcher: BSpline Increase Degree tool 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
08a79d7146 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
45232cd0fa fix crash in uIso of Sphere 2017-02-19 20:36:40 +01:00
Bernd Hahnebach
9c965137b1 Part: compound filter, GUI command 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
8f900945ab Part: compound filter, core module 2017-02-18 15:57:54 +01:00
wmayer
babc62fc93 improve exception handling in BSplineCurvePy class 2017-02-18 12:53:36 +01:00
wmayer
3db2feadb6 clear error state when creating spline 2017-02-18 12:30:00 +01:00
wmayer
8c5d7b7386 implement toNurbs for ellipse 2017-02-17 18:43:20 +01:00
wmayer
9baa5e9791 implement NURBS converson of circle 2017-02-13 15:13:35 +01:00
wmayer
becdede5c0 add methods to convert a curve to a B-Spline or NURBS 2017-02-13 10:38:09 +01:00
wmayer
c19dd8b4c7 make new Part.Line behaviour the default 2017-02-09 21:47:25 +01:00
wmayer
6da95687e0 issue #0001935 2017-02-05 19:00:45 +01:00
wwmayer
47aaf4e6fa Merge pull request #460 from realthunder/PathArea
Added Path.Area and Path::FeatureArea
2017-02-04 11:36:21 +01:00
wmayer
e54bd64afa raise error if parameters of ellipse are invalid 2017-02-02 15:52:28 +01:00
Zheng, Lei
17e6b709e7 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +08:00
wmayer
d065c2fe5b fix whitespaces 2017-01-20 19:22:50 +01:00
wmayer
a3e30b8ca7 make indexes of GeomBSplineCurve consistent to OCC API 2017-01-20 18:49:59 +01:00
wmayer
7017a847f1 in geometry classes raise RuntimeError instead of basic exception type 2017-01-20 18:09:02 +01:00
wwmayer
edec0b62af Merge pull request #447 from abdullahtahiriyo/bspline_2017
Bspline 2017
2017-01-20 17:34:01 +01:00
wmayer
5ba9056af1 spend own type for Python wrappers of FeaturePrimitive and BodyBase 2017-01-20 15:42:50 +01:00
wmayer
bdd49f2ad5 issue #0002867: AttachExtension crash 2017-01-20 13:17:11 +01:00
Zheng, Lei
c9a9691fa9 Part: fixed missing export declare of sort_Edges 2017-01-20 18:30:56 +08:00
Zheng, Lei
a1a8645ea9 Part: exported Part::sort_Edges
Fixed export of Part::shape2pyshape
2017-01-20 17:46:47 +08:00
Zheng, Lei
3bf3bd5cee Part: export Part::shape2pyshape 2017-01-19 23:05:30 +08:00
abdullahtahiriyo
8d9af6f203 Merge branch 'master' into bspline_2017 2017-01-18 22:48:27 +01:00
Abdullah Tahiri
43f2940262 Part: BSpline creation method corrected as per Werner's indication
==================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=19700
2017-01-12 22:44:07 +01:00
Abdullah Tahiri
b0dc19eca9 Part: Fixes triggered by Werner's comments on my branch 2017-01-10 20:05:18 +01:00