Commit Graph

1074 Commits

Author SHA1 Message Date
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
8b45976c8d py3: Part: Gui: gathering commits from python3-branch 2017-03-01 17:16:55 +01:00
looooo
69828c2662 py3: Part: BOPTools:
to make the BOPTools available in python3 the way to import these tools had to be changed:
old: ```from Part import BOPTools``` -> new: ```import BOPTools```
this is also changed for python2
2017-03-01 17:12:49 +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
AjinkyaDahale
2ecacef35e Sketcher: fix issue #0002788 2017-02-27 10:34:16 +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
97c9174840 fix various warnings 2017-02-21 22:51:26 +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
Jean-Marie Verdun
4a3252e445 Fix Face color display issue with Vbo turned on 2017-02-20 18:54:07 +01:00
wmayer
399cdd803a use Coin API to deal with vbo and add methods to cleanup GL resources on destruction 2017-02-20 13:16:30 +01:00
wmayer
448ac27e56 fix crash in uIso of Sphere 2017-02-19 20:36:40 +01:00
wmayer
c1c4a90411 move vbo handling to private class 2017-02-19 19:40:37 +01:00
wmayer
845d6766f9 implement tearDown to close document 2017-02-18 21:34:19 +01:00
looooo
48f9987172 part: bspline: tests use copy instead of deepcopy 2017-02-18 21:20:59 +01:00
looooo
2b35bb3ae3 part: bspline: tests 2017-02-18 21:20:59 +01:00
Bernd Hahnebach
4169e94b69 Part: code formating, white spaces 2017-02-18 15:57:54 +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
Bernd Hahnebach
ba9e342633 Part: compound filter, icon 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
wmayer
27fd215e1c add methods to convert a curve to a B-Spline or NURBS 2017-02-13 10:38:09 +01:00
wmayer
69e027a607 fix rendering problems by using the cache context 2017-02-12 14:41:55 +01:00
wmayer
6d6fbdcd8d implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer
0700345049 make vboAvailable a static variable and extend interface of renderShape to avoid side effects 2017-02-12 14:41:55 +01:00
wmayer
8612c4f99f write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer
56ff88ea46 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
wmayer
968a597aa7 get VBO support for SoBrepFaceSet working on Windows 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun
8383f7222f Accelerate 3D rendering with VBO support
*First step to move Part rendering using VBO instead of direct rendering
*Update comments inside the code
*Assume VBO is available if OpenGL > 3.0 is detected
*Add initial Color support to VBO rendering !
*Initial full feature VBO rendering implementation
*Modify some include issue for linux build
*Try to fix linux include header
*Reupdate header include for linux support
*Fix compilation on linux
*Fix linux and MacoOS build
*Fix glGetString definition
*Fix Windows build
*Add VBO support as an option into the Preference menu
*Fix crash while running FreeCAD test bench with new VBO rendering infrastructure (in both cases)
*Improve performances
*Compute material index only when a VBO update is required (improve frame rate by 10%)
*Clean the code
*Fix Travis compilation warning
*Try to fix Windows compilation issue
*Update include for Windows
2017-02-12 14:41:55 +01:00
Yorik van Havre
d7ed8c4383 Part: Set per-face transparency in boolean ops - fixes #1029,#2806 2017-02-10 21:53:57 -02:00
wmayer
81c3bc6ef5 make new Part.Line behaviour the default 2017-02-09 21:47:25 +01:00
Alexander Gryson
64b36a2801 Update Metadata 2017-02-07 10:50:00 -02:00
Alexander Gryson
5965f48867 Align Part workbench icons to guidelines 2017-02-07 10:50:00 -02:00
wmayer
6b0a0ff9c7 issue #0001935 2017-02-05 19:00:45 +01:00
wwmayer
c014fe17d8 Merge pull request #460 from realthunder/PathArea
Added Path.Area and Path::FeatureArea
2017-02-04 11:36:21 +01:00
wmayer
1afa150585 raise error if parameters of ellipse are invalid 2017-02-02 15:52:28 +01:00
Zheng, Lei
79a261e868 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +08:00
wmayer
0955ccf594 fix whitespaces 2017-01-20 19:22:50 +01:00
wmayer
7a3c8d0a81 make indexes of GeomBSplineCurve consistent to OCC API 2017-01-20 18:49:59 +01:00