Commit Graph

13135 Commits

Author SHA1 Message Date
Bernd Hahnebach
c85afd0e44 FEM: objects, use fem name sheme for object package names 2018-01-25 18:46:30 -02:00
sliptonic
07ae0e56c4 Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
luz.paz
383825e9cf Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Daniel Rogers
2b1012f706 Add missing const_cast
I missed a const_cast and a pointer dereference when inlining the
code from shiboken2
2018-01-24 17:51:42 +01:00
Daniel Rogers
6ce8e1a0ae Fix compliation against shiboken2 head
shiboken2 changed type conversion and removed a wrapper.
This just deleted the class definition that is not longer valid and inlines
code in a few places.

fixes #3287
2018-01-24 17:51:42 +01:00
luz.paz
7791ba4f18 AboutApplication.ui: typos fix
[skip ci]
2018-01-24 17:46:37 +01:00
Shai Seger
627c4e7906 Give default values to cutting edge angle so simulations with work even if user did not specify a valid cutting angle. 2018-01-24 17:43:06 +01:00
Yorik van Havre
f291abce56 Added a dedication to Roland Frank in the About dialog 2018-01-24 12:25:05 -02:00
Markus Lampert
5cee8c9cdf Return the actual job instead of the check result of it being a job or not. 2018-01-24 01:28:47 +01:00
sliptonic
21c845a64c Path: remove redundant Path_Shape command
fixes #3276
2018-01-23 15:30:41 -06:00
Sammel Lothar LTS
59dedd1275 PATH BUGFIX DressUP-LeadINOut-Line-Generation-SIMFix 2018-01-23 19:53:18 +01:00
Zheng, Lei
8f84087e6f Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
Abdullah Tahiri
c509ec5ded Sketcher: Fix normal rendering when full-constraint
fixes #3320
2018-01-23 16:57:33 +01:00
luz.paz
3ee6b6ac94 FEM: typos 2018-01-23 14:43:54 +01:00
Bernd Hahnebach
ee321c5f84 FEM: ccx tools solver, fix solver type check 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
6ab072b1ca FEM: file modes, delete executable mode on some Python modules 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
83be75b0d4 FEM: general pref ui, make working dir chooser work again 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
4ca4aafb09 FEM: general pref ui, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
299d1939fe FEM: ccx tools, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
223a2b196b FEM: beam rotation, add some pre checks 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
9935150972 FEM: beam rotaion, implement writer, this fixes a very old restiction, the beam analysis in z-axis 2018-01-23 14:01:27 +01:00
FEMuser
a15474afe8 FEM: mesh tools, add method to get the beam normals for ccx 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
3699cfe7bf FEM: beam rotation object, deactivate task panel since reference shapes are not yet supported for rotations 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
fa596b891e FEM: beam rotation object, add it to the solver frame works 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
4ac2f2d37a FEM: beam rotation object, add an own icon for this object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
bc8219cc36 FEM: beam rotation object, add this new object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
128e5d3a72 FEM: ccx writer, slightly resort key sort creation on ccx elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
0145383d39 FEM: ccx writer, check for empty ccx elset on creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
66351b723a FEM: ccx writer, resorting in elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
233a32d27a FEM: ccx writer, use set and intersection instead of two nested for loops 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
6811d528f6 FEM: ccx input file, use even shorter elset names for the short names and raise exception if the elset name is still to long 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
3824df2eba FEM: ccx writer, resort elset creation methods 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
c8e87a039e FEM: ccx writer, better elset name def and raise exception if name is too long 2018-01-23 14:01:27 +01:00
mkhizenz
c78504e6eb FEM: vtk DataAtPoint, implementation 2018-01-23 14:01:27 +01:00
mkhizenz
6155884950 FEM: Auto disable mesh and solid when opening VTK functions 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
e533076910 FEM: code formating 2018-01-23 14:01:27 +01:00
luz.paz
3d2856e892 Mod/Test/BaseTests.py source typo
Changed `def testRoation(self):` to  ` def testRotation(self):`
Please review.
2018-01-23 13:55:33 +01:00
WandererFan
45a1d6c906 Fix Exception when Source Shape IsNull 2018-01-22 19:10:28 -05:00
wmayer
38da0c7312 improve whitespace, fix const correctness 2018-01-23 00:40:41 +01:00
Abdullah Tahiri
c7b137fe85 Sketcher: Change nomenclature relating to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
a4c29ba521 Sketcher: Constraint widget adapted to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
c27d5a26b2 Sketcher: UI Block constraint creation sanity checks
====================================================

Avoid creation of constraints if they would lead to undesirable conflicting situations.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri
9634da6811 Sketcher: Block constraint - Prevent from adding constraint if the solver has redundant/conflicting constraints 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
34f533b0e1 Sketcher: Block Constraint - Advanced redundant/conflict redundant handling
===========================================================================

Block constraint is naturally redundant/conflicting with almost any other constraint applied to an edge (certainly with constraints operating only on that element).

As such, a block constraint will have very little applicability in absence of a way to handle this redundancy/conflicting. For example, in the case of a BSpline all its
internal geometry (construction circles on poles and its constraints) would have to be removed before locking. This would mean that it is not possible to define the BSpline shape
and then block it, as when removing the internal geometry the shape would be lost. In other cases, like temporally blocking to avoid that a part of the sketch moves while performing some
operation with the idea of afterwards unblocking it, it would mean removing all constraints, to add the block constraint, then perform the action, then remove the block constraint and manually
constraint it again.

Handling this situation in a user expected way means ignoring certain constraints (those causing the redundancy/conflicting), so that the solver is not aware of them and does not complain. However,
generally ignoring those constraints has a negative effect, in that constraints applied by the user on already blocked geometry, or constraints that otherwise lead to a conflicting or redundant
situation as a consequence of actions (further constraining) after the Block constrain is applied are ignored, thereby not properly informing the user of this situation, which is undesirable.

This new mechanism takes account on the position of the constraints relative to the involved blocked constraint(s). As such, redundant/conflicting constraints that were added before the Block
constraint are ignored, whereas those constraints that lead to a redundant/conflicting situation and added AFTER the block constraint was already in place, those are not ignored and are reported
accordingly.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri
9b7d1d6042 Sketcher: Blocked constraint viewprovider rendering 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
d2e89b98d4 Sketcher Blocked Constraint icons 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
1932a2f152 Sketcher: Blocked Constraint toolbar commands 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
7495fe1c31 Sketcher: Blocked Constraint Python 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
48fc503364 Sketcher: Blocked Constraint solver level 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
f64760b8a3 PartDesign: OnDelete basefeature fixing and visualization
=========================================================

fixes #3084
fixes #3061 (at least what it is understood in the analysis as being a bug, the visualization left).

Basically when deleting a feature, if it is the base feature (feature with which it will merge or cutout), the dependent objects'
base feature is made to be the base feature of the object being deleted. This code pre-existed at body level, but was not being called (see below).

Additionally, if the visible object is not the one being deleted, we leave that one visible. If the visible object is the one
being deleted, we make the previous object visible.

Deletion from the tree of a feature is handled by Document.removeObject, which has no clue about what a body is. Therefore, Bodies, although an
'activable' container, know nothing about what happens at Document level with the features they contain.

The Deletion command StdCmdDelete::activated, however does notify the viewprovider corresponding to the feature (not body) of the imminent deletion
(before actually doing it). Consequently, the only way of notifying a body of the imminent deletion of one of its features so as to do the clean up
required (moving basefeature references, tip management) is from the viewprovider of the feature being deleted.
2018-01-22 22:03:18 +01:00