Commit Graph

11379 Commits

Author SHA1 Message Date
wmayer
19d55fa227 fix issues in CoordinateSystem class and expose to Python 2017-06-20 21:22:59 +02:00
looooo
dccb0abf07 py3: arch: fix tests
issue 0000995
2017-06-20 12:18:01 +02:00
looooo
6ae56b491f draft: move translation to DraftGui
otherwiser there are some strange ImportEroors.
2017-06-20 12:18:01 +02:00
looooo
10866d38d3 py3: Draft: string / unicode:
issue 0000995
- use optional argument to get unicode from translation in python2
- add a utf8_decode function to get unicode from string, bytes, unicode
2017-06-20 12:18:01 +02:00
wmayer
0f199064f3 only change view provider stuff when GUI is up 2017-06-20 12:16:05 +02:00
Bernd Hahnebach
c3817d2e17 FEM: gmsh mesh tools, fix highorderoptimize 2017-06-20 07:14:44 +02:00
Bernd Hahnebach
5a5611f5be FEM: mesh tools, code formating 2017-06-20 07:07:38 +02:00
wmayer
0ef4f25bc5 do not let unit test for revolution fail if refinement option is on 2017-06-19 21:09:43 +02:00
wmayer
376b841623 add type 'long' to expected types list in scale and scaleTo 2017-06-19 19:19:17 +02:00
wmayer
feaaf452fb Qt5: set color to progress bar using style sheet 2017-06-19 18:54:25 +02:00
wmayer
90653787a6 various fixes:
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00
Stefan Tröger
fe8e69f122 Add missing header for random numbers 2017-06-19 15:37:09 +02:00
Stefan Tröger
1ee7f94d3f DependencyGraph: Ensure OriginFeatures get in the correct subgraph 2017-06-19 15:37:09 +02:00
Stefan Tröger
fd0d3f1a39 Revert link integrity checks in properties
The DAG test is not needed anymore as the relevant functions are non-DAG save now, and the other check will be moved to the recompute as it is not efficient or save to do it in the links itself.
2017-06-19 15:37:09 +02:00
Stefan Tröger
4b3fb99bf0 GeoFeatureGroup: Make link collection non-DAG save 2017-06-19 15:37:09 +02:00
Stefan Tröger
2e2c12219b Partially fix PartDesign move test 2017-06-19 15:37:09 +02:00
Stefan Tröger
b4c43df312 Allow add/remove multiple objects in a group 2017-06-19 15:37:09 +02:00
Stefan Tröger
1d10dd2835 Extend python interface for groups and fix test cases 2017-06-19 15:37:09 +02:00
Stefan Tröger
e5c1f2bc70 Fix undo/redo while checking link integrity 2017-06-19 15:37:09 +02:00
Stefan Tröger
2d3c655ced Group tests and fixes 2017-06-19 15:37:09 +02:00
Stefan Tröger
a1d9622eb5 Links ensure uncyclic graph and correct groups 2017-06-19 15:37:09 +02:00
Stefan Tröger
94082a2f73 Group: ensure single group only 2017-06-19 15:37:09 +02:00
Stefan Tröger
ebef8576a6 Parent groups are irelevant, not only parent geofeaturegroups 2017-06-19 15:37:09 +02:00
Stefan Tröger
601d9bd8e3 Drag&Drop: Tree is responsible for undo/redo
The user expects to undo the drag and drop action with a single click (as it happens with a single drag&drop action). Hence the command must be handled by the tree, not the viewproviders.
2017-06-19 15:37:09 +02:00
Stefan Tröger
ec5e3b9e0a Fix collecting of cs relevant links 2017-06-19 15:37:09 +02:00
Stefan Tröger
ce9a078584 GeoFeatureGroup: Handle drag into document 2017-06-19 15:37:09 +02:00
Stefan Tröger
2939f290ad Groups: Handle add and remove object correctly 2017-06-19 15:37:09 +02:00
Stefan Tröger
538853e5f4 GeoFeatureGroup: add object adds relevant links 2017-06-19 15:37:09 +02:00
Stefan Tröger
fd62ef30f3 Unify and fix group handling in geofeaturegroups 2017-06-19 15:37:09 +02:00
Stefan Tröger
c3a9d43143 DependencyGraph: grouping & unflatten is optional
Property group "User parameter:BaseApp/Preferences/DependencyGraph" has two booleans to enable subgraphing and unflatten (by default on): "Unflatten", "GeoFeatureSubgraphs"
2017-06-19 15:37:09 +02:00
Stefan Tröger
f3f1706c9f DependencyGraph: Fix colors and unflatten 2017-06-19 15:37:09 +02:00
Stefan Tröger
07f464dd60 DependencyGraph: Add colors to coordinate systems 2017-06-19 15:37:09 +02:00
Stefan Tröger
7aac49bc04 DependencyGraph: Subgraphs are identified by label 2017-06-19 15:37:09 +02:00
Stefan Tröger
4ab23fcb87 DependencyGraph: Add unflatten step 2017-06-19 15:37:09 +02:00
Stefan Tröger
2e64d043d0 DependencyGraph: Show origins correctly 2017-06-19 15:37:09 +02:00
Stefan Tröger
b230d3c962 DependencyGraph: Show GeoFeatureGroups as subgraph. fixes #0002142 2017-06-19 15:37:09 +02:00
Stefan Tröger
c0ed607561 Consistently name origins 2017-06-19 15:37:09 +02:00
Stefan Tröger
8a4821f8fc Sketcher: Use correct global placements 2017-06-19 15:37:09 +02:00
Stefan Tröger
61020c0b27 Introduce global placement calculations 2017-06-19 15:37:09 +02:00
Stefan Tröger
d5022483c6 Fix drag&drop of geofeature groups. fixes #0002835 fixes #0002796 2017-06-19 15:37:09 +02:00
wmayer
def4152640 fix bug with multiple object names in selection view when selecting in tree view 2017-06-19 14:59:32 +02:00
wmayer
a5a04e359c fix bug in pr774, improve whitespaces 2017-06-19 13:32:27 +02:00
Alexander Lin
b05c9393df Fix 'shrink curve' misbehaviors for Sketcher Extend 2017-06-19 13:07:55 +02:00
Alexander Lin
144e4759ce Adds extend feature to Mod/Sketcher
Fixes #1187
2017-06-19 13:07:37 +02:00
Felis Catus
4e9a802e25 Sketcher Extend Icon 2017-06-19 13:07:18 +02:00
wmayer
00037b4d6c fix -Wsign-compare 2017-06-19 12:50:55 +02:00
Jean-Marie Verdun
b9ba167d92 Accelerate VBO rendering (bareleye model goes from about 18fps to 34fps on a Macbook Pro)
Fix crashes related to VBO buffer expansion by reallocating the buffers when needed
2017-06-19 12:40:04 +02:00
Bernd Hahnebach
ed5155ac08 FEM: mesh tools, group elements, return empty tuple instead of None 2017-06-19 10:49:28 +02:00
Bernd Hahnebach
5b18e789b3 FEM: element set search, fix indent for mesh group search 2017-06-19 10:49:28 +02:00
Bernd Hahnebach
811634dedb FEM: prerequisite checks, fix material reference shape type check 2017-06-19 10:49:28 +02:00