Commit Graph

13137 Commits

Author SHA1 Message Date
Bernd Hahnebach
7d250a5355 FEM: ccx tools solver, get rid of no longer needed and confusing attribute 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
05fbc0f8bf FEM: unit test, add a test for adding multiple ref shapes 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
ef6c36ba64 FEM: objects, use fem name sheme for object package names 2018-01-25 18:46:30 -02:00
sliptonic
9f2e774daf Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
luz.paz
a83dd308bd Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Daniel Rogers
c79fe60e29 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
d59a2c2817 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
19efb5e099 AboutApplication.ui: typos fix
[skip ci]
2018-01-24 17:46:37 +01:00
Shai Seger
5fd64aa3eb 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
93af0eef41 Added a dedication to Roland Frank in the About dialog 2018-01-24 12:25:05 -02:00
Markus Lampert
ba6f314a07 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
75a0322637 Path: remove redundant Path_Shape command
fixes #3276
2018-01-23 15:30:41 -06:00
Sammel Lothar LTS
34b6df2b7b PATH BUGFIX DressUP-LeadINOut-Line-Generation-SIMFix 2018-01-23 19:53:18 +01:00
Zheng, Lei
004f82b3e7 Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
Abdullah Tahiri
66f29c52ad Sketcher: Fix normal rendering when full-constraint
fixes #3320
2018-01-23 16:57:33 +01:00
luz.paz
ece3e8e3de FEM: typos 2018-01-23 14:43:54 +01:00
Bernd Hahnebach
6fa2ae54f9 FEM: ccx tools solver, fix solver type check 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
6b591a16b9 FEM: file modes, delete executable mode on some Python modules 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
e44f9564dc FEM: general pref ui, make working dir chooser work again 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
9df898a914 FEM: general pref ui, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
5e29aa5c28 FEM: ccx tools, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
60a0849a03 FEM: beam rotation, add some pre checks 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
f813dce4ae 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
501bfef055 FEM: mesh tools, add method to get the beam normals for ccx 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
50860ea656 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
b9052e72cd FEM: beam rotation object, add it to the solver frame works 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
5e5ef63a87 FEM: beam rotation object, add an own icon for this object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
a2d8afb65c FEM: beam rotation object, add this new object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
f1c2f12423 FEM: ccx writer, slightly resort key sort creation on ccx elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
63eb8f7576 FEM: ccx writer, check for empty ccx elset on creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
05216d3b8a FEM: ccx writer, resorting in elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
c68bbb9c50 FEM: ccx writer, use set and intersection instead of two nested for loops 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
174e86abb3 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
2595be273c FEM: ccx writer, resort elset creation methods 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
8497eaa01a FEM: ccx writer, better elset name def and raise exception if name is too long 2018-01-23 14:01:27 +01:00
mkhizenz
2a42f71543 FEM: vtk DataAtPoint, implementation 2018-01-23 14:01:27 +01:00
mkhizenz
bfd9b27be9 FEM: Auto disable mesh and solid when opening VTK functions 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
a860b97410 FEM: code formating 2018-01-23 14:01:27 +01:00
luz.paz
165571a851 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
eafba8cbfe Fix Exception when Source Shape IsNull 2018-01-22 19:10:28 -05:00
wmayer
c65585ccaf improve whitespace, fix const correctness 2018-01-23 00:40:41 +01:00
Abdullah Tahiri
46aa2c6356 Sketcher: Change nomenclature relating to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
fc0e6478f3 Sketcher: Constraint widget adapted to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
73d817281a 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
74043d5063 Sketcher: Block constraint - Prevent from adding constraint if the solver has redundant/conflicting constraints 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
41fe55bda3 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
470913434a Sketcher: Blocked constraint viewprovider rendering 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
015609a0fa Sketcher Blocked Constraint icons 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
08d23cf951 Sketcher: Blocked Constraint toolbar commands 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
fa3e0462e0 Sketcher: Blocked Constraint Python 2018-01-22 22:52:56 +01:00