Commit Graph

438 Commits

Author SHA1 Message Date
wmayer
d5e9afa52b py3: ported Part to python3 2017-03-01 16:38:53 +01:00
AjinkyaDahale
ba0d29716b Sketcher: fix issue #0002788 2017-02-27 10:34:16 +01:00
wmayer
67fc7130cf fix various warnings 2017-02-21 22:51:26 +01:00
Jean-Marie Verdun
ff595e0b27 Fix Face color display issue with Vbo turned on 2017-02-20 18:54:07 +01:00
wmayer
778e6f6e48 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
5ef6f8ba15 move vbo handling to private class 2017-02-19 19:40:37 +01:00
Bernd Hahnebach
0c445bd115 Part: code formating, white spaces 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
9c965137b1 Part: compound filter, GUI command 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
826ff0de85 Part: compound filter, icon 2017-02-18 15:57:54 +01:00
wmayer
34df08e1b7 fix rendering problems by using the cache context 2017-02-12 14:41:55 +01:00
wmayer
c2f1bab784 implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer
a48282071a make vboAvailable a static variable and extend interface of renderShape to avoid side effects 2017-02-12 14:41:55 +01:00
wmayer
fe15db6af3 write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer
4a0720dd00 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
wmayer
9da4da0ecd get VBO support for SoBrepFaceSet working on Windows 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun
44af3629db 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
bc6b3914cb Part: Set per-face transparency in boolean ops - fixes #1029,#2806 2017-02-10 21:53:57 -02:00
Alexander Gryson
3ed4fb86a2 Update Metadata 2017-02-07 10:50:00 -02:00
Alexander Gryson
1519aa69aa Align Part workbench icons to guidelines 2017-02-07 10:50:00 -02:00
brawaga
933ff7e764 Update Part_ru.ts
Added translations, corrected some existed for grammar, syntax or style.
2017-01-07 23:55:55 +08:00
wmayer
18738afc1e replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
Yorik van Havre
49c8d65bfe updated ts files 2016-12-26 12:36:24 -02:00
wmayer
7a5771a0f7 fix drag and drop of boolean operations 2016-12-21 11:39:26 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
5096f55ccb port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
aaef82e41e Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer
7eb6f1d795 PartGui: set export macro to fix linking errors in PartDesignGui 2016-12-08 10:33:47 +01:00
Stefan Tröger
619f367238 PartDesign: prevent double deletion of TempVis 2016-12-07 06:41:40 +01:00
Stefan Tröger
117ae4e6ab Port attachment UI to Part for general use
Furthermore change PartDesign primitives to use the new task dialog
2016-12-07 06:41:40 +01:00
wmayer
e33e133a32 fix bottleneck in creation of sketcher grid 2016-11-27 14:36:08 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
724fba5186 fix coverity issues 2016-11-20 17:11:32 +01:00
wmayer
e85aa31d76 use indexed map to avoid iterating a face twice in case of a compsolid 2016-11-17 15:40:22 +01:00
wmayer
8a93f7dbf2 issue #0002744: FR: check box to export STEP w/without pcurves 2016-10-22 19:44:11 +02:00
wmayer
677ec6cd30 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
da406cddb8 handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC
08307aa2e5 Part: Offset2D: rewrite to use FaceMaker
new features supported:
* fill offset in collective mode when result wires are closed
* offsetting faces in collective mode

Remaining TODOs:
- collective offset of open wires in "skin" mode
2016-10-01 23:13:44 +03:00
DeepSOIC
dae6e654a1 PartGui: Face: support not only sketches 2016-10-01 23:13:44 +03:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
7d38edb065 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer
947f9575de remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
e8554cc77a do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
wwmayer
f815a3face Merge pull request #271 from DeepSOIC/UIFixes
PartGui: fixes to Revolve and Extrude tasks
2016-09-02 17:30:32 +02:00
DeepSOIC
b9d09260c0 PartGui: Fixes and updates for Offset2D to task dialog
+ add expression support for offset value
2016-09-02 16:26:02 +02:00
DeepSOIC
84baea5d74 PartGui: add 2D Offset feature creation command
(made offset toolbar button into a dropdown button)

Icon for 2D offset was copied from Draft workbench.
2016-09-02 16:26:02 +02:00
DeepSOIC
50296e4096 Part: add Offset2D feature
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00
DeepSOIC
53e7a15df1 Part: Offset feature: split off into separate file
withdrew code from PartFeatures.h/.cpp and created FeatureOffset.h/.cpp
2016-09-02 16:26:02 +02:00
DeepSOIC
5fca7cf3df PartGui: task Extrude: fix remove selection gate on cancel 2016-09-02 15:05:30 +03:00
DeepSOIC
537b2e3ed5 PartGui: fixes to Revolve and Extrude tasks by @f3nix
fixes layout issues on KDE of Part Extrude and Part Revolve task dialogs
2016-09-02 12:03:21 +03:00